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

#include <GrRecordingContext.h>

Public Member Functions

 Arenas (SkArenaAlloc *, sktext::gpu::SubRunAllocator *)
 
SkArenaAllocrecordTimeAllocator ()
 
sktext::gpu::SubRunAllocatorrecordTimeSubRunAllocator ()
 

Detailed Description

Definition at line 108 of file GrRecordingContext.h.

Constructor & Destructor Documentation

◆ Arenas()

GrRecordingContext::Arenas::Arenas ( SkArenaAlloc recordTimeAllocator,
sktext::gpu::SubRunAllocator subRunAllocator 
)

Definition at line 104 of file GrRecordingContext.cpp.

106 : fRecordTimeAllocator(recordTimeAllocator)
107 , fRecordTimeSubRunAllocator(subRunAllocator) {
108 // OwnedArenas should instantiate these before passing the bare pointer off to this struct.
109 SkASSERT(subRunAllocator);
110}
#define SkASSERT(cond)
Definition SkAssert.h:116

Member Function Documentation

◆ recordTimeAllocator()

SkArenaAlloc * GrRecordingContext::Arenas::recordTimeAllocator ( )
inline

Definition at line 113 of file GrRecordingContext.h.

113{ return fRecordTimeAllocator; }

◆ recordTimeSubRunAllocator()

sktext::gpu::SubRunAllocator * GrRecordingContext::Arenas::recordTimeSubRunAllocator ( )
inline

Definition at line 116 of file GrRecordingContext.h.

116 {
117 return fRecordTimeSubRunAllocator;
118 }

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