/external/skqp/tests/ |
D | DeferredDisplayListTest.cpp | 66 return GrBackendFormat::MakeGL(GR_GL_ALPHA8, GR_GL_TEXTURE_2D); in create_backend_format() 69 return GrBackendFormat::MakeGL(GR_GL_R8, GR_GL_TEXTURE_2D); in create_backend_format() 74 return GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_2D); in create_backend_format() 79 return GrBackendFormat::MakeGL(GR_GL_RGBA4, GR_GL_TEXTURE_2D); in create_backend_format() 84 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_2D); in create_backend_format() 89 return GrBackendFormat::MakeGL(GR_GL_RGB8, GR_GL_TEXTURE_2D); in create_backend_format() 95 return GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_2D); in create_backend_format() 97 return GrBackendFormat::MakeGL(GR_GL_BGRA8, GR_GL_TEXTURE_2D); in create_backend_format() 103 return GrBackendFormat::MakeGL(GR_GL_RGB10_A2, GR_GL_TEXTURE_2D); in create_backend_format() 110 return GrBackendFormat::MakeGL(GR_GL_LUMINANCE8, GR_GL_TEXTURE_2D); in create_backend_format() [all …]
|
D | TraceMemoryDumpTest.cpp | 96 glInfo.fTarget = GR_GL_TEXTURE_2D; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 122 glInfo.fTarget = GR_GL_TEXTURE_2D; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | EGLImageTest.cpp | 106 if (GR_GL_TEXTURE_2D != texInfo.fTarget) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | VkHardwareBufferTest.cpp | 237 GR_GL_CALL_NOERRCHECK(fGLCtx->gl(), BindTexture(GR_GL_TEXTURE_2D, fTexID)); in importHardwareBuffer() 260 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForRead() 288 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForWrite()
|
/external/skia/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 286 callgl(BindTexture, GR_GL_TEXTURE_2D, id); in createTexture() 287 callgl(TexImage2D, GR_GL_TEXTURE_2D, 0, internalFormat, width, height, 0, externalFormat, type, in createTexture() 329 callgl(BindTexture, GR_GL_TEXTURE_2D, atlasTexture->fID); in setTextureData() 330 callgl(TexSubImage2D, GR_GL_TEXTURE_2D, 0, x, y, width, height, externalFormat, type, data); in setTextureData() 344 callgl(BindTexture, GR_GL_TEXTURE_2D, atlas->fID); in drawSDFGlyphs() 345 callgl(TexParameteri, GR_GL_TEXTURE_2D, GR_GL_TEXTURE_MAG_FILTER, GR_GL_LINEAR); in drawSDFGlyphs() 346 callgl(TexParameteri, GR_GL_TEXTURE_2D, GR_GL_TEXTURE_MIN_FILTER, GR_GL_LINEAR); in drawSDFGlyphs()
|
/external/skqp/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 286 callgl(BindTexture, GR_GL_TEXTURE_2D, id); in createTexture() 287 callgl(TexImage2D, GR_GL_TEXTURE_2D, 0, internalFormat, width, height, 0, externalFormat, type, in createTexture() 329 callgl(BindTexture, GR_GL_TEXTURE_2D, atlasTexture->fID); in setTextureData() 330 callgl(TexSubImage2D, GR_GL_TEXTURE_2D, 0, x, y, width, height, externalFormat, type, data); in setTextureData() 344 callgl(BindTexture, GR_GL_TEXTURE_2D, atlas->fID); in drawSDFGlyphs() 345 callgl(TexParameteri, GR_GL_TEXTURE_2D, GR_GL_TEXTURE_MAG_FILTER, GR_GL_LINEAR); in drawSDFGlyphs() 346 callgl(TexParameteri, GR_GL_TEXTURE_2D, GR_GL_TEXTURE_MIN_FILTER, GR_GL_LINEAR); in drawSDFGlyphs()
|
/external/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 20 case GR_GL_TEXTURE_2D: in TextureTypeFromTarget() 34 return GR_GL_TEXTURE_2D; in target_from_texture_type() 41 return GR_GL_TEXTURE_2D; in target_from_texture_type()
|
D | GrGLGpu.cpp | 190 case GR_GL_TEXTURE_2D: in gl_target_to_binding_index() 669 } else if (GR_GL_TEXTURE_2D != idDesc->fInfo.fTarget) { in check_backend_texture() 789 GR_GL_TEXTURE_2D != info.fTarget) { in onWrapBackendTextureAsRenderTarget() 1691 this->bindTextureToScratchUnit(GR_GL_TEXTURE_2D, colorID); in getCompatibleStencilIndex() 1692 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1695 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1698 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1701 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1714 GL_ALLOC_CALL(this->glInterface(), TexImage2D(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1729 GL_CALL(BindTexture(GR_GL_TEXTURE_2D, 0)); in getCompatibleStencilIndex() [all …]
|
D | GrGLRenderTarget.cpp | 104 return GrBackendFormat::MakeGL(fRTFormat, GR_GL_TEXTURE_2D); in backendFormat()
|
D | GrGLDefines.h | 150 #define GR_GL_TEXTURE_2D 0x0DE1 macro
|
D | GrGLCaps.cpp | 2342 if (glSrcTexture && glSrcTexture->target() != GR_GL_TEXTURE_2D) { in initDescForDstCopy() 3076 return GrBackendFormat::MakeGL(this->configSizedInternalFormat(config), GR_GL_TEXTURE_2D); in getBackendFormatFromGrColorType()
|
/external/skqp/src/gpu/gl/ |
D | GrGLTexture.cpp | 20 case GR_GL_TEXTURE_2D: in TextureTypeFromTarget() 34 return GR_GL_TEXTURE_2D; in target_from_texture_type() 41 return GR_GL_TEXTURE_2D; in target_from_texture_type()
|
D | GrGLGpu.cpp | 633 } else if (GR_GL_TEXTURE_2D != idDesc->fInfo.fTarget) { in check_backend_texture() 753 GR_GL_TEXTURE_2D != info.fTarget) { in onWrapBackendTextureAsRenderTarget() 1657 GL_CALL(BindTexture(GR_GL_TEXTURE_2D, colorID)); in getCompatibleStencilIndex() 1658 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1661 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1664 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1667 GL_CALL(TexParameteri(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1680 GL_ALLOC_CALL(this->glInterface(), TexImage2D(GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() 1695 GL_CALL(BindTexture(GR_GL_TEXTURE_2D, 0)); in getCompatibleStencilIndex() 1704 GR_GL_TEXTURE_2D, in getCompatibleStencilIndex() [all …]
|
D | GrGLRenderTarget.cpp | 104 return GrBackendFormat::MakeGL(fRTFormat, GR_GL_TEXTURE_2D); in backendFormat()
|
D | GrGLDefines.h | 150 #define GR_GL_TEXTURE_2D 0x0DE1 macro
|
D | GrGLCaps.cpp | 2324 if (glSrcTexture && glSrcTexture->target() != GR_GL_TEXTURE_2D) { in initDescForDstCopy() 3045 return GrBackendFormat::MakeGL(this->configSizedInternalFormat(config), GR_GL_TEXTURE_2D); in getBackendFormatFromGrColorType()
|
/external/skia/tests/ |
D | TraceMemoryDumpTest.cpp | 96 glInfo.fTarget = GR_GL_TEXTURE_2D; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 122 glInfo.fTarget = GR_GL_TEXTURE_2D; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | DeferredDisplayListTest.cpp | 770 for (GrGLenum target : { GR_GL_TEXTURE_EXTERNAL, GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_2D } ) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 783 if (GR_GL_TEXTURE_2D != target && mipMapped == GrMipMapped::kYes) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 792 if (GR_GL_TEXTURE_2D == target) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | TextureBindingsResetTest.cpp | 26 targets.push_back({GR_GL_TEXTURE_2D, GR_GL_TEXTURE_BINDING_2D}); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | EGLImageTest.cpp | 106 if (GR_GL_TEXTURE_2D != texInfo.fTarget) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | VkHardwareBufferTest.cpp | 237 GR_GL_CALL_NOERRCHECK(fGLCtx->gl(), BindTexture(GR_GL_TEXTURE_2D, fTexID)); in importHardwareBuffer() 260 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForRead() 288 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForWrite()
|
/external/skqp/src/gpu/ |
D | GrBackendSurface.cpp | 28 case GR_GL_TEXTURE_2D: in GrBackendFormat() 51 static constexpr GrGLenum k2D = GR_GL_TEXTURE_2D; in getGLTarget()
|
/external/skia/src/gpu/ |
D | GrBackendSurface.cpp | 28 case GR_GL_TEXTURE_2D: in GrBackendFormat() 51 static constexpr GrGLenum k2D = GR_GL_TEXTURE_2D; in getGLTarget()
|
D | GrAHardwareBufferUtils.cpp | 213 GrGLuint target = isRenderable ? GR_GL_TEXTURE_2D : GR_GL_TEXTURE_EXTERNAL; in make_gl_backend_texture()
|