Home
last modified time | relevance | path

Searched refs:GR_GL_TEXTURE_2D (Results 1 – 25 of 25) sorted by relevance

/external/skqp/tests/
DDeferredDisplayListTest.cpp66 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 …]
DTraceMemoryDumpTest.cpp96 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()
DEGLImageTest.cpp106 if (GR_GL_TEXTURE_2D != texInfo.fTarget) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkHardwareBufferTest.cpp238 GR_GL_CALL_NOERRCHECK(fGLCtx->gl(), BindTexture(GR_GL_TEXTURE_2D, fTexID)); in importHardwareBuffer()
261 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForRead()
289 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForWrite()
/external/skqp/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp286 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/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp287 callgl(BindTexture, GR_GL_TEXTURE_2D, id); in createTexture()
288 callgl(TexImage2D, GR_GL_TEXTURE_2D, 0, internalFormat, width, height, 0, externalFormat, type, in createTexture()
330 callgl(BindTexture, GR_GL_TEXTURE_2D, atlasTexture->fID); in setTextureData()
331 callgl(TexSubImage2D, GR_GL_TEXTURE_2D, 0, x, y, width, height, externalFormat, type, data); in setTextureData()
345 callgl(BindTexture, GR_GL_TEXTURE_2D, atlas->fID); in drawSDFGlyphs()
346 callgl(TexParameteri, GR_GL_TEXTURE_2D, GR_GL_TEXTURE_MAG_FILTER, GR_GL_LINEAR); in drawSDFGlyphs()
347 callgl(TexParameteri, GR_GL_TEXTURE_2D, GR_GL_TEXTURE_MIN_FILTER, GR_GL_LINEAR); in drawSDFGlyphs()
/external/skqp/src/gpu/gl/
DGrGLTexture.cpp20 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()
DGrGLGpu.cpp633 } 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 …]
DGrGLRenderTarget.cpp104 return GrBackendFormat::MakeGL(fRTFormat, GR_GL_TEXTURE_2D); in backendFormat()
DGrGLDefines.h150 #define GR_GL_TEXTURE_2D 0x0DE1 macro
DGrGLCaps.cpp2324 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/src/gpu/gl/
DGrGLCaps.cpp4280 return GrBackendFormat::MakeGL(GrGLFormatToEnum(format), GR_GL_TEXTURE_2D); in onGetDefaultBackendFormat()
4291 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_RGB8_ETC2, GR_GL_TEXTURE_2D); in getBackendFormatFromCompressionType()
4294 return GrBackendFormat::MakeGL(GR_GL_COMPRESSED_ETC1_RGB8, GR_GL_TEXTURE_2D); in getBackendFormatFromCompressionType()
4300 GR_GL_TEXTURE_2D); in getBackendFormatFromCompressionType()
4306 GR_GL_TEXTURE_2D); in getBackendFormatFromCompressionType()
4351 GrBackendFormat::MakeGL(GR_GL_ALPHA8, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
4353 GrBackendFormat::MakeGL(GR_GL_R8, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
4355 GrBackendFormat::MakeGL(GR_GL_RGB565, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
4357 GrBackendFormat::MakeGL(GR_GL_RGBA4, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
4359 GrBackendFormat::MakeGL(GR_GL_RGBA8, GR_GL_TEXTURE_2D) }, in getTestingCombinations()
[all …]
DGrGLGpu.cpp191 case GR_GL_TEXTURE_2D: in gl_target_to_binding_index()
691 } else if (GR_GL_TEXTURE_2D != desc->fTarget) { in check_backend_texture()
743 if (GR_GL_TEXTURE_2D != desc->fTarget) { in check_compressed_backend_texture()
1330 texDesc.fTarget = GR_GL_TEXTURE_2D; in onCreateTexture()
1403 this->bindTextureToScratchUnit(GR_GL_TEXTURE_2D, tex->textureID()); in onCreateTexture()
1404 GL_CALL(TexSubImage2D(GR_GL_TEXTURE_2D, i, 0, 0, levelWidth, levelHeight, in onCreateTexture()
1426 desc.fTarget = GR_GL_TEXTURE_2D; in onCreateCompressedTexture()
1437 this->bindTextureToScratchUnit(GR_GL_TEXTURE_2D, 0); in onCreateCompressedTexture()
1492 info.fTarget = GR_GL_TEXTURE_2D; in onCreateCompressedBackendTexture()
1502 this->bindTextureToScratchUnit(GR_GL_TEXTURE_2D, 0); in onCreateCompressedBackendTexture()
[all …]
DGrGLTexture.cpp20 case GR_GL_TEXTURE_2D: in TextureTypeFromTarget()
33 return GR_GL_TEXTURE_2D; in target_from_texture_type()
DGrGLRenderTarget.cpp99 return GrBackendFormat::MakeGL(GrGLFormatToEnum(fRTFormat), GR_GL_TEXTURE_2D); in backendFormat()
DGrGLDefines.h152 #define GR_GL_TEXTURE_2D 0x0DE1 macro
/external/skia/tests/
DTraceMemoryDumpTest.cpp92 desc.fTarget = GR_GL_TEXTURE_2D; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
109 desc.fTarget = GR_GL_TEXTURE_2D; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DTextureBindingsResetTest.cpp29 targets.push_back({GR_GL_TEXTURE_2D, GR_GL_TEXTURE_BINDING_2D}); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp106 if (GR_GL_TEXTURE_2D != texInfo.fTarget) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DDeferredDisplayListTest.cpp1090 for (GrGLenum target : { GR_GL_TEXTURE_EXTERNAL, GR_GL_TEXTURE_RECTANGLE, GR_GL_TEXTURE_2D } ) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
1104 if (GR_GL_TEXTURE_2D != target && mipMapped == GrMipMapped::kYes) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
1113 if (GR_GL_TEXTURE_2D == target) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkHardwareBufferTest.cpp239 GR_GL_CALL_NOERRCHECK(fGLCtx->gl(), BindTexture(GR_GL_TEXTURE_2D, fTexID)); in importHardwareBuffer()
262 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForRead()
290 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForWrite()
DBackendAllocationTest.cpp793 GrBackendFormat format = GrBackendFormat::MakeGL(combo.fFormat, GR_GL_TEXTURE_2D); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
/external/skqp/src/gpu/
DGrBackendSurface.cpp28 case GR_GL_TEXTURE_2D: in GrBackendFormat()
51 static constexpr GrGLenum k2D = GR_GL_TEXTURE_2D; in getGLTarget()
/external/skia/src/gpu/
DGrBackendSurface.cpp79 case GR_GL_TEXTURE_2D: in GrBackendFormat()
539 *outInfo = GrGLTextureInfo{ GR_GL_TEXTURE_2D, in getGLTextureInfo()
DGrAHardwareBufferUtils.cpp239 GrGLuint target = isRenderable ? GR_GL_TEXTURE_2D : GR_GL_TEXTURE_EXTERNAL; in make_gl_backend_texture()