Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLCaps.cpp905 switch (fConfigTable[surfaceConfig].fFormatType) { in readPixelsSupported()
918 if (0 == fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat) { in readPixelsSupported()
920 const_cast<ReadPixelsFormat*>(&fConfigTable[surfaceConfig].fSecondReadPixelsFormat); in readPixelsSupported()
932 return fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat == readFormat && in readPixelsSupported()
933 fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fType == readType; in readPixelsSupported()
1179 writer->appendHexU32("flags", fConfigTable[i].fFlags); in onDumpJSON()
1180 writer->appendHexU32("b_internal", fConfigTable[i].fFormats.fBaseInternalFormat); in onDumpJSON()
1181 writer->appendHexU32("s_internal", fConfigTable[i].fFormats.fSizedInternalFormat); in onDumpJSON()
1183fConfigTable[i].fFormats.fExternalFormat[kReadPixels_ExternalFormatUsage]); in onDumpJSON()
1186 fConfigTable[i].fFormats.fExternalFormat[kTexImage_ExternalFormatUsage]); in onDumpJSON()
[all …]
DGrGLCaps.h114 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag); in isConfigTexturable()
129 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kFBOColorAttachment_Flag); in canConfigBeFBOColorAttachment()
133 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseTexStorage_Flag); in isConfigTexSupportEnabled()
138 return fConfigTable[config].fSwizzle; in configSwizzle()
142 return fConfigTable[config].fFormats.fSizedInternalFormat; in configSizedInternalFormat()
160 return fConfigTable[config].fFormats.fSizedInternalFormat; in getImageFormat()
176 return fConfigTable[config].fStencilFormatIndex != ConfigInfo::kUnknown_StencilIndex; in hasStencilFormatBeenDeterminedForConfig()
187 return fConfigTable[config].fStencilFormatIndex; in getStencilFormatIndexForConfig()
197 fConfigTable[config].fStencilFormatIndex = ConfigInfo::kUnsupported_StencilFormatIndex; in setStencilFormatIndexForConfig()
199 fConfigTable[config].fStencilFormatIndex = index; in setStencilFormatIndexForConfig()
[all …]
/external/skqp/src/gpu/gl/
DGrGLCaps.cpp893 switch (fConfigTable[surfaceConfig].fFormatType) { in readPixelsSupported()
906 if (0 == fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat) { in readPixelsSupported()
908 const_cast<ReadPixelsFormat*>(&fConfigTable[surfaceConfig].fSecondReadPixelsFormat); in readPixelsSupported()
920 return fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fFormat == readFormat && in readPixelsSupported()
921 fConfigTable[surfaceConfig].fSecondReadPixelsFormat.fType == readType; in readPixelsSupported()
1172 writer->appendHexU32("flags", fConfigTable[i].fFlags); in onDumpJSON()
1173 writer->appendHexU32("b_internal", fConfigTable[i].fFormats.fBaseInternalFormat); in onDumpJSON()
1174 writer->appendHexU32("s_internal", fConfigTable[i].fFormats.fSizedInternalFormat); in onDumpJSON()
1176fConfigTable[i].fFormats.fExternalFormat[kReadPixels_ExternalFormatUsage]); in onDumpJSON()
1179 fConfigTable[i].fFormats.fExternalFormat[kTexImage_ExternalFormatUsage]); in onDumpJSON()
[all …]
DGrGLCaps.h114 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag); in isConfigTexturable()
129 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kFBOColorAttachment_Flag); in canConfigBeFBOColorAttachment()
133 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseTexStorage_Flag); in isConfigTexSupportEnabled()
138 return fConfigTable[config].fSwizzle; in configSwizzle()
142 return fConfigTable[config].fFormats.fSizedInternalFormat; in configSizedInternalFormat()
160 return fConfigTable[config].fFormats.fSizedInternalFormat; in getImageFormat()
176 return fConfigTable[config].fStencilFormatIndex != ConfigInfo::kUnknown_StencilIndex; in hasStencilFormatBeenDeterminedForConfig()
187 return fConfigTable[config].fStencilFormatIndex; in getStencilFormatIndexForConfig()
197 fConfigTable[config].fStencilFormatIndex = ConfigInfo::kUnsupported_StencilFormatIndex; in setStencilFormatIndexForConfig()
199 fConfigTable[config].fStencilFormatIndex = index; in setStencilFormatIndexForConfig()
[all …]
/external/skia/src/gpu/vk/
DGrVkCaps.h36 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fOptimalFlags); in isConfigTexturable()
49 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fLinearFlags); in isConfigTexturableLinearly()
54 fConfigTable[config].fLinearFlags); in isConfigRenderableLinearly()
58 const uint16_t& flags = linearTiled ? fConfigTable[config].fLinearFlags : in configCanBeDstofBlit()
59 fConfigTable[config].fOptimalFlags; in configCanBeDstofBlit()
64 const uint16_t& flags = linearTiled ? fConfigTable[config].fLinearFlags : in configCanBeSrcofBlit()
65 fConfigTable[config].fOptimalFlags; in configCanBeSrcofBlit()
224 ConfigInfo fConfigTable[kGrPixelConfigCnt]; variable
DGrVkCaps.cpp656 fConfigTable[i].init(interface, physDev, properties, format, disableRendering); in initConfigTable()
744 int count = fConfigTable[config].fColorSampleCounts.count(); in getRenderTargetSampleCount()
751 SkASSERT(fConfigTable[config].fColorSampleCounts.count() && in getRenderTargetSampleCount()
752 fConfigTable[config].fColorSampleCounts[0] == 1); in getRenderTargetSampleCount()
757 if (fConfigTable[config].fColorSampleCounts[i] >= requestedCount) { in getRenderTargetSampleCount()
758 return fConfigTable[config].fColorSampleCounts[i]; in getRenderTargetSampleCount()
765 const auto& table = fConfigTable[config].fColorSampleCounts; in maxRenderTargetSampleCount()
/external/skqp/src/gpu/vk/
DGrVkCaps.h36 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fOptimalFlags); in isConfigTexturable()
49 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fLinearFlags); in isConfigTexturableLinearly()
54 fConfigTable[config].fLinearFlags); in isConfigRenderableLinearly()
58 const uint16_t& flags = linearTiled ? fConfigTable[config].fLinearFlags : in configCanBeDstofBlit()
59 fConfigTable[config].fOptimalFlags; in configCanBeDstofBlit()
64 const uint16_t& flags = linearTiled ? fConfigTable[config].fLinearFlags : in configCanBeSrcofBlit()
65 fConfigTable[config].fOptimalFlags; in configCanBeSrcofBlit()
211 ConfigInfo fConfigTable[kGrPixelConfigCnt]; variable
DGrVkCaps.cpp596 fConfigTable[i].init(interface, physDev, properties, format); in initConfigTable()
682 int count = fConfigTable[config].fColorSampleCounts.count(); in getRenderTargetSampleCount()
689 SkASSERT(fConfigTable[config].fColorSampleCounts.count() && in getRenderTargetSampleCount()
690 fConfigTable[config].fColorSampleCounts[0] == 1); in getRenderTargetSampleCount()
695 if (fConfigTable[config].fColorSampleCounts[i] >= requestedCount) { in getRenderTargetSampleCount()
696 return fConfigTable[config].fColorSampleCounts[i]; in getRenderTargetSampleCount()
703 const auto& table = fConfigTable[config].fColorSampleCounts; in maxRenderTargetSampleCount()
/external/skqp/src/gpu/mtl/
DGrMtlCaps.mm272 if (fConfigTable[config].fFlags & ConfigInfo::kMSAA_Flag) {
274 } else if (fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag) {
282 if (fConfigTable[config].fFlags & ConfigInfo::kMSAA_Flag) {
289 } else if (fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag) {
358 info = &fConfigTable[kAlpha_8_GrPixelConfig];
362 info = &fConfigTable[kGray_8_GrPixelConfig];
366 info = &fConfigTable[kRGB_565_GrPixelConfig];
374 info = &fConfigTable[kRGBA_4444_GrPixelConfig];
382 info = &fConfigTable[kRGBA_8888_GrPixelConfig];
386 info = &fConfigTable[kBGRA_8888_GrPixelConfig];
[all …]
DGrMtlCaps.h30 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag); in isConfigTexturable()
110 ConfigInfo fConfigTable[kGrPixelConfigCnt]; variable
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm272 if (fConfigTable[config].fFlags & ConfigInfo::kMSAA_Flag) {
274 } else if (fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag) {
282 if (fConfigTable[config].fFlags & ConfigInfo::kMSAA_Flag) {
289 } else if (fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag) {
360 info = &fConfigTable[kAlpha_8_GrPixelConfig];
364 info = &fConfigTable[kGray_8_GrPixelConfig];
368 info = &fConfigTable[kRGB_565_GrPixelConfig];
376 info = &fConfigTable[kRGBA_4444_GrPixelConfig];
384 info = &fConfigTable[kRGBA_8888_GrPixelConfig];
388 info = &fConfigTable[kRGB_888X_GrPixelConfig];
[all …]
DGrMtlCaps.h30 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag); in isConfigTexturable()
104 ConfigInfo fConfigTable[kGrPixelConfigCnt]; variable