summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-09-25 11:48:08 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-09-25 11:48:08 +0900
commit2efc718abf77e5e5a0f7109ae225b2a4b55b0daf (patch)
tree640a87be112ccd30a0e9b8129a0e4e4944fcbeeb
parenta939cd569c48a3a56c5178c220a101ff7d979754 (diff)
evas: supplement missing fields in doc.
-rw-r--r--src/lib/evas/Evas_Common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h
index 72fbcb23f4..6826c79b72 100644
--- a/src/lib/evas/Evas_Common.h
+++ b/src/lib/evas/Evas_Common.h
@@ -458,7 +458,8 @@ struct _Evas_Native_Surface
458 { 458 {
459 void *visual; /**< visual of the pixmap to use (Visual) */ 459 void *visual; /**< visual of the pixmap to use (Visual) */
460 unsigned long pixmap; /**< pixmap id to use (Pixmap) */ 460 unsigned long pixmap; /**< pixmap id to use (Pixmap) */
461 } x11; 461 } x11; /**< Set this struct fields if surface data is X11 based. */
462
462 struct 463 struct
463 { 464 {
464 unsigned int texture_id; /**< opengl texture id to use from glGenTextures() */ 465 unsigned int texture_id; /**< opengl texture id to use from glGenTextures() */
@@ -466,8 +467,8 @@ struct _Evas_Native_Surface
466 unsigned int internal_format; /**< same as 'internalFormat' for glTexImage2D() */ 467 unsigned int internal_format; /**< same as 'internalFormat' for glTexImage2D() */
467 unsigned int format; /**< same as 'format' for glTexImage2D() */ 468 unsigned int format; /**< same as 'format' for glTexImage2D() */
468 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) */ 469 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) */
469 } opengl; 470 } opengl; /**< Set this struct fields if surface data is OpenGL based. */
470 } data; 471 } data; /**< Choose one union data according to your surface. */
471}; 472};
472 473
473/** 474/**