cgv
Loading...
Searching...
No Matches
gl_performance_monitor.h
1
#pragma once
2
3
#include <cgv/render/context.h>
4
#include <cgv/render/performance_monitor.h>
5
6
#include "lib_begin.h"
7
8
namespace
cgv
{
9
namespace
render
{
10
namespace
gl
{
11
12
class
CGV_API
gl_performance_monitor
:
public
performance_monitor
13
{
14
protected
:
15
void
draw_computed_bars(
cgv::render::context
& ctx,
cgv::render::shader_program
& prog);
16
void
draw_bar(
cgv::render::context
& ctx,
cgv::render::shader_program
& prog,
int
y,
const
frame_data& fdata);
17
void
draw_bars(
cgv::render::context
& ctx,
cgv::render::shader_program
& prog);
18
void
draw_lines(
cgv::render::context
& ctx,
cgv::render::shader_program
& prog);
19
public
:
21
gl_performance_monitor
();
23
void
draw
(
cgv::render::context
& ctx);
24
};
25
26
}
27
}
28
}
29
30
#include <cgv/config/lib_end.h>
cgv::render::context
base class for all drawables, which is independent of the used rendering API.
Definition
context.h:670
cgv::render::gl::gl_performance_monitor::gl_performance_monitor
gl_performance_monitor()
construct performance monitor with standard configuration
Definition
gl_performance_monitor.cxx:10
cgv::render::gl::gl_performance_monitor::draw
void draw(cgv::render::context &ctx)
draw with OpenGL
Definition
gl_performance_monitor.cxx:150
cgv::render::performance_monitor::performance_monitor
performance_monitor()
construct performance monitor with standard configuration
Definition
performance_monitor.cxx:19
cgv::render::shader_program
a shader program combines several shader code fragments to a complete definition of the shading pipel...
Definition
shader_program.h:29
cgv::render::gl
namespace for opengl specific GPU programming
Definition
gl.cxx:6
cgv::render
namespace for api independent GPU programming
Definition
attribute_array_binding.cxx:7
cgv
this header is dependency free
Definition
print.h:11
libs
cgv_gl
gl
gl_performance_monitor.h
Generated by
1.15.0