Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_texture_info.cpp124 GrGLTextureInfo grGLTextureInfo = { info.GetTarget(), info.GetID(), info.GetFormat() }; in ConvertToGrBackendTexture() local
126 static_cast<GrMipMapped>(info.GetIsMipMapped()), grGLTextureInfo); in ConvertToGrBackendTexture()
130 GrGLTextureInfo grGLTextureInfo = { info.GetTarget(), info.GetID(), info.GetFormat() }; in ConvertToGrBackendTexture()
132 static_cast<GrMipMapped>(info.GetIsMipMapped()), grGLTextureInfo); in ConvertToGrBackendTexture()
139 GrGLTextureInfo* grGLTextureInfo = new GrGLTextureInfo(); in ConvertToTextureInfo() local
140 grBackendTexture.getGLTextureInfo(grGLTextureInfo); in ConvertToTextureInfo()
145 textureInfo.SetTarget(grGLTextureInfo->fTarget); in ConvertToTextureInfo()
146 textureInfo.SetID(grGLTextureInfo->fID); in ConvertToTextureInfo()
147 textureInfo.SetFormat(grGLTextureInfo->fFormat); in ConvertToTextureInfo()
148 delete grGLTextureInfo; in ConvertToTextureInfo()