Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GrArenas Class Reference

#include <GrRenderTargetProxy.h>

Inheritance diagram for GrArenas:
SkNVRefCnt< GrArenas >

Public Member Functions

SkArenaAllocarenaAlloc ()
 
void flush ()
 
sktext::gpu::SubRunAllocatorsubRunAlloc ()
 
- Public Member Functions inherited from SkNVRefCnt< GrArenas >
 SkNVRefCnt ()
 
 ~SkNVRefCnt ()
 
bool unique () const
 
void ref () const
 
void unref () const
 
void deref () const
 
bool refCntGreaterThan (int32_t threadIsolatedTestCnt) const
 

Detailed Description

Definition at line 41 of file GrRenderTargetProxy.h.

Member Function Documentation

◆ arenaAlloc()

SkArenaAlloc * GrArenas::arenaAlloc ( )
inline

Definition at line 43 of file GrRenderTargetProxy.h.

43 {
44 SkDEBUGCODE(if (fIsFlushed) SK_ABORT("Using a flushed arena");)
45 return &fArenaAlloc;
46 }
#define SK_ABORT(message,...)
Definition SkAssert.h:70
#define SkDEBUGCODE(...)
Definition SkDebug.h:23

◆ flush()

void GrArenas::flush ( )
inline

Definition at line 47 of file GrRenderTargetProxy.h.

47 {
48 SkDEBUGCODE(fIsFlushed = true;)
49 }

◆ subRunAlloc()

sktext::gpu::SubRunAllocator * GrArenas::subRunAlloc ( )
inline

Definition at line 50 of file GrRenderTargetProxy.h.

50{ return &fSubRunAllocator; }

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