Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
NestedApproxOpCounter Struct Reference

Public Member Functions

template<typename T >
void operator() (const T &op)
 
void operator() (const SkRecords::DrawPicture &op)
 

Public Attributes

int fCount = 0
 

Detailed Description

Definition at line 46 of file SkBigPicture.cpp.

Member Function Documentation

◆ operator()() [1/2]

void NestedApproxOpCounter::operator() ( const SkRecords::DrawPicture &  op)
inline

Definition at line 52 of file SkBigPicture.cpp.

52 {
53 fCount += op.picture->approximateOpCount(true);
54 }

◆ operator()() [2/2]

template<typename T >
void NestedApproxOpCounter::operator() ( const T op)
inline

Definition at line 49 of file SkBigPicture.cpp.

49 {
50 fCount += 1;
51 }

Member Data Documentation

◆ fCount

int NestedApproxOpCounter::fCount = 0

Definition at line 47 of file SkBigPicture.cpp.


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