Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::glHardwareQueryPool Class Reference

#include <glHardwareQuery.h>

Public Member Functions

 glHardwareQueryPool (GFXDevice &context)
 
 ~glHardwareQueryPool ()
 
void init (const hashMap< gl46core::GLenum, U32 > &sizes)
 
void destroy ()
 
glHardwareQueryRingallocate (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
 

Detailed Description

Definition at line 106 of file glHardwareQuery.h.

Constructor & Destructor Documentation

◆ glHardwareQueryPool()

Divide::glHardwareQueryPool::glHardwareQueryPool ( GFXDevice context)
explicit

Definition at line 116 of file glHardwareQuery.cpp.

◆ ~glHardwareQueryPool()

Divide::glHardwareQueryPool::~glHardwareQueryPool ( )

Definition at line 121 of file glHardwareQuery.cpp.

Member Function Documentation

◆ allocate()

glHardwareQueryRing & Divide::glHardwareQueryPool::allocate ( gl46core::GLenum  queryType)

Definition at line 146 of file glHardwareQuery.cpp.

◆ deallocate()

void Divide::glHardwareQueryPool::deallocate ( const glHardwareQueryRing query)

Definition at line 151 of file glHardwareQuery.cpp.

◆ destroy()

void Divide::glHardwareQueryPool::destroy ( )

Definition at line 141 of file glHardwareQuery.cpp.

◆ init()

void Divide::glHardwareQueryPool::init ( const hashMap< gl46core::GLenum, U32 > &  sizes)

Definition at line 126 of file glHardwareQuery.cpp.

Member Data Documentation

◆ _context

GFXDevice& Divide::glHardwareQueryPool::_context
private

Definition at line 121 of file glHardwareQuery.h.

◆ _index

hashMap<gl46core::GLenum, U32> Divide::glHardwareQueryPool::_index
private

Definition at line 119 of file glHardwareQuery.h.

◆ _queryPool

hashMap<gl46core::GLenum, vector<std::unique_ptr<glHardwareQueryRing> > > Divide::glHardwareQueryPool::_queryPool
private

Definition at line 118 of file glHardwareQuery.h.


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