gpu: Disallow zero sized offscreen framebuffers
commit2e3b5c8ccaf50206788f433f74af67a4e153230a
authorhendrikw <hendrikw@chromium.org>
Mon, 27 Apr 2015 23:52:25 +0000 (27 16:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Apr 2015 23:52:20 +0000 (27 23:52 +0000)
tree051f820d8bd24cec471957c383eaec1b7935f033
parent577e62cdc6721ed1b7c2819e00d0c9b3ebc5b46a
gpu: Disallow zero sized offscreen framebuffers

Modify initial the offscreen size if empty
DCHECK to assert that we don't run into this situation again

BUG=481035

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

Cr-Commit-Position: refs/heads/master@{#327180}
content/common/gpu/gpu_command_buffer_stub.cc
gpu/command_buffer/service/gles2_cmd_decoder.cc