/external/chromium_org/gpu/command_buffer/service/ |
D | texture_manager_unittest.cc | 79 TextureRef* texture_ref, GLenum pname, GLint value, GLenum error) { in SetParameter() argument 82 texture_ref, pname, value, error); in SetParameter() 138 TextureRef* texture_ref = manager_->GetTexture(kClient1Id); in TEST_F() local 139 ASSERT_TRUE(texture_ref != NULL); in TEST_F() 140 Texture* texture = texture_ref->texture(); in TEST_F() 141 manager_->SetTarget(texture_ref, GL_TEXTURE_2D); in TEST_F() 142 SetParameter(texture_ref, GL_TEXTURE_MIN_FILTER, GL_NEAREST, GL_NO_ERROR); in TEST_F() 144 SetParameter(texture_ref, GL_TEXTURE_MAG_FILTER, GL_NEAREST, GL_NO_ERROR); in TEST_F() 146 SetParameter(texture_ref, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE, GL_NO_ERROR); in TEST_F() 148 SetParameter(texture_ref, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE, GL_NO_ERROR); in TEST_F() [all …]
|
D | gles2_cmd_decoder.cc | 886 TextureRef* texture_ref, 2866 TextureRef* texture_ref = GetTexture(client_ids[ii]); in DeleteTexturesHelper() local 2867 if (texture_ref) { in DeleteTexturesHelper() 2868 Texture* texture = texture_ref->texture(); in DeleteTexturesHelper() 2874 state_.texture_units[jj].Unbind(texture_ref); in DeleteTexturesHelper() 2880 ->UnbindTexture(GL_READ_FRAMEBUFFER_EXT, texture_ref); in DeleteTexturesHelper() 2884 ->UnbindTexture(GL_DRAW_FRAMEBUFFER_EXT, texture_ref); in DeleteTexturesHelper() 2889 ->UnbindTexture(GL_FRAMEBUFFER, texture_ref); in DeleteTexturesHelper() 3163 TextureRef* texture_ref = texture_manager()->GetTextureInfoForTarget( in UpdateParentTextureInfo() local 3165 glBindTexture(target, texture_ref ? texture_ref->service_id() : 0); in UpdateParentTextureInfo() [all …]
|
D | framebuffer_manager.cc | 138 TextureRef* texture_ref, GLenum target, GLint level, GLsizei samples) in TextureAttachment() argument 139 : texture_ref_(texture_ref), in TextureAttachment() 553 GLenum target, TextureRef* texture_ref) { in UnbindTexture() argument 560 if (attachment->IsTexture(texture_ref)) { in UnbindTexture() 600 GLenum attachment, TextureRef* texture_ref, GLenum target, in AttachTexture() argument 605 if (texture_ref) { in AttachTexture() 607 new TextureAttachment(texture_ref, target, level, samples)); in AttachTexture() 608 texture_ref->texture()->AttachToFramebuffer(); in AttachTexture()
|
D | gles2_cmd_decoder_unittest.cc | 1797 TextureRef* texture_ref = manager->GetTexture(client_texture_id_); in TEST_F() local 1798 ASSERT_TRUE(texture_ref != NULL); in TEST_F() 1799 Texture* texture = texture_ref->texture(); in TEST_F() 4577 TextureRef* texture_ref = manager->GetTexture(client_texture_id_); in TEST_F() local 4578 ASSERT_TRUE(texture_ref != NULL); in TEST_F() 4579 Texture* texture = texture_ref->texture(); in TEST_F() 4628 TextureRef* texture_ref = manager->GetTexture(client_texture_id_); in TEST_F() local 4629 ASSERT_TRUE(texture_ref != NULL); in TEST_F() 4630 Texture* texture = texture_ref->texture(); in TEST_F() 5279 TextureRef* texture_ref = GetTexture(client_texture_id_); in TEST_F() local [all …]
|
D | framebuffer_manager.h | 81 GLenum attachment, TextureRef* texture_ref, GLenum target, 90 GLenum target, TextureRef* texture_ref);
|
D | texture_manager.cc | 1368 TextureRef** texture_ref) { in ValidateTexImage2D() argument 1442 *texture_ref = local_texture_ref; in ValidateTexImage2D() 1451 TextureRef* texture_ref; in ValidateAndDoTexImage2D() local 1452 if (!ValidateTexImage2D(state, "glTexImage2D", args, &texture_ref)) { in ValidateAndDoTexImage2D() 1457 texture_ref, args); in ValidateAndDoTexImage2D() 1464 TextureRef* texture_ref, in DoTexImage2D() argument 1466 Texture* texture = texture_ref->texture(); in DoTexImage2D() 1480 texture_ref, in DoTexImage2D() 1498 SetLevelCleared(texture_ref, args.target, args.level, true); in DoTexImage2D() 1513 texture_ref, in DoTexImage2D()
|
D | test_helper.h | 102 TextureManager* manager, TextureRef* texture_ref,
|
D | test_helper.cc | 529 TextureManager* manager, TextureRef* texture_ref, in SetTexParameterWithExpectations() argument 533 EXPECT_CALL(*gl, TexParameteri(texture_ref->texture()->target(), in SetTexParameterWithExpectations() 547 manager->SetParameter("", error_state, texture_ref, pname, value); in SetTexParameterWithExpectations()
|
D | texture_manager.h | 738 TextureRef** texture_ref); 769 TextureRef* texture_ref,
|
/external/chromium_org/content/common/gpu/media/ |
D | gpu_video_decode_accelerator.cc | 350 gpu::gles2::TextureRef* texture_ref = texture_manager->GetTexture( in OnAssignPictureBuffers() local 352 if (!texture_ref) { in OnAssignPictureBuffers() 357 gpu::gles2::Texture* info = texture_ref->texture(); in OnAssignPictureBuffers() 367 texture_manager->SetLevelInfo(texture_ref, in OnAssignPictureBuffers() 398 textures.push_back(texture_ref); in OnAssignPictureBuffers() 500 scoped_refptr<gpu::gles2::TextureRef> texture_ref = it->second; in SetTextureCleared() local 501 GLenum target = texture_ref->texture()->target(); in SetTextureCleared() 504 DCHECK(!texture_ref->texture()->IsLevelCleared(target, 0)); in SetTextureCleared() 505 texture_manager->SetLevelCleared(texture_ref, target, 0, true); in SetTextureCleared()
|