_Evas_Native_Surface Struct Reference

Data Fields

int version
 
Evas_Native_Surface_Type type
 
union {
   struct {
      void *   _Evas_Native_Surface::visual
 visual of the pixmap to use (Visual)
 
      unsigned long   _Evas_Native_Surface::pixmap
 pixmap id to use (Pixmap)
 
   }   x11
 
   struct {
      unsigned int   _Evas_Native_Surface::texture_id
 opengl texture id to use from glGenTextures()
 
      unsigned int   _Evas_Native_Surface::framebuffer_id
 0 if not a FBO, FBO id otherwise from glGenFramebuffers()
 
      unsigned int   _Evas_Native_Surface::internal_format
 same as 'internalFormat' for glTexImage2D()
 
      unsigned int   _Evas_Native_Surface::format
 same as 'format' for glTexImage2D()
 
      unsigned int   x
 
      unsigned int   y
 
      unsigned int   w
 
      unsigned int   _Evas_Native_Surface::h
 region inside the texture to use (image size is assumed as texture size, with 0, 0 being the top-left and co-ordinates working down to the right and bottom being positive)
 
   }   opengl
 
data