summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_GL.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-11-27 16:15:23 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-11-27 16:46:31 +0900
commitda87709dd3bd289181ce221f71877ed62040d5c4 (patch)
tree558707e30cfaac0e0acbe8e7bd5f7167843b6ad3 /src/lib/evas/Evas_GL.h
parent129ba38cc75e4553934b569959f1eae86e4b5577 (diff)
Evas GL: Doc: Tell people not to read info from Evas_Native_Surface
The information set there is not meant to be read by applications and reused there. This would break the whole concept of letting Evas deal with its surfaces. Ideally Evas GL should not expose texture or fbo ID to external applications. We could even use a new (non public) surface type for that purpose.
Diffstat (limited to 'src/lib/evas/Evas_GL.h')
-rw-r--r--src/lib/evas/Evas_GL.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_GL.h b/src/lib/evas/Evas_GL.h
index a06b523277..eb55d081e2 100644
--- a/src/lib/evas/Evas_GL.h
+++ b/src/lib/evas/Evas_GL.h
@@ -681,6 +681,10 @@ EAPI Evas_GL_Func evas_gl_proc_address_get (Evas_GL *evas_gl, cons
681 * @details This function can be called to later set this native surface as 681 * @details This function can be called to later set this native surface as
682 * source of an Evas Object Image. Please refer to 682 * source of an Evas Object Image. Please refer to
683 * @ref evas_object_image_native_surface_set. 683 * @ref evas_object_image_native_surface_set.
684 *
685 * @warning Applications should not rely on the information set in @p ns
686 * since its properties are internal to Evas and are not meant to be
687 * tampered with in any way or form from outside Evas.
684 */ 688 */
685EAPI Eina_Bool evas_gl_native_surface_get (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_Native_Surface *ns) EINA_ARG_NONNULL(1,2,3); 689EAPI Eina_Bool evas_gl_native_surface_get (Evas_GL *evas_gl, Evas_GL_Surface *surf, Evas_Native_Surface *ns) EINA_ARG_NONNULL(1,2,3);
686 690