hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2efc718abf77e5e5a0f7109ae225b2a4b55b0daf
commit 2efc718abf77e5e5a0f7109ae225b2a4b55b0daf Author: ChunEon Park <[email protected]> Date: Thu Sep 25 11:48:08 2014 +0900 evas: supplement missing fields in doc. --- src/lib/evas/Evas_Common.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h index 72fbcb2..6826c79 100644 --- a/src/lib/evas/Evas_Common.h +++ b/src/lib/evas/Evas_Common.h @@ -458,7 +458,8 @@ struct _Evas_Native_Surface { void *visual; /**< visual of the pixmap to use (Visual) */ unsigned long pixmap; /**< pixmap id to use (Pixmap) */ - } x11; + } x11; /**< Set this struct fields if surface data is X11 based. */ + struct { unsigned int texture_id; /**< opengl texture id to use from glGenTextures() */ @@ -466,8 +467,8 @@ struct _Evas_Native_Surface unsigned int internal_format; /**< same as 'internalFormat' for glTexImage2D() */ unsigned int format; /**< same as 'format' for glTexImage2D() */ unsigned int x, y, w, 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; + } opengl; /**< Set this struct fields if surface data is OpenGL based. */ + } data; /**< Choose one union data according to your surface. */ }; /** --
