Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 57 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 164 of file KeyHelpers.cpp.

168 {
169 add_dst_read_sample_uniform_data(keyContext.dict(), gatherer, std::move(dstTexture), dstOffset);
170
172}

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