Home
last modified time | relevance | path

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

/external/chromium_org/gpu/command_buffer/service/
Dmailbox_manager_unittest.cc147 Texture* texture2 = CreateTexture(); in TEST_F() local
155 manager_->ProduceTexture(0, name, texture2); in TEST_F()
156 EXPECT_EQ(texture2, manager_->ConsumeTexture(0, name)); in TEST_F()
160 EXPECT_EQ(texture2, manager_->ConsumeTexture(0, name)); in TEST_F()
163 DestroyTexture(texture2); in TEST_F()
169 Texture* texture2 = CreateTexture(); in TEST_F() local
180 manager_->ProduceTexture(0, name2, texture2); in TEST_F()
182 EXPECT_EQ(texture2, manager_->ConsumeTexture(0, name2)); in TEST_F()
187 EXPECT_EQ(texture2, manager_->ConsumeTexture(0, name2)); in TEST_F()
189 DestroyTexture(texture2); in TEST_F()
[all …]
Dframebuffer_manager_unittest.cc496 scoped_refptr<TextureRef> texture2( in TEST_F() local
498 ASSERT_TRUE(texture2.get() != NULL); in TEST_F()
499 texture_manager_->SetTarget(texture2.get(), GL_TEXTURE_2D); in TEST_F()
500 texture_manager_->SetLevelInfo(texture2.get(), in TEST_F()
513 GL_COLOR_ATTACHMENT0, texture2.get(), kTarget2, kLevel2, kSamples2); in TEST_F()
529 texture_manager_->SetLevelInfo(texture2.get(), in TEST_F()
554 texture_manager_->SetLevelInfo(texture2.get(), in TEST_F()
779 scoped_refptr<TextureRef> texture2( in TEST_F() local
781 ASSERT_TRUE(texture2.get() != NULL); in TEST_F()
792 framebuffer_->UnbindTexture(kTarget1, texture2.get()); in TEST_F()
[all …]
Dtexture_manager_unittest.cc1389 Texture* texture2 = texture_ref2->texture(); in TEST_F() local
1390 EXPECT_EQ(0, texture2->num_uncleared_mips()); in TEST_F()
1404 EXPECT_EQ(0, texture2->num_uncleared_mips()); in TEST_F()
1418 EXPECT_EQ(1, texture2->num_uncleared_mips()); in TEST_F()
1443 EXPECT_EQ(0, texture2->num_uncleared_mips()); in TEST_F()
1473 EXPECT_EQ(1, texture2->num_uncleared_mips()); in TEST_F()
/external/chromium_org/third_party/skia/tests/
DClipCacheTest.cpp184 GrTexture* texture2 = cache.getLastMask(); in test_cache() local
185 REPORTER_ASSERT(reporter, texture2); in test_cache()
186 if (NULL == texture2) { in test_cache()
191 check_state(reporter, cache, clip2, texture2, bound2); in test_cache()
193 REPORTER_ASSERT(reporter, texture2->getRefCnt()); in test_cache()
/external/skia/tests/
DClipCacheTest.cpp184 GrTexture* texture2 = cache.getLastMask(); in test_cache() local
185 REPORTER_ASSERT(reporter, texture2); in test_cache()
186 if (NULL == texture2) { in test_cache()
191 check_state(reporter, cache, clip2, texture2, bound2); in test_cache()
193 REPORTER_ASSERT(reporter, texture2->getRefCnt()); in test_cache()
/external/deqp/modules/glshared/
DglsSamplerObjectTest.cpp1034 GLuint texture2 = createTexture(gl, m_target, 1); in renderReferences() local
1048 gl.bindTexture(m_target, texture2); in renderReferences()
1064 gl.bindTexture(m_target, texture2); in renderReferences()
1076 GLuint texture2 = createTexture(gl, m_target, 1); in renderResults() local
1099 gl.bindTexture(m_target, texture2); in renderResults()
1110 gl.bindTexture(m_target, texture2); in renderResults()
1139 gl.deleteTextures(1, &texture2); in renderResults()