Home
last modified time | relevance | path

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

/external/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.cpp98 case GR_GL_TEXTURE_EXTERNAL: in GrBackendFormat()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp460 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
462 return GrBackendFormat::MakeGL(GR_GL_RGBA16F, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
464 return GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
466 return GrBackendFormat::MakeGL(GR_GL_RGB10_A2, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
468 return GrBackendFormat::MakeGL(GR_GL_RGB8, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
470 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_EXTERNAL); in get_backend_format()
DGrBackendSurface.cpp34 case GR_GL_TEXTURE_EXTERNAL: in GrBackendFormat()
53 static constexpr GrGLenum kExternal = GR_GL_TEXTURE_EXTERNAL; in getGLTarget()
/external/skqp/src/gpu/gl/
DGrGLTexture.cpp24 case GR_GL_TEXTURE_EXTERNAL: in TextureTypeFromTarget()
38 return GR_GL_TEXTURE_EXTERNAL; in target_from_texture_type()
DGrGLDefines.h1040 #define GR_GL_TEXTURE_EXTERNAL 0x8D65 macro
DGrGLGpu.cpp625 if (GR_GL_TEXTURE_EXTERNAL == idDesc->fInfo.fTarget) { in check_backend_texture()
685 if (GR_GL_TEXTURE_EXTERNAL == idDesc.fInfo.fTarget) { in onWrapRenderableBackendTexture()
780 if (GR_GL_TEXTURE_EXTERNAL == glTex->target()) { in check_write_and_transfer_input()
DGrGLCaps.cpp2839 if (tex->target() == GR_GL_TEXTURE_EXTERNAL) { in surfaceSupportsReadPixels()
/external/skia/src/gpu/gl/
DGrGLTexture.cpp25 case GR_GL_TEXTURE_EXTERNAL: in TextureTypeFromTarget()
38 return GR_GL_TEXTURE_EXTERNAL; in target_from_texture_type()
DGrGLDefines.h1045 #define GR_GL_TEXTURE_EXTERNAL 0x8D65 macro
DGrGLGpu.cpp142 case GR_GL_TEXTURE_EXTERNAL: in gl_target_to_binding_index()
631 if (GR_GL_TEXTURE_EXTERNAL == desc->fTarget) { in check_backend_texture()
742 if (GR_GL_TEXTURE_EXTERNAL == desc.fTarget) { in onWrapRenderableBackendTexture()
811 if (GR_GL_TEXTURE_EXTERNAL == glTex->target()) { in check_write_and_transfer_input()
2752 GR_GL_TEXTURE_EXTERNAL}; in onResetTextureBindings()
DGrGLCaps.cpp4151 if (tex->target() == GR_GL_TEXTURE_EXTERNAL || GrGLFormatIsCompressed(tex->format())) { in surfaceSupportsReadPixels()
/external/skia/tests/
DTextureBindingsResetTest.cpp33 targets.push_back({GR_GL_TEXTURE_EXTERNAL, GR_GL_TEXTURE_BINDING_EXTERNAL}); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
114 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.cpp1190 for (GrGLenum target : { GR_GL_TEXTURE_EXTERNAL, GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_2D } ) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp275 GR_GL_CALL_NOERRCHECK(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
280 glEGLImageTargetTexture2D(GR_GL_TEXTURE_EXTERNAL, image); in eglImageToExternalTexture()
/external/skqp/tools/gpu/gl/angle/
DGLTestContext_angle.cpp311 GR_GL_CALL(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
316 glEGLImageTargetTexture2D(GR_GL_TEXTURE_EXTERNAL, image); in eglImageToExternalTexture()
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp394 GR_GL_CALL_NOERRCHECK(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
399 glEGLImageTargetTexture2D(GR_GL_TEXTURE_EXTERNAL, image); in eglImageToExternalTexture()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp396 GR_GL_CALL(this->gl(), BindTexture(GR_GL_TEXTURE_EXTERNAL, texID)); in eglImageToExternalTexture()
401 glEGLImageTargetTexture2D(GR_GL_TEXTURE_EXTERNAL, image); in eglImageToExternalTexture()
/external/skqp/tests/
DEGLImageTest.cpp146 externalTexture.fTarget = GR_GL_TEXTURE_EXTERNAL; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DDeferredDisplayListTest.cpp980 for (GrGLenum target : { GR_GL_TEXTURE_EXTERNAL, GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_2D } ) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()