Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Static Public Member Functions | List of all members
skgpu::graphite::DitherShaderBlock Struct Reference

#include <KeyHelpers.h>

Classes

struct  DitherData
 

Static Public Member Functions

static void AddBlock (const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, const DitherData &)
 

Detailed Description

Definition at line 228 of file KeyHelpers.h.

Member Function Documentation

◆ AddBlock()

void skgpu::graphite::DitherShaderBlock::AddBlock ( const KeyContext keyContext,
PaintParamsKeyBuilder builder,
PipelineDataGatherer gatherer,
const DitherData data 
)
static

Definition at line 735 of file KeyHelpers.cpp.

738 {
739 add_dither_uniform_data(keyContext.dict(), data, gatherer);
740
742 static constexpr SkTileMode kRepeatTiling[2] = { SkTileMode::kRepeat, SkTileMode::kRepeat };
743
744 SkASSERT(data.fLUTProxy || !keyContext.recorder());
745 gatherer->add(kNearest, kRepeatTiling, data.fLUTProxy);
746
748}
#define SkASSERT(cond)
Definition SkAssert.h:116
SkTileMode
Definition SkTileMode.h:13
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
Definition switches.h:41

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