• Home
  • Raw
  • Download

Lines Matching refs:GrD3DCaps

24 GrD3DCaps::GrD3DCaps(const GrContextOptions& contextOptions, IDXGIAdapter1* adapter,  in GrD3DCaps()  function in GrD3DCaps
63 bool GrD3DCaps::canCopyTexture(DXGI_FORMAT dstFormat, int dstSampleCnt, in canCopyTexture()
74 bool GrD3DCaps::canCopyAsResolve(DXGI_FORMAT dstFormat, int dstSampleCnt, in canCopyAsResolve()
96 bool GrD3DCaps::onCanCopySurface(const GrSurfaceProxy* dst, const GrSurfaceProxy* src, in onCanCopySurface()
121 void GrD3DCaps::init(const GrContextOptions& contextOptions, IDXGIAdapter1* adapter, in init()
173 void GrD3DCaps::initGrCaps(const D3D12_FEATURE_DATA_D3D12_OPTIONS& optionsDesc, in initGrCaps()
223 void GrD3DCaps::initShaderCaps(int vendorID, const D3D12_FEATURE_DATA_D3D12_OPTIONS& optionsDesc) { in initShaderCaps()
257 void GrD3DCaps::applyDriverCorrectnessWorkarounds(int vendorID) { in applyDriverCorrectnessWorkarounds()
271 void GrD3DCaps::initStencilFormat(ID3D12Device* device) { in initStencilFormat()
300 void GrD3DCaps::setColorType(GrColorType colorType, std::initializer_list<DXGI_FORMAT> formats) { in setColorType()
331 const GrD3DCaps::FormatInfo& GrD3DCaps::getFormatInfo(DXGI_FORMAT format) const { in getFormatInfo()
332 GrD3DCaps* nonConstThis = const_cast<GrD3DCaps*>(this); in getFormatInfo()
336 GrD3DCaps::FormatInfo& GrD3DCaps::getFormatInfo(DXGI_FORMAT format) { in getFormatInfo()
337 static_assert(SK_ARRAY_COUNT(kDxgiFormats) == GrD3DCaps::kNumDxgiFormats, in getFormatInfo()
348 void GrD3DCaps::initFormatTable(const DXGI_ADAPTER_DESC& adapterDesc, ID3D12Device* device) { in initFormatTable()
349 static_assert(SK_ARRAY_COUNT(kDxgiFormats) == GrD3DCaps::kNumDxgiFormats, in initFormatTable()
686 void GrD3DCaps::FormatInfo::InitFormatFlags(const D3D12_FEATURE_DATA_FORMAT_SUPPORT& formatSupport, in InitFormatFlags()
722 void GrD3DCaps::FormatInfo::initSampleCounts(const DXGI_ADAPTER_DESC& adapterDesc, in initSampleCounts()
752 void GrD3DCaps::FormatInfo::init(const DXGI_ADAPTER_DESC& adapterDesc, ID3D12Device* device, in init()
766 bool GrD3DCaps::isFormatSRGB(const GrBackendFormat& format) const { in isFormatSRGB()
780 bool GrD3DCaps::isFormatTexturable(const GrBackendFormat& format) const { in isFormatTexturable()
789 bool GrD3DCaps::isFormatTexturable(DXGI_FORMAT format) const { in isFormatTexturable()
794 bool GrD3DCaps::isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format, in isFormatAsColorTypeRenderable()
810 bool GrD3DCaps::isFormatRenderable(const GrBackendFormat& format, int sampleCount) const { in isFormatRenderable()
818 bool GrD3DCaps::isFormatRenderable(DXGI_FORMAT format, int sampleCount) const { in isFormatRenderable()
822 bool GrD3DCaps::isFormatUnorderedAccessible(DXGI_FORMAT format) const { in isFormatUnorderedAccessible()
827 int GrD3DCaps::getRenderTargetSampleCount(int requestedCount, in getRenderTargetSampleCount()
837 int GrD3DCaps::getRenderTargetSampleCount(int requestedCount, DXGI_FORMAT format) const { in getRenderTargetSampleCount()
861 int GrD3DCaps::maxRenderTargetSampleCount(const GrBackendFormat& format) const { in maxRenderTargetSampleCount()
869 int GrD3DCaps::maxRenderTargetSampleCount(DXGI_FORMAT format) const { in maxRenderTargetSampleCount()
879 GrColorType GrD3DCaps::getFormatColorType(DXGI_FORMAT format) const { in getFormatColorType()
884 GrCaps::SupportedWrite GrD3DCaps::supportedWritePixelsColorType( in supportedWritePixelsColorType()
907 GrCaps::SurfaceReadPixelsSupport GrD3DCaps::surfaceSupportsReadPixels( in surfaceSupportsReadPixels()
927 bool GrD3DCaps::onSurfaceSupportsWritePixels(const GrSurface* surface) const { in onSurfaceSupportsWritePixels()
934 bool GrD3DCaps::onAreColorTypeAndFormatCompatible(GrColorType ct, in onAreColorTypeAndFormatCompatible()
950 GrBackendFormat GrD3DCaps::onGetDefaultBackendFormat(GrColorType ct) const { in onGetDefaultBackendFormat()
958 GrBackendFormat GrD3DCaps::getBackendFormatFromCompressionType( in getBackendFormatFromCompressionType()
973 GrSwizzle GrD3DCaps::onGetReadSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in onGetReadSwizzle()
987 GrSwizzle GrD3DCaps::getWriteSwizzle(const GrBackendFormat& format, GrColorType colorType) const { in getWriteSwizzle()
1001 uint64_t GrD3DCaps::computeFormatKey(const GrBackendFormat& format) const { in computeFormatKey()
1008 GrCaps::SupportedRead GrD3DCaps::onSupportedReadPixelsColorType( in onSupportedReadPixelsColorType()
1035 void GrD3DCaps::addExtraSamplerKey(GrProcessorKeyBuilder* b, in addExtraSamplerKey()
1044 GrProgramDesc GrD3DCaps::makeDesc(GrRenderTarget* rt, in makeDesc()
1070 std::vector<GrCaps::TestFormatColorTypeCombination> GrD3DCaps::getTestingCombinations() const { in getTestingCombinations()