summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/framebuffer_manager_unittest.cc
diff options
context:
space:
mode:
authorzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-14 18:04:49 +0000
committerzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-14 18:04:49 +0000
commit2f143d485600728b7037d3a71920ab74abe07eb5 (patch)
treefc5d0d7ce1295d5741ed80a96843d5d08df5fd7c /gpu/command_buffer/service/framebuffer_manager_unittest.cc
parent0e2f4256b4bdc921a738c0285470aa1943885b33 (diff)
downloadchromium_src-2f143d485600728b7037d3a71920ab74abe07eb5.zip
chromium_src-2f143d485600728b7037d3a71920ab74abe07eb5.tar.gz
chromium_src-2f143d485600728b7037d3a71920ab74abe07eb5.tar.bz2
Implement EXT_draw_buffers WebGL extention support in command buffer.
A few things: 1) I only hooked up with desktop GL backend, i.e., GL_ARB_draw_buffers. Will add GLES support later. 2) Probably we need to do something to enable this for Pepper3D also? If yes, will do so in a seperate CL. 3) I didn't add the wordarounds for Mac/Linux driver bugs. Will do so in a seperate CL. BUG=180397 TEST=gpu_unittests, webgl conformance tests Review URL: https://codereview.chromium.org/12545014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188129 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/framebuffer_manager_unittest.cc')
-rw-r--r--gpu/command_buffer/service/framebuffer_manager_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpu/command_buffer/service/framebuffer_manager_unittest.cc b/gpu/command_buffer/service/framebuffer_manager_unittest.cc
index b2f2924..e1aedb2 100644
--- a/gpu/command_buffer/service/framebuffer_manager_unittest.cc
+++ b/gpu/command_buffer/service/framebuffer_manager_unittest.cc
@@ -24,7 +24,8 @@ class FramebufferManagerTest : public testing::Test {
public:
FramebufferManagerTest()
- : texture_manager_(
+ : manager_(1, 1),
+ texture_manager_(
NULL, new FeatureInfo(), kMaxTextureSize, kMaxCubemapSize),
renderbuffer_manager_(NULL, kMaxRenderbufferSize, kMaxSamples) {
@@ -115,7 +116,7 @@ class FramebufferInfoTest : public testing::Test {
static const GLint kMaxSamples = 4;
FramebufferInfoTest()
- : manager_(),
+ : manager_(1, 1),
texture_manager_(
NULL, new FeatureInfo(), kMaxTextureSize, kMaxCubemapSize),
renderbuffer_manager_(NULL, kMaxRenderbufferSize, kMaxSamples) {