@@ -63,33 +63,33 @@ Overview
6363New Types
6464
6565 /*
66- * EGLsizei is a signed integer type for representing the size of a memory
67- * buffer.
66+ * EGLsizeiANDROID is a signed integer type for representing the size of a
67+ * memory buffer.
6868 */
6969 #include <khrplatform.h>
70- typedef khronos_ssize_t EGLsizei ;
70+ typedef khronos_ssize_t EGLsizeiANDROID ;
7171
7272 /*
7373 * EGLSetBlobFunc is a pointer to an application-provided function that a
7474 * client API implementation may use to insert a key/value pair into the
7575 * cache.
7676 */
77- typedef void (*EGLSetBlobFunc ) (const void* key, EGLsizei keySize ,
78- const void* value, EGLsizei valueSize)
77+ typedef void (*EGLSetBlobFuncANDROID ) (const void* key,
78+ EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize)
7979
8080 /*
8181 * EGLGetBlobFunc is a pointer to an application-provided function that a
8282 * client API implementation may use to retrieve a cached value from the
8383 * cache.
8484 */
85- typedef EGLsizei (*EGLGetBlobFunc ) (const void* key, EGLsizei keySize ,
86- void* value, EGLsizei valueSize)
85+ typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID ) (const void* key,
86+ EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize)
8787
8888New Procedures and Functions
8989
90- void eglSetBlobCacheFuncs (EGLDisplay dpy,
91- EGLSetBlobFunc set,
92- EGLGetBlobFunc get);
90+ void eglSetBlobCacheFuncsANDROID (EGLDisplay dpy,
91+ EGLSetBlobFunc set,
92+ EGLGetBlobFunc get);
9393
9494New Tokens
9595
@@ -107,8 +107,8 @@ Changes to Chapter 3 of the EGL 1.4 Specification (EGL Functions and Errors)
107107 function pointers through which the client APIs can request data be cached
108108 and retrieved. The command
109109
110- void eglSetBlobCacheFuncs (EGLDisplay dpy,
111- EGLSetBlobFunc set, EGLGetBlobFunc get);
110+ void eglSetBlobCacheFuncsANDROID (EGLDisplay dpy,
111+ EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
112112
113113 sets the callback function pointers that client APIs associated with
114114 display <dpy> can use to interact with caching functionality provided by
@@ -120,26 +120,26 @@ Changes to Chapter 3 of the EGL 1.4 Specification (EGL Functions and Errors)
120120
121121 Cache functions may only be specified once during the lifetime of an
122122 EGLDisplay. The <set> and <get> functions may be called at any time and
123- from any thread from the time at which eglSetBlobCacheFuncs is called until
124- the time that the last resource associated with <dpy> is deleted and <dpy>
125- itself is terminated. Concurrent calls to these functions from different
126- threads is also allowed.
127-
128- If eglSetBlobCacheFuncs generates an error then all client APIs must behave
129- as though eglSetBlobCacheFuncs was not called for the display <dpy>. If
130- <set> or <get> is NULL then an EGL_BAD_PARAMETER error is generated. If a
131- successful eglSetBlobCacheFuncs call was already made for <dpy> and the
132- display has not since been terminated then an EGL_BAD_PARAMETER error is
133- generated.
123+ from any thread from the time at which eglSetBlobCacheFuncsANDROID is
124+ called until the time that the last resource associated with <dpy> is
125+ deleted and <dpy> itself is terminated. Concurrent calls to these
126+ functions from different threads is also allowed.
127+
128+ If eglSetBlobCacheFuncsANDROID generates an error then all client APIs must
129+ behave as though eglSetBlobCacheFuncsANDROID was not called for the display
130+ <dpy>. If < set> or <get> is NULL then an EGL_BAD_PARAMETER error is
131+ generated. If a successful eglSetBlobCacheFuncsANDROID call was already
132+ made for <dpy> and the display has not since been terminated then an
133+ EGL_BAD_PARAMETER error is generated.
134134
135135 3.9.1 Cache Operations
136136
137137 To insert a new binary value into the cache and associate it with a given
138138 key, a client API implementation can call the application-provided callback
139139 function
140140
141- void (*set) (const void* key, EGLsizei keySize, const void* value ,
142- EGLsizei valueSize)
141+ void (*set) (const void* key, EGLsizeiANDROID keySize,
142+ const void* value, EGLsizeiANDROID valueSize)
143143
144144 <key> and <value> are pointers to the beginning of the key and value,
145145 respectively, that are to be inserted. <keySize> and <valueSize> specify
@@ -157,8 +157,8 @@ Changes to Chapter 3 of the EGL 1.4 Specification (EGL Functions and Errors)
157157 client API implementation can call the application-provided callback
158158 function
159159
160- EGLsizei (*get) (const void* key, EGLsizei keySize, void* value ,
161- EGLsizei valueSize)
160+ EGLsizeiANDROID (*get) (const void* key, EGLsizeiANDROID keySize,
161+ void* value, EGLsizeiANDROID valueSize)
162162
163163 <key> is a pointer to the beginning of the key. <keySize> specifies the
164164 size in bytes of the binary key pointed to by <key>. If the cache contains
0 commit comments