Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
skgpu::graphite::DstReadSampleBlock Struct Reference

#include <KeyHelpers.h>

Static Public Member Functions

static void AddBlock (const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, sk_sp< TextureProxy > dst, SkIPoint dstOffset)
 

Detailed Description

The KeyHelpers can be used to manually construct an SkPaintParamsKey.

TODO: If we restructure how the keys are made, we can utilize a single block type for the different blend blocks outlined below. The different Src/Dst pairings could instead be encoded as parent-child relationships.

Definition at line 59 of file KeyHelpers.h.

Member Function Documentation

◆ AddBlock()

void skgpu::graphite::DstReadSampleBlock::AddBlock ( const KeyContext keyContext,
PaintParamsKeyBuilder builder,
PipelineDataGatherer gatherer,
sk_sp< TextureProxy dst,
SkIPoint  dstOffset 
)
static

Definition at line 169 of file KeyHelpers.cpp.

173 {
174 add_dst_read_sample_uniform_data(keyContext.dict(), gatherer, std::move(dstTexture), dstOffset);
175
177}

The documentation for this struct was generated from the following files: