Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GrOpFlushState::OpArgs Struct Reference

#include <GrOpFlushState.h>

Public Member Functions

 OpArgs (GrOp *op, const GrSurfaceProxyView &surfaceView, bool usesMSAASurface, GrAppliedClip *appliedClip, const GrDstProxyView &dstProxyView, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp)
 
GrOpop ()
 
const GrSurfaceProxyViewwriteView () const
 
GrRenderTargetProxyrtProxy () const
 
bool usesMSAASurface () const
 
GrAppliedClipappliedClip ()
 
const GrAppliedClipappliedClip () const
 
const GrDstProxyViewdstProxyView () const
 
GrXferBarrierFlags renderPassBarriers () const
 
GrLoadOp colorLoadOp () const
 

Detailed Description

Additional data required on a per-op basis when executing GrOps.

Definition at line 90 of file GrOpFlushState.h.

Constructor & Destructor Documentation

◆ OpArgs()

GrOpFlushState::OpArgs::OpArgs ( GrOp op,
const GrSurfaceProxyView surfaceView,
bool  usesMSAASurface,
GrAppliedClip appliedClip,
const GrDstProxyView dstProxyView,
GrXferBarrierFlags  renderPassXferBarriers,
GrLoadOp  colorLoadOp 
)
inlineexplicit

Definition at line 92 of file GrOpFlushState.h.

95 : fOp(op)
96 , fSurfaceView(surfaceView)
97 , fRenderTargetProxy(surfaceView.asRenderTargetProxy())
98 , fUsesMSAASurface(usesMSAASurface)
99 , fAppliedClip(appliedClip)
100 , fDstProxyView(dstProxyView)
101 , fRenderPassXferBarriers(renderPassXferBarriers)
102 , fColorLoadOp(colorLoadOp) {
103 SkASSERT(surfaceView.asRenderTargetProxy());
104 }
#define SkASSERT(cond)
Definition SkAssert.h:116
GrRenderTargetProxy * asRenderTargetProxy() const
GrAppliedClip * appliedClip()
const GrDstProxyView & dstProxyView() const
GrLoadOp colorLoadOp() const

Member Function Documentation

◆ appliedClip() [1/2]

GrAppliedClip * GrOpFlushState::OpArgs::appliedClip ( )
inline

Definition at line 111 of file GrOpFlushState.h.

111{ return fAppliedClip; }

◆ appliedClip() [2/2]

const GrAppliedClip * GrOpFlushState::OpArgs::appliedClip ( ) const
inline

Definition at line 112 of file GrOpFlushState.h.

112{ return fAppliedClip; }

◆ colorLoadOp()

GrLoadOp GrOpFlushState::OpArgs::colorLoadOp ( ) const
inline

Definition at line 115 of file GrOpFlushState.h.

115{ return fColorLoadOp; }

◆ dstProxyView()

const GrDstProxyView & GrOpFlushState::OpArgs::dstProxyView ( ) const
inline

Definition at line 113 of file GrOpFlushState.h.

113{ return fDstProxyView; }

◆ op()

GrOp * GrOpFlushState::OpArgs::op ( )
inline

Definition at line 106 of file GrOpFlushState.h.

106{ return fOp; }

◆ renderPassBarriers()

GrXferBarrierFlags GrOpFlushState::OpArgs::renderPassBarriers ( ) const
inline

Definition at line 114 of file GrOpFlushState.h.

114{ return fRenderPassXferBarriers; }

◆ rtProxy()

GrRenderTargetProxy * GrOpFlushState::OpArgs::rtProxy ( ) const
inline

Definition at line 108 of file GrOpFlushState.h.

108{ return fRenderTargetProxy; }

◆ usesMSAASurface()

bool GrOpFlushState::OpArgs::usesMSAASurface ( ) const
inline

Definition at line 110 of file GrOpFlushState.h.

110{ return fUsesMSAASurface; }

◆ writeView()

const GrSurfaceProxyView & GrOpFlushState::OpArgs::writeView ( ) const
inline

Definition at line 107 of file GrOpFlushState.h.

107{ return fSurfaceView; }

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