Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::ganesh::AutoCheckFlush Class Reference

Public Member Functions

 AutoCheckFlush (GrDrawingManager *drawingManager)
 
 ~AutoCheckFlush ()
 

Detailed Description

Definition at line 121 of file SurfaceDrawContext.cpp.

Constructor & Destructor Documentation

◆ AutoCheckFlush()

skgpu::ganesh::AutoCheckFlush::AutoCheckFlush ( GrDrawingManager drawingManager)
inline

Definition at line 123 of file SurfaceDrawContext.cpp.

123 : fDrawingManager(drawingManager) {
124 SkASSERT(fDrawingManager);
125 }
#define SkASSERT(cond)
Definition: SkAssert.h:116

◆ ~AutoCheckFlush()

skgpu::ganesh::AutoCheckFlush::~AutoCheckFlush ( )
inline

Definition at line 126 of file SurfaceDrawContext.cpp.

126{ fDrawingManager->flushIfNecessary(); }

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