Flutter Engine
The Flutter Engine
Classes | Namespaces | Enumerations
GrXferProcessor.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/gpu/GrTypes.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkTo.h"
#include "src/gpu/Blend.h"
#include "src/gpu/Swizzle.h"
#include "src/gpu/ganesh/GrCaps.h"
#include "src/gpu/ganesh/GrNonAtomicRef.h"
#include "src/gpu/ganesh/GrProcessor.h"
#include "src/gpu/ganesh/GrProcessorAnalysis.h"
#include "src/gpu/ganesh/glsl/GrGLSLUniformHandler.h"
#include <memory>

Go to the source code of this file.

Classes

class  GrXferProcessor
 
class  GrXPFactory
 
class  GrXferProcessor::ProgramImpl
 
struct  GrXferProcessor::ProgramImpl::EmitArgs
 

Namespaces

namespace  skgpu
 

Enumerations

enum  GrXferBarrierType { kNone_GrXferBarrierType = 0 , kTexture_GrXferBarrierType , kBlend_GrXferBarrierType }
 
enum class  GrXferBarrierFlags { kNone = 0 , kTexture = 1 << 0 , kBlend = 1 << 1 }
 

Enumeration Type Documentation

◆ GrXferBarrierFlags

enum class GrXferBarrierFlags
strong

Should be able to treat kNone as false in boolean expressions

Enumerator
kNone 
kTexture 
kBlend 

Definition at line 45 of file GrXferProcessor.h.

45 {
46 kNone = 0,
47 kTexture = 1 << 0,
48 kBlend = 1 << 1,
49};
@ kNone
Definition: layer.h:53

◆ GrXferBarrierType

Barriers for blending. When a shader reads the dst directly, an Xfer barrier is sometimes required after a pixel has been written, before it can be safely read again.

Enumerator
kNone_GrXferBarrierType 
kTexture_GrXferBarrierType 
kBlend_GrXferBarrierType 

Definition at line 36 of file GrXferProcessor.h.

36 {
37 kNone_GrXferBarrierType = 0, //<! No barrier is required
38 kTexture_GrXferBarrierType, //<! Required when a shader reads and renders to the same texture.
39 kBlend_GrXferBarrierType, //<! Required by certain blend extensions.
40};
@ kTexture_GrXferBarrierType
@ kNone_GrXferBarrierType
@ kBlend_GrXferBarrierType