Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp232 GrGLTextureInfo textureInfo; in make_gl_backend_texture() local
233 textureInfo.fID = texID; in make_gl_backend_texture()
235 textureInfo.fTarget = target; in make_gl_backend_texture()
236 textureInfo.fFormat = *backendFormat.getGLFormat(); in make_gl_backend_texture()
241 return GrBackendTexture(width, height, GrMipMapped::kNo, textureInfo); in make_gl_backend_texture()
DGrProxyProvider.cpp694 const TextureInfo* textureInfo, SkBackingFit fit, SkBudgeted budgeted, in createLazyRenderTargetProxy() argument
717 if (textureInfo) { in createLazyRenderTargetProxy()
722 std::move(callback), lazyType, format, desc, origin, textureInfo->fMipMapped, in createLazyRenderTargetProxy()
/external/skia/tests/
DVkHardwareBufferTest.cpp259 GrGLTextureInfo textureInfo; in importHardwareBufferForRead() local
260 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForRead()
261 textureInfo.fID = fTexID; in importHardwareBufferForRead()
262 textureInfo.fFormat = GR_GL_RGBA8; in importHardwareBufferForRead()
264 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo); in importHardwareBufferForRead()
287 GrGLTextureInfo textureInfo; in importHardwareBufferForWrite() local
288 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForWrite()
289 textureInfo.fID = fTexID; in importHardwareBufferForWrite()
290 textureInfo.fFormat = GR_GL_RGBA8; in importHardwareBufferForWrite()
292 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo); in importHardwareBufferForWrite()
/external/skqp/tests/
DVkHardwareBufferTest.cpp259 GrGLTextureInfo textureInfo; in importHardwareBufferForRead() local
260 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForRead()
261 textureInfo.fID = fTexID; in importHardwareBufferForRead()
262 textureInfo.fFormat = GR_GL_RGBA8; in importHardwareBufferForRead()
264 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo); in importHardwareBufferForRead()
287 GrGLTextureInfo textureInfo; in importHardwareBufferForWrite() local
288 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForWrite()
289 textureInfo.fID = fTexID; in importHardwareBufferForWrite()
290 textureInfo.fFormat = GR_GL_RGBA8; in importHardwareBufferForWrite()
292 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo); in importHardwareBufferForWrite()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp413 GrGLTextureInfo textureInfo; in make_gl_backend_texture() local
414 textureInfo.fID = texID; in make_gl_backend_texture()
416 textureInfo.fTarget = *backendFormat.getGLTarget(); in make_gl_backend_texture()
417 textureInfo.fFormat = *backendFormat.getGLFormat(); in make_gl_backend_texture()
422 return GrBackendTexture(width, height, GrMipMapped::kNo, textureInfo); in make_gl_backend_texture()
DGrProxyProvider.cpp656 const TextureInfo* textureInfo, SkBackingFit fit, SkBudgeted budgeted) { in createLazyRenderTargetProxy() argument
677 if (textureInfo) { in createLazyRenderTargetProxy()
679 std::move(callback), lazyType, format, desc, origin, textureInfo->fMipMapped, in createLazyRenderTargetProxy()
/external/skqp/src/gpu/mtl/
DGrMtlGpu.mm317 GrMtlTextureInfo textureInfo;
318 if (!backendTex.getMtlTextureInfo(&textureInfo)) {
321 return GrGetMTLTexture(textureInfo.fTexture, ownership);
325 GrMtlTextureInfo textureInfo;
326 if (!backendRT.getMtlTextureInfo(&textureInfo)) {
329 return GrGetMTLTexture(textureInfo.fTexture, GrWrapOwnership::kBorrow_GrWrapOwnership);
/external/skia/src/gpu/mtl/
DGrMtlGpu.mm376 GrMtlTextureInfo textureInfo;
377 if (!backendTex.getMtlTextureInfo(&textureInfo)) {
380 return GrGetMTLTexture(textureInfo.fTexture, ownership);
384 GrMtlTextureInfo textureInfo;
385 if (!backendRT.getMtlTextureInfo(&textureInfo)) {
388 return GrGetMTLTexture(textureInfo.fTexture, GrWrapOwnership::kBorrow_GrWrapOwnership);