OGLplus (0.45.0) a C++ wrapper for OpenGL

oglplus::PerfMonitorAMDOps Class Reference

Wrapper for AMD_performance_monitor-object-related operations. More...

#include </home/chochlik/devel/oglplus/include/oglplus/ext/AMD_performance_monitor.hpp>

Inheritance diagram for oglplus::PerfMonitorAMDOps:

Public Member Functions

void SelectCounters (bool enable, const std::vector< PerfMonitorAMDCounter > &counters) const
 Enables or disables the specified counters for this monitor. More...
 
void Begin (void) const
 Begins a monitoring session on this monitor. More...
 
void End (void) const
 Ends a monitoring session on this monitor. More...
 
bool ResultAvailable (void) const
 Returns true if results are available. More...
 
void Result (std::vector< PerfMonitorAMDResult > &results) const
 Returns the results. More...
 

Detailed Description

Wrapper for AMD_performance_monitor-object-related operations.

Note
Do not use this class directly, use Texture instead.
Related OpenGL symbols:
glGenPerfMonitorsAMD glDeletePerfMonitorsAMD glIsPerfMonitorAMD GL_AMD_performance_monitor

Member Function Documentation

void oglplus::PerfMonitorAMDOps::Begin ( void  ) const

Begins a monitoring session on this monitor.

Related OpenGL symbols:
glBeginPerfMonitorAMD
Examples:
standalone/002_amd_perf_monitor.cpp.

References OGLPLUS_CHECK.

void oglplus::PerfMonitorAMDOps::End ( void  ) const

Ends a monitoring session on this monitor.

Related OpenGL symbols:
glEndPerfMonitorAMD
Examples:
standalone/002_amd_perf_monitor.cpp.

References OGLPLUS_CHECK.

void oglplus::PerfMonitorAMDOps::Result ( std::vector< PerfMonitorAMDResult > &  results) const

Returns the results.

Related OpenGL symbols:
glGetPerfMonitorCounterDataAMD GL_PERFMON_RESULT_SIZE_AMD GL_PERFMON_RESULT_AMD
Examples:
standalone/002_amd_perf_monitor.cpp.

References OGLPLUS_CHECK, oglplus::PerfMonitorAMDCounter::Type(), and oglplus::UnsignedInt64.

bool oglplus::PerfMonitorAMDOps::ResultAvailable ( void  ) const

Returns true if results are available.

Related OpenGL symbols:
glGetPerfMonitorCounterDataAMD GL_PERFMON_RESULT_AVAILABLE_AMD
Examples:
standalone/002_amd_perf_monitor.cpp.

References OGLPLUS_CHECK.

void oglplus::PerfMonitorAMDOps::SelectCounters ( bool  enable,
const std::vector< PerfMonitorAMDCounter > &  counters 
) const

Enables or disables the specified counters for this monitor.

The counters must be from the same group.

Related OpenGL symbols:
glSelectPerfMonitorCountersAMD
Examples:
standalone/002_amd_perf_monitor.cpp.

References OGLPLUS_CHECK.


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

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Wed Apr 30 2014 by Doxygen (version 1.8.4).