/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | D3D11FormatTablesTest.cpp | 55 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()
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnTextureRenderTarget.cpp | 17 const GrDawnTextureInfo& textureInfo, in GrDawnTextureRenderTarget() 20 , GrDawnTexture(gpu, dimensions, textureInfo, mipmapStatus) in GrDawnTextureRenderTarget() 22 GrDawnRenderTargetInfo(textureInfo)) {} in GrDawnTextureRenderTarget() 14 GrDawnTextureRenderTarget(GrDawnGpu* gpu, SkISize dimensions, int sampleCnt, const GrDawnTextureInfo& textureInfo, GrMipmapStatus mipmapStatus) GrDawnTextureRenderTarget() argument
|
H A D | GrDawnTextureRenderTarget.h | 27 const GrDawnTextureInfo& textureInfo,
|
/third_party/skia/tests/graphite/ |
H A D | CommandBufferTest.cpp | 54 TextureInfo textureInfo(mtlTextureInfo); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 56 TextureInfo textureInfo; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local 59 auto target = sk_sp<TextureProxy>(new TextureProxy(textureSize, textureInfo)); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
|
/third_party/skia/src/gpu/ |
H A D | GrAHardwareBufferUtils.cpp | 258 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()
|
H A D | GrProxyProvider.cpp | 807 const TextureInfo* textureInfo, in createLazyRenderTargetProxy() 826 if (textureInfo) { in createLazyRenderTargetProxy() 832 textureInfo->fMipmapped, mipmapStatus, fit, budgeted, isProtected, surfaceFlags, in createLazyRenderTargetProxy() 801 createLazyRenderTargetProxy( LazyInstantiateCallback&& callback, const GrBackendFormat& format, SkISize dimensions, int sampleCnt, GrInternalSurfaceFlags surfaceFlags, const TextureInfo* textureInfo, GrMipmapStatus mipmapStatus, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, bool wrapsVkSecondaryCB, UseAllocator useAllocator) createLazyRenderTargetProxy() argument
|
/third_party/skia/tests/ |
H A D | VkHardwareBufferTest.cpp | 261 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() [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | Texture.h | 25 const TextureInfo& textureInfo() const { return fInfo; } in textureInfo() function in skgpu::Texture
|
H A D | TextureProxy.h | 30 const TextureInfo& textureInfo() const { return fInfo; } in textureInfo() function in skgpu::TextureProxy
|
H A D | TextureProxy.cpp | 43 SkASSERT(fInfo == texture->textureInfo()); in validateTexture()
|
H A D | Device.cpp | 52 auto textureInfo = gpu->caps()->getDefaultSampledTextureInfo(ii.colorType(), /*levelCount=*/1, in Make() local 54 auto target = sk_sp<TextureProxy>(new TextureProxy(ii.dimensions(), textureInfo)); in Make()
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DGpu.cpp | 943 GrD3DTextureResourceInfo textureInfo; in onWrapBackendTexture() local 944 if (!tex.getD3DTextureResourceInfo(&textureInfo)) { in onWrapBackendTexture() 948 if (!check_resource_info(textureInfo)) { in onWrapBackendTexture() 952 if (!check_tex_resource_info(this->d3dCaps(), textureInfo)) { in onWrapBackendTexture() 963 return GrD3DTexture::MakeWrappedTexture(this, tex.dimensions(), wrapType, ioType, textureInfo, in onWrapBackendTexture() 977 GrD3DTextureResourceInfo textureInfo; in onWrapRenderableBackendTexture() local 978 if (!tex.getD3DTextureResourceInfo(&textureInfo)) { in onWrapRenderableBackendTexture() 982 if (!check_resource_info(textureInfo)) { in onWrapRenderableBackendTexture() 986 if (!check_tex_resource_info(this->d3dCaps(), textureInfo)) { in onWrapRenderableBackendTexture() 989 if (!check_rt_resource_info(this->d3dCaps(), textureInfo, sampleCn in onWrapRenderableBackendTexture() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | ShaderModule.cpp | 1134 const BindingInfo& textureInfo = 1137 ASSERT(textureInfo.bindingType != BindingInfoType::Buffer && 1138 textureInfo.bindingType != BindingInfoType::Sampler && 1139 textureInfo.bindingType != BindingInfoType::StorageTexture); 1141 if (textureInfo.bindingType != BindingInfoType::Texture) { 1151 ASSERT(textureInfo.texture.sampleType != wgpu::TextureSampleType::Undefined && 1152 textureInfo.texture.sampleType != wgpu::TextureSampleType::Uint && 1153 textureInfo.texture.sampleType != wgpu::TextureSampleType::Sint); 1156 textureInfo.texture.sampleType == wgpu::TextureSampleType::UnfilterableFloat,
|