Flutter Engine
The Flutter Engine
|
#include "include/core/SkStream.h"
#include "src/base/SkArenaAlloc.h"
#include "src/base/SkStringView.h"
#include "src/core/SkRasterPipeline.h"
#include "src/sksl/codegen/SkSLRasterPipelineBuilder.h"
#include "src/sksl/tracing/SkSLDebugTracePriv.h"
#include "tests/Test.h"
Go to the source code of this file.
Functions | |
static sk_sp< SkData > | get_program_dump (SkSL::RP::Program &program) |
static std::string_view | as_string_view (const sk_sp< SkData > &dump) |
static void | check (skiatest::Reporter *r, SkSL::RP::Program &program, std::string_view expected) |
static SkSL::RP::SlotRange | one_slot_at (SkSL::RP::Slot index) |
static SkSL::RP::SlotRange | two_slots_at (SkSL::RP::Slot index) |
static SkSL::RP::SlotRange | three_slots_at (SkSL::RP::Slot index) |
static SkSL::RP::SlotRange | four_slots_at (SkSL::RP::Slot index) |
static SkSL::RP::SlotRange | five_slots_at (SkSL::RP::Slot index) |
static SkSL::RP::SlotRange | ten_slots_at (SkSL::RP::Slot index) |
DEF_TEST (RasterPipelineBuilder, r) | |
DEF_TEST (RasterPipelineBuilderPushPopMaskRegisters, r) | |
DEF_TEST (RasterPipelineBuilderCaseOp, r) | |
DEF_TEST (RasterPipelineBuilderPushPopSrcDst, r) | |
DEF_TEST (RasterPipelineBuilderInvokeChild, r) | |
DEF_TEST (RasterPipelineBuilderPushPopTempImmediates, r) | |
DEF_TEST (RasterPipelineBuilderPushPopIndirect, r) | |
DEF_TEST (RasterPipelineBuilderCopySlotsMasked, r) | |
DEF_TEST (RasterPipelineBuilderCopySlotsUnmasked, r) | |
DEF_TEST (RasterPipelineBuilderPushPopSlots, r) | |
DEF_TEST (RasterPipelineBuilderDuplicateSelectAndSwizzleSlots, r) | |
DEF_TEST (RasterPipelineBuilderTransposeMatrix, r) | |
DEF_TEST (RasterPipelineBuilderDiagonalMatrix, r) | |
DEF_TEST (RasterPipelineBuilderMatrixResize, r) | |
DEF_TEST (RasterPipelineBuilderBranches, r) | |
DEF_TEST (RasterPipelineBuilderBinaryFloatOps, r) | |
DEF_TEST (RasterPipelineBuilderBinaryIntOps, r) | |
DEF_TEST (RasterPipelineBuilderBinaryUIntOps, r) | |
DEF_TEST (RasterPipelineBuilderUnaryOps, r) | |
DEF_TEST (RasterPipelineBuilderUniforms, r) | |
DEF_TEST (RasterPipelineBuilderPushZeros, r) | |
DEF_TEST (RasterPipelineBuilderTernaryFloatOps, r) | |
DEF_TEST (RasterPipelineBuilderAutomaticStackRewinding, r) | |
DEF_TEST (RasterPipelineBuilderTraceOps, r) | |
Definition at line 22 of file RasterPipelineBuilderTest.cpp.
|
static |
Definition at line 26 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilder | , |
r | |||
) |
Definition at line 58 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderAutomaticStackRewinding | , |
r | |||
) |
Definition at line 576 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderBinaryFloatOps | , |
r | |||
) |
Definition at line 428 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderBinaryIntOps | , |
r | |||
) |
Definition at line 452 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderBinaryUIntOps | , |
r | |||
) |
Definition at line 479 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderBranches | , |
r | |||
) |
Definition at line 344 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderCaseOp | , |
r | |||
) |
Definition at line 114 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderCopySlotsMasked | , |
r | |||
) |
Definition at line 217 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderCopySlotsUnmasked | , |
r | |||
) |
Definition at line 229 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderDiagonalMatrix | , |
r | |||
) |
Definition at line 302 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderDuplicateSelectAndSwizzleSlots | , |
r | |||
) |
Definition at line 260 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderInvokeChild | , |
r | |||
) |
Definition at line 150 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderMatrixResize | , |
r | |||
) |
Definition at line 324 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderPushPopIndirect | , |
r | |||
) |
Definition at line 192 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderPushPopMaskRegisters | , |
r | |||
) |
Definition at line 80 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderPushPopSlots | , |
r | |||
) |
Definition at line 241 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderPushPopSrcDst | , |
r | |||
) |
Definition at line 131 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderPushPopTempImmediates | , |
r | |||
) |
Definition at line 165 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderPushZeros | , |
r | |||
) |
Definition at line 542 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderTernaryFloatOps | , |
r | |||
) |
Definition at line 561 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderTraceOps | , |
r | |||
) |
Definition at line 599 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderTransposeMatrix | , |
r | |||
) |
Definition at line 284 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderUnaryOps | , |
r | |||
) |
Definition at line 498 of file RasterPipelineBuilderTest.cpp.
DEF_TEST | ( | RasterPipelineBuilderUniforms | , |
r | |||
) |
Definition at line 523 of file RasterPipelineBuilderTest.cpp.
|
static |
Definition at line 50 of file RasterPipelineBuilderTest.cpp.
|
static |
Definition at line 46 of file RasterPipelineBuilderTest.cpp.
|
static |
Definition at line 16 of file RasterPipelineBuilderTest.cpp.
|
static |
Definition at line 34 of file RasterPipelineBuilderTest.cpp.
|
static |
Definition at line 54 of file RasterPipelineBuilderTest.cpp.
|
static |
Definition at line 42 of file RasterPipelineBuilderTest.cpp.
|
static |
Definition at line 38 of file RasterPipelineBuilderTest.cpp.