Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
PathOpsThreadState Struct Reference

#include <PathOpsThreadedCommon.h>

Public Member Functions

void outputProgress (const char *pathStr, SkPathFillType)
 
void outputProgress (const char *pathStr, SkPathOp)
 

Public Attributes

unsigned char fA
 
unsigned char fB
 
unsigned char fC
 
unsigned char fD
 
std::string fPathStr
 
const char * fKey
 
char fSerialNo [256]
 
skiatest::ReporterfReporter
 
SkBitmapfBitmap
 

Detailed Description

Definition at line 27 of file PathOpsThreadedCommon.h.

Member Function Documentation

◆ outputProgress() [1/2]

void PathOpsThreadState::outputProgress ( const char *  pathStr,
SkPathFillType  pathFillType 
)

Definition at line 673 of file PathOpsExtendedTest.cpp.

673 {
674 const char testFunction[] = "testSimplify(path);";
675 const char* pathPrefix = nullptr;
676 const char* nameSuffix = nullptr;
677 if (pathFillType == SkPathFillType::kEvenOdd) {
678 pathPrefix = " path.setFillType(SkPathFillType::kEvenOdd);\n";
679 nameSuffix = "x";
680 }
681 appendTest(pathStr, pathPrefix, nameSuffix, testFunction, false, fPathStr);
682}
static void appendTest(const char *pathStr, const char *pathPrefix, const char *nameSuffix, const char *testFunction, bool twoPaths, std::string &out)
static int testFunction(int x)

◆ outputProgress() [2/2]

void PathOpsThreadState::outputProgress ( const char *  pathStr,
SkPathOp  op 
)

Definition at line 684 of file PathOpsExtendedTest.cpp.

684 {
685 const char testFunction[] = "testOp(path);";
686 SkASSERT((size_t) op < std::size(opSuffixes));
687 const char* nameSuffix = opSuffixes[op];
688 appendTest(pathStr, nullptr, nameSuffix, testFunction, true, fPathStr);
689}
static const char * opSuffixes[]
#define SkASSERT(cond)
Definition: SkAssert.h:116
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259

Member Data Documentation

◆ fA

unsigned char PathOpsThreadState::fA

Definition at line 28 of file PathOpsThreadedCommon.h.

◆ fB

unsigned char PathOpsThreadState::fB

Definition at line 29 of file PathOpsThreadedCommon.h.

◆ fBitmap

SkBitmap* PathOpsThreadState::fBitmap

Definition at line 36 of file PathOpsThreadedCommon.h.

◆ fC

unsigned char PathOpsThreadState::fC

Definition at line 30 of file PathOpsThreadedCommon.h.

◆ fD

unsigned char PathOpsThreadState::fD

Definition at line 31 of file PathOpsThreadedCommon.h.

◆ fKey

const char* PathOpsThreadState::fKey

Definition at line 33 of file PathOpsThreadedCommon.h.

◆ fPathStr

std::string PathOpsThreadState::fPathStr

Definition at line 32 of file PathOpsThreadedCommon.h.

◆ fReporter

skiatest::Reporter* PathOpsThreadState::fReporter

Definition at line 35 of file PathOpsThreadedCommon.h.

◆ fSerialNo

char PathOpsThreadState::fSerialNo[256]

Definition at line 34 of file PathOpsThreadedCommon.h.


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