Home
last modified time | relevance | path

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

/external/angle/src/tests/gl_tests/
DD3D11FormatTablesTest.cpp55 const auto &textureInfo = textureCaps.get(internalFormat); in TEST_P() local
74 EXPECT_EQ(textureable, textureInfo.texturable) << " for " << gl::FmtHex(internalFormat); in TEST_P()
92 EXPECT_EQ(filterable, textureInfo.filterable) << " for " << gl::FmtHex(internalFormat); in TEST_P()
123 EXPECT_EQ(renderable, textureInfo.textureAttachment) in TEST_P()
125 EXPECT_EQ(renderable, textureInfo.renderbuffer) << " for " << gl::FmtHex(internalFormat); in TEST_P()
126 if (!textureInfo.sampleCounts.empty()) in TEST_P()
136 EXPECT_TRUE(!textureInfo.sampleCounts.empty()); in TEST_P()
144 EXPECT_EQ(expectedCount, textureInfo.sampleCounts.count(sampleCount)) in TEST_P()
150 EXPECT_TRUE(textureInfo.sampleCounts.empty()) in TEST_P()
/external/skia/src/gpu/dawn/
DGrDawnTextureRenderTarget.cpp17 const GrDawnTextureInfo& textureInfo, in GrDawnTextureRenderTarget() argument
20 , GrDawnTexture(gpu, dimensions, textureInfo, mipmapStatus) in GrDawnTextureRenderTarget()
22 GrDawnRenderTargetInfo(textureInfo)) {} in GrDawnTextureRenderTarget()
DGrDawnTextureRenderTarget.h27 const GrDawnTextureInfo& textureInfo,
/external/skia/tests/
DVkHardwareBufferTest.cpp261 GrGLTextureInfo textureInfo; in importHardwareBufferForRead() local
262 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForRead()
263 textureInfo.fID = fTexID; in importHardwareBufferForRead()
264 textureInfo.fFormat = GR_GL_RGBA8; in importHardwareBufferForRead()
266 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipmapped::kNo, textureInfo); in importHardwareBufferForRead()
289 GrGLTextureInfo textureInfo; in importHardwareBufferForWrite() local
290 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForWrite()
291 textureInfo.fID = fTexID; in importHardwareBufferForWrite()
292 textureInfo.fFormat = GR_GL_RGBA8; in importHardwareBufferForWrite()
294 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipmapped::kNo, textureInfo); in importHardwareBufferForWrite()
/external/skqp/tests/
DVkHardwareBufferTest.cpp260 GrGLTextureInfo textureInfo; in importHardwareBufferForRead() local
261 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForRead()
262 textureInfo.fID = fTexID; in importHardwareBufferForRead()
263 textureInfo.fFormat = GR_GL_RGBA8; in importHardwareBufferForRead()
265 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo); in importHardwareBufferForRead()
288 GrGLTextureInfo textureInfo; in importHardwareBufferForWrite() local
289 textureInfo.fTarget = GR_GL_TEXTURE_2D; in importHardwareBufferForWrite()
290 textureInfo.fID = fTexID; in importHardwareBufferForWrite()
291 textureInfo.fFormat = GR_GL_RGBA8; in importHardwareBufferForWrite()
293 GrBackendTexture backendTex(DEV_W, DEV_H, GrMipMapped::kNo, textureInfo); in importHardwareBufferForWrite()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp258 GrGLTextureInfo textureInfo; in make_gl_backend_texture() local
259 textureInfo.fID = texID; in make_gl_backend_texture()
261 textureInfo.fTarget = target; in make_gl_backend_texture()
262 textureInfo.fFormat = GrGLFormatToEnum(backendFormat.asGLFormat()); in make_gl_backend_texture()
268 return GrBackendTexture(width, height, GrMipmapped::kNo, textureInfo); in make_gl_backend_texture()
DGrProxyProvider.cpp752 const TextureInfo* textureInfo, in createLazyRenderTargetProxy() argument
771 if (textureInfo) { in createLazyRenderTargetProxy()
777 textureInfo->fMipmapped, mipmapStatus, fit, budgeted, isProtected, surfaceFlags, in createLazyRenderTargetProxy()
/external/skia/src/gpu/d3d/
DGrD3DGpu.cpp789 GrD3DTextureResourceInfo textureInfo; in onWrapBackendTexture() local
790 if (!tex.getD3DTextureResourceInfo(&textureInfo)) { in onWrapBackendTexture()
794 if (!check_resource_info(textureInfo)) { in onWrapBackendTexture()
798 if (!check_tex_resource_info(this->d3dCaps(), textureInfo)) { in onWrapBackendTexture()
809 return GrD3DTexture::MakeWrappedTexture(this, tex.dimensions(), wrapType, ioType, textureInfo, in onWrapBackendTexture()
823 GrD3DTextureResourceInfo textureInfo; in onWrapRenderableBackendTexture() local
824 if (!tex.getD3DTextureResourceInfo(&textureInfo)) { in onWrapRenderableBackendTexture()
828 if (!check_resource_info(textureInfo)) { in onWrapRenderableBackendTexture()
832 if (!check_tex_resource_info(this->d3dCaps(), textureInfo)) { in onWrapRenderableBackendTexture()
835 if (!check_rt_resource_info(this->d3dCaps(), textureInfo, sampleCnt)) { in onWrapRenderableBackendTexture()
[all …]
/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.mm720 GrMtlTextureInfo textureInfo;
721 if (!backendTex.getMtlTextureInfo(&textureInfo)) {
724 return GrGetMTLTexture(textureInfo.fTexture.get());
728 GrMtlTextureInfo textureInfo;
729 if (!backendRT.getMtlTextureInfo(&textureInfo)) {
732 return GrGetMTLTexture(textureInfo.fTexture.get());