Home
last modified time | relevance | path

Searched refs:kBadResource (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/ppapi/tests/
Dtest_graphics_3d.cc182 const PP_Resource kBadResource = 123; in TestBadResource() local
185 opengl_es2_->ClearColor(kBadResource, 0.0f, 0.0f, 0.0f, 0.0f); in TestBadResource()
186 opengl_es2_->Clear(kBadResource, GL_COLOR_BUFFER_BIT); in TestBadResource()
187 ASSERT_EQ(0, opengl_es2_->GetError(kBadResource)); in TestBadResource()
188 ASSERT_EQ(NULL, opengl_es2_->GetString(kBadResource, GL_VERSION)); in TestBadResource()
189 ASSERT_EQ(-1, opengl_es2_->GetUniformLocation(kBadResource, 0, NULL)); in TestBadResource()
190 ASSERT_EQ(GL_FALSE, opengl_es2_->IsBuffer(kBadResource, 0)); in TestBadResource()
191 ASSERT_EQ(0, opengl_es2_->CheckFramebufferStatus(kBadResource, in TestBadResource()
194 glSetCurrentContextPPAPI(kBadResource); in TestBadResource()