Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef FB_GLUE_GLES2_H
00020 #define FB_GLUE_GLES2_H
00021
00022 #ifdef HAVE_CONFIG_H
00023 #include "gnashconfig.h"
00024 #endif
00025
00026
00027 #ifdef HAVE_GLES1_GL_H
00028 # include <GLES/gl.h>
00029 # endif
00030 #ifdef HAVE_GLES1_EGL_H
00031 #include <GLES/egl.h>
00032 #endif
00033 #if 0
00034
00035 #ifdef HAVE_EGL_EGL_H
00036 # include <EGL/egl.h>
00037 # include <EGL/eglext.h>
00038 #endif
00039
00040 #ifdef HAVE_GLES2_GL2_H
00041 # include <GLES2/gl2.h>
00042 # include <GLES2/gl2ext.h>
00043 #endif
00044 #endif
00045
00046 #include "fbsup.h"
00047
00048 namespace gnash {
00049
00050 namespace gui {
00051
00052 class FBgles2Glue: public FBGlue
00053 {
00054 public:
00055 FBgles2Glue(int fd);
00056 virtual ~FBgles2Glue();
00057
00058 virtual bool init(int , char *** );
00059
00060 virtual Renderer* createRenderHandler();
00061 virtual void setInvalidatedRegions(const InvalidatedRanges& ) {}
00062
00063 virtual int width ();
00064 virtual int height ();
00065 virtual void render ();
00066
00067 virtual void render_to_pbuffer ();
00068 virtual void prepare_copy_from_pbuffer ();
00069 virtual void render_to_display ();
00070 protected:
00071 int _fd;
00072
00073 private:
00074 };
00075
00076 }
00077 }
00078
00079 #endif // FB_GLUE__GLES2_H
00080
00081
00082
00083
00084