gpu: gpu decoder sets viewport size same to the size of the default framebuffer.
commit4c04a16b74821239a8d850aa1c5357cc5a41cee9
authordongseong.hwang <dongseong.hwang@intel.com>
Wed, 4 Mar 2015 07:27:33 +0000 (3 23:27 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Mar 2015 07:28:06 +0000 (4 07:28 +0000)
tree2b7690971a497c079687074af1556b1d9b256fbf
parentf0e68a4804b61add3a2bb0aed38ab1eb483c04a4
gpu: gpu decoder sets viewport size same to the size of the default framebuffer.

For onscreen, viewport should match window size initially. For offscreen,
viewport should match the default FBO size initially as-is.

Review URL: https://codereview.chromium.org/965223002

Cr-Commit-Position: refs/heads/master@{#319025}
gpu/command_buffer/service/gles2_cmd_decoder.cc
gpu/command_buffer/service/gles2_cmd_decoder.h