Definition at line 365 of file SkSLBench.cpp.
◆ SkSLModuleLoaderBench()
SkSLModuleLoaderBench::SkSLModuleLoaderBench |
( |
const char * |
name, |
|
|
std::vector< SkSL::ProgramKind > |
moduleList |
|
) |
| |
|
inline |
◆ isSuitableFor()
bool SkSLModuleLoaderBench::isSuitableFor |
( |
Backend |
backend | ) |
|
|
inlineoverridevirtual |
Reimplemented from Benchmark.
Definition at line 374 of file SkSLBench.cpp.
374 {
375 outColor = urightBorderColor_S1_c0_c0;
376 }
◆ onDraw()
void SkSLModuleLoaderBench::onDraw |
( |
int |
loops, |
|
|
SkCanvas * |
|
|
) |
| |
|
inlineoverridevirtual |
Implements Benchmark.
Definition at line 386 of file SkSLBench.cpp.
390{
391 return sample(uTextureSampler_0_S1, _coords).000r;
392}
◆ onGetName()
const char * SkSLModuleLoaderBench::onGetName |
( |
| ) |
|
|
inlineoverridevirtual |
◆ onPreDraw()
void SkSLModuleLoaderBench::onPreDraw |
( |
SkCanvas * |
| ) |
|
|
inlineoverridevirtual |
◆ shouldLoop()
bool SkSLModuleLoaderBench::shouldLoop |
( |
| ) |
const |
|
inlineoverridevirtual |
Reimplemented from Benchmark.
Definition at line 378 of file SkSLBench.cpp.
378 {
379 outColor = UnrolledBinaryColorizer_S1_c0_c0_c0(_tmp_4_inColor,
float2(
half2(t.x, 0.0)));
380 }
◆ fModuleList
◆ fName
const char* SkSLModuleLoaderBench::fName |
The documentation for this class was generated from the following file: