Searched refs:textureInfo (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/gpu/ |
D | GrAHardwareBufferUtils.cpp | 232 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()
|
D | GrProxyProvider.cpp | 694 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/ |
D | VkHardwareBufferTest.cpp | 259 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/ |
D | VkHardwareBufferTest.cpp | 259 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/ |
D | GrAHardwareBufferImageGenerator.cpp | 413 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()
|
D | GrProxyProvider.cpp | 656 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/ |
D | GrMtlGpu.mm | 317 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/ |
D | GrMtlGpu.mm | 376 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);
|