Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.cpp72 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
74 return GrBackendFormat::MakeGL(GR_GL_RGBA16F, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
76 return GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
78 return GrBackendFormat::MakeGL(GR_GL_RGB10_A2, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
80 return GrBackendFormat::MakeGL(GR_GL_RGB8, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
85 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in GetBackendFormat()
239 GrGLuint target = isRenderable ? GR_GL_TEXTURE_2D : GR_GL_TEXTURE_EXTERNAL; in make_gl_backend_texture()
DGrBackendSurface.cpp94 case GR_GL_TEXTURE_EXTERNAL: in gl_target_to_gr_target()
/third_party/skia/src/gpu/gl/
DGrGLTexture.cpp26 case GR_GL_TEXTURE_EXTERNAL: in TextureTypeFromTarget()
39 return GR_GL_TEXTURE_EXTERNAL; in target_from_texture_type()
DGrGLDefines.h1044 #define GR_GL_TEXTURE_EXTERNAL 0x8D65 macro
DGrGLGpu.cpp143 case GR_GL_TEXTURE_EXTERNAL: in gl_target_to_binding_index()
637 if (GR_GL_TEXTURE_EXTERNAL == desc->fTarget) { in check_backend_texture()
748 if (GR_GL_TEXTURE_EXTERNAL == desc.fTarget) { in onWrapRenderableBackendTexture()
817 if (GR_GL_TEXTURE_EXTERNAL == glTex->target()) { in check_write_and_transfer_input()
2782 GR_GL_TEXTURE_EXTERNAL}; in onResetTextureBindings()
DGrGLCaps.cpp4416 if (tex->target() == GR_GL_TEXTURE_EXTERNAL || GrGLFormatIsCompressed(tex->format())) { in surfaceSupportsReadPixels()
/third_party/skia/tests/
DTextureBindingsResetTest.cpp33 targets.push_back({GR_GL_TEXTURE_EXTERNAL, GR_GL_TEXTURE_BINDING_EXTERNAL}); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
115 infoExternal.fTarget = GR_GL_TEXTURE_EXTERNAL; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp142 externalTexture.fTarget = GR_GL_TEXTURE_EXTERNAL; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DDeferredDisplayListTest.cpp1188 for (GrGLenum target : { GR_GL_TEXTURE_EXTERNAL, GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_2D } ) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp270 GR_GL_CALL_NOERRCHECK(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
275 glEGLImageTargetTexture2D(GR_GL_TEXTURE_EXTERNAL, image); in eglImageToExternalTexture()
/third_party/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp400 GR_GL_CALL(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
405 glEGLImageTargetTexture2D(GR_GL_TEXTURE_EXTERNAL, image); in eglImageToExternalTexture()