Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
GrDriverBugWorkarounds Class Reference

#include <GrDriverBugWorkarounds.h>

Public Member Functions

 GrDriverBugWorkarounds ()
 
 GrDriverBugWorkarounds (const GrDriverBugWorkarounds &)=default
 
 GrDriverBugWorkarounds (const std::vector< int32_t > &workarounds)
 
GrDriverBugWorkaroundsoperator= (const GrDriverBugWorkarounds &)=default
 
void applyOverrides (const GrDriverBugWorkarounds &workarounds)
 
 ~GrDriverBugWorkarounds ()
 

Detailed Description

Definition at line 35 of file GrDriverBugWorkarounds.h.

Constructor & Destructor Documentation

◆ GrDriverBugWorkarounds() [1/3]

GrDriverBugWorkarounds::GrDriverBugWorkarounds ( )
default

◆ GrDriverBugWorkarounds() [2/3]

GrDriverBugWorkarounds::GrDriverBugWorkarounds ( const GrDriverBugWorkarounds )
default

◆ GrDriverBugWorkarounds() [3/3]

GrDriverBugWorkarounds::GrDriverBugWorkarounds ( const std::vector< int32_t > &  workarounds)
explicit

◆ ~GrDriverBugWorkarounds()

GrDriverBugWorkarounds::~GrDriverBugWorkarounds ( )
default

Member Function Documentation

◆ applyOverrides()

void GrDriverBugWorkarounds::applyOverrides ( const GrDriverBugWorkarounds workarounds)

Definition at line 32 of file GrDriverBugWorkarounds.cpp.

33 {
34#define GPU_OP(type, name) \
35 name |= workarounds.name;
36
38#undef GPU_OP
39}
#define GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
#define GPU_OP(type, name)

◆ operator=()

GrDriverBugWorkarounds & GrDriverBugWorkarounds::operator= ( const GrDriverBugWorkarounds )
default

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