19 #ifndef FB_GLUE_GLES1_H 20 #define FB_GLUE_GLES1_H 27 #ifdef HAVE_GLES1_GL_H 30 #ifdef HAVE_GLES1_EGL_H 37 # include <EGL/eglext.h> 40 #ifdef HAVE_GLES2_GL2_H 41 # include <GLES2/gl2.h> 42 # include <GLES2/gl2ext.h> 49 #ifdef BUILD_EGL_DEVICE 68 bool init(
int argc,
char ***);
85 void resize(
int width,
int height);
92 std::unique_ptr<Renderer> _renderer;
97 EGLConfig _pbuffer_config;
104 #endif // FB_GLUE_GLES1_H void initBuffer(int width, int height)
bool init(int argc, char ***)
Definition: fb_glue_gles1.cpp:80
void render_to_display()
Definition: fb_glue_gles1.cpp:210
Renderer * createRenderHandler()
Definition: fb_glue_gles1.cpp:68
void setInvalidatedRegions(const InvalidatedRanges &)
Definition: fb_glue_gles1.h:71
void render()
Definition: fb_glue_gles1.cpp:193
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
void prepare_copy_from_pbuffer()
Definition: fb_glue_gles1.cpp:204
Base class for render handlers.
Definition: Renderer.h:188
int height()
Definition: fb_glue_gles1.cpp:185
int _fd
Definition: fb_glue_gles1.h:89
void resize(int width, int height)
Definition: fb_glue_gles1.h:63
void render_to_pbuffer()
Definition: fb_glue_gles1.cpp:198
FBgles1Glue(int fd)
Definition: fb_glue_gles1.cpp:51
void prepDrawingArea(void *drawing_area)
Hand off a handle to the native drawing area to the renderer.
Definition: fb_glue_gles1.cpp:216
int width()
Definition: fb_glue_gles1.cpp:177
~FBgles1Glue()
Definition: fb_glue_gles1.cpp:59