Home
last modified time | relevance | path

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

/external/skia/src/gpu/ccpr/
DGrCCClipPath.h52 void assignAtlasTexture(sk_sp<GrTexture> atlasTexture) { in assignAtlasTexture() argument
53 fAtlasLazyProxy->priv().assign(std::move(atlasTexture)); in assignAtlasTexture()
DGrCoverageCountingPathRenderer.cpp140 static void assign_atlas_textures(GrTexture* atlasTexture, ClipMapsIter nextPathToAssign, in assign_atlas_textures() argument
142 if (!atlasTexture) { in assign_atlas_textures()
146 nextPathToAssign->assignAtlasTexture(sk_ref_sp(atlasTexture)); in assign_atlas_textures()
/external/skqp/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp302 auto* atlasTexture = reinterpret_cast<const AtlasTexture*>(textureHandle); in deleteTexture() local
304 callgl(DeleteTextures, 1, &atlasTexture->fID); in deleteTexture()
307 delete atlasTexture; in deleteTexture()
314 auto atlasTexture = reinterpret_cast<const AtlasTexture*>(textureHandle); in setTextureData() local
319 if (!atlas_format_to_gl_types(atlasTexture->fFormat, &internalFormat, &externalFormat, &type)) { in setTextureData()
322 int bpp = atlas_format_bytes_per_pixel(atlasTexture->fFormat); in setTextureData()
329 callgl(BindTexture, GR_GL_TEXTURE_2D, atlasTexture->fID); in setTextureData()