diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-27 00:48:03 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-27 00:48:03 +0000 |
commit | ae51d195b0e1bfaba2243f005a1aba675395595f (patch) | |
tree | d6990cd30404b49ad0b01db2126f971b601a94d6 /gpu/command_buffer/client/gles2_implementation_unittest.cc | |
parent | 4b3540935a9769fb1634483027b70ee763ee431e (diff) | |
download | chromium_src-ae51d195b0e1bfaba2243f005a1aba675395595f.zip chromium_src-ae51d195b0e1bfaba2243f005a1aba675395595f.tar.gz chromium_src-ae51d195b0e1bfaba2243f005a1aba675395595f.tar.bz2 |
Changes the code to use separate ids namspaces
for buffers, textures, programs, etc.. This is
needed to pass GLES2 conformance tests.
TEST=old unit tests
BUG=none
Review URL: http://codereview.chromium.org/1747013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/client/gles2_implementation_unittest.cc')
-rw-r--r-- | gpu/command_buffer/client/gles2_implementation_unittest.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc index 79cf95e..93710fc 100644 --- a/gpu/command_buffer/client/gles2_implementation_unittest.cc +++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc @@ -645,24 +645,6 @@ TEST_F(GLES2ImplementationTest, ReservedIds) { gl_->BindBuffer( GL_ARRAY_BUFFER, GLES2Implementation::kClientSideElementArrayId); - gl_->BindFramebuffer( - GL_FRAMEBUFFER, - GLES2Implementation::kClientSideArrayId); - gl_->BindFramebuffer( - GL_FRAMEBUFFER, - GLES2Implementation::kClientSideElementArrayId); - gl_->BindRenderbuffer( - GL_RENDERBUFFER, - GLES2Implementation::kClientSideArrayId); - gl_->BindRenderbuffer( - GL_RENDERBUFFER, - GLES2Implementation::kClientSideElementArrayId); - gl_->BindTexture( - GL_TEXTURE_2D, - GLES2Implementation::kClientSideArrayId); - gl_->BindTexture( - GL_TEXTURE_2D, - GLES2Implementation::kClientSideElementArrayId); GLenum err = gl_->GetError(); EXPECT_EQ(static_cast<GLenum>(GL_INVALID_OPERATION), err); EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); |