Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
SkSL::Poolable Class Reference

#include <SkSLPool.h>

Inheritance diagram for SkSL::Poolable:
SkSL::IRNode SkSL::Expression SkSL::ProgramElement SkSL::Statement SkSL::Symbol SkSL::AnyConstructor SkSL::BinaryExpression SkSL::ChildCall SkSL::EmptyExpression SkSL::FieldAccess SkSL::FunctionCall SkSL::FunctionReference SkSL::IndexExpression SkSL::Literal SkSL::MethodReference SkSL::Poison SkSL::PostfixExpression SkSL::PrefixExpression SkSL::Setting SkSL::Swizzle SkSL::TernaryExpression SkSL::TypeReference SkSL::VariableReference SkSL::Extension SkSL::FunctionDefinition SkSL::FunctionPrototype SkSL::GlobalVarDeclaration SkSL::InterfaceBlock SkSL::ModifiersDeclaration SkSL::StructDefinition SkSL::Block SkSL::BreakStatement SkSL::ContinueStatement SkSL::DiscardStatement SkSL::DoStatement SkSL::ExpressionStatement SkSL::ForStatement SkSL::IfStatement SkSL::Nop SkSL::ReturnStatement SkSL::SwitchCase SkSL::SwitchStatement SkSL::VarDeclaration SkSL::FieldSymbol SkSL::FunctionDeclaration SkSL::Type SkSL::Variable

Static Public Member Functions

static void * operator new (const size_t size)
 
static void operator delete (void *ptr)
 

Detailed Description

If your class inherits from Poolable, its objects will be allocated from the pool.

Definition at line 61 of file SkSLPool.h.

Member Function Documentation

◆ operator delete()

static void SkSL::Poolable::operator delete ( void *  ptr)
inlinestatic

Definition at line 68 of file SkSLPool.h.

68 {
70 }
static void FreeMemory(void *ptr)
Definition SkSLPool.cpp:75

◆ operator new()

static void * SkSL::Poolable::operator new ( const size_t  size)
inlinestatic

Definition at line 64 of file SkSLPool.h.

64 {
65 return Pool::AllocMemory(size);
66 }
static void * AllocMemory(size_t size)
Definition SkSLPool.cpp:60

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