![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <glHardwareQuery.h>
Public Member Functions | |
glHardwareQueryRing (GFXDevice &context, gl46core::GLenum queryType, U16 queueLength, U32 id=0) | |
~glHardwareQueryRing () override | |
void | resize (U16 queueLength) override |
U32 | id () const noexcept |
void | begin () const |
void | end () const |
bool | isResultAvailable () const |
I64 | getResult () const |
I64 | getResultNoWait () const |
gl46core::GLenum | type () const noexcept |
![]() | |
RingBufferSeparateWrite (U16 queueLength, bool separateReadWrite, bool writeAhead=true) noexcept | |
virtual | ~RingBufferSeparateWrite ()=default |
virtual void | resize (U16 queueLength) |
U16 | queueLength () const noexcept |
I32 | queueWriteIndex () const noexcept |
I32 | queueReadIndex () const noexcept |
I32 | incQueue () noexcept |
I32 | decQueue () noexcept |
![]() | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable (NonCopyable &&)=default | |
NonCopyable & | operator= (NonCopyable &&)=default |
Protected Member Functions | |
const glHardwareQuery & | readQuery () const |
const glHardwareQuery & | writeQuery () const |
![]() | |
NonCopyable ()=default | |
~NonCopyable ()=default | |
Protected Attributes | |
GFXDevice & | _context |
vector< glHardwareQuery > | _queries |
U32 | _id = 0u |
gl46core::GLenum | _queryType = gl46core::GL_NONE |
Definition at line 65 of file glHardwareQuery.h.
|
explicit |
Definition at line 49 of file glHardwareQuery.cpp.
|
override |
Definition at line 59 of file glHardwareQuery.cpp.
void Divide::glHardwareQueryRing::begin | ( | ) | const |
Definition at line 106 of file glHardwareQuery.cpp.
void Divide::glHardwareQueryRing::end | ( | ) | const |
Definition at line 111 of file glHardwareQuery.cpp.
|
inline |
Definition at line 82 of file glHardwareQuery.h.
|
inline |
Definition at line 86 of file glHardwareQuery.h.
|
inlinenoexcept |
Definition at line 73 of file glHardwareQuery.h.
|
inline |
Definition at line 78 of file glHardwareQuery.h.
|
protected |
Definition at line 67 of file glHardwareQuery.cpp.
|
overridevirtual |
Reimplemented from Divide::RingBufferSeparateWrite.
Definition at line 77 of file glHardwareQuery.cpp.
|
inlinenoexcept |
Definition at line 90 of file glHardwareQuery.h.
|
protected |
Definition at line 72 of file glHardwareQuery.cpp.
|
protected |
Definition at line 98 of file glHardwareQuery.h.
|
protected |
Definition at line 100 of file glHardwareQuery.h.
|
protected |
Definition at line 99 of file glHardwareQuery.h.
|
protected |
Definition at line 101 of file glHardwareQuery.h.