Home
last modified time | relevance | path

Searched refs:dxgiFormat (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/gpu/d3d/
DGrD3DCaps.cpp772 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 …]
DGrD3DGpu.cpp255 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 …]
DGrD3DTextureResource.h38 DXGI_FORMAT dxgiFormat() const { return fInfo.fFormat; } in dxgiFormat() function
40 return GrBackendFormat::MakeDxgi(this->dxgiFormat()); in getBackendFormat()
DGrD3DUtil.h137 static constexpr const char* GrDxgiFormatToStr(DXGI_FORMAT dxgiFormat) { in GrDxgiFormatToStr() argument
138 switch (dxgiFormat) { in GrDxgiFormatToStr()
DGrD3DRenderTarget.cpp188 return d3dStencil->dxgiFormat(); in stencilDxgiFormat()
194 b->add32(this->dxgiFormat()); in genKey()
DGrD3DCommandList.cpp508 SkASSERT(dstTexture->dxgiFormat() == srcTexture->dxgiFormat()); in resolveSubresourceRegion()
521 srcTexture->dxgiFormat(), in resolveSubresourceRegion()
528 srcTexture->dxgiFormat()); in resolveSubresourceRegion()
DGrD3DGpu.h280 bool createTextureResourceForBackendSurface(DXGI_FORMAT dxgiFormat,
DGrD3DPipelineStateBuilder.cpp652 rt->dxgiFormat(), rt->stencilDxgiFormat(), rt->sampleQualityPattern()); in finalize()
/third_party/skia/src/gpu/
DGrBackendUtils.cpp88 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()
DGrBackendSurface.cpp188 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/
Ddxgi_format_map.h18 GLenum GetComponentType(DXGI_FORMAT dxgiFormat);
23 const angle::Format &GetFormat(DXGI_FORMAT dxgiFormat);
Ddxgi_format_map_autogen.cpp21 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()
Ddxgi_support_table.h37 const DXGISupport &GetDXGISupport(DXGI_FORMAT dxgiFormat, D3D_FEATURE_LEVEL featureLevel);
Ddxgi_support_table_autogen.cpp45 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/
Dformatutils11.h34 bool SupportsMipGen(DXGI_FORMAT dxgiFormat, D3D_FEATURE_LEVEL featureLevel);
DResourceManager11.cpp256 DXGI_FORMAT GetTypedDepthStencilFormat(DXGI_FORMAT dxgiFormat) in GetTypedDepthStencilFormat() argument
258 switch (dxgiFormat) in GetTypedDepthStencilFormat()
269 return dxgiFormat; in GetTypedDepthStencilFormat()
DImage11.cpp537 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()
Drenderer11_utils.cpp53 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()
Dformatutils11.cpp28 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/
DD3DTextureTest.cpp469 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/
DGrBackendSurface.h216 GrBackendFormat(DXGI_FORMAT dxgiFormat);
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp602 DXGI_FORMAT dxgiFormat = needsTypelessFormat in InitializeAsInternalTexture() local
607 resourceDescriptor.Format = dxgiFormat; in InitializeAsInternalTexture()