Home
last modified time | relevance | path

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

/external/chromium_org/gpu/command_buffer/service/
Dtexture_manager_unittest.cc79 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 …]
Dgles2_cmd_decoder.cc886 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 …]
Dframebuffer_manager.cc138 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()
Dgles2_cmd_decoder_unittest.cc1797 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 …]
Dframebuffer_manager.h81 GLenum attachment, TextureRef* texture_ref, GLenum target,
90 GLenum target, TextureRef* texture_ref);
Dtexture_manager.cc1368 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()
Dtest_helper.h102 TextureManager* manager, TextureRef* texture_ref,
Dtest_helper.cc529 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()
Dtexture_manager.h738 TextureRef** texture_ref);
769 TextureRef* texture_ref,
/external/chromium_org/content/common/gpu/media/
Dgpu_video_decode_accelerator.cc350 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()