2016-07-12 13:50:48 +00:00
|
|
|
#ifndef __GSK_GL_PROFILER_PRIVATE_H__
|
|
|
|
#define __GSK_GL_PROFILER_PRIVATE_H__
|
|
|
|
|
|
|
|
#include <gsk/gsktypes.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define GSK_TYPE_GL_PROFILER (gsk_gl_profiler_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (GskGLProfiler, gsk_gl_profiler, GSK, GL_PROFILER, GObject)
|
|
|
|
|
2016-07-27 10:34:20 +00:00
|
|
|
GskGLProfiler * gsk_gl_profiler_new (GdkGLContext *context);
|
2016-07-12 13:50:48 +00:00
|
|
|
|
|
|
|
void gsk_gl_profiler_begin_gpu_region (GskGLProfiler *profiler);
|
|
|
|
guint64 gsk_gl_profiler_end_gpu_region (GskGLProfiler *profiler);
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GSK_GL_PROFILER_PRIVATE_H__ */
|