summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_GL.h
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2017-08-17 10:45:35 -0400
committerChris Michael <cp.michael@samsung.com>2017-08-17 10:45:35 -0400
commit67fff04cc724d83608c350987b9a5dfea5402d46 (patch)
treefb4c8187c8c0e1342065430be7a7641529e22d0b /src/lib/evas/Evas_GL.h
parentf377f722e6e5f978372fe3d82bee6da0e301f162 (diff)
evas: Fix spelling/grammar errors
Summary: Fixes some basic punctuation and grammar errors, corrects spelling and word order/choice in various places. Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5098
Diffstat (limited to 'src/lib/evas/Evas_GL.h')
-rw-r--r--src/lib/evas/Evas_GL.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/lib/evas/Evas_GL.h b/src/lib/evas/Evas_GL.h
index a48882b5fe..abc03ef267 100644
--- a/src/lib/evas/Evas_GL.h
+++ b/src/lib/evas/Evas_GL.h
@@ -924,7 +924,7 @@ EAPI Evas_GL_Surface *evas_gl_current_surface_get (Evas_GL *evas_gl) EIN
924 * @param[out] context Optional return value for the current context 924 * @param[out] context Optional return value for the current context
925 * @param[out] surface Optional return value for the current surface 925 * @param[out] surface Optional return value for the current surface
926 * 926 *
927 * @return The current Evas GL, ie. the last Evas GL passed to evas_gl_make_current 927 * @return The current Evas GL, i.e. the last Evas GL passed to evas_gl_make_current
928 * 928 *
929 * @see evas_gl_make_current 929 * @see evas_gl_make_current
930 * 930 *
@@ -4798,7 +4798,7 @@ typedef unsigned long long EvasGLTime;
4798/* @brief Attribute list terminator 4798/* @brief Attribute list terminator
4799 * 0 is also accepted as an attribute terminator. 4799 * 0 is also accepted as an attribute terminator.
4800 * Evas_GL will ensure that the attribute list is always properly terminated 4800 * Evas_GL will ensure that the attribute list is always properly terminated
4801 * (eg. using EGL_NONE for EGL backends) and the values are supported by the 4801 * (e.g. using EGL_NONE for EGL backends) and the values are supported by the
4802 * backends. 4802 * backends.
4803 */ 4803 */
4804#define EVAS_GL_NONE 0x3038 4804#define EVAS_GL_NONE 0x3038
@@ -4847,7 +4847,7 @@ typedef unsigned long long EvasGLTime;
4847 * The values are the same as EGL error codes - @c EGL_SUCCESS. 4847 * The values are the same as EGL error codes - @c EGL_SUCCESS.
4848 * 4848 *
4849 * Some of the values may be set directly by Evas GL when an obvious error was 4849 * Some of the values may be set directly by Evas GL when an obvious error was
4850 * detected (eg. @c NULL pointers or invalid dimensions), otherwise Evas GL will 4850 * detected (e.g. @c NULL pointers or invalid dimensions), otherwise Evas GL will
4851 * call the backend's GetError() function and translate to a valid @c EVAS_GL_ 4851 * call the backend's GetError() function and translate to a valid @c EVAS_GL_
4852 * error code. 4852 * error code.
4853 * 4853 *
@@ -5214,8 +5214,9 @@ struct _Evas_GL_API
5214 * 5214 *
5215 * Requires the @c EVAS_GL_image extension. 5215 * Requires the @c EVAS_GL_image extension.
5216 * 5216 *
5217 * @note Unlike in pure EGL, the display pointer needs not be passed in, as 5217 * @note Unlike in pure EGL, the display pointer doesn't need to be
5218 * Evas GL will use the same EGLDisplay as used in the create function. 5218 * passed in, as Evas GL will use the same EGLDisplay as used in the
5219 * create function.
5219 */ 5220 */
5220 void (*evasglDestroyImage) (EvasGLImage image); 5221 void (*evasglDestroyImage) (EvasGLImage image);
5221 /** @} */ 5222 /** @} */
@@ -5248,7 +5249,7 @@ EvasGLImage *img = glapi->evasglCreateImageForContext
5248 * @li @c EVAS_GL_NATIVE_SURFACE_TIZEN (Tizen platform only):<br/> 5249 * @li @c EVAS_GL_NATIVE_SURFACE_TIZEN (Tizen platform only):<br/>
5249 * Requires the @c EVAS_GL_TIZEN_image_native_surface extension. 5250 * Requires the @c EVAS_GL_TIZEN_image_native_surface extension.
5250 * 5251 *
5251 * @note Evas_GL_API must have version 2 or more. 5252 * @note Evas_GL_API must have version 2 or higher.
5252 * 5253 *
5253 * @since 1.12 5254 * @since 1.12
5254 */ 5255 */
@@ -5259,7 +5260,7 @@ EvasGLImage *img = glapi->evasglCreateImageForContext
5259 /** 5260 /**
5260 * @name OpenGL-ES 1.1 5261 * @name OpenGL-ES 1.1
5261 * 5262 *
5262 * Evas_GL_API version 2 or more. 5263 * Evas_GL_API version 2 or higher.
5263 * 5264 *
5264 * The following functions are some of the standard OpenGL-ES 1.0 functions, 5265 * The following functions are some of the standard OpenGL-ES 1.0 functions,
5265 * that are not also present in the @ref gles2 "OpenGL-ES 2.0 APIs". 5266 * that are not also present in the @ref gles2 "OpenGL-ES 2.0 APIs".
@@ -5360,7 +5361,7 @@ EvasGLImage *img = glapi->evasglCreateImageForContext
5360 /** 5361 /**
5361 * @name OpenGL-ES 1.1 extensions 5362 * @name OpenGL-ES 1.1 extensions
5362 * 5363 *
5363 * Evas_GL_API version 2 or more. 5364 * Evas_GL_API version 2 or higher.
5364 * 5365 *
5365 * OpenGL-ES 1.1 specifies a set of extensions on top of OpenGL-ES 1.0. 5366 * OpenGL-ES 1.1 specifies a set of extensions on top of OpenGL-ES 1.0.
5366 * When available, Evas GL will expose these extensions with the following 5367 * When available, Evas GL will expose these extensions with the following
@@ -5571,7 +5572,7 @@ EvasGLImage *img = glapi->evasglCreateImageForContext
5571 * @param sync A valid sync object created by evasglCreateSync 5572 * @param sync A valid sync object created by evasglCreateSync
5572 * @param timeout A relative timeout in nanoseconds 5573 * @param timeout A relative timeout in nanoseconds
5573 * 5574 *
5574 * @note Requires the extension @c EGL_KHR_reusable_sync, similarly to eglClientWaitSyncKHR. 5575 * @note Requires the extension @c EGL_KHR_reusable_sync, similar to eglClientWaitSyncKHR.
5575 * 5576 *
5576 * @return @c EVAS_GL_TIMEOUT_EXPIRED if the sync failed and timeout was reached, 5577 * @return @c EVAS_GL_TIMEOUT_EXPIRED if the sync failed and timeout was reached,
5577 * @c EVAS_GL_CONDITION_SATISFIED if the sync was signaled, 5578 * @c EVAS_GL_CONDITION_SATISFIED if the sync was signaled,
@@ -5587,7 +5588,7 @@ EvasGLImage *img = glapi->evasglCreateImageForContext
5587 * @param evas_gl The current Evas_GL connection 5588 * @param evas_gl The current Evas_GL connection
5588 * @param sync A valid sync object created by evasglCreateSync 5589 * @param sync A valid sync object created by evasglCreateSync
5589 * 5590 *
5590 * @note Requires the extension @c EGL_KHR_reusable_sync or @c EGL_KHR_wait_sync, similarly to eglSignalSyncKHR. 5591 * @note Requires the extension @c EGL_KHR_reusable_sync or @c EGL_KHR_wait_sync, similar to eglSignalSyncKHR.
5591 * 5592 *
5592 * @return @c EINA_TRUE in case of success, or 5593 * @return @c EINA_TRUE in case of success, or
5593 * @c EINA_FALSE in case of failure (in which case evas_gl_error_get() should return an error code) 5594 * @c EINA_FALSE in case of failure (in which case evas_gl_error_get() should return an error code)
@@ -5635,7 +5636,7 @@ EvasGLImage *img = glapi->evasglCreateImageForContext
5635 /** 5636 /**
5636 * @name Evas GL Wayland functions 5637 * @name Evas GL Wayland functions
5637 * 5638 *
5638 * Evas_GL_API version 3 or more. 5639 * Evas_GL_API version 3 or higher.
5639 * 5640 *
5640 * @since 1.13 5641 * @since 1.13
5641 * @{ */ 5642 * @{ */