/third_party/skia/src/gpu/d3d/ |
D | GrD3DCaps.cpp | 772 DXGI_FORMAT dxgiFormat; in isFormatSRGB() local 773 if (!format.asDxgiFormat(&dxgiFormat)) { in isFormatSRGB() 777 switch (dxgiFormat) { in isFormatSRGB() 786 DXGI_FORMAT dxgiFormat; in isFormatTexturable() local 787 if (!format.asDxgiFormat(&dxgiFormat)) { in isFormatTexturable() 791 return this->isFormatTexturable(dxgiFormat); in isFormatTexturable() 801 DXGI_FORMAT dxgiFormat; in isFormatAsColorTypeRenderable() local 802 if (!format.asDxgiFormat(&dxgiFormat)) { in isFormatAsColorTypeRenderable() 805 if (!this->isFormatRenderable(dxgiFormat, sampleCount)) { in isFormatAsColorTypeRenderable() 808 const auto& info = this->getFormatInfo(dxgiFormat); in isFormatAsColorTypeRenderable() [all …]
|
D | GrD3DGpu.cpp | 255 DXGI_FORMAT dxgiFormat, in createD3DTexture() argument 280 resourceDesc.Format = dxgiFormat; in createD3DTexture() 304 DXGI_FORMAT dxgiFormat; in onCreateTexture() local 305 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in onCreateTexture() 306 SkASSERT(!GrDxgiFormatIsCompressed(dxgiFormat)); in onCreateTexture() 311 sk_sp<GrD3DTexture> tex = this->createD3DTexture(dimensions, dxgiFormat, renderable, in onCreateTexture() 325 static void copy_compressed_data(char* mapPtr, DXGI_FORMAT dxgiFormat, in copy_compressed_data() argument 330 SkASSERT(GrDxgiFormatIsCompressed(dxgiFormat)); in copy_compressed_data() 350 DXGI_FORMAT dxgiFormat; in onCreateCompressedTexture() local 351 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in onCreateCompressedTexture() [all …]
|
D | GrD3DTextureResource.h | 38 DXGI_FORMAT dxgiFormat() const { return fInfo.fFormat; } in dxgiFormat() function 40 return GrBackendFormat::MakeDxgi(this->dxgiFormat()); in getBackendFormat()
|
D | GrD3DUtil.h | 137 static constexpr const char* GrDxgiFormatToStr(DXGI_FORMAT dxgiFormat) { in GrDxgiFormatToStr() argument 138 switch (dxgiFormat) { in GrDxgiFormatToStr()
|
D | GrD3DRenderTarget.cpp | 188 return d3dStencil->dxgiFormat(); in stencilDxgiFormat() 194 b->add32(this->dxgiFormat()); in genKey()
|
D | GrD3DCommandList.cpp | 508 SkASSERT(dstTexture->dxgiFormat() == srcTexture->dxgiFormat()); in resolveSubresourceRegion() 521 srcTexture->dxgiFormat(), in resolveSubresourceRegion() 528 srcTexture->dxgiFormat()); in resolveSubresourceRegion()
|
D | GrD3DGpu.h | 280 bool createTextureResourceForBackendSurface(DXGI_FORMAT dxgiFormat,
|
D | GrD3DPipelineStateBuilder.cpp | 652 rt->dxgiFormat(), rt->stencilDxgiFormat(), rt->sampleQualityPattern()); in finalize()
|
/third_party/skia/src/gpu/ |
D | GrBackendUtils.cpp | 88 DXGI_FORMAT dxgiFormat; in GrBackendFormatToCompressionType() local 89 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in GrBackendFormatToCompressionType() 90 switch (dxgiFormat) { in GrBackendFormatToCompressionType() 134 DXGI_FORMAT dxgiFormat; in GrBackendFormatBytesPerBlock() local 135 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in GrBackendFormatBytesPerBlock() 136 return GrDxgiFormatBytesPerBlock(dxgiFormat); in GrBackendFormatBytesPerBlock() 194 DXGI_FORMAT dxgiFormat; in GrBackendFormatStencilBits() local 195 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in GrBackendFormatStencilBits() 196 return GrDxgiFormatStencilBits(dxgiFormat); in GrBackendFormatStencilBits()
|
D | GrBackendSurface.cpp | 188 GrBackendFormat::GrBackendFormat(DXGI_FORMAT dxgiFormat) in GrBackendFormat() argument 191 , fDxgiFormat(dxgiFormat) in GrBackendFormat() 195 bool GrBackendFormat::asDxgiFormat(DXGI_FORMAT* dxgiFormat) const { in asDxgiFormat() 197 *dxgiFormat = fDxgiFormat; in asDxgiFormat()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | dxgi_format_map.h | 18 GLenum GetComponentType(DXGI_FORMAT dxgiFormat); 23 const angle::Format &GetFormat(DXGI_FORMAT dxgiFormat);
|
D | dxgi_format_map_autogen.cpp | 21 GLenum GetComponentType(DXGI_FORMAT dxgiFormat) in GetComponentType() argument 23 switch (dxgiFormat) in GetComponentType() 270 const Format &GetFormat(DXGI_FORMAT dxgiFormat) in GetFormat() argument 272 switch (dxgiFormat) in GetFormat()
|
D | dxgi_support_table.h | 37 const DXGISupport &GetDXGISupport(DXGI_FORMAT dxgiFormat, D3D_FEATURE_LEVEL featureLevel);
|
D | dxgi_support_table_autogen.cpp | 45 const DXGISupport &GetDXGISupport_9_3(DXGI_FORMAT dxgiFormat) in GetDXGISupport_9_3() argument 48 switch (dxgiFormat) in GetDXGISupport_9_3() 638 const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat) in GetDXGISupport_10_0() argument 641 switch (dxgiFormat) in GetDXGISupport_10_0() 1231 const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat) in GetDXGISupport_10_1() argument 1234 switch (dxgiFormat) in GetDXGISupport_10_1() 1824 const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat) in GetDXGISupport_11_0() argument 1827 switch (dxgiFormat) in GetDXGISupport_11_0() 2417 const DXGISupport &GetDXGISupport_11_1(DXGI_FORMAT dxgiFormat) in GetDXGISupport_11_1() argument 2420 switch (dxgiFormat) in GetDXGISupport_11_1() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | formatutils11.h | 34 bool SupportsMipGen(DXGI_FORMAT dxgiFormat, D3D_FEATURE_LEVEL featureLevel);
|
D | ResourceManager11.cpp | 256 DXGI_FORMAT GetTypedDepthStencilFormat(DXGI_FORMAT dxgiFormat) in GetTypedDepthStencilFormat() argument 258 switch (dxgiFormat) in GetTypedDepthStencilFormat() 269 return dxgiFormat; in GetTypedDepthStencilFormat()
|
D | Image11.cpp | 537 const DXGI_FORMAT dxgiFormat = getDXGIFormat(); in createStagingTexture() local 546 d3d11::MakeValidSize(false, dxgiFormat, &width, &height, &lodOffset); in createStagingTexture() 559 desc.Format = dxgiFormat; in createStagingTexture() 596 desc.Format = dxgiFormat; in createStagingTexture()
|
D | renderer11_utils.cpp | 53 bool query(DXGI_FORMAT dxgiFormat, UINT supportMask) in query() argument 55 if (dxgiFormat == DXGI_FORMAT_UNKNOWN) in query() 58 auto dxgiSupport = d3d11::GetDXGISupport(dxgiFormat, mFeatureLevel); in query() 65 if (SUCCEEDED(mDevice->CheckFormatSupport(dxgiFormat, &formatSupport))) in query()
|
D | formatutils11.cpp | 28 bool SupportsMipGen(DXGI_FORMAT dxgiFormat, D3D_FEATURE_LEVEL featureLevel) in SupportsMipGen() argument 30 const auto &support = GetDXGISupport(dxgiFormat, featureLevel); in SupportsMipGen()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | D3DTextureTest.cpp | 469 for (auto dxgiFormat : dxgiFormats) in TEST_P() local 472 std::to_string(dxgiFormat)); in TEST_P() 480 32, 32, 1, 0, D3D11_BIND_RENDER_TARGET | D3D11_BIND_SHADER_RESOURCE, dxgiFormat, in TEST_P() 569 for (auto dxgiFormat : dxgiFormats) in TEST_P() local 572 std::to_string(dxgiFormat)); in TEST_P() 580 32, 32, 1, 0, D3D11_BIND_RENDER_TARGET | D3D11_BIND_SHADER_RESOURCE, dxgiFormat, in TEST_P()
|
/third_party/skia/include/gpu/ |
D | GrBackendSurface.h | 216 GrBackendFormat(DXGI_FORMAT dxgiFormat);
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | TextureD3D12.cpp | 602 DXGI_FORMAT dxgiFormat = needsTypelessFormat in InitializeAsInternalTexture() local 607 resourceDescriptor.Format = dxgiFormat; in InitializeAsInternalTexture()
|