|
| GrVkCaps (const GrContextOptions &, const skgpu::VulkanInterface *, VkPhysicalDevice, const VkPhysicalDeviceFeatures2 &, uint32_t instanceVersion, uint32_t physicalDeviceVersion, const skgpu::VulkanExtensions &, skgpu::Protected) |
|
bool | isFormatSRGB (const GrBackendFormat &) const override |
|
bool | isFormatTexturable (const GrBackendFormat &, GrTextureType) const override |
|
bool | isVkFormatTexturable (VkFormat) const |
|
bool | isFormatCopyable (const GrBackendFormat &) const override |
|
bool | isFormatAsColorTypeRenderable (GrColorType ct, const GrBackendFormat &format, int sampleCount=1) const override |
|
bool | isFormatRenderable (const GrBackendFormat &format, int sampleCount) const override |
|
bool | isFormatRenderable (VkFormat, int sampleCount) const |
|
int | getRenderTargetSampleCount (int requestedCount, const GrBackendFormat &) const override |
|
int | getRenderTargetSampleCount (int requestedCount, VkFormat) const |
|
int | maxRenderTargetSampleCount (const GrBackendFormat &) const override |
|
int | maxRenderTargetSampleCount (VkFormat format) const |
|
SupportedWrite | supportedWritePixelsColorType (GrColorType surfaceColorType, const GrBackendFormat &surfaceFormat, GrColorType srcColorType) const override |
|
SurfaceReadPixelsSupport | surfaceSupportsReadPixels (const GrSurface *) const override |
|
bool | isVkFormatTexturableLinearly (VkFormat format) const |
|
bool | formatCanBeDstofBlit (VkFormat format, bool linearTiled) const |
|
bool | formatCanBeSrcofBlit (VkFormat format, bool linearTiled) const |
|
GrColorType | transferColorType (VkFormat, GrColorType surfaceColorType) const |
|
bool | mustSyncCommandBuffersWithQueue () const |
|
bool | shouldAlwaysUseDedicatedImageMemory () const |
|
bool | avoidUpdateBuffers () const |
|
VkFormat | preferredStencilFormat () const |
|
bool | supportsSwapchain () const |
|
bool | supportsPhysicalDeviceProperties2 () const |
|
bool | supportsMemoryRequirements2 () const |
|
bool | supportsBindMemory2 () const |
|
bool | supportsMaintenance1 () const |
|
bool | supportsMaintenance2 () const |
|
bool | supportsMaintenance3 () const |
|
bool | supportsDedicatedAllocation () const |
|
bool | supportsExternalMemory () const |
|
bool | supportsAndroidHWBExternalMemory () const |
|
bool | supportsYcbcrConversion () const |
|
uint32_t | ycbcrCombinedImageSamplerDescriptorCount () const |
|
bool | supportsDRMFormatModifiers () const |
|
bool | supportsDeviceFaultInfo () const |
|
bool | preferPrimaryOverSecondaryCommandBuffers () const |
|
int | maxPerPoolCachedSecondaryCommandBuffers () const |
|
uint32_t | maxInputAttachmentDescriptors () const |
|
float | maxSamplerAnisotropy () const |
|
bool | mustInvalidatePrimaryCmdBufferStateAfterClearAttachments () const |
|
bool | gpuOnlyBuffersMorePerformant () const |
|
bool | shouldPersistentlyMapCpuToGpuBuffers () const |
|
uint32_t | maxDrawIndirectDrawCount () const |
|
bool | canCopyImage (VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, VkFormat srcFormat, int srcSamplecnt, bool srcHasYcbcr) const |
|
bool | canCopyAsBlit (VkFormat dstConfig, int dstSampleCnt, bool dstIsLinear, bool dstHasYcbcr, VkFormat srcConfig, int srcSampleCnt, bool srcIsLinear, bool srcHasYcbcr) const |
|
bool | canCopyAsResolve (VkFormat dstConfig, int dstSampleCnt, bool dstHasYcbcr, VkFormat srcConfig, int srcSamplecnt, bool srcHasYcbcr) const |
|
GrBackendFormat | getBackendFormatFromCompressionType (SkTextureCompressionType) const override |
|
VkFormat | getFormatFromColorType (GrColorType colorType) const |
|
skgpu::Swizzle | getWriteSwizzle (const GrBackendFormat &, GrColorType) const override |
|
uint64_t | computeFormatKey (const GrBackendFormat &) const override |
|
int | getFragmentUniformBinding () const |
|
int | getFragmentUniformSet () const |
|
void | addExtraSamplerKey (skgpu::KeyBuilder *, GrSamplerState, const GrBackendFormat &) const override |
|
GrProgramDesc | makeDesc (GrRenderTarget *, const GrProgramInfo &, ProgramDescOverrideFlags) const override |
|
GrInternalSurfaceFlags | getExtraSurfaceFlagsForDeferredRT () const override |
|
VkShaderStageFlags | getPushConstantStageFlags () const |
|
bool | mustLoadFullImageWithDiscardableMSAA () const |
|
bool | supportsDiscardableMSAAForDMSAA () const |
|
bool | renderTargetSupportsDiscardableMSAA (const GrVkRenderTarget *) const |
|
bool | programInfoWillUseDiscardableMSAA (const GrProgramInfo &) const |
|
bool | dmsaaResolveCanBeUsedAsTextureInSameRenderPass () const override |
|
bool | supportsMemorylessAttachments () const |
|
| GrCaps (const GrContextOptions &) |
|
void | dumpJSON (SkJSONWriter *) const |
|
const GrShaderCaps * | shaderCaps () const |
|
bool | npotTextureTileSupport () const |
|
bool | mipmapSupport () const |
|
bool | anisoSupport () const |
|
bool | gpuTracingSupport () const |
|
bool | oversizedStencilSupport () const |
|
bool | textureBarrierSupport () const |
|
bool | sampleLocationsSupport () const |
|
bool | drawInstancedSupport () const |
|
bool | nativeDrawIndirectSupport () const |
|
bool | useClientSideIndirectBuffers () const |
|
bool | conservativeRasterSupport () const |
|
bool | wireframeSupport () const |
|
bool | msaaResolvesAutomatically () const |
|
bool | preferDiscardableMSAAAttachment () const |
|
bool | halfFloatVertexAttributeSupport () const |
|
bool | usePrimitiveRestart () const |
|
bool | preferClientSideDynamicBuffers () const |
|
bool | preferFullscreenClears () const |
|
bool | discardStencilValuesAfterRenderPass () const |
|
bool | twoSidedStencilRefsAndMasksMustMatch () const |
|
bool | preferVRAMUseOverFlushes () const |
|
bool | avoidStencilBuffers () const |
|
bool | avoidWritePixelsFastPath () const |
|
bool | nativeDrawIndexedIndirectIsBroken () const |
|
BlendEquationSupport | blendEquationSupport () const |
|
bool | advancedBlendEquationSupport () const |
|
bool | advancedCoherentBlendEquationSupport () const |
|
bool | isAdvancedBlendEquationDisabled (skgpu::BlendEquation equation) const |
|
bool | shouldCollapseSrcOverToSrcWhenAble () const |
|
bool | mustSyncGpuDuringAbandon () const |
|
bool | reducedShaderMode () const |
|
uint32_t | mapBufferFlags () const |
|
bool | reuseScratchTextures () const |
|
bool | reuseScratchBuffers () const |
|
int | maxVertexAttributes () const |
| maximum number of attribute values per vertex More...
|
|
int | maxRenderTargetSize () const |
|
int | maxPreferredRenderTargetSize () const |
|
int | maxTextureSize () const |
|
int | maxWindowRectangles () const |
|
bool | isWindowRectanglesSupportedForRT (const GrBackendRenderTarget &rt) const |
|
uint32_t | maxPushConstantsSize () const |
|
size_t | transferBufferRowBytesAlignment () const |
|
size_t | transferFromBufferToBufferAlignment () const |
|
size_t | bufferUpdateDataPreserveAlignment () const |
|
virtual bool | isFormatSRGB (const GrBackendFormat &) const =0 |
|
bool | isFormatCompressed (const GrBackendFormat &format) const |
|
virtual bool | isFormatTexturable (const GrBackendFormat &, GrTextureType) const =0 |
|
virtual bool | isFormatCopyable (const GrBackendFormat &) const =0 |
|
virtual int | maxRenderTargetSampleCount (const GrBackendFormat &) const =0 |
|
int | internalMultisampleCount (const GrBackendFormat &format) const |
|
virtual bool | isFormatAsColorTypeRenderable (GrColorType ct, const GrBackendFormat &format, int sampleCount=1) const =0 |
|
virtual bool | isFormatRenderable (const GrBackendFormat &format, int sampleCount) const =0 |
|
virtual int | getRenderTargetSampleCount (int requestedCount, const GrBackendFormat &) const =0 |
|
bool | surfaceSupportsWritePixels (const GrSurface *) const |
|
virtual SurfaceReadPixelsSupport | surfaceSupportsReadPixels (const GrSurface *) const =0 |
|
virtual SupportedWrite | supportedWritePixelsColorType (GrColorType surfaceColorType, const GrBackendFormat &surfaceFormat, GrColorType srcColorType) const =0 |
|
SupportedRead | supportedReadPixelsColorType (GrColorType srcColorType, const GrBackendFormat &srcFormat, GrColorType dstColorType) const |
|
bool | writePixelsRowBytesSupport () const |
|
bool | transferPixelsToRowBytesSupport () const |
|
bool | readPixelsRowBytesSupport () const |
|
bool | transferFromSurfaceToBufferSupport () const |
|
bool | transferFromBufferToTextureSupport () const |
|
bool | transferFromBufferToBufferSupport () const |
|
bool | suppressPrints () const |
|
size_t | bufferMapThreshold () const |
|
bool | mustClearUploadedBufferData () const |
|
bool | shouldInitializeTextures () const |
|
bool | buffersAreInitiallyZero () const |
|
bool | supportsAHardwareBufferImages () const |
|
bool | wireframeMode () const |
|
bool | semaphoreSupport () const |
|
bool | backendSemaphoreSupport () const |
|
bool | finishedProcAsyncCallbackSupport () const |
|
bool | crossContextTextureSupport () const |
|
bool | canCopySurface (const GrSurfaceProxy *dst, const SkIRect &dstRect, const GrSurfaceProxy *src, const SkIRect &srcRect) const |
|
bool | dynamicStateArrayGeometryProcessorTextureSupport () const |
|
bool | supportsProtectedContent () const |
|
bool | performPartialClearsAsDraws () const |
|
bool | performColorClearsAsDraws () const |
|
bool | avoidLargeIndexBufferDraws () const |
|
bool | performStencilClearsAsDraws () const |
|
bool | disableTessellationPathRenderer () const |
|
GrDstSampleFlags | getDstSampleFlagsForProxy (const GrRenderTargetProxy *, bool drawUsesMSAA) const |
|
virtual DstCopyRestrictions | getDstCopyRestrictions (const GrRenderTargetProxy *src, GrColorType ct) const |
|
bool | validateSurfaceParams (const SkISize &, const GrBackendFormat &, GrRenderable renderable, int renderTargetSampleCnt, skgpu::Mipmapped, GrTextureType) const |
|
bool | areColorTypeAndFormatCompatible (GrColorType grCT, const GrBackendFormat &format) const |
|
GrBackendFormat | getDefaultBackendFormat (GrColorType, GrRenderable) const |
|
virtual GrBackendFormat | getBackendFormatFromCompressionType (SkTextureCompressionType) const =0 |
|
bool | clampToBorderSupport () const |
|
skgpu::Swizzle | getReadSwizzle (const GrBackendFormat &format, GrColorType colorType) const |
|
virtual skgpu::Swizzle | getWriteSwizzle (const GrBackendFormat &, GrColorType) const =0 |
|
virtual uint64_t | computeFormatKey (const GrBackendFormat &) const =0 |
|
const GrDriverBugWorkarounds & | workarounds () const |
|
virtual void | addExtraSamplerKey (skgpu::KeyBuilder *, GrSamplerState, const GrBackendFormat &) const |
|
| GR_DECL_BITFIELD_CLASS_OPS_FRIENDS (ProgramDescOverrideFlags) |
|
virtual GrProgramDesc | makeDesc (GrRenderTarget *, const GrProgramInfo &, ProgramDescOverrideFlags overrideFlags=ProgramDescOverrideFlags::kNone) const =0 |
|
virtual GrInternalSurfaceFlags | getExtraSurfaceFlagsForDeferredRT () const |
|
bool | supportsDynamicMSAA (const GrRenderTargetProxy *) const |
|
virtual bool | dmsaaResolveCanBeUsedAsTextureInSameRenderPass () const |
|
bool | avoidReorderingRenderTasks () const |
|
bool | avoidDithering () const |
|
bool | disablePerspectiveSDFText () const |
|
bool | avoidLineDraws () const |
|
std::tuple< GrColorType, GrBackendFormat > | getFallbackColorTypeAndFormat (GrColorType, int sampleCount) const |
|
SkSL::Version | skslVersion () const |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
Stores some capabilities of a Vk backend.
Definition at line 27 of file GrVkCaps.h.