|
SK_API void | DawnNativeProcessEventsFunction (const wgpu::Instance &instance) |
|
void | Precompile (Context *context, const PaintOptions &paintOptions, DrawTypeFlags drawTypes=kMostCommon) |
|
DawnTextureInfo | DawnTextureSpecToTextureInfo (const DawnTextureSpec &dawnSpec, uint32_t sampleCount, Mipmapped mipmapped) |
|
DawnTextureInfo | DawnTextureInfoFromWGPUTexture (WGPUTexture texture) |
|
MtlTextureInfo | MtlTextureSpecToTextureInfo (const MtlTextureSpec &mtlSpec, uint32_t sampleCount, Mipmapped mipmapped) |
|
VulkanTextureInfo | VulkanTextureSpecToTextureInfo (const VulkanTextureSpec &vkSpec, uint32_t sampleCount, Mipmapped mipmapped) |
|
static SkColorType | color_type_fallback (SkColorType ct) |
|
bool | SkShouldPostMessageToBus (const ClientMappedBufferManager::BufferFinishedMessage &, Context::ContextID potentialRecipient) |
|
std::string_view | VelloStageName (vello_cpp::ShaderStage stage) |
|
WorkgroupSize | VelloStageLocalSize (vello_cpp::ShaderStage stage) |
|
skia_private::TArray< ComputeStep::WorkgroupBufferDesc > | VelloWorkgroupBuffers (vello_cpp::ShaderStage stage) |
|
ComputeStep::NativeShaderSource | VelloNativeShaderSource (vello_cpp::ShaderStage stage, ComputeStep::NativeShaderFormat format) |
|
| VELLO_COMPUTE_STEP (BackdropDyn) |
|
| VELLO_COMPUTE_STEP (BboxClear) |
|
| VELLO_COMPUTE_STEP (Binning) |
|
| VELLO_COMPUTE_STEP (ClipLeaf) |
|
| VELLO_COMPUTE_STEP (ClipReduce) |
|
| VELLO_COMPUTE_STEP (Coarse) |
|
| VELLO_COMPUTE_STEP (Flatten) |
|
| VELLO_COMPUTE_STEP (DrawLeaf) |
|
| VELLO_COMPUTE_STEP (DrawReduce) |
|
| VELLO_COMPUTE_STEP (PathCount) |
|
| VELLO_COMPUTE_STEP (PathCountSetup) |
|
| VELLO_COMPUTE_STEP (PathTiling) |
|
| VELLO_COMPUTE_STEP (PathTilingSetup) |
|
| VELLO_COMPUTE_STEP (PathtagReduce) |
|
| VELLO_COMPUTE_STEP (PathtagReduce2) |
|
| VELLO_COMPUTE_STEP (PathtagScan1) |
|
| VELLO_COMPUTE_STEP (PathtagScanLarge) |
|
| VELLO_COMPUTE_STEP (PathtagScanSmall) |
|
| VELLO_COMPUTE_STEP (TileAlloc) |
|
std::tuple< UniquePaintParamsID, const UniformDataBlock *, const TextureDataBlock * > | ExtractPaintData (Recorder *recorder, PipelineDataGatherer *gatherer, PaintParamsKeyBuilder *builder, const Layout layout, const SkM44 &local2Dev, const PaintParams &p, const Geometry &geometry, sk_sp< TextureProxy > dstTexture, SkIPoint dstOffset, const SkColorInfo &targetColorInfo) |
|
std::tuple< const UniformDataBlock *, const TextureDataBlock * > | ExtractRenderStepData (UniformDataCache *uniformDataCache, TextureDataCache *textureDataCache, PipelineDataGatherer *gatherer, const Layout layout, const RenderStep *step, const DrawParams ¶ms) |
|
DstReadRequirement | GetDstReadRequirement (const Caps *caps, std::optional< SkBlendMode > blendMode, Coverage coverage) |
|
std::string | EmitPaintParamsUniforms (int bufferID, const Layout layout, SkSpan< const ShaderNode * > nodes, int *numUniforms, int *uniformsTotalBytes, bool *wrotePaintColor) |
|
std::string | EmitRenderStepUniforms (int bufferID, const Layout layout, SkSpan< const Uniform > uniforms, int *renderStepUniformsTotalBytes) |
|
std::string | EmitPaintParamsStorageBuffer (int bufferID, SkSpan< const ShaderNode * > nodes, int *numUniforms, bool *wrotePaintColor) |
|
std::string | EmitRenderStepStorageBuffer (int bufferID, SkSpan< const Uniform > uniforms) |
|
std::string | EmitUniformsFromStorageBuffer (const char *bufferNamePrefix, const char *ssboIndex, SkSpan< const Uniform > uniforms) |
|
std::string | EmitStorageBufferAccess (const char *bufferNamePrefix, const char *ssboIndex, const char *uniformName) |
|
std::string | EmitTexturesAndSamplers (const ResourceBindingRequirements &bindingReqs, SkSpan< const ShaderNode * > nodes, int *binding) |
|
std::string | EmitSamplerLayout (const ResourceBindingRequirements &bindingReqs, int *binding) |
|
std::string | EmitVaryings (const RenderStep *step, const char *direction, bool emitSsboIndicesVarying, bool emitLocalCoordsVarying) |
|
VertSkSLInfo | BuildVertexSkSL (const ResourceBindingRequirements &bindingReqs, const RenderStep *step, bool useStorageBuffers, bool defineLocalCoordsVarying) |
|
FragSkSLInfo | BuildFragmentSkSL (const Caps *caps, const ShaderCodeDictionary *dict, const RuntimeEffectDictionary *rteDict, const RenderStep *step, UniquePaintParamsID paintID, bool useStorageBuffers, skgpu::Swizzle writeSwizzle) |
|
std::string | GetPipelineLabel (const ShaderCodeDictionary *dict, const RenderPassDesc &renderPassDesc, const RenderStep *renderStep, UniquePaintParamsID paintID) |
|
std::string | BuildComputeSkSL (const Caps *caps, const ComputeStep *step) |
|
| SK_MAKE_BITMASK_OPS (DawnErrorType) |
|
bool | DawnFormatIsDepthOrStencil (wgpu::TextureFormat format) |
|
bool | DawnFormatIsDepth (wgpu::TextureFormat format) |
|
bool | DawnFormatIsStencil (wgpu::TextureFormat format) |
|
wgpu::TextureFormat | DawnDepthStencilFlagsToFormat (SkEnumBitMask< DepthStencilFlags > mask) |
|
static bool | check_shader_module (const DawnSharedContext *sharedContext, wgpu::ShaderModule *module, const char *shaderText, ShaderErrorHandler *errorHandler) |
|
bool | DawnCompileWGSLShaderModule (const DawnSharedContext *sharedContext, const char *label, const std::string &wgsl, wgpu::ShaderModule *module, ShaderErrorHandler *errorHandler) |
|
static wgpu::AddressMode | tile_mode_to_dawn_address_mode (SkTileMode tileMode) |
|
size_t | DawnFormatBytesPerBlock (wgpu::TextureFormat format) |
|
SkTextureCompressionType | DawnFormatToCompressionType (wgpu::TextureFormat format) |
|
uint32_t | DawnFormatChannels (wgpu::TextureFormat format) |
|
| SK_MAKE_BITMASK_OPS (PipelineStageFlags) |
|
static uint32_t | next_id () |
|
static constexpr size_t | VertexAttribTypeSize (VertexAttribType type) |
|
sk_sp< PrecompileShader > | MakePrecompileShader (sk_sp< SkRuntimeEffect > effect, SkSpan< const PrecompileChildOptions > childOptions) |
|
sk_sp< PrecompileColorFilter > | MakePrecompileColorFilter (sk_sp< SkRuntimeEffect > effect, SkSpan< const PrecompileChildOptions > childOptions) |
|
sk_sp< PrecompileBlender > | MakePrecompileBlender (sk_sp< SkRuntimeEffect > effect, SkSpan< const PrecompileChildOptions > childOptions) |
|
static float | quantize (float deviceSpaceFloat) |
|
static int | write_color_and_offset_bufdata (int numStops, const SkPMColor4f *colors, const float *offsets, const SkGradientBaseShader *shader, PipelineDataGatherer *gatherer) |
|
static bool | can_do_yuv_tiling_in_hw (const Caps *caps, const YUVImageShaderBlock::ImageData &imgData) |
|
void | AddBlendModeColorFilter (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, SkBlendMode bm, const SkPMColor4f &srcColor) |
|
static bool | skdata_matches (const SkData *a, const SkData *b) |
|
static void | gather_runtime_effect_uniforms (const KeyContext &keyContext, const SkRuntimeEffect *effect, SkSpan< const Uniform > graphiteUniforms, const SkData *uniformData, PipelineDataGatherer *gatherer) |
|
void | AddToKey (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkBlender *blender) |
|
void | NotifyImagesInUse (Recorder *recorder, DrawContext *drawContext, const SkBlender *blender) |
|
static SkPMColor4f | map_color (const SkColor4f &c, SkColorSpace *src, SkColorSpace *dst) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkBlendModeColorFilter *filter) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkColorSpaceXformColorFilter *filter) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *keyBuilder, PipelineDataGatherer *gatherer, const SkComposeColorFilter *filter) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkGaussianColorFilter *) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkMatrixColorFilter *filter) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkRuntimeColorFilter *filter) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkTableColorFilter *filter) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkWorkingFormatColorFilter *filter) |
|
void | AddToKey (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkColorFilter *filter) |
|
void | NotifyImagesInUse (Recorder *recorder, DrawContext *drawContext, const SkColorFilter *filter) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkBlendShader *shader) |
|
static void | notify_in_use (Recorder *recorder, DrawContext *drawContext, const SkBlendShader *shader) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkCTMShader *shader) |
|
static void | notify_in_use (Recorder *recorder, DrawContext *drawContext, const SkCTMShader *shader) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkColorShader *shader) |
|
static void | notify_in_use (Recorder *, DrawContext *, const SkColorShader *) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkColor4Shader *shader) |
|
static void | notify_in_use (Recorder *, DrawContext *, const SkColor4Shader *) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkColorFilterShader *shader) |
|
static void | notify_in_use (Recorder *recorder, DrawContext *drawContext, const SkColorFilterShader *shader) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkCoordClampShader *shader) |
|
static void | notify_in_use (Recorder *recorder, DrawContext *drawContext, const SkCoordClampShader *shader) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkEmptyShader *) |
|
static void | notify_in_use (Recorder *, DrawContext *, const SkEmptyShader *) |
|
static void | add_yuv_image_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkImageShader *origShader, sk_sp< const SkImage > imageToDraw, SkSamplingOptions sampling) |
|
static skgpu::graphite::ReadSwizzle | swizzle_class_to_read_enum (const skgpu::Swizzle &swizzle) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkImageShader *shader) |
|
static void | notify_in_use (Recorder *recorder, DrawContext *drawContext, const SkImageShader *shader) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkLocalMatrixShader *shader) |
|
static void | notify_in_use (Recorder *recorder, DrawContext *drawContext, const SkLocalMatrixShader *shader) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkPerlinNoiseShader *shader) |
|
static void | notify_in_use (Recorder *, DrawContext *, const SkPerlinNoiseShader *) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkPictureShader *shader) |
|
static void | notify_in_use (Recorder *, DrawContext *, const SkPictureShader *) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkRuntimeShader *shader) |
|
static void | notify_in_use (Recorder *recorder, DrawContext *drawContext, const SkRuntimeShader *shader) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkTransformShader *shader) |
|
static void | notify_in_use (Recorder *, DrawContext *, const SkTransformShader *) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkTriColorShader *shader) |
|
static void | notify_in_use (Recorder *, DrawContext *, const SkTriColorShader *) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkWorkingColorSpaceShader *shader) |
|
static void | notify_in_use (Recorder *recorder, DrawContext *drawContext, const SkWorkingColorSpaceShader *shader) |
|
static SkBitmap | create_color_and_offset_bitmap (int numStops, const SkPMColor4f *colors, const float *offsets) |
|
static void | make_interpolated_to_dst (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const GradientShaderBlocks::GradientData &gradData, const SkGradientShader::Interpolation &interp, SkColorSpace *intermediateCS) |
|
static void | add_gradient_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkGradientBaseShader *shader, SkPoint point0, SkPoint point1, float radius0, float radius1, float bias, float scale) |
|
static void | add_gradient_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkConicalGradient *shader) |
|
static void | add_gradient_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkLinearGradient *shader) |
|
static void | add_gradient_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkRadialGradient *shader) |
|
static void | add_gradient_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkSweepGradient *shader) |
|
static void | add_to_key (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkGradientBaseShader *shader) |
|
static void | notify_in_use (Recorder *, DrawContext *, const SkGradientBaseShader *) |
|
void | AddToKey (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, const SkShader *shader) |
|
void | NotifyImagesInUse (Recorder *recorder, DrawContext *drawContext, const SkShader *shader) |
|
static MTLPrimitiveType | graphite_to_mtl_primitive (PrimitiveType primitiveType) |
|
static bool | check_max_blit_width (int widthInPixels) |
|
sk_cfp< id< MTLLibrary > > | MtlCompileShaderLibrary (const MtlSharedContext *sharedContext, std::string_view label, std::string_view msl, ShaderErrorHandler *errorHandler) |
|
size_t | MtlFormatBytesPerBlock (MtlPixelFormat format) |
|
SkTextureCompressionType | MtlFormatToCompressionType (MtlPixelFormat format) |
|
static MTLSamplerAddressMode | tile_mode_to_mtl_sampler_address (SkTileMode tileMode, const Caps &caps) |
|
void | Blend (const KeyContext &keyContext, PaintParamsKeyBuilder *keyBuilder, PipelineDataGatherer *gatherer, AddToKeyFn addBlendToKey, AddToKeyFn addSrcToKey, AddToKeyFn addDstToKey) |
|
void | Compose (const KeyContext &keyContext, PaintParamsKeyBuilder *keyBuilder, PipelineDataGatherer *gatherer, AddToKeyFn addInnerToKey, AddToKeyFn addOuterToKey) |
|
void | AddKnownModeBlend (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, SkBlendMode bm) |
|
void | AddModeBlend (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, SkBlendMode bm) |
|
void | AddDstReadBlock (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, DstReadRequirement dstReadReq) |
|
void | AddDitherBlock (const KeyContext &keyContext, PaintParamsKeyBuilder *builder, PipelineDataGatherer *gatherer, SkColorType ct) |
|
static int | key_to_string (SkString *str, const ShaderCodeDictionary *dict, SkSpan< const uint32_t > keyData, int currentIndex, bool includeData) |
|
void | PrecompileCombinations (Context *context, const PaintOptions &options, const KeyContext &keyContext, DrawTypeFlags drawTypes, bool withPrimitiveBlender, Coverage coverage) |
|
bool | Precompile (Context *context, RuntimeEffectDictionary *rteDict, const GraphicsPipelineDesc &pipelineDesc, const RenderPassDesc &renderPassDesc) |
|
skgpu::UniqueKey | GeneratePathMaskKey (const Shape &shape, const Transform &transform, const SkStrokeRec &strokeRec, skvx::half2 maskSize) |
|
static uint32_t | next_id () |
|
static skvx::float4 | load_x_radii (const SkRRect &rrect) |
|
static skvx::float4 | load_y_radii (const SkRRect &rrect) |
|
static bool | opposite_insets_intersect (const SkRRect &rrect, float strokeRadius, float aaRadius) |
|
static bool | opposite_insets_intersect (const Rect &rect, float strokeRadius, float aaRadius) |
|
static bool | opposite_insets_intersect (const Geometry &geometry, float strokeRadius, float aaRadius) |
|
static bool | is_clockwise (const EdgeAAQuad &quad) |
|
static skvx::float2 | quad_center (const EdgeAAQuad &quad) |
|
static void | write_index_buffer (VertexWriter writer) |
|
static void | write_vertex_buffer (VertexWriter writer) |
|
static skvx::float2 | get_device_translation (const SkM44 &localToDevice) |
|
static bool | is_clockwise (const EdgeAAQuad &quad) |
|
static void | write_index_buffer (VertexWriter writer) |
|
static void | write_vertex_buffer (VertexWriter writer) |
|
static uint32_t | next_id () |
|
static std::string | to_str (const SharedContext *ctx, const GraphicsPipelineDesc &gpDesc, const RenderPassDesc &rpDesc) |
|
static constexpr const char * | LayoutString (Layout layout) |
|
void | append_color_output (std::string *mainBody, BlendFormula::OutputType outputType, const char *outColor, const char *inColor) |
|
static SkSLType | uniform_type_to_sksl_type (const SkRuntimeEffect::Uniform &u) |
|
void | Flush (sk_sp< SkSurface > surface) |
|
void | Flush (SkSurface *surface) |
|
std::pair< size_t, size_t > | compute_combined_buffer_size (const Caps *caps, int mipLevelCount, size_t bytesPerBlock, const SkISize &baseDimensions, SkTextureCompressionType compressionType, TArray< std::pair< size_t, size_t > > *levelOffsetsAndRowBytes) |
|
template<typename INT_TYPE > |
static void | expand_bits (INT_TYPE *dst, const uint8_t *src, int width, int height, int dstRowBytes, int srcRowBytes) |
|
static void | get_packed_glyph_image (const SkGlyph &glyph, int dstRB, MaskFormat expectedMaskFormat, void *dst) |
|
std::tuple< TextureProxyView, SkColorType > | MakeBitmapProxyView (Recorder *recorder, const SkBitmap &bitmap, sk_sp< SkMipmap > mipmapsIn, Mipmapped mipmapped, Budgeted budgeted, std::string_view label) |
|
sk_sp< TextureProxy > | MakePromiseImageLazyProxy (const Caps *caps, SkISize dimensions, TextureInfo textureInfo, Volatile isVolatile, sk_sp< RefCntedCallback > releaseHelper, GraphitePromiseTextureFulfillProc fulfillProc, GraphitePromiseTextureFulfillContext fulfillContext, GraphitePromiseTextureReleaseProc textureReleaseProc, std::string_view label) |
|
sk_sp< SkImage > | MakeFromBitmap (Recorder *recorder, const SkColorInfo &colorInfo, const SkBitmap &bitmap, sk_sp< SkMipmap > mipmaps, Budgeted budgeted, SkImage::RequiredProperties requiredProps, std::string_view label) |
|
size_t | ComputeSize (SkISize dimensions, const TextureInfo &info) |
|
sk_sp< Image > | CopyAsDraw (Recorder *recorder, const SkImage *image, const SkIRect &subset, const SkColorInfo &dstColorInfo, Budgeted budgeted, Mipmapped mipmapped, SkBackingFit backingFit, std::string_view label) |
|
sk_sp< SkImage > | RescaleImage (Recorder *recorder, const SkImage *srcImage, SkIRect srcIRect, const SkImageInfo &dstInfo, SkImage::RescaleGamma rescaleGamma, SkImage::RescaleMode rescaleMode) |
|
bool | GenerateMipmaps (Recorder *recorder, sk_sp< TextureProxy > texture, const SkColorInfo &colorInfo) |
|
std::pair< sk_sp< SkImage >, SkSamplingOptions > | GetGraphiteBacked (Recorder *recorder, const SkImage *imageIn, SkSamplingOptions sampling) |
|
TextureProxyView | AsView (const SkImage *image) |
|
SkColorType | ComputeShaderCoverageMaskTargetFormat (const Caps *caps) |
|
sk_sp< TextureProxy > | MakePromiseImageLazyProxy (const Caps *, SkISize dimensions, TextureInfo, Volatile, sk_sp< skgpu::RefCntedCallback > releaseHelper, SkImages::GraphitePromiseTextureFulfillProc, SkImages::GraphitePromiseTextureFulfillContext, SkImages::GraphitePromiseTextureReleaseProc, std::string_view label) |
|
TextureProxyView | AsView (sk_sp< SkImage > image) |
|
static std::pair< SkSLType, int > | adjust_for_matrix_type (SkSLType type, int count) |
|
static bool | submit_to_queue (const VulkanSharedContext *sharedContext, VkQueue queue, VkFence fence, uint32_t waitCount, const VkSemaphore *waitSemaphores, const VkPipelineStageFlags *waitStages, uint32_t commandBufferCount, const VkCommandBuffer *commandBuffers, uint32_t signalCount, const VkSemaphore *signalSemaphores, Protected protectedContext) |
|
static VkFormat | attrib_type_to_vkformat (VertexAttribType type) |
|
static void | setup_vertex_input_state (const SkSpan< const Attribute > &vertexAttrs, const SkSpan< const Attribute > &instanceAttrs, VkPipelineVertexInputStateCreateInfo *vertexInputInfo, skia_private::STArray< 2, VkVertexInputBindingDescription, true > *bindingDescs, skia_private::STArray< 16, VkVertexInputAttributeDescription > *attributeDescs) |
|
static VkPrimitiveTopology | primitive_type_to_vk_topology (PrimitiveType primitiveType) |
|
static void | setup_input_assembly_state (PrimitiveType primitiveType, VkPipelineInputAssemblyStateCreateInfo *inputAssemblyInfo) |
|
static VkStencilOp | stencil_op_to_vk_stencil_op (StencilOp op) |
|
static VkCompareOp | compare_op_to_vk_compare_op (CompareOp op) |
|
static void | setup_stencil_op_state (VkStencilOpState *opState, const DepthStencilSettings::Face &face, uint32_t referenceValue) |
|
static void | setup_depth_stencil_state (const DepthStencilSettings &stencilSettings, VkPipelineDepthStencilStateCreateInfo *stencilInfo) |
|
static void | setup_viewport_scissor_state (VkPipelineViewportStateCreateInfo *viewportInfo) |
|
static void | setup_multisample_state (int numSamples, VkPipelineMultisampleStateCreateInfo *multisampleInfo) |
|
static VkBlendFactor | blend_coeff_to_vk_blend (skgpu::BlendCoeff coeff) |
|
static VkBlendOp | blend_equation_to_vk_blend_op (skgpu::BlendEquation equation) |
|
static void | setup_color_blend_state (const skgpu::BlendInfo &blendInfo, VkPipelineColorBlendStateCreateInfo *colorBlendInfo, VkPipelineColorBlendAttachmentState *attachmentState) |
|
static void | setup_raster_state (bool isWireframe, VkPipelineRasterizationStateCreateInfo *rasterInfo) |
|
static void | setup_shader_stage_info (VkShaderStageFlagBits stage, VkShaderModule shaderModule, VkPipelineShaderStageCreateInfo *shaderStageInfo) |
|
static VkDescriptorSetLayout | descriptor_data_to_layout (const VulkanSharedContext *sharedContext, const SkSpan< DescriptorData > &descriptorData) |
|
static void | destroy_desc_set_layouts (const VulkanSharedContext *sharedContext, skia_private::TArray< VkDescriptorSetLayout > &setLayouts) |
|
static VkPipelineLayout | setup_pipeline_layout (const VulkanSharedContext *sharedContext, bool usesIntrinsicConstantUbo, bool hasStepUniforms, int numPaintUniforms, int numTextureSamplers, int numInputAttachments) |
|
static void | destroy_shader_modules (const VulkanSharedContext *sharedContext, VkShaderModule vsModule, VkShaderModule fsModule) |
|
static void | setup_dynamic_state (VkPipelineDynamicStateCreateInfo *dynamicInfo, VkDynamicState *dynamicStates) |
|
VkShaderModule | createVulkanShaderModule (const VulkanSharedContext *context, const std::string &spirv, VkShaderStageFlagBits stage) |
|
void | DescriptorDataToVkDescSetLayout (const VulkanSharedContext *ctxt, const SkSpan< DescriptorData > &requestedDescriptors, VkDescriptorSetLayout *outLayout) |
|
VkDescriptorType | DsTypeEnumToVkDs (DescriptorType type) |
|
bool | vkFormatIsSupported (VkFormat format) |
|
VkShaderStageFlags | PipelineStageFlagsToVkShaderStageFlags (SkEnumBitMask< PipelineStageFlags > stageFlags) |
|
static VkSamplerAddressMode | tile_mode_to_vk_sampler_address (SkTileMode tileMode) |
|
VkImageAspectFlags | vk_format_to_aspect_flags (VkFormat format) |
|
| DEF_TEST (BoundsManager, r) |
|
| DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS (BufferManagerGpuOnlyBufferTest, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (DeviceTestVertexTransparency, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (DrawPassTestFailedDstCopy, reporter, context, CtsEnforcement::kNextRelease) |
|
static sk_sp< SkData > | create_image_data (const SkImageInfo &info) |
|
static skgpu::graphite::TextureProxy * | top_device_graphite_target_proxy (SkCanvas *canvas) |
|
| DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS (GraphiteBudgetedResourcesTest, reporter, context, testContext, true, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (GraphitePurgeAsNeededResourcesTest, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (GraphiteZeroSizedResourcesTest, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (GraphitePurgeNotUsedSinceResourcesTest, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (GraphitePurgeNotUsedOverBudgetTest, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (GraphitePurgeResourcesTest, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS (ImageOriginTest_drawImage_Graphite, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS (ImageOriginTest_imageShader_Graphite, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS (ImageShaderTest, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST (skgpu_IntersectionTree, reporter, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (MultisampleRetainTest, reporter, context, CtsEnforcement::kNever) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (ProxyCacheTest1, r, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (ProxyCacheTest2, r, context, CtsEnforcement::kNextRelease) |
|
| DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS (ProxyCacheTest4, r, context, testContext, true, CtsEnforcement::kNextRelease) |
|
| DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS (ProxyCacheTest5, r, context, testContext, true, CtsEnforcement::kNextRelease) |
|
| DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS (ProxyCacheTest6, r, context, testContext, true, CtsEnforcement::kNextRelease) |
|
| DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS (ProxyCacheTest7, r, context, testContext, true, CtsEnforcement::kNextRelease) |
|
| DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS (ProxyCacheTest8, r, context, testContext, true, CtsEnforcement::kNextRelease) |
|
| DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS (ProxyCacheTest9, r, context, testContext, true, CtsEnforcement::kNextRelease) |
|
static sk_sp< TextureProxy > | find_or_create_by_key (Recorder *recorder, int id, bool *regenerated) |
|
| DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS (ProxyCacheTest10, r, context, testContext, true, CtsEnforcement::kNextRelease) |
|
void | run_test (skiatest::Reporter *reporter, Context *context, SkISize surfaceSize, SkISize recordingSize, SkISize replayOffset, DrawCallback draw, const std::vector< Expectation > &expectations) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (RecordingSurfacesTestClear, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (RecordingSurfacesTestWritePixels, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (RecordingSurfacesTestWritePixelsOffscreen, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST (skgpu_Rect, reporter, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (GraphiteTextureProxyTest, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (GraphiteTextureTooLargeTest, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (GraphiteLazyTextureInvalidDimensions, reporter, context, CtsEnforcement::kNextRelease) |
|
| DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS (UploadBufferManagerTest, reporter, context, CtsEnforcement::kNextRelease) |
|
skgpu::BackendApi | ContextTypeBackend (skgpu::ContextType type) |
|