![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <glHardwareQuery.h>
Public Member Functions | |
glHardwareQueryPool (GFXDevice &context) | |
~glHardwareQueryPool () | |
void | init (const hashMap< gl46core::GLenum, U32 > &sizes) |
void | destroy () |
glHardwareQueryRing & | allocate (gl46core::GLenum queryType) |
void | deallocate (const glHardwareQueryRing &query) |
Private Attributes | |
hashMap< gl46core::GLenum, vector< std::unique_ptr< glHardwareQueryRing > > > | _queryPool |
hashMap< gl46core::GLenum, U32 > | _index |
GFXDevice & | _context |
Definition at line 106 of file glHardwareQuery.h.
|
explicit |
Definition at line 116 of file glHardwareQuery.cpp.
Divide::glHardwareQueryPool::~glHardwareQueryPool | ( | ) |
Definition at line 121 of file glHardwareQuery.cpp.
glHardwareQueryRing & Divide::glHardwareQueryPool::allocate | ( | gl46core::GLenum | queryType | ) |
Definition at line 146 of file glHardwareQuery.cpp.
void Divide::glHardwareQueryPool::deallocate | ( | const glHardwareQueryRing & | query | ) |
Definition at line 151 of file glHardwareQuery.cpp.
void Divide::glHardwareQueryPool::destroy | ( | ) |
Definition at line 141 of file glHardwareQuery.cpp.
Definition at line 126 of file glHardwareQuery.cpp.
|
private |
Definition at line 121 of file glHardwareQuery.h.
Definition at line 119 of file glHardwareQuery.h.
|
private |
Definition at line 118 of file glHardwareQuery.h.