6#ifndef QSSG_GLSLMEMORYPOOL_H
7#define QSSG_GLSLMEMORYPOOL_H
20#include <QtQuick3DGlslParser/private/glsl_p.h>
34 void operator =(
const MemoryPool &other);
44 size = (size + 7) & ~7;
45 if (_ptr && (_ptr + size < _end)) {
50 return allocate_helper(size);
65 BLOCK_SIZE = 8 * 1024,
66 DEFAULT_BLOCK_COUNT = 8
72 Managed(
const Managed &other);
73 void operator = (
const Managed &other);
79 void *
operator new(size_t size, MemoryPool *pool);
81 void operator delete(
void *, MemoryPool *);
void * operator new(size_t size, MemoryPool *pool)
void operator delete(void *, MemoryPool *)
void operator delete(void *)
void * allocate(size_t size)
Method & operator=(const Method &)
Assigns other to this Method instance.