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
8namespace cgv {
9 namespace render {
10 namespace gl {
11
13{
14protected:
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);
19public:
23 void draw(cgv::render::context& ctx);
24};
25
26 }
27 }
28}
29
30#include <cgv/config/lib_end.h>
base class for all drawables, which is independent of the used rendering API.
Definition context.h:670
gl_performance_monitor()
construct performance monitor with standard configuration
void draw(cgv::render::context &ctx)
draw with OpenGL
performance_monitor()
construct performance monitor with standard configuration
a shader program combines several shader code fragments to a complete definition of the shading pipel...
namespace for opengl specific GPU programming
Definition gl.cxx:6
namespace for api independent GPU programming
this header is dependency free
Definition print.h:11