-/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */
-
+/*
+ * This is an automatically generated file using a python script.
+ * ($EFL_HOME/src/utils/evas/generate_gl_thread_api.py)
+ * Recommend that you modify data files ($EFL_HOME/src/utils/evas/gl_api_def.txt)
+ * and make use of scripts if you need to fix them.
+ */
/*
- void
- glActiveTexture(GLenum texture);
+ * void
+ * glActiveTexture(GLenum texture);
*/
typedef struct
static void
_evgl_api_thread_glActiveTexture(void *data)
{
- EVGL_API_Thread_Command_glActiveTexture *thread_param =
+ EVGL_API_Thread_Command_glActiveTexture *thread_data =
(EVGL_API_Thread_Command_glActiveTexture *)data;
- orig_evgl_api_glActiveTexture(thread_param->texture);
+ orig_evgl_api_glActiveTexture(thread_data->texture);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glActiveTexture thread_param_local;
- EVGL_API_Thread_Command_glActiveTexture *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glActiveTexture thread_data_local;
+ EVGL_API_Thread_Command_glActiveTexture *thread_data = &thread_data_local;
- thread_param->texture = texture;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glActiveTexture,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glAttachShader(GLuint program, GLuint shader);
+ * void
+ * glAttachShader(GLuint program, GLuint shader);
*/
typedef struct
static void
_evgl_api_thread_glAttachShader(void *data)
{
- EVGL_API_Thread_Command_glAttachShader *thread_param =
+ EVGL_API_Thread_Command_glAttachShader *thread_data =
(EVGL_API_Thread_Command_glAttachShader *)data;
- orig_evgl_api_glAttachShader(thread_param->program,
- thread_param->shader);
+ orig_evgl_api_glAttachShader(thread_data->program,
+ thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glAttachShader thread_param_local;
- EVGL_API_Thread_Command_glAttachShader *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glAttachShader thread_data_local;
+ EVGL_API_Thread_Command_glAttachShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glAttachShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glAttachShader));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glAttachShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glAttachShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->shader = shader;
+ thread_data->program = program;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glAttachShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindAttribLocation(GLuint program, GLuint index, const char* name);
+ * void
+ * glBindAttribLocation(GLuint program, GLuint index, const char* name);
*/
typedef struct
static void
_evgl_api_thread_glBindAttribLocation(void *data)
{
- EVGL_API_Thread_Command_glBindAttribLocation *thread_param =
+ EVGL_API_Thread_Command_glBindAttribLocation *thread_data =
(EVGL_API_Thread_Command_glBindAttribLocation *)data;
- orig_evgl_api_glBindAttribLocation(thread_param->program,
- thread_param->index,
- thread_param->name);
+ orig_evgl_api_glBindAttribLocation(thread_data->program,
+ thread_data->index,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindAttribLocation thread_param_local;
- EVGL_API_Thread_Command_glBindAttribLocation *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindAttribLocation thread_data_local;
+ EVGL_API_Thread_Command_glBindAttribLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->index = index;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->index = index;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindAttribLocation,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindBuffer(GLenum target, GLuint buffer);
+ * void
+ * glBindBuffer(GLenum target, GLuint buffer);
*/
typedef struct
static void
_evgl_api_thread_glBindBuffer(void *data)
{
- EVGL_API_Thread_Command_glBindBuffer *thread_param =
+ EVGL_API_Thread_Command_glBindBuffer *thread_data =
(EVGL_API_Thread_Command_glBindBuffer *)data;
- orig_evgl_api_glBindBuffer(thread_param->target,
- thread_param->buffer);
+ orig_evgl_api_glBindBuffer(thread_data->target,
+ thread_data->buffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindBuffer thread_param_local;
- EVGL_API_Thread_Command_glBindBuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindBuffer thread_data_local;
+ EVGL_API_Thread_Command_glBindBuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBindBuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBindBuffer));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBindBuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBindBuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->buffer = buffer;
+ thread_data->target = target;
+ thread_data->buffer = buffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindBuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindFramebuffer(GLenum target, GLuint framebuffer);
+ * void
+ * glBindFramebuffer(GLenum target, GLuint framebuffer);
*/
typedef struct
static void
_evgl_api_thread_glBindFramebuffer(void *data)
{
- EVGL_API_Thread_Command_glBindFramebuffer *thread_param =
+ EVGL_API_Thread_Command_glBindFramebuffer *thread_data =
(EVGL_API_Thread_Command_glBindFramebuffer *)data;
- orig_evgl_api_glBindFramebuffer(thread_param->target,
- thread_param->framebuffer);
+ orig_evgl_api_glBindFramebuffer(thread_data->target,
+ thread_data->framebuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindFramebuffer thread_param_local;
- EVGL_API_Thread_Command_glBindFramebuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindFramebuffer thread_data_local;
+ EVGL_API_Thread_Command_glBindFramebuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBindFramebuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBindFramebuffer));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBindFramebuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBindFramebuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->framebuffer = framebuffer;
+ thread_data->target = target;
+ thread_data->framebuffer = framebuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindRenderbuffer(GLenum target, GLuint renderbuffer);
+ * void
+ * glBindRenderbuffer(GLenum target, GLuint renderbuffer);
*/
typedef struct
static void
_evgl_api_thread_glBindRenderbuffer(void *data)
{
- EVGL_API_Thread_Command_glBindRenderbuffer *thread_param =
+ EVGL_API_Thread_Command_glBindRenderbuffer *thread_data =
(EVGL_API_Thread_Command_glBindRenderbuffer *)data;
- orig_evgl_api_glBindRenderbuffer(thread_param->target,
- thread_param->renderbuffer);
+ orig_evgl_api_glBindRenderbuffer(thread_data->target,
+ thread_data->renderbuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindRenderbuffer thread_param_local;
- EVGL_API_Thread_Command_glBindRenderbuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindRenderbuffer thread_data_local;
+ EVGL_API_Thread_Command_glBindRenderbuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBindRenderbuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBindRenderbuffer));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBindRenderbuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBindRenderbuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->target = target;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindRenderbuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindTexture(GLenum target, GLuint texture);
+ * void
+ * glBindTexture(GLenum target, GLuint texture);
*/
typedef struct
static void
_evgl_api_thread_glBindTexture(void *data)
{
- EVGL_API_Thread_Command_glBindTexture *thread_param =
+ EVGL_API_Thread_Command_glBindTexture *thread_data =
(EVGL_API_Thread_Command_glBindTexture *)data;
- orig_evgl_api_glBindTexture(thread_param->target,
- thread_param->texture);
+ orig_evgl_api_glBindTexture(thread_data->target,
+ thread_data->texture);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindTexture thread_param_local;
- EVGL_API_Thread_Command_glBindTexture *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindTexture thread_data_local;
+ EVGL_API_Thread_Command_glBindTexture *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBindTexture *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBindTexture));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBindTexture *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBindTexture));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->texture = texture;
+ thread_data->target = target;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindTexture,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
+ * void
+ * glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
*/
typedef struct
static void
_evgl_api_thread_glBlendColor(void *data)
{
- EVGL_API_Thread_Command_glBlendColor *thread_param =
+ EVGL_API_Thread_Command_glBlendColor *thread_data =
(EVGL_API_Thread_Command_glBlendColor *)data;
- orig_evgl_api_glBlendColor(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ orig_evgl_api_glBlendColor(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBlendColor thread_param_local;
- EVGL_API_Thread_Command_glBlendColor *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBlendColor thread_data_local;
+ EVGL_API_Thread_Command_glBlendColor *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBlendColor *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBlendColor));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBlendColor *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBlendColor));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBlendColor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendEquation(GLenum mode);
+ * void
+ * glBlendEquation(GLenum mode);
*/
typedef struct
static void
_evgl_api_thread_glBlendEquation(void *data)
{
- EVGL_API_Thread_Command_glBlendEquation *thread_param =
+ EVGL_API_Thread_Command_glBlendEquation *thread_data =
(EVGL_API_Thread_Command_glBlendEquation *)data;
- orig_evgl_api_glBlendEquation(thread_param->mode);
+ orig_evgl_api_glBlendEquation(thread_data->mode);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBlendEquation thread_param_local;
- EVGL_API_Thread_Command_glBlendEquation *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBlendEquation thread_data_local;
+ EVGL_API_Thread_Command_glBlendEquation *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBlendEquation *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBlendEquation));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBlendEquation *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBlendEquation));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->mode = mode;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBlendEquation,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
+ * void
+ * glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
*/
typedef struct
static void
_evgl_api_thread_glBlendEquationSeparate(void *data)
{
- EVGL_API_Thread_Command_glBlendEquationSeparate *thread_param =
+ EVGL_API_Thread_Command_glBlendEquationSeparate *thread_data =
(EVGL_API_Thread_Command_glBlendEquationSeparate *)data;
- orig_evgl_api_glBlendEquationSeparate(thread_param->modeRGB,
- thread_param->modeAlpha);
+ orig_evgl_api_glBlendEquationSeparate(thread_data->modeRGB,
+ thread_data->modeAlpha);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBlendEquationSeparate thread_param_local;
- EVGL_API_Thread_Command_glBlendEquationSeparate *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBlendEquationSeparate thread_data_local;
+ EVGL_API_Thread_Command_glBlendEquationSeparate *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBlendEquationSeparate *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBlendEquationSeparate));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBlendEquationSeparate *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBlendEquationSeparate));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->modeRGB = modeRGB;
- thread_param->modeAlpha = modeAlpha;
+ thread_data->modeRGB = modeRGB;
+ thread_data->modeAlpha = modeAlpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBlendEquationSeparate,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendFunc(GLenum sfactor, GLenum dfactor);
+ * void
+ * glBlendFunc(GLenum sfactor, GLenum dfactor);
*/
typedef struct
static void
_evgl_api_thread_glBlendFunc(void *data)
{
- EVGL_API_Thread_Command_glBlendFunc *thread_param =
+ EVGL_API_Thread_Command_glBlendFunc *thread_data =
(EVGL_API_Thread_Command_glBlendFunc *)data;
- orig_evgl_api_glBlendFunc(thread_param->sfactor,
- thread_param->dfactor);
+ orig_evgl_api_glBlendFunc(thread_data->sfactor,
+ thread_data->dfactor);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBlendFunc thread_param_local;
- EVGL_API_Thread_Command_glBlendFunc *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBlendFunc thread_data_local;
+ EVGL_API_Thread_Command_glBlendFunc *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBlendFunc *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBlendFunc));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBlendFunc *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBlendFunc));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->sfactor = sfactor;
- thread_param->dfactor = dfactor;
+ thread_data->sfactor = sfactor;
+ thread_data->dfactor = dfactor;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBlendFunc,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+ * void
+ * glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
*/
typedef struct
static void
_evgl_api_thread_glBlendFuncSeparate(void *data)
{
- EVGL_API_Thread_Command_glBlendFuncSeparate *thread_param =
+ EVGL_API_Thread_Command_glBlendFuncSeparate *thread_data =
(EVGL_API_Thread_Command_glBlendFuncSeparate *)data;
- orig_evgl_api_glBlendFuncSeparate(thread_param->srcRGB,
- thread_param->dstRGB,
- thread_param->srcAlpha,
- thread_param->dstAlpha);
+ orig_evgl_api_glBlendFuncSeparate(thread_data->srcRGB,
+ thread_data->dstRGB,
+ thread_data->srcAlpha,
+ thread_data->dstAlpha);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBlendFuncSeparate thread_param_local;
- EVGL_API_Thread_Command_glBlendFuncSeparate *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBlendFuncSeparate thread_data_local;
+ EVGL_API_Thread_Command_glBlendFuncSeparate *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBlendFuncSeparate *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBlendFuncSeparate));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBlendFuncSeparate *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBlendFuncSeparate));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->srcRGB = srcRGB;
- thread_param->dstRGB = dstRGB;
- thread_param->srcAlpha = srcAlpha;
- thread_param->dstAlpha = dstAlpha;
+ thread_data->srcRGB = srcRGB;
+ thread_data->dstRGB = dstRGB;
+ thread_data->srcAlpha = srcAlpha;
+ thread_data->dstAlpha = dstAlpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBlendFuncSeparate,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBufferData(GLenum target, GLsizeiptr size, const void* data, GLenum usage);
+ * void
+ * glBufferData(GLenum target, GLsizeiptr size, const void* data, GLenum usage);
*/
typedef struct
static void
_evgl_api_thread_glBufferData(void *data)
{
- EVGL_API_Thread_Command_glBufferData *thread_param =
+ EVGL_API_Thread_Command_glBufferData *thread_data =
(EVGL_API_Thread_Command_glBufferData *)data;
- orig_evgl_api_glBufferData(thread_param->target,
- thread_param->size,
- thread_param->data,
- thread_param->usage);
+ orig_evgl_api_glBufferData(thread_data->target,
+ thread_data->size,
+ thread_data->data,
+ thread_data->usage);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBufferData thread_param_local;
- EVGL_API_Thread_Command_glBufferData *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBufferData thread_data_local;
+ EVGL_API_Thread_Command_glBufferData *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->size = size;
- thread_param->data = data;
- thread_param->usage = usage;
+ thread_data->target = target;
+ thread_data->size = size;
+ thread_data->data = data;
+ thread_data->usage = usage;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBufferData,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void* data);
+ * void
+ * glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void* data);
*/
typedef struct
static void
_evgl_api_thread_glBufferSubData(void *data)
{
- EVGL_API_Thread_Command_glBufferSubData *thread_param =
+ EVGL_API_Thread_Command_glBufferSubData *thread_data =
(EVGL_API_Thread_Command_glBufferSubData *)data;
- orig_evgl_api_glBufferSubData(thread_param->target,
- thread_param->offset,
- thread_param->size,
- thread_param->data);
+ orig_evgl_api_glBufferSubData(thread_data->target,
+ thread_data->offset,
+ thread_data->size,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBufferSubData thread_param_local;
- EVGL_API_Thread_Command_glBufferSubData *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBufferSubData thread_data_local;
+ EVGL_API_Thread_Command_glBufferSubData *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->offset = offset;
- thread_param->size = size;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->offset = offset;
+ thread_data->size = size;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBufferSubData,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLenum
- glCheckFramebufferStatus(GLenum target);
+ * GLenum
+ * glCheckFramebufferStatus(GLenum target);
*/
typedef struct
static void
_evgl_api_thread_glCheckFramebufferStatus(void *data)
{
- EVGL_API_Thread_Command_glCheckFramebufferStatus *thread_param =
+ EVGL_API_Thread_Command_glCheckFramebufferStatus *thread_data =
(EVGL_API_Thread_Command_glCheckFramebufferStatus *)data;
- thread_param->return_value = orig_evgl_api_glCheckFramebufferStatus(thread_param->target);
+ thread_data->return_value = orig_evgl_api_glCheckFramebufferStatus(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCheckFramebufferStatus thread_param_local;
- EVGL_API_Thread_Command_glCheckFramebufferStatus *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCheckFramebufferStatus thread_data_local;
+ EVGL_API_Thread_Command_glCheckFramebufferStatus *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCheckFramebufferStatus,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glClear(GLbitfield mask);
+ * void
+ * glClear(GLbitfield mask);
*/
typedef struct
static void
_evgl_api_thread_glClear(void *data)
{
- EVGL_API_Thread_Command_glClear *thread_param =
+ EVGL_API_Thread_Command_glClear *thread_data =
(EVGL_API_Thread_Command_glClear *)data;
- orig_evgl_api_glClear(thread_param->mask);
+ orig_evgl_api_glClear(thread_data->mask);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClear thread_param_local;
- EVGL_API_Thread_Command_glClear *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClear thread_data_local;
+ EVGL_API_Thread_Command_glClear *thread_data = &thread_data_local;
- thread_param->mask = mask;
+ thread_data->mask = mask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClear,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
+ * void
+ * glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
*/
typedef struct
static void
_evgl_api_thread_glClearColor(void *data)
{
- EVGL_API_Thread_Command_glClearColor *thread_param =
+ EVGL_API_Thread_Command_glClearColor *thread_data =
(EVGL_API_Thread_Command_glClearColor *)data;
- orig_evgl_api_glClearColor(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ orig_evgl_api_glClearColor(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearColor thread_param_local;
- EVGL_API_Thread_Command_glClearColor *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearColor thread_data_local;
+ EVGL_API_Thread_Command_glClearColor *thread_data = &thread_data_local;
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearColor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearDepthf(GLclampf depth);
+ * void
+ * glClearDepthf(GLclampf depth);
*/
typedef struct
static void
_evgl_api_thread_glClearDepthf(void *data)
{
- EVGL_API_Thread_Command_glClearDepthf *thread_param =
+ EVGL_API_Thread_Command_glClearDepthf *thread_data =
(EVGL_API_Thread_Command_glClearDepthf *)data;
- orig_evgl_api_glClearDepthf(thread_param->depth);
+ orig_evgl_api_glClearDepthf(thread_data->depth);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearDepthf thread_param_local;
- EVGL_API_Thread_Command_glClearDepthf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearDepthf thread_data_local;
+ EVGL_API_Thread_Command_glClearDepthf *thread_data = &thread_data_local;
- thread_param->depth = depth;
+ thread_data->depth = depth;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearDepthf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearStencil(GLint s);
+ * void
+ * glClearStencil(GLint s);
*/
typedef struct
static void
_evgl_api_thread_glClearStencil(void *data)
{
- EVGL_API_Thread_Command_glClearStencil *thread_param =
+ EVGL_API_Thread_Command_glClearStencil *thread_data =
(EVGL_API_Thread_Command_glClearStencil *)data;
- orig_evgl_api_glClearStencil(thread_param->s);
+ orig_evgl_api_glClearStencil(thread_data->s);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearStencil thread_param_local;
- EVGL_API_Thread_Command_glClearStencil *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearStencil thread_data_local;
+ EVGL_API_Thread_Command_glClearStencil *thread_data = &thread_data_local;
- thread_param->s = s;
+ thread_data->s = s;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearStencil,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
+ * void
+ * glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
*/
typedef struct
static void
_evgl_api_thread_glColorMask(void *data)
{
- EVGL_API_Thread_Command_glColorMask *thread_param =
+ EVGL_API_Thread_Command_glColorMask *thread_data =
(EVGL_API_Thread_Command_glColorMask *)data;
- orig_evgl_api_glColorMask(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ orig_evgl_api_glColorMask(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glColorMask thread_param_local;
- EVGL_API_Thread_Command_glColorMask *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glColorMask thread_data_local;
+ EVGL_API_Thread_Command_glColorMask *thread_data = &thread_data_local;
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glColorMask,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompileShader(GLuint shader);
+ * void
+ * glCompileShader(GLuint shader);
*/
typedef struct
static void
_evgl_api_thread_glCompileShader(void *data)
{
- EVGL_API_Thread_Command_glCompileShader *thread_param =
+ EVGL_API_Thread_Command_glCompileShader *thread_data =
(EVGL_API_Thread_Command_glCompileShader *)data;
- orig_evgl_api_glCompileShader(thread_param->shader);
+ orig_evgl_api_glCompileShader(thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCompileShader thread_param_local;
- EVGL_API_Thread_Command_glCompileShader *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCompileShader thread_data_local;
+ EVGL_API_Thread_Command_glCompileShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glCompileShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glCompileShader));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glCompileShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glCompileShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->shader = shader;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCompileShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
+ * void
+ * glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
*/
typedef struct
static void
_evgl_api_thread_glCompressedTexImage2D(void *data)
{
- EVGL_API_Thread_Command_glCompressedTexImage2D *thread_param =
+ EVGL_API_Thread_Command_glCompressedTexImage2D *thread_data =
(EVGL_API_Thread_Command_glCompressedTexImage2D *)data;
- orig_evgl_api_glCompressedTexImage2D(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->border,
- thread_param->imageSize,
- thread_param->data);
+ orig_evgl_api_glCompressedTexImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->border,
+ thread_data->imageSize,
+ thread_data->data);
GLCOMPRESSEDTEXIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCompressedTexImage2D thread_param_local;
- EVGL_API_Thread_Command_glCompressedTexImage2D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCompressedTexImage2D thread_data_local;
+ EVGL_API_Thread_Command_glCompressedTexImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glCompressedTexImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glCompressedTexImage2D));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glCompressedTexImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glCompressedTexImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->border = border;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->border = border;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
GLCOMPRESSEDTEXIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCompressedTexImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
+ * void
+ * glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
*/
typedef struct
static void
_evgl_api_thread_glCompressedTexSubImage2D(void *data)
{
- EVGL_API_Thread_Command_glCompressedTexSubImage2D *thread_param =
+ EVGL_API_Thread_Command_glCompressedTexSubImage2D *thread_data =
(EVGL_API_Thread_Command_glCompressedTexSubImage2D *)data;
- orig_evgl_api_glCompressedTexSubImage2D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->imageSize,
- thread_param->data);
+ orig_evgl_api_glCompressedTexSubImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->imageSize,
+ thread_data->data);
GLCOMPRESSEDTEXSUBIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCompressedTexSubImage2D thread_param_local;
- EVGL_API_Thread_Command_glCompressedTexSubImage2D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCompressedTexSubImage2D thread_data_local;
+ EVGL_API_Thread_Command_glCompressedTexSubImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glCompressedTexSubImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glCompressedTexSubImage2D));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glCompressedTexSubImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glCompressedTexSubImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
GLCOMPRESSEDTEXSUBIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCompressedTexSubImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
+ * void
+ * glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
*/
typedef struct
static void
_evgl_api_thread_glCopyTexImage2D(void *data)
{
- EVGL_API_Thread_Command_glCopyTexImage2D *thread_param =
+ EVGL_API_Thread_Command_glCopyTexImage2D *thread_data =
(EVGL_API_Thread_Command_glCopyTexImage2D *)data;
- orig_evgl_api_glCopyTexImage2D(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height,
- thread_param->border);
+ orig_evgl_api_glCopyTexImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height,
+ thread_data->border);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCopyTexImage2D thread_param_local;
- EVGL_API_Thread_Command_glCopyTexImage2D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCopyTexImage2D thread_data_local;
+ EVGL_API_Thread_Command_glCopyTexImage2D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->border = border;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->border = border;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCopyTexImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glCopyTexSubImage2D(void *data)
{
- EVGL_API_Thread_Command_glCopyTexSubImage2D *thread_param =
+ EVGL_API_Thread_Command_glCopyTexSubImage2D *thread_data =
(EVGL_API_Thread_Command_glCopyTexSubImage2D *)data;
- orig_evgl_api_glCopyTexSubImage2D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glCopyTexSubImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCopyTexSubImage2D thread_param_local;
- EVGL_API_Thread_Command_glCopyTexSubImage2D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCopyTexSubImage2D thread_data_local;
+ EVGL_API_Thread_Command_glCopyTexSubImage2D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCopyTexSubImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLuint
- glCreateProgram(void);
+ * GLuint
+ * glCreateProgram(void);
*/
typedef struct
static void
_evgl_api_thread_glCreateProgram(void *data)
{
- EVGL_API_Thread_Command_glCreateProgram *thread_param =
+ EVGL_API_Thread_Command_glCreateProgram *thread_data =
(EVGL_API_Thread_Command_glCreateProgram *)data;
- thread_param->return_value = orig_evgl_api_glCreateProgram();
+ thread_data->return_value = orig_evgl_api_glCreateProgram();
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCreateProgram thread_param_local;
- EVGL_API_Thread_Command_glCreateProgram *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCreateProgram thread_data_local;
+ EVGL_API_Thread_Command_glCreateProgram *thread_data = &thread_data_local;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCreateProgram,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLuint
- glCreateShader(GLenum type);
+ * GLuint
+ * glCreateShader(GLenum type);
*/
typedef struct
static void
_evgl_api_thread_glCreateShader(void *data)
{
- EVGL_API_Thread_Command_glCreateShader *thread_param =
+ EVGL_API_Thread_Command_glCreateShader *thread_data =
(EVGL_API_Thread_Command_glCreateShader *)data;
- thread_param->return_value = orig_evgl_api_glCreateShader(thread_param->type);
+ thread_data->return_value = orig_evgl_api_glCreateShader(thread_data->type);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCreateShader thread_param_local;
- EVGL_API_Thread_Command_glCreateShader *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCreateShader thread_data_local;
+ EVGL_API_Thread_Command_glCreateShader *thread_data = &thread_data_local;
- thread_param->type = type;
+ thread_data->type = type;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCreateShader,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glCullFace(GLenum mode);
+ * void
+ * glCullFace(GLenum mode);
*/
typedef struct
static void
_evgl_api_thread_glCullFace(void *data)
{
- EVGL_API_Thread_Command_glCullFace *thread_param =
+ EVGL_API_Thread_Command_glCullFace *thread_data =
(EVGL_API_Thread_Command_glCullFace *)data;
- orig_evgl_api_glCullFace(thread_param->mode);
+ orig_evgl_api_glCullFace(thread_data->mode);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCullFace thread_param_local;
- EVGL_API_Thread_Command_glCullFace *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCullFace thread_data_local;
+ EVGL_API_Thread_Command_glCullFace *thread_data = &thread_data_local;
- thread_param->mode = mode;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCullFace,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteBuffers(GLsizei n, const GLuint* buffers);
+ * void
+ * glDeleteBuffers(GLsizei n, const GLuint* buffers);
*/
typedef struct
static void
_evgl_api_thread_glDeleteBuffers(void *data)
{
- EVGL_API_Thread_Command_glDeleteBuffers *thread_param =
+ EVGL_API_Thread_Command_glDeleteBuffers *thread_data =
(EVGL_API_Thread_Command_glDeleteBuffers *)data;
- orig_evgl_api_glDeleteBuffers(thread_param->n,
- thread_param->buffers);
+ orig_evgl_api_glDeleteBuffers(thread_data->n,
+ thread_data->buffers);
- if (thread_param->buffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->buffers_copied);
+ if (thread_data->buffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->buffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteBuffers thread_param_local;
- EVGL_API_Thread_Command_glDeleteBuffers *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteBuffers thread_data_local;
+ EVGL_API_Thread_Command_glDeleteBuffers *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDeleteBuffers *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDeleteBuffers));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDeleteBuffers *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDeleteBuffers));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->buffers = buffers;
+ thread_data->n = n;
+ thread_data->buffers = buffers;
- thread_param->buffers_copied = NULL;
+ thread_data->buffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->buffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->buffers_copied)
+ thread_data->buffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->buffers_copied)
{
- memcpy(thread_param->buffers_copied, buffers, copy_size);
+ memcpy(thread_data->buffers_copied, buffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->buffers = (const GLuint *)thread_param->buffers_copied;
+ thread_data->buffers = (const GLuint *)thread_data->buffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteBuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers);
+ * void
+ * glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers);
*/
typedef struct
static void
_evgl_api_thread_glDeleteFramebuffers(void *data)
{
- EVGL_API_Thread_Command_glDeleteFramebuffers *thread_param =
+ EVGL_API_Thread_Command_glDeleteFramebuffers *thread_data =
(EVGL_API_Thread_Command_glDeleteFramebuffers *)data;
- orig_evgl_api_glDeleteFramebuffers(thread_param->n,
- thread_param->framebuffers);
+ orig_evgl_api_glDeleteFramebuffers(thread_data->n,
+ thread_data->framebuffers);
- if (thread_param->framebuffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->framebuffers_copied);
+ if (thread_data->framebuffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->framebuffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteFramebuffers thread_param_local;
- EVGL_API_Thread_Command_glDeleteFramebuffers *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteFramebuffers thread_data_local;
+ EVGL_API_Thread_Command_glDeleteFramebuffers *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDeleteFramebuffers *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDeleteFramebuffers));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDeleteFramebuffers *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDeleteFramebuffers));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->framebuffers = framebuffers;
+ thread_data->n = n;
+ thread_data->framebuffers = framebuffers;
- thread_param->framebuffers_copied = NULL;
+ thread_data->framebuffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->framebuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->framebuffers_copied)
+ thread_data->framebuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->framebuffers_copied)
{
- memcpy(thread_param->framebuffers_copied, framebuffers, copy_size);
+ memcpy(thread_data->framebuffers_copied, framebuffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->framebuffers = (const GLuint *)thread_param->framebuffers_copied;
+ thread_data->framebuffers = (const GLuint *)thread_data->framebuffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteFramebuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteProgram(GLuint program);
+ * void
+ * glDeleteProgram(GLuint program);
*/
typedef struct
static void
_evgl_api_thread_glDeleteProgram(void *data)
{
- EVGL_API_Thread_Command_glDeleteProgram *thread_param =
+ EVGL_API_Thread_Command_glDeleteProgram *thread_data =
(EVGL_API_Thread_Command_glDeleteProgram *)data;
- orig_evgl_api_glDeleteProgram(thread_param->program);
+ orig_evgl_api_glDeleteProgram(thread_data->program);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteProgram thread_param_local;
- EVGL_API_Thread_Command_glDeleteProgram *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteProgram thread_data_local;
+ EVGL_API_Thread_Command_glDeleteProgram *thread_data = &thread_data_local;
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers);
+ * void
+ * glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers);
*/
typedef struct
static void
_evgl_api_thread_glDeleteRenderbuffers(void *data)
{
- EVGL_API_Thread_Command_glDeleteRenderbuffers *thread_param =
+ EVGL_API_Thread_Command_glDeleteRenderbuffers *thread_data =
(EVGL_API_Thread_Command_glDeleteRenderbuffers *)data;
- orig_evgl_api_glDeleteRenderbuffers(thread_param->n,
- thread_param->renderbuffers);
+ orig_evgl_api_glDeleteRenderbuffers(thread_data->n,
+ thread_data->renderbuffers);
- if (thread_param->renderbuffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->renderbuffers_copied);
+ if (thread_data->renderbuffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->renderbuffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteRenderbuffers thread_param_local;
- EVGL_API_Thread_Command_glDeleteRenderbuffers *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteRenderbuffers thread_data_local;
+ EVGL_API_Thread_Command_glDeleteRenderbuffers *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDeleteRenderbuffers *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDeleteRenderbuffers));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDeleteRenderbuffers *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDeleteRenderbuffers));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->renderbuffers = renderbuffers;
+ thread_data->n = n;
+ thread_data->renderbuffers = renderbuffers;
- thread_param->renderbuffers_copied = NULL;
+ thread_data->renderbuffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->renderbuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->renderbuffers_copied)
+ thread_data->renderbuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->renderbuffers_copied)
{
- memcpy(thread_param->renderbuffers_copied, renderbuffers, copy_size);
+ memcpy(thread_data->renderbuffers_copied, renderbuffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->renderbuffers = (const GLuint *)thread_param->renderbuffers_copied;
+ thread_data->renderbuffers = (const GLuint *)thread_data->renderbuffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteRenderbuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteShader(GLuint shader);
+ * void
+ * glDeleteShader(GLuint shader);
*/
typedef struct
static void
_evgl_api_thread_glDeleteShader(void *data)
{
- EVGL_API_Thread_Command_glDeleteShader *thread_param =
+ EVGL_API_Thread_Command_glDeleteShader *thread_data =
(EVGL_API_Thread_Command_glDeleteShader *)data;
- orig_evgl_api_glDeleteShader(thread_param->shader);
+ orig_evgl_api_glDeleteShader(thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteShader thread_param_local;
- EVGL_API_Thread_Command_glDeleteShader *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteShader thread_data_local;
+ EVGL_API_Thread_Command_glDeleteShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDeleteShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDeleteShader));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDeleteShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDeleteShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->shader = shader;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteTextures(GLsizei n, const GLuint* textures);
+ * void
+ * glDeleteTextures(GLsizei n, const GLuint* textures);
*/
typedef struct
static void
_evgl_api_thread_glDeleteTextures(void *data)
{
- EVGL_API_Thread_Command_glDeleteTextures *thread_param =
+ EVGL_API_Thread_Command_glDeleteTextures *thread_data =
(EVGL_API_Thread_Command_glDeleteTextures *)data;
- orig_evgl_api_glDeleteTextures(thread_param->n,
- thread_param->textures);
+ orig_evgl_api_glDeleteTextures(thread_data->n,
+ thread_data->textures);
- if (thread_param->textures_copied)
- eina_mempool_free(_mp_delete_object, thread_param->textures_copied);
+ if (thread_data->textures_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->textures_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteTextures thread_param_local;
- EVGL_API_Thread_Command_glDeleteTextures *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteTextures thread_data_local;
+ EVGL_API_Thread_Command_glDeleteTextures *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDeleteTextures *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDeleteTextures));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDeleteTextures *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDeleteTextures));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->textures = textures;
+ thread_data->n = n;
+ thread_data->textures = textures;
- thread_param->textures_copied = NULL;
+ thread_data->textures_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->textures_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->textures_copied)
+ thread_data->textures_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->textures_copied)
{
- memcpy(thread_param->textures_copied, textures, copy_size);
+ memcpy(thread_data->textures_copied, textures, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->textures = (const GLuint *)thread_param->textures_copied;
+ thread_data->textures = (const GLuint *)thread_data->textures_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteTextures,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDepthFunc(GLenum func);
+ * void
+ * glDepthFunc(GLenum func);
*/
typedef struct
static void
_evgl_api_thread_glDepthFunc(void *data)
{
- EVGL_API_Thread_Command_glDepthFunc *thread_param =
+ EVGL_API_Thread_Command_glDepthFunc *thread_data =
(EVGL_API_Thread_Command_glDepthFunc *)data;
- orig_evgl_api_glDepthFunc(thread_param->func);
+ orig_evgl_api_glDepthFunc(thread_data->func);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDepthFunc thread_param_local;
- EVGL_API_Thread_Command_glDepthFunc *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDepthFunc thread_data_local;
+ EVGL_API_Thread_Command_glDepthFunc *thread_data = &thread_data_local;
- thread_param->func = func;
+ thread_data->func = func;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDepthFunc,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDepthMask(GLboolean flag);
+ * void
+ * glDepthMask(GLboolean flag);
*/
typedef struct
static void
_evgl_api_thread_glDepthMask(void *data)
{
- EVGL_API_Thread_Command_glDepthMask *thread_param =
+ EVGL_API_Thread_Command_glDepthMask *thread_data =
(EVGL_API_Thread_Command_glDepthMask *)data;
- orig_evgl_api_glDepthMask(thread_param->flag);
+ orig_evgl_api_glDepthMask(thread_data->flag);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDepthMask thread_param_local;
- EVGL_API_Thread_Command_glDepthMask *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDepthMask thread_data_local;
+ EVGL_API_Thread_Command_glDepthMask *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDepthMask *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDepthMask));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDepthMask *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDepthMask));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->flag = flag;
+ thread_data->flag = flag;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDepthMask,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDepthRangef(GLclampf zNear, GLclampf zFar);
+ * void
+ * glDepthRangef(GLclampf zNear, GLclampf zFar);
*/
typedef struct
static void
_evgl_api_thread_glDepthRangef(void *data)
{
- EVGL_API_Thread_Command_glDepthRangef *thread_param =
+ EVGL_API_Thread_Command_glDepthRangef *thread_data =
(EVGL_API_Thread_Command_glDepthRangef *)data;
- orig_evgl_api_glDepthRangef(thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glDepthRangef(thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDepthRangef thread_param_local;
- EVGL_API_Thread_Command_glDepthRangef *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDepthRangef thread_data_local;
+ EVGL_API_Thread_Command_glDepthRangef *thread_data = &thread_data_local;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDepthRangef,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDetachShader(GLuint program, GLuint shader);
+ * void
+ * glDetachShader(GLuint program, GLuint shader);
*/
typedef struct
static void
_evgl_api_thread_glDetachShader(void *data)
{
- EVGL_API_Thread_Command_glDetachShader *thread_param =
+ EVGL_API_Thread_Command_glDetachShader *thread_data =
(EVGL_API_Thread_Command_glDetachShader *)data;
- orig_evgl_api_glDetachShader(thread_param->program,
- thread_param->shader);
+ orig_evgl_api_glDetachShader(thread_data->program,
+ thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDetachShader thread_param_local;
- EVGL_API_Thread_Command_glDetachShader *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDetachShader thread_data_local;
+ EVGL_API_Thread_Command_glDetachShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDetachShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDetachShader));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDetachShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDetachShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->shader = shader;
+ thread_data->program = program;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDetachShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDisable(GLenum cap);
+ * void
+ * glDisable(GLenum cap);
*/
typedef struct
static void
_evgl_api_thread_glDisable(void *data)
{
- EVGL_API_Thread_Command_glDisable *thread_param =
+ EVGL_API_Thread_Command_glDisable *thread_data =
(EVGL_API_Thread_Command_glDisable *)data;
- orig_evgl_api_glDisable(thread_param->cap);
+ orig_evgl_api_glDisable(thread_data->cap);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDisable thread_param_local;
- EVGL_API_Thread_Command_glDisable *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDisable thread_data_local;
+ EVGL_API_Thread_Command_glDisable *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDisable *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDisable));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDisable *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDisable));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->cap = cap;
+ thread_data->cap = cap;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDisable,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDisableVertexAttribArray(GLuint index);
+ * void
+ * glDisableVertexAttribArray(GLuint index);
*/
typedef struct
static void
_evgl_api_thread_glDisableVertexAttribArray(void *data)
{
- EVGL_API_Thread_Command_glDisableVertexAttribArray *thread_param =
+ EVGL_API_Thread_Command_glDisableVertexAttribArray *thread_data =
(EVGL_API_Thread_Command_glDisableVertexAttribArray *)data;
- orig_evgl_api_glDisableVertexAttribArray(thread_param->index);
+ orig_evgl_api_glDisableVertexAttribArray(thread_data->index);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDisableVertexAttribArray thread_param_local;
- EVGL_API_Thread_Command_glDisableVertexAttribArray *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDisableVertexAttribArray thread_data_local;
+ EVGL_API_Thread_Command_glDisableVertexAttribArray *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDisableVertexAttribArray *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDisableVertexAttribArray));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDisableVertexAttribArray *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDisableVertexAttribArray));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->index = index;
+ thread_data->index = index;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDisableVertexAttribArray,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawArrays(GLenum mode, GLint first, GLsizei count);
+ * void
+ * glDrawArrays(GLenum mode, GLint first, GLsizei count);
*/
typedef struct
static void
_evgl_api_thread_glDrawArrays(void *data)
{
- EVGL_API_Thread_Command_glDrawArrays *thread_param =
+ EVGL_API_Thread_Command_glDrawArrays *thread_data =
(EVGL_API_Thread_Command_glDrawArrays *)data;
- orig_evgl_api_glDrawArrays(thread_param->mode,
- thread_param->first,
- thread_param->count);
+ orig_evgl_api_glDrawArrays(thread_data->mode,
+ thread_data->first,
+ thread_data->count);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawArrays thread_param_local;
- EVGL_API_Thread_Command_glDrawArrays *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawArrays thread_data_local;
+ EVGL_API_Thread_Command_glDrawArrays *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->first = first;
- thread_param->count = count;
+ thread_data->mode = mode;
+ thread_data->first = first;
+ thread_data->count = count;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawArrays,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawElements(GLenum mode, GLsizei count, GLenum type, const void* indices);
+ * void
+ * glDrawElements(GLenum mode, GLsizei count, GLenum type, const void* indices);
*/
typedef struct
static void
_evgl_api_thread_glDrawElements(void *data)
{
- EVGL_API_Thread_Command_glDrawElements *thread_param =
+ EVGL_API_Thread_Command_glDrawElements *thread_data =
(EVGL_API_Thread_Command_glDrawElements *)data;
- orig_evgl_api_glDrawElements(thread_param->mode,
- thread_param->count,
- thread_param->type,
- thread_param->indices);
+ orig_evgl_api_glDrawElements(thread_data->mode,
+ thread_data->count,
+ thread_data->type,
+ thread_data->indices);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawElements thread_param_local;
- EVGL_API_Thread_Command_glDrawElements *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawElements thread_data_local;
+ EVGL_API_Thread_Command_glDrawElements *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->count = count;
- thread_param->type = type;
- thread_param->indices = indices;
+ thread_data->mode = mode;
+ thread_data->count = count;
+ thread_data->type = type;
+ thread_data->indices = indices;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawElements,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEnable(GLenum cap);
+ * void
+ * glEnable(GLenum cap);
*/
typedef struct
static void
_evgl_api_thread_glEnable(void *data)
{
- EVGL_API_Thread_Command_glEnable *thread_param =
+ EVGL_API_Thread_Command_glEnable *thread_data =
(EVGL_API_Thread_Command_glEnable *)data;
- orig_evgl_api_glEnable(thread_param->cap);
+ orig_evgl_api_glEnable(thread_data->cap);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEnable thread_param_local;
- EVGL_API_Thread_Command_glEnable *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEnable thread_data_local;
+ EVGL_API_Thread_Command_glEnable *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glEnable *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glEnable));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glEnable *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glEnable));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->cap = cap;
+ thread_data->cap = cap;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEnable,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEnableVertexAttribArray(GLuint index);
+ * void
+ * glEnableVertexAttribArray(GLuint index);
*/
typedef struct
static void
_evgl_api_thread_glEnableVertexAttribArray(void *data)
{
- EVGL_API_Thread_Command_glEnableVertexAttribArray *thread_param =
+ EVGL_API_Thread_Command_glEnableVertexAttribArray *thread_data =
(EVGL_API_Thread_Command_glEnableVertexAttribArray *)data;
- orig_evgl_api_glEnableVertexAttribArray(thread_param->index);
+ orig_evgl_api_glEnableVertexAttribArray(thread_data->index);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEnableVertexAttribArray thread_param_local;
- EVGL_API_Thread_Command_glEnableVertexAttribArray *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEnableVertexAttribArray thread_data_local;
+ EVGL_API_Thread_Command_glEnableVertexAttribArray *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glEnableVertexAttribArray *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glEnableVertexAttribArray));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glEnableVertexAttribArray *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glEnableVertexAttribArray));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->index = index;
+ thread_data->index = index;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEnableVertexAttribArray,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFinish(void);
+ * void
+ * glFinish(void);
*/
void (*orig_evgl_api_glFinish)(void);
}
/*
- void
- glFlush(void);
+ * void
+ * glFlush(void);
*/
void (*orig_evgl_api_glFlush)(void);
}
/*
- void
- glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+ * void
+ * glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferRenderbuffer(void *data)
{
- EVGL_API_Thread_Command_glFramebufferRenderbuffer *thread_param =
+ EVGL_API_Thread_Command_glFramebufferRenderbuffer *thread_data =
(EVGL_API_Thread_Command_glFramebufferRenderbuffer *)data;
- orig_evgl_api_glFramebufferRenderbuffer(thread_param->target,
- thread_param->attachment,
- thread_param->renderbuffertarget,
- thread_param->renderbuffer);
+ orig_evgl_api_glFramebufferRenderbuffer(thread_data->target,
+ thread_data->attachment,
+ thread_data->renderbuffertarget,
+ thread_data->renderbuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferRenderbuffer thread_param_local;
- EVGL_API_Thread_Command_glFramebufferRenderbuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferRenderbuffer thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferRenderbuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glFramebufferRenderbuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glFramebufferRenderbuffer));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glFramebufferRenderbuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glFramebufferRenderbuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->renderbuffertarget = renderbuffertarget;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->renderbuffertarget = renderbuffertarget;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferRenderbuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+ * void
+ * glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferTexture2D(void *data)
{
- EVGL_API_Thread_Command_glFramebufferTexture2D *thread_param =
+ EVGL_API_Thread_Command_glFramebufferTexture2D *thread_data =
(EVGL_API_Thread_Command_glFramebufferTexture2D *)data;
- orig_evgl_api_glFramebufferTexture2D(thread_param->target,
- thread_param->attachment,
- thread_param->textarget,
- thread_param->texture,
- thread_param->level);
+ orig_evgl_api_glFramebufferTexture2D(thread_data->target,
+ thread_data->attachment,
+ thread_data->textarget,
+ thread_data->texture,
+ thread_data->level);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferTexture2D thread_param_local;
- EVGL_API_Thread_Command_glFramebufferTexture2D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2D thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glFramebufferTexture2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glFramebufferTexture2D));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glFramebufferTexture2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glFramebufferTexture2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->textarget = textarget;
- thread_param->texture = texture;
- thread_param->level = level;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->textarget = textarget;
+ thread_data->texture = texture;
+ thread_data->level = level;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferTexture2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFrontFace(GLenum mode);
+ * void
+ * glFrontFace(GLenum mode);
*/
typedef struct
static void
_evgl_api_thread_glFrontFace(void *data)
{
- EVGL_API_Thread_Command_glFrontFace *thread_param =
+ EVGL_API_Thread_Command_glFrontFace *thread_data =
(EVGL_API_Thread_Command_glFrontFace *)data;
- orig_evgl_api_glFrontFace(thread_param->mode);
+ orig_evgl_api_glFrontFace(thread_data->mode);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFrontFace thread_param_local;
- EVGL_API_Thread_Command_glFrontFace *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFrontFace thread_data_local;
+ EVGL_API_Thread_Command_glFrontFace *thread_data = &thread_data_local;
- thread_param->mode = mode;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFrontFace,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenBuffers(GLsizei n, GLuint* buffers);
+ * void
+ * glGenBuffers(GLsizei n, GLuint* buffers);
*/
typedef struct
static void
_evgl_api_thread_glGenBuffers(void *data)
{
- EVGL_API_Thread_Command_glGenBuffers *thread_param =
+ EVGL_API_Thread_Command_glGenBuffers *thread_data =
(EVGL_API_Thread_Command_glGenBuffers *)data;
- orig_evgl_api_glGenBuffers(thread_param->n,
- thread_param->buffers);
+ orig_evgl_api_glGenBuffers(thread_data->n,
+ thread_data->buffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenBuffers thread_param_local;
- EVGL_API_Thread_Command_glGenBuffers *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenBuffers thread_data_local;
+ EVGL_API_Thread_Command_glGenBuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->buffers = buffers;
+ thread_data->n = n;
+ thread_data->buffers = buffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenBuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenerateMipmap(GLenum target);
+ * void
+ * glGenerateMipmap(GLenum target);
*/
typedef struct
static void
_evgl_api_thread_glGenerateMipmap(void *data)
{
- EVGL_API_Thread_Command_glGenerateMipmap *thread_param =
+ EVGL_API_Thread_Command_glGenerateMipmap *thread_data =
(EVGL_API_Thread_Command_glGenerateMipmap *)data;
- orig_evgl_api_glGenerateMipmap(thread_param->target);
+ orig_evgl_api_glGenerateMipmap(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenerateMipmap thread_param_local;
- EVGL_API_Thread_Command_glGenerateMipmap *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenerateMipmap thread_data_local;
+ EVGL_API_Thread_Command_glGenerateMipmap *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenerateMipmap,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenFramebuffers(GLsizei n, GLuint* framebuffers);
+ * void
+ * glGenFramebuffers(GLsizei n, GLuint* framebuffers);
*/
typedef struct
static void
_evgl_api_thread_glGenFramebuffers(void *data)
{
- EVGL_API_Thread_Command_glGenFramebuffers *thread_param =
+ EVGL_API_Thread_Command_glGenFramebuffers *thread_data =
(EVGL_API_Thread_Command_glGenFramebuffers *)data;
- orig_evgl_api_glGenFramebuffers(thread_param->n,
- thread_param->framebuffers);
+ orig_evgl_api_glGenFramebuffers(thread_data->n,
+ thread_data->framebuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenFramebuffers thread_param_local;
- EVGL_API_Thread_Command_glGenFramebuffers *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenFramebuffers thread_data_local;
+ EVGL_API_Thread_Command_glGenFramebuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->framebuffers = framebuffers;
+ thread_data->n = n;
+ thread_data->framebuffers = framebuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenFramebuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenRenderbuffers(GLsizei n, GLuint* renderbuffers);
+ * void
+ * glGenRenderbuffers(GLsizei n, GLuint* renderbuffers);
*/
typedef struct
static void
_evgl_api_thread_glGenRenderbuffers(void *data)
{
- EVGL_API_Thread_Command_glGenRenderbuffers *thread_param =
+ EVGL_API_Thread_Command_glGenRenderbuffers *thread_data =
(EVGL_API_Thread_Command_glGenRenderbuffers *)data;
- orig_evgl_api_glGenRenderbuffers(thread_param->n,
- thread_param->renderbuffers);
+ orig_evgl_api_glGenRenderbuffers(thread_data->n,
+ thread_data->renderbuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenRenderbuffers thread_param_local;
- EVGL_API_Thread_Command_glGenRenderbuffers *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenRenderbuffers thread_data_local;
+ EVGL_API_Thread_Command_glGenRenderbuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->renderbuffers = renderbuffers;
+ thread_data->n = n;
+ thread_data->renderbuffers = renderbuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenRenderbuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenTextures(GLsizei n, GLuint* textures);
+ * void
+ * glGenTextures(GLsizei n, GLuint* textures);
*/
typedef struct
static void
_evgl_api_thread_glGenTextures(void *data)
{
- EVGL_API_Thread_Command_glGenTextures *thread_param =
+ EVGL_API_Thread_Command_glGenTextures *thread_data =
(EVGL_API_Thread_Command_glGenTextures *)data;
- orig_evgl_api_glGenTextures(thread_param->n,
- thread_param->textures);
+ orig_evgl_api_glGenTextures(thread_data->n,
+ thread_data->textures);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenTextures thread_param_local;
- EVGL_API_Thread_Command_glGenTextures *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenTextures thread_data_local;
+ EVGL_API_Thread_Command_glGenTextures *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->textures = textures;
+ thread_data->n = n;
+ thread_data->textures = textures;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenTextures,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name);
+ * void
+ * glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name);
*/
typedef struct
static void
_evgl_api_thread_glGetActiveAttrib(void *data)
{
- EVGL_API_Thread_Command_glGetActiveAttrib *thread_param =
+ EVGL_API_Thread_Command_glGetActiveAttrib *thread_data =
(EVGL_API_Thread_Command_glGetActiveAttrib *)data;
- orig_evgl_api_glGetActiveAttrib(thread_param->program,
- thread_param->index,
- thread_param->bufsize,
- thread_param->length,
- thread_param->size,
- thread_param->type,
- thread_param->name);
+ orig_evgl_api_glGetActiveAttrib(thread_data->program,
+ thread_data->index,
+ thread_data->bufsize,
+ thread_data->length,
+ thread_data->size,
+ thread_data->type,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetActiveAttrib thread_param_local;
- EVGL_API_Thread_Command_glGetActiveAttrib *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetActiveAttrib thread_data_local;
+ EVGL_API_Thread_Command_glGetActiveAttrib *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->index = index;
- thread_param->bufsize = bufsize;
- thread_param->length = length;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->index = index;
+ thread_data->bufsize = bufsize;
+ thread_data->length = length;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetActiveAttrib,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name);
+ * void
+ * glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name);
*/
typedef struct
static void
_evgl_api_thread_glGetActiveUniform(void *data)
{
- EVGL_API_Thread_Command_glGetActiveUniform *thread_param =
+ EVGL_API_Thread_Command_glGetActiveUniform *thread_data =
(EVGL_API_Thread_Command_glGetActiveUniform *)data;
- orig_evgl_api_glGetActiveUniform(thread_param->program,
- thread_param->index,
- thread_param->bufsize,
- thread_param->length,
- thread_param->size,
- thread_param->type,
- thread_param->name);
+ orig_evgl_api_glGetActiveUniform(thread_data->program,
+ thread_data->index,
+ thread_data->bufsize,
+ thread_data->length,
+ thread_data->size,
+ thread_data->type,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetActiveUniform thread_param_local;
- EVGL_API_Thread_Command_glGetActiveUniform *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetActiveUniform thread_data_local;
+ EVGL_API_Thread_Command_glGetActiveUniform *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->index = index;
- thread_param->bufsize = bufsize;
- thread_param->length = length;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->index = index;
+ thread_data->bufsize = bufsize;
+ thread_data->length = length;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetActiveUniform,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
+ * void
+ * glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
*/
typedef struct
static void
_evgl_api_thread_glGetAttachedShaders(void *data)
{
- EVGL_API_Thread_Command_glGetAttachedShaders *thread_param =
+ EVGL_API_Thread_Command_glGetAttachedShaders *thread_data =
(EVGL_API_Thread_Command_glGetAttachedShaders *)data;
- orig_evgl_api_glGetAttachedShaders(thread_param->program,
- thread_param->maxcount,
- thread_param->count,
- thread_param->shaders);
+ orig_evgl_api_glGetAttachedShaders(thread_data->program,
+ thread_data->maxcount,
+ thread_data->count,
+ thread_data->shaders);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetAttachedShaders thread_param_local;
- EVGL_API_Thread_Command_glGetAttachedShaders *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetAttachedShaders thread_data_local;
+ EVGL_API_Thread_Command_glGetAttachedShaders *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->maxcount = maxcount;
- thread_param->count = count;
- thread_param->shaders = shaders;
+ thread_data->program = program;
+ thread_data->maxcount = maxcount;
+ thread_data->count = count;
+ thread_data->shaders = shaders;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetAttachedShaders,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- int
- glGetAttribLocation(GLuint program, const char* name);
+ * int
+ * glGetAttribLocation(GLuint program, const char* name);
*/
typedef struct
static void
_evgl_api_thread_glGetAttribLocation(void *data)
{
- EVGL_API_Thread_Command_glGetAttribLocation *thread_param =
+ EVGL_API_Thread_Command_glGetAttribLocation *thread_data =
(EVGL_API_Thread_Command_glGetAttribLocation *)data;
- thread_param->return_value = orig_evgl_api_glGetAttribLocation(thread_param->program,
- thread_param->name);
+ thread_data->return_value = orig_evgl_api_glGetAttribLocation(thread_data->program,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetAttribLocation thread_param_local;
- EVGL_API_Thread_Command_glGetAttribLocation *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetAttribLocation thread_data_local;
+ EVGL_API_Thread_Command_glGetAttribLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetAttribLocation,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetBooleanv(GLenum pname, GLboolean* params);
+ * void
+ * glGetBooleanv(GLenum pname, GLboolean* params);
*/
typedef struct
static void
_evgl_api_thread_glGetBooleanv(void *data)
{
- EVGL_API_Thread_Command_glGetBooleanv *thread_param =
+ EVGL_API_Thread_Command_glGetBooleanv *thread_data =
(EVGL_API_Thread_Command_glGetBooleanv *)data;
- orig_evgl_api_glGetBooleanv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetBooleanv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetBooleanv thread_param_local;
- EVGL_API_Thread_Command_glGetBooleanv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetBooleanv thread_data_local;
+ EVGL_API_Thread_Command_glGetBooleanv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetBooleanv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params);
+ * void
+ * glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetBufferParameteriv(void *data)
{
- EVGL_API_Thread_Command_glGetBufferParameteriv *thread_param =
+ EVGL_API_Thread_Command_glGetBufferParameteriv *thread_data =
(EVGL_API_Thread_Command_glGetBufferParameteriv *)data;
- orig_evgl_api_glGetBufferParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetBufferParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetBufferParameteriv thread_param_local;
- EVGL_API_Thread_Command_glGetBufferParameteriv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetBufferParameteriv thread_data_local;
+ EVGL_API_Thread_Command_glGetBufferParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetBufferParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLenum
- glGetError(void);
+ * GLenum
+ * glGetError(void);
*/
typedef struct
static void
_evgl_api_thread_glGetError(void *data)
{
- EVGL_API_Thread_Command_glGetError *thread_param =
+ EVGL_API_Thread_Command_glGetError *thread_data =
(EVGL_API_Thread_Command_glGetError *)data;
- thread_param->return_value = orig_evgl_api_glGetError();
+ thread_data->return_value = orig_evgl_api_glGetError();
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetError thread_param_local;
- EVGL_API_Thread_Command_glGetError *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetError thread_data_local;
+ EVGL_API_Thread_Command_glGetError *thread_data = &thread_data_local;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetError,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetFloatv(GLenum pname, GLfloat* params);
+ * void
+ * glGetFloatv(GLenum pname, GLfloat* params);
*/
typedef struct
static void
_evgl_api_thread_glGetFloatv(void *data)
{
- EVGL_API_Thread_Command_glGetFloatv *thread_param =
+ EVGL_API_Thread_Command_glGetFloatv *thread_data =
(EVGL_API_Thread_Command_glGetFloatv *)data;
- orig_evgl_api_glGetFloatv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetFloatv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetFloatv thread_param_local;
- EVGL_API_Thread_Command_glGetFloatv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetFloatv thread_data_local;
+ EVGL_API_Thread_Command_glGetFloatv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetFloatv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params);
+ * void
+ * glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetFramebufferAttachmentParameteriv(void *data)
{
- EVGL_API_Thread_Command_glGetFramebufferAttachmentParameteriv *thread_param =
+ EVGL_API_Thread_Command_glGetFramebufferAttachmentParameteriv *thread_data =
(EVGL_API_Thread_Command_glGetFramebufferAttachmentParameteriv *)data;
- orig_evgl_api_glGetFramebufferAttachmentParameteriv(thread_param->target,
- thread_param->attachment,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetFramebufferAttachmentParameteriv(thread_data->target,
+ thread_data->attachment,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetFramebufferAttachmentParameteriv thread_param_local;
- EVGL_API_Thread_Command_glGetFramebufferAttachmentParameteriv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetFramebufferAttachmentParameteriv thread_data_local;
+ EVGL_API_Thread_Command_glGetFramebufferAttachmentParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetFramebufferAttachmentParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetIntegerv(GLenum pname, GLint* params);
+ * void
+ * glGetIntegerv(GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetIntegerv(void *data)
{
- EVGL_API_Thread_Command_glGetIntegerv *thread_param =
+ EVGL_API_Thread_Command_glGetIntegerv *thread_data =
(EVGL_API_Thread_Command_glGetIntegerv *)data;
- orig_evgl_api_glGetIntegerv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetIntegerv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetIntegerv thread_param_local;
- EVGL_API_Thread_Command_glGetIntegerv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetIntegerv thread_data_local;
+ EVGL_API_Thread_Command_glGetIntegerv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetIntegerv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramiv(GLuint program, GLenum pname, GLint* params);
+ * void
+ * glGetProgramiv(GLuint program, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramiv(void *data)
{
- EVGL_API_Thread_Command_glGetProgramiv *thread_param =
+ EVGL_API_Thread_Command_glGetProgramiv *thread_data =
(EVGL_API_Thread_Command_glGetProgramiv *)data;
- orig_evgl_api_glGetProgramiv(thread_param->program,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetProgramiv(thread_data->program,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramiv thread_param_local;
- EVGL_API_Thread_Command_glGetProgramiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramiv thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, char* infolog);
+ * void
+ * glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, char* infolog);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramInfoLog(void *data)
{
- EVGL_API_Thread_Command_glGetProgramInfoLog *thread_param =
+ EVGL_API_Thread_Command_glGetProgramInfoLog *thread_data =
(EVGL_API_Thread_Command_glGetProgramInfoLog *)data;
- orig_evgl_api_glGetProgramInfoLog(thread_param->program,
- thread_param->bufsize,
- thread_param->length,
- thread_param->infolog);
+ orig_evgl_api_glGetProgramInfoLog(thread_data->program,
+ thread_data->bufsize,
+ thread_data->length,
+ thread_data->infolog);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramInfoLog thread_param_local;
- EVGL_API_Thread_Command_glGetProgramInfoLog *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramInfoLog thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramInfoLog *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->bufsize = bufsize;
- thread_param->length = length;
- thread_param->infolog = infolog;
+ thread_data->program = program;
+ thread_data->bufsize = bufsize;
+ thread_data->length = length;
+ thread_data->infolog = infolog;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramInfoLog,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params);
+ * void
+ * glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetRenderbufferParameteriv(void *data)
{
- EVGL_API_Thread_Command_glGetRenderbufferParameteriv *thread_param =
+ EVGL_API_Thread_Command_glGetRenderbufferParameteriv *thread_data =
(EVGL_API_Thread_Command_glGetRenderbufferParameteriv *)data;
- orig_evgl_api_glGetRenderbufferParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetRenderbufferParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetRenderbufferParameteriv thread_param_local;
- EVGL_API_Thread_Command_glGetRenderbufferParameteriv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetRenderbufferParameteriv thread_data_local;
+ EVGL_API_Thread_Command_glGetRenderbufferParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetRenderbufferParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
+ * void
+ * glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetShaderiv(void *data)
{
- EVGL_API_Thread_Command_glGetShaderiv *thread_param =
+ EVGL_API_Thread_Command_glGetShaderiv *thread_data =
(EVGL_API_Thread_Command_glGetShaderiv *)data;
- orig_evgl_api_glGetShaderiv(thread_param->shader,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetShaderiv(thread_data->shader,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetShaderiv thread_param_local;
- EVGL_API_Thread_Command_glGetShaderiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetShaderiv thread_data_local;
+ EVGL_API_Thread_Command_glGetShaderiv *thread_data = &thread_data_local;
- thread_param->shader = shader;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->shader = shader;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetShaderiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog);
+ * void
+ * glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, char* infolog);
*/
typedef struct
static void
_evgl_api_thread_glGetShaderInfoLog(void *data)
{
- EVGL_API_Thread_Command_glGetShaderInfoLog *thread_param =
+ EVGL_API_Thread_Command_glGetShaderInfoLog *thread_data =
(EVGL_API_Thread_Command_glGetShaderInfoLog *)data;
- orig_evgl_api_glGetShaderInfoLog(thread_param->shader,
- thread_param->bufsize,
- thread_param->length,
- thread_param->infolog);
+ orig_evgl_api_glGetShaderInfoLog(thread_data->shader,
+ thread_data->bufsize,
+ thread_data->length,
+ thread_data->infolog);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetShaderInfoLog thread_param_local;
- EVGL_API_Thread_Command_glGetShaderInfoLog *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetShaderInfoLog thread_data_local;
+ EVGL_API_Thread_Command_glGetShaderInfoLog *thread_data = &thread_data_local;
- thread_param->shader = shader;
- thread_param->bufsize = bufsize;
- thread_param->length = length;
- thread_param->infolog = infolog;
+ thread_data->shader = shader;
+ thread_data->bufsize = bufsize;
+ thread_data->length = length;
+ thread_data->infolog = infolog;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetShaderInfoLog,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
+ * void
+ * glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
*/
typedef struct
static void
_evgl_api_thread_glGetShaderPrecisionFormat(void *data)
{
- EVGL_API_Thread_Command_glGetShaderPrecisionFormat *thread_param =
+ EVGL_API_Thread_Command_glGetShaderPrecisionFormat *thread_data =
(EVGL_API_Thread_Command_glGetShaderPrecisionFormat *)data;
- orig_evgl_api_glGetShaderPrecisionFormat(thread_param->shadertype,
- thread_param->precisiontype,
- thread_param->range,
- thread_param->precision);
+ orig_evgl_api_glGetShaderPrecisionFormat(thread_data->shadertype,
+ thread_data->precisiontype,
+ thread_data->range,
+ thread_data->precision);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetShaderPrecisionFormat thread_param_local;
- EVGL_API_Thread_Command_glGetShaderPrecisionFormat *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetShaderPrecisionFormat thread_data_local;
+ EVGL_API_Thread_Command_glGetShaderPrecisionFormat *thread_data = &thread_data_local;
- thread_param->shadertype = shadertype;
- thread_param->precisiontype = precisiontype;
- thread_param->range = range;
- thread_param->precision = precision;
+ thread_data->shadertype = shadertype;
+ thread_data->precisiontype = precisiontype;
+ thread_data->range = range;
+ thread_data->precision = precision;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetShaderPrecisionFormat,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, char* source);
+ * void
+ * glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, char* source);
*/
typedef struct
static void
_evgl_api_thread_glGetShaderSource(void *data)
{
- EVGL_API_Thread_Command_glGetShaderSource *thread_param =
+ EVGL_API_Thread_Command_glGetShaderSource *thread_data =
(EVGL_API_Thread_Command_glGetShaderSource *)data;
- orig_evgl_api_glGetShaderSource(thread_param->shader,
- thread_param->bufsize,
- thread_param->length,
- thread_param->source);
+ orig_evgl_api_glGetShaderSource(thread_data->shader,
+ thread_data->bufsize,
+ thread_data->length,
+ thread_data->source);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetShaderSource thread_param_local;
- EVGL_API_Thread_Command_glGetShaderSource *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetShaderSource thread_data_local;
+ EVGL_API_Thread_Command_glGetShaderSource *thread_data = &thread_data_local;
- thread_param->shader = shader;
- thread_param->bufsize = bufsize;
- thread_param->length = length;
- thread_param->source = source;
+ thread_data->shader = shader;
+ thread_data->bufsize = bufsize;
+ thread_data->length = length;
+ thread_data->source = source;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetShaderSource,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- const GLubyte*
- glGetString(GLenum name);
+ * const GLubyte*
+ * glGetString(GLenum name);
*/
typedef struct
static void
_evgl_api_thread_glGetString(void *data)
{
- EVGL_API_Thread_Command_glGetString *thread_param =
+ EVGL_API_Thread_Command_glGetString *thread_data =
(EVGL_API_Thread_Command_glGetString *)data;
- thread_param->return_value = orig_evgl_api_glGetString(thread_param->name);
+ thread_data->return_value = orig_evgl_api_glGetString(thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetString thread_param_local;
- EVGL_API_Thread_Command_glGetString *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetString thread_data_local;
+ EVGL_API_Thread_Command_glGetString *thread_data = &thread_data_local;
- thread_param->name = name;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetString,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
+ * void
+ * glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexParameterfv(void *data)
{
- EVGL_API_Thread_Command_glGetTexParameterfv *thread_param =
+ EVGL_API_Thread_Command_glGetTexParameterfv *thread_data =
(EVGL_API_Thread_Command_glGetTexParameterfv *)data;
- orig_evgl_api_glGetTexParameterfv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexParameterfv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexParameterfv thread_param_local;
- EVGL_API_Thread_Command_glGetTexParameterfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexParameterfv thread_data_local;
+ EVGL_API_Thread_Command_glGetTexParameterfv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexParameterfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
+ * void
+ * glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexParameteriv(void *data)
{
- EVGL_API_Thread_Command_glGetTexParameteriv *thread_param =
+ EVGL_API_Thread_Command_glGetTexParameteriv *thread_data =
(EVGL_API_Thread_Command_glGetTexParameteriv *)data;
- orig_evgl_api_glGetTexParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexParameteriv thread_param_local;
- EVGL_API_Thread_Command_glGetTexParameteriv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexParameteriv thread_data_local;
+ EVGL_API_Thread_Command_glGetTexParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetUniformfv(GLuint program, GLint location, GLfloat* params);
+ * void
+ * glGetUniformfv(GLuint program, GLint location, GLfloat* params);
*/
typedef struct
static void
_evgl_api_thread_glGetUniformfv(void *data)
{
- EVGL_API_Thread_Command_glGetUniformfv *thread_param =
+ EVGL_API_Thread_Command_glGetUniformfv *thread_data =
(EVGL_API_Thread_Command_glGetUniformfv *)data;
- orig_evgl_api_glGetUniformfv(thread_param->program,
- thread_param->location,
- thread_param->params);
+ orig_evgl_api_glGetUniformfv(thread_data->program,
+ thread_data->location,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetUniformfv thread_param_local;
- EVGL_API_Thread_Command_glGetUniformfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetUniformfv thread_data_local;
+ EVGL_API_Thread_Command_glGetUniformfv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetUniformfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetUniformiv(GLuint program, GLint location, GLint* params);
+ * void
+ * glGetUniformiv(GLuint program, GLint location, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetUniformiv(void *data)
{
- EVGL_API_Thread_Command_glGetUniformiv *thread_param =
+ EVGL_API_Thread_Command_glGetUniformiv *thread_data =
(EVGL_API_Thread_Command_glGetUniformiv *)data;
- orig_evgl_api_glGetUniformiv(thread_param->program,
- thread_param->location,
- thread_param->params);
+ orig_evgl_api_glGetUniformiv(thread_data->program,
+ thread_data->location,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetUniformiv thread_param_local;
- EVGL_API_Thread_Command_glGetUniformiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetUniformiv thread_data_local;
+ EVGL_API_Thread_Command_glGetUniformiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetUniformiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- int
- glGetUniformLocation(GLuint program, const char* name);
+ * int
+ * glGetUniformLocation(GLuint program, const char* name);
*/
typedef struct
static void
_evgl_api_thread_glGetUniformLocation(void *data)
{
- EVGL_API_Thread_Command_glGetUniformLocation *thread_param =
+ EVGL_API_Thread_Command_glGetUniformLocation *thread_data =
(EVGL_API_Thread_Command_glGetUniformLocation *)data;
- thread_param->return_value = orig_evgl_api_glGetUniformLocation(thread_param->program,
- thread_param->name);
+ thread_data->return_value = orig_evgl_api_glGetUniformLocation(thread_data->program,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetUniformLocation thread_param_local;
- EVGL_API_Thread_Command_glGetUniformLocation *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetUniformLocation thread_data_local;
+ EVGL_API_Thread_Command_glGetUniformLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetUniformLocation,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
+ * void
+ * glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
*/
typedef struct
static void
_evgl_api_thread_glGetVertexAttribfv(void *data)
{
- EVGL_API_Thread_Command_glGetVertexAttribfv *thread_param =
+ EVGL_API_Thread_Command_glGetVertexAttribfv *thread_data =
(EVGL_API_Thread_Command_glGetVertexAttribfv *)data;
- orig_evgl_api_glGetVertexAttribfv(thread_param->index,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetVertexAttribfv(thread_data->index,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetVertexAttribfv thread_param_local;
- EVGL_API_Thread_Command_glGetVertexAttribfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetVertexAttribfv thread_data_local;
+ EVGL_API_Thread_Command_glGetVertexAttribfv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->index = index;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetVertexAttribfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
+ * void
+ * glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetVertexAttribiv(void *data)
{
- EVGL_API_Thread_Command_glGetVertexAttribiv *thread_param =
+ EVGL_API_Thread_Command_glGetVertexAttribiv *thread_data =
(EVGL_API_Thread_Command_glGetVertexAttribiv *)data;
- orig_evgl_api_glGetVertexAttribiv(thread_param->index,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetVertexAttribiv(thread_data->index,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetVertexAttribiv thread_param_local;
- EVGL_API_Thread_Command_glGetVertexAttribiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetVertexAttribiv thread_data_local;
+ EVGL_API_Thread_Command_glGetVertexAttribiv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->index = index;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetVertexAttribiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer);
+ * void
+ * glGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer);
*/
typedef struct
static void
_evgl_api_thread_glGetVertexAttribPointerv(void *data)
{
- EVGL_API_Thread_Command_glGetVertexAttribPointerv *thread_param =
+ EVGL_API_Thread_Command_glGetVertexAttribPointerv *thread_data =
(EVGL_API_Thread_Command_glGetVertexAttribPointerv *)data;
- orig_evgl_api_glGetVertexAttribPointerv(thread_param->index,
- thread_param->pname,
- thread_param->pointer);
+ orig_evgl_api_glGetVertexAttribPointerv(thread_data->index,
+ thread_data->pname,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetVertexAttribPointerv thread_param_local;
- EVGL_API_Thread_Command_glGetVertexAttribPointerv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetVertexAttribPointerv thread_data_local;
+ EVGL_API_Thread_Command_glGetVertexAttribPointerv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->pname = pname;
- thread_param->pointer = pointer;
+ thread_data->index = index;
+ thread_data->pname = pname;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetVertexAttribPointerv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glHint(GLenum target, GLenum mode);
+ * void
+ * glHint(GLenum target, GLenum mode);
*/
typedef struct
static void
_evgl_api_thread_glHint(void *data)
{
- EVGL_API_Thread_Command_glHint *thread_param =
+ EVGL_API_Thread_Command_glHint *thread_data =
(EVGL_API_Thread_Command_glHint *)data;
- orig_evgl_api_glHint(thread_param->target,
- thread_param->mode);
+ orig_evgl_api_glHint(thread_data->target,
+ thread_data->mode);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glHint thread_param_local;
- EVGL_API_Thread_Command_glHint *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glHint thread_data_local;
+ EVGL_API_Thread_Command_glHint *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glHint *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glHint));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glHint *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glHint));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->mode = mode;
+ thread_data->target = target;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glHint,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsBuffer(GLuint buffer);
+ * GLboolean
+ * glIsBuffer(GLuint buffer);
*/
typedef struct
static void
_evgl_api_thread_glIsBuffer(void *data)
{
- EVGL_API_Thread_Command_glIsBuffer *thread_param =
+ EVGL_API_Thread_Command_glIsBuffer *thread_data =
(EVGL_API_Thread_Command_glIsBuffer *)data;
- thread_param->return_value = orig_evgl_api_glIsBuffer(thread_param->buffer);
+ thread_data->return_value = orig_evgl_api_glIsBuffer(thread_data->buffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsBuffer thread_param_local;
- EVGL_API_Thread_Command_glIsBuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsBuffer thread_data_local;
+ EVGL_API_Thread_Command_glIsBuffer *thread_data = &thread_data_local;
- thread_param->buffer = buffer;
+ thread_data->buffer = buffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsBuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsEnabled(GLenum cap);
+ * GLboolean
+ * glIsEnabled(GLenum cap);
*/
typedef struct
static void
_evgl_api_thread_glIsEnabled(void *data)
{
- EVGL_API_Thread_Command_glIsEnabled *thread_param =
+ EVGL_API_Thread_Command_glIsEnabled *thread_data =
(EVGL_API_Thread_Command_glIsEnabled *)data;
- thread_param->return_value = orig_evgl_api_glIsEnabled(thread_param->cap);
+ thread_data->return_value = orig_evgl_api_glIsEnabled(thread_data->cap);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsEnabled thread_param_local;
- EVGL_API_Thread_Command_glIsEnabled *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsEnabled thread_data_local;
+ EVGL_API_Thread_Command_glIsEnabled *thread_data = &thread_data_local;
- thread_param->cap = cap;
+ thread_data->cap = cap;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsEnabled,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsFramebuffer(GLuint framebuffer);
+ * GLboolean
+ * glIsFramebuffer(GLuint framebuffer);
*/
typedef struct
static void
_evgl_api_thread_glIsFramebuffer(void *data)
{
- EVGL_API_Thread_Command_glIsFramebuffer *thread_param =
+ EVGL_API_Thread_Command_glIsFramebuffer *thread_data =
(EVGL_API_Thread_Command_glIsFramebuffer *)data;
- thread_param->return_value = orig_evgl_api_glIsFramebuffer(thread_param->framebuffer);
+ thread_data->return_value = orig_evgl_api_glIsFramebuffer(thread_data->framebuffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsFramebuffer thread_param_local;
- EVGL_API_Thread_Command_glIsFramebuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsFramebuffer thread_data_local;
+ EVGL_API_Thread_Command_glIsFramebuffer *thread_data = &thread_data_local;
- thread_param->framebuffer = framebuffer;
+ thread_data->framebuffer = framebuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsProgram(GLuint program);
+ * GLboolean
+ * glIsProgram(GLuint program);
*/
typedef struct
static void
_evgl_api_thread_glIsProgram(void *data)
{
- EVGL_API_Thread_Command_glIsProgram *thread_param =
+ EVGL_API_Thread_Command_glIsProgram *thread_data =
(EVGL_API_Thread_Command_glIsProgram *)data;
- thread_param->return_value = orig_evgl_api_glIsProgram(thread_param->program);
+ thread_data->return_value = orig_evgl_api_glIsProgram(thread_data->program);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsProgram thread_param_local;
- EVGL_API_Thread_Command_glIsProgram *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsProgram thread_data_local;
+ EVGL_API_Thread_Command_glIsProgram *thread_data = &thread_data_local;
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsProgram,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsRenderbuffer(GLuint renderbuffer);
+ * GLboolean
+ * glIsRenderbuffer(GLuint renderbuffer);
*/
typedef struct
static void
_evgl_api_thread_glIsRenderbuffer(void *data)
{
- EVGL_API_Thread_Command_glIsRenderbuffer *thread_param =
+ EVGL_API_Thread_Command_glIsRenderbuffer *thread_data =
(EVGL_API_Thread_Command_glIsRenderbuffer *)data;
- thread_param->return_value = orig_evgl_api_glIsRenderbuffer(thread_param->renderbuffer);
+ thread_data->return_value = orig_evgl_api_glIsRenderbuffer(thread_data->renderbuffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsRenderbuffer thread_param_local;
- EVGL_API_Thread_Command_glIsRenderbuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsRenderbuffer thread_data_local;
+ EVGL_API_Thread_Command_glIsRenderbuffer *thread_data = &thread_data_local;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsRenderbuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsShader(GLuint shader);
+ * GLboolean
+ * glIsShader(GLuint shader);
*/
typedef struct
static void
_evgl_api_thread_glIsShader(void *data)
{
- EVGL_API_Thread_Command_glIsShader *thread_param =
+ EVGL_API_Thread_Command_glIsShader *thread_data =
(EVGL_API_Thread_Command_glIsShader *)data;
- thread_param->return_value = orig_evgl_api_glIsShader(thread_param->shader);
+ thread_data->return_value = orig_evgl_api_glIsShader(thread_data->shader);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsShader thread_param_local;
- EVGL_API_Thread_Command_glIsShader *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsShader thread_data_local;
+ EVGL_API_Thread_Command_glIsShader *thread_data = &thread_data_local;
- thread_param->shader = shader;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsShader,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsTexture(GLuint texture);
+ * GLboolean
+ * glIsTexture(GLuint texture);
*/
typedef struct
static void
_evgl_api_thread_glIsTexture(void *data)
{
- EVGL_API_Thread_Command_glIsTexture *thread_param =
+ EVGL_API_Thread_Command_glIsTexture *thread_data =
(EVGL_API_Thread_Command_glIsTexture *)data;
- thread_param->return_value = orig_evgl_api_glIsTexture(thread_param->texture);
+ thread_data->return_value = orig_evgl_api_glIsTexture(thread_data->texture);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsTexture thread_param_local;
- EVGL_API_Thread_Command_glIsTexture *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsTexture thread_data_local;
+ EVGL_API_Thread_Command_glIsTexture *thread_data = &thread_data_local;
- thread_param->texture = texture;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsTexture,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glLineWidth(GLfloat width);
+ * void
+ * glLineWidth(GLfloat width);
*/
typedef struct
static void
_evgl_api_thread_glLineWidth(void *data)
{
- EVGL_API_Thread_Command_glLineWidth *thread_param =
+ EVGL_API_Thread_Command_glLineWidth *thread_data =
(EVGL_API_Thread_Command_glLineWidth *)data;
- orig_evgl_api_glLineWidth(thread_param->width);
+ orig_evgl_api_glLineWidth(thread_data->width);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLineWidth thread_param_local;
- EVGL_API_Thread_Command_glLineWidth *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLineWidth thread_data_local;
+ EVGL_API_Thread_Command_glLineWidth *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glLineWidth *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glLineWidth));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glLineWidth *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glLineWidth));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->width = width;
+ thread_data->width = width;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLineWidth,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLinkProgram(GLuint program);
+ * void
+ * glLinkProgram(GLuint program);
*/
typedef struct
static void
_evgl_api_thread_glLinkProgram(void *data)
{
- EVGL_API_Thread_Command_glLinkProgram *thread_param =
+ EVGL_API_Thread_Command_glLinkProgram *thread_data =
(EVGL_API_Thread_Command_glLinkProgram *)data;
- orig_evgl_api_glLinkProgram(thread_param->program);
+ orig_evgl_api_glLinkProgram(thread_data->program);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLinkProgram thread_param_local;
- EVGL_API_Thread_Command_glLinkProgram *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLinkProgram thread_data_local;
+ EVGL_API_Thread_Command_glLinkProgram *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glLinkProgram *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glLinkProgram));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glLinkProgram *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glLinkProgram));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLinkProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPixelStorei(GLenum pname, GLint param);
+ * void
+ * glPixelStorei(GLenum pname, GLint param);
*/
typedef struct
static void
_evgl_api_thread_glPixelStorei(void *data)
{
- EVGL_API_Thread_Command_glPixelStorei *thread_param =
+ EVGL_API_Thread_Command_glPixelStorei *thread_data =
(EVGL_API_Thread_Command_glPixelStorei *)data;
- orig_evgl_api_glPixelStorei(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glPixelStorei(thread_data->pname,
+ thread_data->param);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPixelStorei thread_param_local;
- EVGL_API_Thread_Command_glPixelStorei *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPixelStorei thread_data_local;
+ EVGL_API_Thread_Command_glPixelStorei *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glPixelStorei *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glPixelStorei));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glPixelStorei *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glPixelStorei));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPixelStorei,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPolygonOffset(GLfloat factor, GLfloat units);
+ * void
+ * glPolygonOffset(GLfloat factor, GLfloat units);
*/
typedef struct
static void
_evgl_api_thread_glPolygonOffset(void *data)
{
- EVGL_API_Thread_Command_glPolygonOffset *thread_param =
+ EVGL_API_Thread_Command_glPolygonOffset *thread_data =
(EVGL_API_Thread_Command_glPolygonOffset *)data;
- orig_evgl_api_glPolygonOffset(thread_param->factor,
- thread_param->units);
+ orig_evgl_api_glPolygonOffset(thread_data->factor,
+ thread_data->units);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPolygonOffset thread_param_local;
- EVGL_API_Thread_Command_glPolygonOffset *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPolygonOffset thread_data_local;
+ EVGL_API_Thread_Command_glPolygonOffset *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glPolygonOffset *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glPolygonOffset));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glPolygonOffset *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glPolygonOffset));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->factor = factor;
- thread_param->units = units;
+ thread_data->factor = factor;
+ thread_data->units = units;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPolygonOffset,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels);
+ * void
+ * glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels);
*/
typedef struct
static void
_evgl_api_thread_glReadPixels(void *data)
{
- EVGL_API_Thread_Command_glReadPixels *thread_param =
+ EVGL_API_Thread_Command_glReadPixels *thread_data =
(EVGL_API_Thread_Command_glReadPixels *)data;
- orig_evgl_api_glReadPixels(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ orig_evgl_api_glReadPixels(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glReadPixels thread_param_local;
- EVGL_API_Thread_Command_glReadPixels *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glReadPixels thread_data_local;
+ EVGL_API_Thread_Command_glReadPixels *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glReadPixels,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glReleaseShaderCompiler(void);
+ * void
+ * glReleaseShaderCompiler(void);
*/
void (*orig_evgl_api_glReleaseShaderCompiler)(void);
}
/*
- void
- glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+ * void
+ * glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glRenderbufferStorage(void *data)
{
- EVGL_API_Thread_Command_glRenderbufferStorage *thread_param =
+ EVGL_API_Thread_Command_glRenderbufferStorage *thread_data =
(EVGL_API_Thread_Command_glRenderbufferStorage *)data;
- orig_evgl_api_glRenderbufferStorage(thread_param->target,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glRenderbufferStorage(thread_data->target,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glRenderbufferStorage thread_param_local;
- EVGL_API_Thread_Command_glRenderbufferStorage *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glRenderbufferStorage thread_data_local;
+ EVGL_API_Thread_Command_glRenderbufferStorage *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glRenderbufferStorage *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glRenderbufferStorage));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glRenderbufferStorage *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glRenderbufferStorage));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glRenderbufferStorage,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glSampleCoverage(GLclampf value, GLboolean invert);
+ * void
+ * glSampleCoverage(GLclampf value, GLboolean invert);
*/
typedef struct
static void
_evgl_api_thread_glSampleCoverage(void *data)
{
- EVGL_API_Thread_Command_glSampleCoverage *thread_param =
+ EVGL_API_Thread_Command_glSampleCoverage *thread_data =
(EVGL_API_Thread_Command_glSampleCoverage *)data;
- orig_evgl_api_glSampleCoverage(thread_param->value,
- thread_param->invert);
+ orig_evgl_api_glSampleCoverage(thread_data->value,
+ thread_data->invert);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSampleCoverage thread_param_local;
- EVGL_API_Thread_Command_glSampleCoverage *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSampleCoverage thread_data_local;
+ EVGL_API_Thread_Command_glSampleCoverage *thread_data = &thread_data_local;
- thread_param->value = value;
- thread_param->invert = invert;
+ thread_data->value = value;
+ thread_data->invert = invert;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSampleCoverage,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glScissor(void *data)
{
- EVGL_API_Thread_Command_glScissor *thread_param =
+ EVGL_API_Thread_Command_glScissor *thread_data =
(EVGL_API_Thread_Command_glScissor *)data;
- orig_evgl_api_glScissor(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glScissor(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glScissor thread_param_local;
- EVGL_API_Thread_Command_glScissor *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glScissor thread_data_local;
+ EVGL_API_Thread_Command_glScissor *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glScissor *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glScissor));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glScissor *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glScissor));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glScissor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLsizei length);
+ * void
+ * glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, GLsizei length);
*/
typedef struct
static void
_evgl_api_thread_glShaderBinary(void *data)
{
- EVGL_API_Thread_Command_glShaderBinary *thread_param =
+ EVGL_API_Thread_Command_glShaderBinary *thread_data =
(EVGL_API_Thread_Command_glShaderBinary *)data;
- orig_evgl_api_glShaderBinary(thread_param->n,
- thread_param->shaders,
- thread_param->binaryformat,
- thread_param->binary,
- thread_param->length);
+ orig_evgl_api_glShaderBinary(thread_data->n,
+ thread_data->shaders,
+ thread_data->binaryformat,
+ thread_data->binary,
+ thread_data->length);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glShaderBinary thread_param_local;
- EVGL_API_Thread_Command_glShaderBinary *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glShaderBinary thread_data_local;
+ EVGL_API_Thread_Command_glShaderBinary *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->shaders = shaders;
- thread_param->binaryformat = binaryformat;
- thread_param->binary = binary;
- thread_param->length = length;
+ thread_data->n = n;
+ thread_data->shaders = shaders;
+ thread_data->binaryformat = binaryformat;
+ thread_data->binary = binary;
+ thread_data->length = length;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glShaderBinary,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glShaderSource(GLuint shader, GLsizei count, const char* const * string, const GLint* length);
+ * void
+ * glShaderSource(GLuint shader, GLsizei count, const char* const * string, const GLint* length);
*/
typedef struct
static void
_evgl_api_thread_glShaderSource(void *data)
{
- EVGL_API_Thread_Command_glShaderSource *thread_param =
+ EVGL_API_Thread_Command_glShaderSource *thread_data =
(EVGL_API_Thread_Command_glShaderSource *)data;
- orig_evgl_api_glShaderSource(thread_param->shader,
- thread_param->count,
- thread_param->string,
- thread_param->length);
+ orig_evgl_api_glShaderSource(thread_data->shader,
+ thread_data->count,
+ thread_data->string,
+ thread_data->length);
GLSHADERSOURCE_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glShaderSource thread_param_local;
- EVGL_API_Thread_Command_glShaderSource *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glShaderSource thread_data_local;
+ EVGL_API_Thread_Command_glShaderSource *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glShaderSource *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glShaderSource));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glShaderSource *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glShaderSource));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->shader = shader;
- thread_param->count = count;
- thread_param->string = string;
- thread_param->length = length;
+ thread_data->shader = shader;
+ thread_data->count = count;
+ thread_data->string = string;
+ thread_data->length = length;
GLSHADERSOURCE_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glShaderSource,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glStencilFunc(GLenum func, GLint ref, GLuint mask);
+ * void
+ * glStencilFunc(GLenum func, GLint ref, GLuint mask);
*/
typedef struct
static void
_evgl_api_thread_glStencilFunc(void *data)
{
- EVGL_API_Thread_Command_glStencilFunc *thread_param =
+ EVGL_API_Thread_Command_glStencilFunc *thread_data =
(EVGL_API_Thread_Command_glStencilFunc *)data;
- orig_evgl_api_glStencilFunc(thread_param->func,
- thread_param->ref,
- thread_param->mask);
+ orig_evgl_api_glStencilFunc(thread_data->func,
+ thread_data->ref,
+ thread_data->mask);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glStencilFunc thread_param_local;
- EVGL_API_Thread_Command_glStencilFunc *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glStencilFunc thread_data_local;
+ EVGL_API_Thread_Command_glStencilFunc *thread_data = &thread_data_local;
- thread_param->func = func;
- thread_param->ref = ref;
- thread_param->mask = mask;
+ thread_data->func = func;
+ thread_data->ref = ref;
+ thread_data->mask = mask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glStencilFunc,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
+ * void
+ * glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
*/
typedef struct
static void
_evgl_api_thread_glStencilFuncSeparate(void *data)
{
- EVGL_API_Thread_Command_glStencilFuncSeparate *thread_param =
+ EVGL_API_Thread_Command_glStencilFuncSeparate *thread_data =
(EVGL_API_Thread_Command_glStencilFuncSeparate *)data;
- orig_evgl_api_glStencilFuncSeparate(thread_param->face,
- thread_param->func,
- thread_param->ref,
- thread_param->mask);
+ orig_evgl_api_glStencilFuncSeparate(thread_data->face,
+ thread_data->func,
+ thread_data->ref,
+ thread_data->mask);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glStencilFuncSeparate thread_param_local;
- EVGL_API_Thread_Command_glStencilFuncSeparate *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glStencilFuncSeparate thread_data_local;
+ EVGL_API_Thread_Command_glStencilFuncSeparate *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->func = func;
- thread_param->ref = ref;
- thread_param->mask = mask;
+ thread_data->face = face;
+ thread_data->func = func;
+ thread_data->ref = ref;
+ thread_data->mask = mask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glStencilFuncSeparate,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glStencilMask(GLuint mask);
+ * void
+ * glStencilMask(GLuint mask);
*/
typedef struct
static void
_evgl_api_thread_glStencilMask(void *data)
{
- EVGL_API_Thread_Command_glStencilMask *thread_param =
+ EVGL_API_Thread_Command_glStencilMask *thread_data =
(EVGL_API_Thread_Command_glStencilMask *)data;
- orig_evgl_api_glStencilMask(thread_param->mask);
+ orig_evgl_api_glStencilMask(thread_data->mask);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glStencilMask thread_param_local;
- EVGL_API_Thread_Command_glStencilMask *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glStencilMask thread_data_local;
+ EVGL_API_Thread_Command_glStencilMask *thread_data = &thread_data_local;
- thread_param->mask = mask;
+ thread_data->mask = mask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glStencilMask,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glStencilMaskSeparate(GLenum face, GLuint mask);
+ * void
+ * glStencilMaskSeparate(GLenum face, GLuint mask);
*/
typedef struct
static void
_evgl_api_thread_glStencilMaskSeparate(void *data)
{
- EVGL_API_Thread_Command_glStencilMaskSeparate *thread_param =
+ EVGL_API_Thread_Command_glStencilMaskSeparate *thread_data =
(EVGL_API_Thread_Command_glStencilMaskSeparate *)data;
- orig_evgl_api_glStencilMaskSeparate(thread_param->face,
- thread_param->mask);
+ orig_evgl_api_glStencilMaskSeparate(thread_data->face,
+ thread_data->mask);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glStencilMaskSeparate thread_param_local;
- EVGL_API_Thread_Command_glStencilMaskSeparate *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glStencilMaskSeparate thread_data_local;
+ EVGL_API_Thread_Command_glStencilMaskSeparate *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->mask = mask;
+ thread_data->face = face;
+ thread_data->mask = mask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glStencilMaskSeparate,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
+ * void
+ * glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
*/
typedef struct
static void
_evgl_api_thread_glStencilOp(void *data)
{
- EVGL_API_Thread_Command_glStencilOp *thread_param =
+ EVGL_API_Thread_Command_glStencilOp *thread_data =
(EVGL_API_Thread_Command_glStencilOp *)data;
- orig_evgl_api_glStencilOp(thread_param->fail,
- thread_param->zfail,
- thread_param->zpass);
+ orig_evgl_api_glStencilOp(thread_data->fail,
+ thread_data->zfail,
+ thread_data->zpass);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glStencilOp thread_param_local;
- EVGL_API_Thread_Command_glStencilOp *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glStencilOp thread_data_local;
+ EVGL_API_Thread_Command_glStencilOp *thread_data = &thread_data_local;
- thread_param->fail = fail;
- thread_param->zfail = zfail;
- thread_param->zpass = zpass;
+ thread_data->fail = fail;
+ thread_data->zfail = zfail;
+ thread_data->zpass = zpass;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glStencilOp,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
+ * void
+ * glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
*/
typedef struct
static void
_evgl_api_thread_glStencilOpSeparate(void *data)
{
- EVGL_API_Thread_Command_glStencilOpSeparate *thread_param =
+ EVGL_API_Thread_Command_glStencilOpSeparate *thread_data =
(EVGL_API_Thread_Command_glStencilOpSeparate *)data;
- orig_evgl_api_glStencilOpSeparate(thread_param->face,
- thread_param->fail,
- thread_param->zfail,
- thread_param->zpass);
+ orig_evgl_api_glStencilOpSeparate(thread_data->face,
+ thread_data->fail,
+ thread_data->zfail,
+ thread_data->zpass);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glStencilOpSeparate thread_param_local;
- EVGL_API_Thread_Command_glStencilOpSeparate *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glStencilOpSeparate thread_data_local;
+ EVGL_API_Thread_Command_glStencilOpSeparate *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->fail = fail;
- thread_param->zfail = zfail;
- thread_param->zpass = zpass;
+ thread_data->face = face;
+ thread_data->fail = fail;
+ thread_data->zfail = zfail;
+ thread_data->zpass = zpass;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glStencilOpSeparate,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels);
+ * void
+ * glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels);
*/
typedef struct
static void
_evgl_api_thread_glTexImage2D(void *data)
{
- EVGL_API_Thread_Command_glTexImage2D *thread_param =
+ EVGL_API_Thread_Command_glTexImage2D *thread_data =
(EVGL_API_Thread_Command_glTexImage2D *)data;
- orig_evgl_api_glTexImage2D(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->border,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ orig_evgl_api_glTexImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->border,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
GLTEXIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexImage2D thread_param_local;
- EVGL_API_Thread_Command_glTexImage2D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexImage2D thread_data_local;
+ EVGL_API_Thread_Command_glTexImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glTexImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glTexImage2D));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glTexImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glTexImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->border = border;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->border = border;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
GLTEXIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterf(GLenum target, GLenum pname, GLfloat param);
+ * void
+ * glTexParameterf(GLenum target, GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_api_thread_glTexParameterf(void *data)
{
- EVGL_API_Thread_Command_glTexParameterf *thread_param =
+ EVGL_API_Thread_Command_glTexParameterf *thread_data =
(EVGL_API_Thread_Command_glTexParameterf *)data;
- orig_evgl_api_glTexParameterf(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexParameterf(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexParameterf thread_param_local;
- EVGL_API_Thread_Command_glTexParameterf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexParameterf thread_data_local;
+ EVGL_API_Thread_Command_glTexParameterf *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glTexParameterf *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glTexParameterf));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glTexParameterf *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glTexParameterf));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexParameterf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
+ * void
+ * glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
*/
typedef struct
static void
_evgl_api_thread_glTexParameterfv(void *data)
{
- EVGL_API_Thread_Command_glTexParameterfv *thread_param =
+ EVGL_API_Thread_Command_glTexParameterfv *thread_data =
(EVGL_API_Thread_Command_glTexParameterfv *)data;
- orig_evgl_api_glTexParameterfv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexParameterfv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
- if (thread_param->params_copied)
- eina_mempool_free(_mp_default, thread_param->params_copied);
+ if (thread_data->params_copied)
+ eina_mempool_free(_mp_default, thread_data->params_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexParameterfv thread_param_local;
- EVGL_API_Thread_Command_glTexParameterfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexParameterfv thread_data_local;
+ EVGL_API_Thread_Command_glTexParameterfv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glTexParameterfv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glTexParameterfv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glTexParameterfv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glTexParameterfv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
- thread_param->params_copied = NULL;
+ thread_data->params_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->params_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->params_copied)
+ thread_data->params_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->params_copied)
{
- memcpy(thread_param->params_copied, params, copy_size);
+ memcpy(thread_data->params_copied, params, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->params = (const GLfloat *)thread_param->params_copied;
+ thread_data->params = (const GLfloat *)thread_data->params_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexParameterfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameteri(GLenum target, GLenum pname, GLint param);
+ * void
+ * glTexParameteri(GLenum target, GLenum pname, GLint param);
*/
typedef struct
static void
_evgl_api_thread_glTexParameteri(void *data)
{
- EVGL_API_Thread_Command_glTexParameteri *thread_param =
+ EVGL_API_Thread_Command_glTexParameteri *thread_data =
(EVGL_API_Thread_Command_glTexParameteri *)data;
- orig_evgl_api_glTexParameteri(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexParameteri(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexParameteri thread_param_local;
- EVGL_API_Thread_Command_glTexParameteri *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexParameteri thread_data_local;
+ EVGL_API_Thread_Command_glTexParameteri *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glTexParameteri *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glTexParameteri));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glTexParameteri *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glTexParameteri));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexParameteri,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
+ * void
+ * glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glTexParameteriv(void *data)
{
- EVGL_API_Thread_Command_glTexParameteriv *thread_param =
+ EVGL_API_Thread_Command_glTexParameteriv *thread_data =
(EVGL_API_Thread_Command_glTexParameteriv *)data;
- orig_evgl_api_glTexParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
- if (thread_param->params_copied)
- eina_mempool_free(_mp_default, thread_param->params_copied);
+ if (thread_data->params_copied)
+ eina_mempool_free(_mp_default, thread_data->params_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexParameteriv thread_param_local;
- EVGL_API_Thread_Command_glTexParameteriv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexParameteriv thread_data_local;
+ EVGL_API_Thread_Command_glTexParameteriv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glTexParameteriv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glTexParameteriv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glTexParameteriv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glTexParameteriv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
- thread_param->params_copied = NULL;
+ thread_data->params_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->params_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->params_copied)
+ thread_data->params_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->params_copied)
{
- memcpy(thread_param->params_copied, params, copy_size);
+ memcpy(thread_data->params_copied, params, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->params = (const GLint *)thread_param->params_copied;
+ thread_data->params = (const GLint *)thread_data->params_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels);
+ * void
+ * glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels);
*/
typedef struct
static void
_evgl_api_thread_glTexSubImage2D(void *data)
{
- EVGL_API_Thread_Command_glTexSubImage2D *thread_param =
+ EVGL_API_Thread_Command_glTexSubImage2D *thread_data =
(EVGL_API_Thread_Command_glTexSubImage2D *)data;
- orig_evgl_api_glTexSubImage2D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ orig_evgl_api_glTexSubImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
GLTEXSUBIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexSubImage2D thread_param_local;
- EVGL_API_Thread_Command_glTexSubImage2D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexSubImage2D thread_data_local;
+ EVGL_API_Thread_Command_glTexSubImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glTexSubImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glTexSubImage2D));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glTexSubImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glTexSubImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
GLTEXSUBIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexSubImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1f(GLint location, GLfloat x);
+ * void
+ * glUniform1f(GLint location, GLfloat x);
*/
typedef struct
static void
_evgl_api_thread_glUniform1f(void *data)
{
- EVGL_API_Thread_Command_glUniform1f *thread_param =
+ EVGL_API_Thread_Command_glUniform1f *thread_data =
(EVGL_API_Thread_Command_glUniform1f *)data;
- orig_evgl_api_glUniform1f(thread_param->location,
- thread_param->x);
+ orig_evgl_api_glUniform1f(thread_data->location,
+ thread_data->x);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform1f thread_param_local;
- EVGL_API_Thread_Command_glUniform1f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform1f thread_data_local;
+ EVGL_API_Thread_Command_glUniform1f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform1f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform1f));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform1f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform1f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->x = x;
+ thread_data->location = location;
+ thread_data->x = x;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform1f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
+ * void
+ * glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
*/
typedef struct
static void
_evgl_api_thread_glUniform1fv(void *data)
{
- EVGL_API_Thread_Command_glUniform1fv *thread_param =
+ EVGL_API_Thread_Command_glUniform1fv *thread_data =
(EVGL_API_Thread_Command_glUniform1fv *)data;
- orig_evgl_api_glUniform1fv(thread_param->location,
- thread_param->count,
- thread_param->v);
+ orig_evgl_api_glUniform1fv(thread_data->location,
+ thread_data->count,
+ thread_data->v);
- if (thread_param->v_copied)
- eina_mempool_free(_mp_uniform, thread_param->v_copied);
+ if (thread_data->v_copied)
+ eina_mempool_free(_mp_uniform, thread_data->v_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform1fv thread_param_local;
- EVGL_API_Thread_Command_glUniform1fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform1fv thread_data_local;
+ EVGL_API_Thread_Command_glUniform1fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform1fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform1fv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform1fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform1fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->v = v;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->v = v;
- thread_param->v_copied = NULL;
+ thread_data->v_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->v_copied)
+ thread_data->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->v_copied)
{
- memcpy(thread_param->v_copied, v, copy_size);
+ memcpy(thread_data->v_copied, v, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->v = (const GLfloat *)thread_param->v_copied;
+ thread_data->v = (const GLfloat *)thread_data->v_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform1fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1i(GLint location, GLint x);
+ * void
+ * glUniform1i(GLint location, GLint x);
*/
typedef struct
static void
_evgl_api_thread_glUniform1i(void *data)
{
- EVGL_API_Thread_Command_glUniform1i *thread_param =
+ EVGL_API_Thread_Command_glUniform1i *thread_data =
(EVGL_API_Thread_Command_glUniform1i *)data;
- orig_evgl_api_glUniform1i(thread_param->location,
- thread_param->x);
+ orig_evgl_api_glUniform1i(thread_data->location,
+ thread_data->x);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform1i thread_param_local;
- EVGL_API_Thread_Command_glUniform1i *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform1i thread_data_local;
+ EVGL_API_Thread_Command_glUniform1i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform1i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform1i));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform1i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform1i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->x = x;
+ thread_data->location = location;
+ thread_data->x = x;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform1i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1iv(GLint location, GLsizei count, const GLint* v);
+ * void
+ * glUniform1iv(GLint location, GLsizei count, const GLint* v);
*/
typedef struct
static void
_evgl_api_thread_glUniform1iv(void *data)
{
- EVGL_API_Thread_Command_glUniform1iv *thread_param =
+ EVGL_API_Thread_Command_glUniform1iv *thread_data =
(EVGL_API_Thread_Command_glUniform1iv *)data;
- orig_evgl_api_glUniform1iv(thread_param->location,
- thread_param->count,
- thread_param->v);
+ orig_evgl_api_glUniform1iv(thread_data->location,
+ thread_data->count,
+ thread_data->v);
- if (thread_param->v_copied)
- eina_mempool_free(_mp_uniform, thread_param->v_copied);
+ if (thread_data->v_copied)
+ eina_mempool_free(_mp_uniform, thread_data->v_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform1iv thread_param_local;
- EVGL_API_Thread_Command_glUniform1iv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform1iv thread_data_local;
+ EVGL_API_Thread_Command_glUniform1iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform1iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform1iv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform1iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform1iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->v = v;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->v = v;
- thread_param->v_copied = NULL;
+ thread_data->v_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->v_copied)
+ thread_data->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->v_copied)
{
- memcpy(thread_param->v_copied, v, copy_size);
+ memcpy(thread_data->v_copied, v, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->v = (const GLint *)thread_param->v_copied;
+ thread_data->v = (const GLint *)thread_data->v_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform1iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2f(GLint location, GLfloat x, GLfloat y);
+ * void
+ * glUniform2f(GLint location, GLfloat x, GLfloat y);
*/
typedef struct
static void
_evgl_api_thread_glUniform2f(void *data)
{
- EVGL_API_Thread_Command_glUniform2f *thread_param =
+ EVGL_API_Thread_Command_glUniform2f *thread_data =
(EVGL_API_Thread_Command_glUniform2f *)data;
- orig_evgl_api_glUniform2f(thread_param->location,
- thread_param->x,
- thread_param->y);
+ orig_evgl_api_glUniform2f(thread_data->location,
+ thread_data->x,
+ thread_data->y);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform2f thread_param_local;
- EVGL_API_Thread_Command_glUniform2f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform2f thread_data_local;
+ EVGL_API_Thread_Command_glUniform2f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform2f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform2f));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform2f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform2f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->x = x;
- thread_param->y = y;
+ thread_data->location = location;
+ thread_data->x = x;
+ thread_data->y = y;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform2f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
+ * void
+ * glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
*/
typedef struct
static void
_evgl_api_thread_glUniform2fv(void *data)
{
- EVGL_API_Thread_Command_glUniform2fv *thread_param =
+ EVGL_API_Thread_Command_glUniform2fv *thread_data =
(EVGL_API_Thread_Command_glUniform2fv *)data;
- orig_evgl_api_glUniform2fv(thread_param->location,
- thread_param->count,
- thread_param->v);
+ orig_evgl_api_glUniform2fv(thread_data->location,
+ thread_data->count,
+ thread_data->v);
- if (thread_param->v_copied)
- eina_mempool_free(_mp_uniform, thread_param->v_copied);
+ if (thread_data->v_copied)
+ eina_mempool_free(_mp_uniform, thread_data->v_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform2fv thread_param_local;
- EVGL_API_Thread_Command_glUniform2fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform2fv thread_data_local;
+ EVGL_API_Thread_Command_glUniform2fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform2fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform2fv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform2fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform2fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->v = v;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->v = v;
- thread_param->v_copied = NULL;
+ thread_data->v_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->v_copied)
+ thread_data->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->v_copied)
{
- memcpy(thread_param->v_copied, v, copy_size);
+ memcpy(thread_data->v_copied, v, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->v = (const GLfloat *)thread_param->v_copied;
+ thread_data->v = (const GLfloat *)thread_data->v_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2i(GLint location, GLint x, GLint y);
+ * void
+ * glUniform2i(GLint location, GLint x, GLint y);
*/
typedef struct
static void
_evgl_api_thread_glUniform2i(void *data)
{
- EVGL_API_Thread_Command_glUniform2i *thread_param =
+ EVGL_API_Thread_Command_glUniform2i *thread_data =
(EVGL_API_Thread_Command_glUniform2i *)data;
- orig_evgl_api_glUniform2i(thread_param->location,
- thread_param->x,
- thread_param->y);
+ orig_evgl_api_glUniform2i(thread_data->location,
+ thread_data->x,
+ thread_data->y);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform2i thread_param_local;
- EVGL_API_Thread_Command_glUniform2i *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform2i thread_data_local;
+ EVGL_API_Thread_Command_glUniform2i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform2i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform2i));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform2i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform2i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->x = x;
- thread_param->y = y;
+ thread_data->location = location;
+ thread_data->x = x;
+ thread_data->y = y;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform2i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2iv(GLint location, GLsizei count, const GLint* v);
+ * void
+ * glUniform2iv(GLint location, GLsizei count, const GLint* v);
*/
typedef struct
static void
_evgl_api_thread_glUniform2iv(void *data)
{
- EVGL_API_Thread_Command_glUniform2iv *thread_param =
+ EVGL_API_Thread_Command_glUniform2iv *thread_data =
(EVGL_API_Thread_Command_glUniform2iv *)data;
- orig_evgl_api_glUniform2iv(thread_param->location,
- thread_param->count,
- thread_param->v);
+ orig_evgl_api_glUniform2iv(thread_data->location,
+ thread_data->count,
+ thread_data->v);
- if (thread_param->v_copied)
- eina_mempool_free(_mp_uniform, thread_param->v_copied);
+ if (thread_data->v_copied)
+ eina_mempool_free(_mp_uniform, thread_data->v_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform2iv thread_param_local;
- EVGL_API_Thread_Command_glUniform2iv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform2iv thread_data_local;
+ EVGL_API_Thread_Command_glUniform2iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform2iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform2iv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform2iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform2iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->v = v;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->v = v;
- thread_param->v_copied = NULL;
+ thread_data->v_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->v_copied)
+ thread_data->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->v_copied)
{
- memcpy(thread_param->v_copied, v, copy_size);
+ memcpy(thread_data->v_copied, v, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->v = (const GLint *)thread_param->v_copied;
+ thread_data->v = (const GLint *)thread_data->v_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform2iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
+ * void
+ * glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
*/
typedef struct
static void
_evgl_api_thread_glUniform3f(void *data)
{
- EVGL_API_Thread_Command_glUniform3f *thread_param =
+ EVGL_API_Thread_Command_glUniform3f *thread_data =
(EVGL_API_Thread_Command_glUniform3f *)data;
- orig_evgl_api_glUniform3f(thread_param->location,
- thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glUniform3f(thread_data->location,
+ thread_data->x,
+ thread_data->y,
+ thread_data->z);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform3f thread_param_local;
- EVGL_API_Thread_Command_glUniform3f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform3f thread_data_local;
+ EVGL_API_Thread_Command_glUniform3f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform3f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform3f));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform3f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform3f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->location = location;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform3f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3fv(GLint location, GLsizei count, const GLfloat* v);
+ * void
+ * glUniform3fv(GLint location, GLsizei count, const GLfloat* v);
*/
typedef struct
static void
_evgl_api_thread_glUniform3fv(void *data)
{
- EVGL_API_Thread_Command_glUniform3fv *thread_param =
+ EVGL_API_Thread_Command_glUniform3fv *thread_data =
(EVGL_API_Thread_Command_glUniform3fv *)data;
- orig_evgl_api_glUniform3fv(thread_param->location,
- thread_param->count,
- thread_param->v);
+ orig_evgl_api_glUniform3fv(thread_data->location,
+ thread_data->count,
+ thread_data->v);
- if (thread_param->v_copied)
- eina_mempool_free(_mp_uniform, thread_param->v_copied);
+ if (thread_data->v_copied)
+ eina_mempool_free(_mp_uniform, thread_data->v_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform3fv thread_param_local;
- EVGL_API_Thread_Command_glUniform3fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform3fv thread_data_local;
+ EVGL_API_Thread_Command_glUniform3fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform3fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform3fv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform3fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform3fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->v = v;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->v = v;
- thread_param->v_copied = NULL;
+ thread_data->v_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->v_copied)
+ thread_data->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->v_copied)
{
- memcpy(thread_param->v_copied, v, copy_size);
+ memcpy(thread_data->v_copied, v, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->v = (const GLfloat *)thread_param->v_copied;
+ thread_data->v = (const GLfloat *)thread_data->v_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3i(GLint location, GLint x, GLint y, GLint z);
+ * void
+ * glUniform3i(GLint location, GLint x, GLint y, GLint z);
*/
typedef struct
static void
_evgl_api_thread_glUniform3i(void *data)
{
- EVGL_API_Thread_Command_glUniform3i *thread_param =
+ EVGL_API_Thread_Command_glUniform3i *thread_data =
(EVGL_API_Thread_Command_glUniform3i *)data;
- orig_evgl_api_glUniform3i(thread_param->location,
- thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glUniform3i(thread_data->location,
+ thread_data->x,
+ thread_data->y,
+ thread_data->z);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform3i thread_param_local;
- EVGL_API_Thread_Command_glUniform3i *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform3i thread_data_local;
+ EVGL_API_Thread_Command_glUniform3i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform3i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform3i));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform3i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform3i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->location = location;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform3i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3iv(GLint location, GLsizei count, const GLint* v);
+ * void
+ * glUniform3iv(GLint location, GLsizei count, const GLint* v);
*/
typedef struct
static void
_evgl_api_thread_glUniform3iv(void *data)
{
- EVGL_API_Thread_Command_glUniform3iv *thread_param =
+ EVGL_API_Thread_Command_glUniform3iv *thread_data =
(EVGL_API_Thread_Command_glUniform3iv *)data;
- orig_evgl_api_glUniform3iv(thread_param->location,
- thread_param->count,
- thread_param->v);
+ orig_evgl_api_glUniform3iv(thread_data->location,
+ thread_data->count,
+ thread_data->v);
- if (thread_param->v_copied)
- eina_mempool_free(_mp_uniform, thread_param->v_copied);
+ if (thread_data->v_copied)
+ eina_mempool_free(_mp_uniform, thread_data->v_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform3iv thread_param_local;
- EVGL_API_Thread_Command_glUniform3iv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform3iv thread_data_local;
+ EVGL_API_Thread_Command_glUniform3iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform3iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform3iv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform3iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform3iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->v = v;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->v = v;
- thread_param->v_copied = NULL;
+ thread_data->v_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->v_copied)
+ thread_data->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->v_copied)
{
- memcpy(thread_param->v_copied, v, copy_size);
+ memcpy(thread_data->v_copied, v, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->v = (const GLint *)thread_param->v_copied;
+ thread_data->v = (const GLint *)thread_data->v_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform3iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+ * void
+ * glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
*/
typedef struct
static void
_evgl_api_thread_glUniform4f(void *data)
{
- EVGL_API_Thread_Command_glUniform4f *thread_param =
+ EVGL_API_Thread_Command_glUniform4f *thread_data =
(EVGL_API_Thread_Command_glUniform4f *)data;
- orig_evgl_api_glUniform4f(thread_param->location,
- thread_param->x,
- thread_param->y,
- thread_param->z,
- thread_param->w);
+ orig_evgl_api_glUniform4f(thread_data->location,
+ thread_data->x,
+ thread_data->y,
+ thread_data->z,
+ thread_data->w);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform4f thread_param_local;
- EVGL_API_Thread_Command_glUniform4f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform4f thread_data_local;
+ EVGL_API_Thread_Command_glUniform4f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform4f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform4f));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform4f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform4f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
- thread_param->w = w;
+ thread_data->location = location;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
+ thread_data->w = w;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform4f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4fv(GLint location, GLsizei count, const GLfloat* v);
+ * void
+ * glUniform4fv(GLint location, GLsizei count, const GLfloat* v);
*/
typedef struct
static void
_evgl_api_thread_glUniform4fv(void *data)
{
- EVGL_API_Thread_Command_glUniform4fv *thread_param =
+ EVGL_API_Thread_Command_glUniform4fv *thread_data =
(EVGL_API_Thread_Command_glUniform4fv *)data;
- orig_evgl_api_glUniform4fv(thread_param->location,
- thread_param->count,
- thread_param->v);
+ orig_evgl_api_glUniform4fv(thread_data->location,
+ thread_data->count,
+ thread_data->v);
- if (thread_param->v_copied)
- eina_mempool_free(_mp_uniform, thread_param->v_copied);
+ if (thread_data->v_copied)
+ eina_mempool_free(_mp_uniform, thread_data->v_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform4fv thread_param_local;
- EVGL_API_Thread_Command_glUniform4fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform4fv thread_data_local;
+ EVGL_API_Thread_Command_glUniform4fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform4fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform4fv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform4fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform4fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->v = v;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->v = v;
- thread_param->v_copied = NULL;
+ thread_data->v_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->v_copied)
+ thread_data->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->v_copied)
{
- memcpy(thread_param->v_copied, v, copy_size);
+ memcpy(thread_data->v_copied, v, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->v = (const GLfloat *)thread_param->v_copied;
+ thread_data->v = (const GLfloat *)thread_data->v_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
+ * void
+ * glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
*/
typedef struct
static void
_evgl_api_thread_glUniform4i(void *data)
{
- EVGL_API_Thread_Command_glUniform4i *thread_param =
+ EVGL_API_Thread_Command_glUniform4i *thread_data =
(EVGL_API_Thread_Command_glUniform4i *)data;
- orig_evgl_api_glUniform4i(thread_param->location,
- thread_param->x,
- thread_param->y,
- thread_param->z,
- thread_param->w);
+ orig_evgl_api_glUniform4i(thread_data->location,
+ thread_data->x,
+ thread_data->y,
+ thread_data->z,
+ thread_data->w);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform4i thread_param_local;
- EVGL_API_Thread_Command_glUniform4i *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform4i thread_data_local;
+ EVGL_API_Thread_Command_glUniform4i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform4i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform4i));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform4i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform4i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
- thread_param->w = w;
+ thread_data->location = location;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
+ thread_data->w = w;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform4i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4iv(GLint location, GLsizei count, const GLint* v);
+ * void
+ * glUniform4iv(GLint location, GLsizei count, const GLint* v);
*/
typedef struct
static void
_evgl_api_thread_glUniform4iv(void *data)
{
- EVGL_API_Thread_Command_glUniform4iv *thread_param =
+ EVGL_API_Thread_Command_glUniform4iv *thread_data =
(EVGL_API_Thread_Command_glUniform4iv *)data;
- orig_evgl_api_glUniform4iv(thread_param->location,
- thread_param->count,
- thread_param->v);
+ orig_evgl_api_glUniform4iv(thread_data->location,
+ thread_data->count,
+ thread_data->v);
- if (thread_param->v_copied)
- eina_mempool_free(_mp_uniform, thread_param->v_copied);
+ if (thread_data->v_copied)
+ eina_mempool_free(_mp_uniform, thread_data->v_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform4iv thread_param_local;
- EVGL_API_Thread_Command_glUniform4iv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform4iv thread_data_local;
+ EVGL_API_Thread_Command_glUniform4iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniform4iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniform4iv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniform4iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniform4iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->v = v;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->v = v;
- thread_param->v_copied = NULL;
+ thread_data->v_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->v_copied)
+ thread_data->v_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->v_copied)
{
- memcpy(thread_param->v_copied, v, copy_size);
+ memcpy(thread_data->v_copied, v, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->v = (const GLint *)thread_param->v_copied;
+ thread_data->v = (const GLint *)thread_data->v_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform4iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
+ * void
+ * glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
*/
typedef struct
static void
_evgl_api_thread_glUniformMatrix2fv(void *data)
{
- EVGL_API_Thread_Command_glUniformMatrix2fv *thread_param =
+ EVGL_API_Thread_Command_glUniformMatrix2fv *thread_data =
(EVGL_API_Thread_Command_glUniformMatrix2fv *)data;
- orig_evgl_api_glUniformMatrix2fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glUniformMatrix2fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformMatrix2fv thread_param_local;
- EVGL_API_Thread_Command_glUniformMatrix2fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformMatrix2fv thread_data_local;
+ EVGL_API_Thread_Command_glUniformMatrix2fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniformMatrix2fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniformMatrix2fv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniformMatrix2fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniformMatrix2fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformMatrix2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
+ * void
+ * glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
*/
typedef struct
static void
_evgl_api_thread_glUniformMatrix3fv(void *data)
{
- EVGL_API_Thread_Command_glUniformMatrix3fv *thread_param =
+ EVGL_API_Thread_Command_glUniformMatrix3fv *thread_data =
(EVGL_API_Thread_Command_glUniformMatrix3fv *)data;
- orig_evgl_api_glUniformMatrix3fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glUniformMatrix3fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformMatrix3fv thread_param_local;
- EVGL_API_Thread_Command_glUniformMatrix3fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformMatrix3fv thread_data_local;
+ EVGL_API_Thread_Command_glUniformMatrix3fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniformMatrix3fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniformMatrix3fv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniformMatrix3fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniformMatrix3fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformMatrix3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
+ * void
+ * glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
*/
typedef struct
static void
_evgl_api_thread_glUniformMatrix4fv(void *data)
{
- EVGL_API_Thread_Command_glUniformMatrix4fv *thread_param =
+ EVGL_API_Thread_Command_glUniformMatrix4fv *thread_data =
(EVGL_API_Thread_Command_glUniformMatrix4fv *)data;
- orig_evgl_api_glUniformMatrix4fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glUniformMatrix4fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformMatrix4fv thread_param_local;
- EVGL_API_Thread_Command_glUniformMatrix4fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformMatrix4fv thread_data_local;
+ EVGL_API_Thread_Command_glUniformMatrix4fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUniformMatrix4fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUniformMatrix4fv));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUniformMatrix4fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUniformMatrix4fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformMatrix4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUseProgram(GLuint program);
+ * void
+ * glUseProgram(GLuint program);
*/
typedef struct
static void
_evgl_api_thread_glUseProgram(void *data)
{
- EVGL_API_Thread_Command_glUseProgram *thread_param =
+ EVGL_API_Thread_Command_glUseProgram *thread_data =
(EVGL_API_Thread_Command_glUseProgram *)data;
- orig_evgl_api_glUseProgram(thread_param->program);
+ orig_evgl_api_glUseProgram(thread_data->program);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUseProgram thread_param_local;
- EVGL_API_Thread_Command_glUseProgram *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUseProgram thread_data_local;
+ EVGL_API_Thread_Command_glUseProgram *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glUseProgram *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glUseProgram));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glUseProgram *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glUseProgram));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUseProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glValidateProgram(GLuint program);
+ * void
+ * glValidateProgram(GLuint program);
*/
typedef struct
static void
_evgl_api_thread_glValidateProgram(void *data)
{
- EVGL_API_Thread_Command_glValidateProgram *thread_param =
+ EVGL_API_Thread_Command_glValidateProgram *thread_data =
(EVGL_API_Thread_Command_glValidateProgram *)data;
- orig_evgl_api_glValidateProgram(thread_param->program);
+ orig_evgl_api_glValidateProgram(thread_data->program);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glValidateProgram thread_param_local;
- EVGL_API_Thread_Command_glValidateProgram *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glValidateProgram thread_data_local;
+ EVGL_API_Thread_Command_glValidateProgram *thread_data = &thread_data_local;
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glValidateProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttrib1f(GLuint indx, GLfloat x);
+ * void
+ * glVertexAttrib1f(GLuint indx, GLfloat x);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttrib1f(void *data)
{
- EVGL_API_Thread_Command_glVertexAttrib1f *thread_param =
+ EVGL_API_Thread_Command_glVertexAttrib1f *thread_data =
(EVGL_API_Thread_Command_glVertexAttrib1f *)data;
- orig_evgl_api_glVertexAttrib1f(thread_param->indx,
- thread_param->x);
+ orig_evgl_api_glVertexAttrib1f(thread_data->indx,
+ thread_data->x);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttrib1f thread_param_local;
- EVGL_API_Thread_Command_glVertexAttrib1f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttrib1f thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttrib1f *thread_data = &thread_data_local;
- thread_param->indx = indx;
- thread_param->x = x;
+ thread_data->indx = indx;
+ thread_data->x = x;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttrib1f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttrib1fv(GLuint indx, const GLfloat* values);
+ * void
+ * glVertexAttrib1fv(GLuint indx, const GLfloat* values);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttrib1fv(void *data)
{
- EVGL_API_Thread_Command_glVertexAttrib1fv *thread_param =
+ EVGL_API_Thread_Command_glVertexAttrib1fv *thread_data =
(EVGL_API_Thread_Command_glVertexAttrib1fv *)data;
- orig_evgl_api_glVertexAttrib1fv(thread_param->indx,
- thread_param->values);
+ orig_evgl_api_glVertexAttrib1fv(thread_data->indx,
+ thread_data->values);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttrib1fv thread_param_local;
- EVGL_API_Thread_Command_glVertexAttrib1fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttrib1fv thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttrib1fv *thread_data = &thread_data_local;
- thread_param->indx = indx;
- thread_param->values = values;
+ thread_data->indx = indx;
+ thread_data->values = values;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttrib1fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
+ * void
+ * glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttrib2f(void *data)
{
- EVGL_API_Thread_Command_glVertexAttrib2f *thread_param =
+ EVGL_API_Thread_Command_glVertexAttrib2f *thread_data =
(EVGL_API_Thread_Command_glVertexAttrib2f *)data;
- orig_evgl_api_glVertexAttrib2f(thread_param->indx,
- thread_param->x,
- thread_param->y);
+ orig_evgl_api_glVertexAttrib2f(thread_data->indx,
+ thread_data->x,
+ thread_data->y);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttrib2f thread_param_local;
- EVGL_API_Thread_Command_glVertexAttrib2f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttrib2f thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttrib2f *thread_data = &thread_data_local;
- thread_param->indx = indx;
- thread_param->x = x;
- thread_param->y = y;
+ thread_data->indx = indx;
+ thread_data->x = x;
+ thread_data->y = y;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttrib2f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttrib2fv(GLuint indx, const GLfloat* values);
+ * void
+ * glVertexAttrib2fv(GLuint indx, const GLfloat* values);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttrib2fv(void *data)
{
- EVGL_API_Thread_Command_glVertexAttrib2fv *thread_param =
+ EVGL_API_Thread_Command_glVertexAttrib2fv *thread_data =
(EVGL_API_Thread_Command_glVertexAttrib2fv *)data;
- orig_evgl_api_glVertexAttrib2fv(thread_param->indx,
- thread_param->values);
+ orig_evgl_api_glVertexAttrib2fv(thread_data->indx,
+ thread_data->values);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttrib2fv thread_param_local;
- EVGL_API_Thread_Command_glVertexAttrib2fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttrib2fv thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttrib2fv *thread_data = &thread_data_local;
- thread_param->indx = indx;
- thread_param->values = values;
+ thread_data->indx = indx;
+ thread_data->values = values;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttrib2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
+ * void
+ * glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttrib3f(void *data)
{
- EVGL_API_Thread_Command_glVertexAttrib3f *thread_param =
+ EVGL_API_Thread_Command_glVertexAttrib3f *thread_data =
(EVGL_API_Thread_Command_glVertexAttrib3f *)data;
- orig_evgl_api_glVertexAttrib3f(thread_param->indx,
- thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glVertexAttrib3f(thread_data->indx,
+ thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttrib3f thread_param_local;
- EVGL_API_Thread_Command_glVertexAttrib3f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttrib3f thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttrib3f *thread_data = &thread_data_local;
- thread_param->indx = indx;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->indx = indx;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttrib3f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttrib3fv(GLuint indx, const GLfloat* values);
+ * void
+ * glVertexAttrib3fv(GLuint indx, const GLfloat* values);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttrib3fv(void *data)
{
- EVGL_API_Thread_Command_glVertexAttrib3fv *thread_param =
+ EVGL_API_Thread_Command_glVertexAttrib3fv *thread_data =
(EVGL_API_Thread_Command_glVertexAttrib3fv *)data;
- orig_evgl_api_glVertexAttrib3fv(thread_param->indx,
- thread_param->values);
+ orig_evgl_api_glVertexAttrib3fv(thread_data->indx,
+ thread_data->values);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttrib3fv thread_param_local;
- EVGL_API_Thread_Command_glVertexAttrib3fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttrib3fv thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttrib3fv *thread_data = &thread_data_local;
- thread_param->indx = indx;
- thread_param->values = values;
+ thread_data->indx = indx;
+ thread_data->values = values;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttrib3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
+ * void
+ * glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttrib4f(void *data)
{
- EVGL_API_Thread_Command_glVertexAttrib4f *thread_param =
+ EVGL_API_Thread_Command_glVertexAttrib4f *thread_data =
(EVGL_API_Thread_Command_glVertexAttrib4f *)data;
- orig_evgl_api_glVertexAttrib4f(thread_param->indx,
- thread_param->x,
- thread_param->y,
- thread_param->z,
- thread_param->w);
+ orig_evgl_api_glVertexAttrib4f(thread_data->indx,
+ thread_data->x,
+ thread_data->y,
+ thread_data->z,
+ thread_data->w);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttrib4f thread_param_local;
- EVGL_API_Thread_Command_glVertexAttrib4f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttrib4f thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttrib4f *thread_data = &thread_data_local;
- thread_param->indx = indx;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
- thread_param->w = w;
+ thread_data->indx = indx;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
+ thread_data->w = w;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttrib4f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttrib4fv(GLuint indx, const GLfloat* values);
+ * void
+ * glVertexAttrib4fv(GLuint indx, const GLfloat* values);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttrib4fv(void *data)
{
- EVGL_API_Thread_Command_glVertexAttrib4fv *thread_param =
+ EVGL_API_Thread_Command_glVertexAttrib4fv *thread_data =
(EVGL_API_Thread_Command_glVertexAttrib4fv *)data;
- orig_evgl_api_glVertexAttrib4fv(thread_param->indx,
- thread_param->values);
+ orig_evgl_api_glVertexAttrib4fv(thread_data->indx,
+ thread_data->values);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttrib4fv thread_param_local;
- EVGL_API_Thread_Command_glVertexAttrib4fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttrib4fv thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttrib4fv *thread_data = &thread_data_local;
- thread_param->indx = indx;
- thread_param->values = values;
+ thread_data->indx = indx;
+ thread_data->values = values;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttrib4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr);
+ * void
+ * glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribPointer(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribPointer *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribPointer *thread_data =
(EVGL_API_Thread_Command_glVertexAttribPointer *)data;
- orig_evgl_api_glVertexAttribPointer(thread_param->indx,
- thread_param->size,
- thread_param->type,
- thread_param->normalized,
- thread_param->stride,
- thread_param->ptr);
+ orig_evgl_api_glVertexAttribPointer(thread_data->indx,
+ thread_data->size,
+ thread_data->type,
+ thread_data->normalized,
+ thread_data->stride,
+ thread_data->ptr);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribPointer thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribPointer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribPointer thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribPointer *thread_data = &thread_data_local;
- thread_param->indx = indx;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->normalized = normalized;
- thread_param->stride = stride;
- thread_param->ptr = ptr;
+ thread_data->indx = indx;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->normalized = normalized;
+ thread_data->stride = stride;
+ thread_data->ptr = ptr;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribPointer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glViewport(void *data)
{
- EVGL_API_Thread_Command_glViewport *thread_param =
+ EVGL_API_Thread_Command_glViewport *thread_data =
(EVGL_API_Thread_Command_glViewport *)data;
- orig_evgl_api_glViewport(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glViewport(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glViewport thread_param_local;
- EVGL_API_Thread_Command_glViewport *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glViewport thread_data_local;
+ EVGL_API_Thread_Command_glViewport *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glViewport *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glViewport));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glViewport *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glViewport));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glViewport,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEvasGLImageTargetTexture2DOES(GLenum target, EvasGLImage image);
+ * void
+ * glEvasGLImageTargetTexture2DOES(GLenum target, EvasGLImage image);
*/
typedef struct
static void
_evgl_api_thread_glEvasGLImageTargetTexture2DOES(void *data)
{
- EVGL_API_Thread_Command_glEvasGLImageTargetTexture2DOES *thread_param =
+ EVGL_API_Thread_Command_glEvasGLImageTargetTexture2DOES *thread_data =
(EVGL_API_Thread_Command_glEvasGLImageTargetTexture2DOES *)data;
- orig_evgl_api_glEvasGLImageTargetTexture2DOES(thread_param->target,
- thread_param->image);
+ orig_evgl_api_glEvasGLImageTargetTexture2DOES(thread_data->target,
+ thread_data->image);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEvasGLImageTargetTexture2DOES thread_param_local;
- EVGL_API_Thread_Command_glEvasGLImageTargetTexture2DOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEvasGLImageTargetTexture2DOES thread_data_local;
+ EVGL_API_Thread_Command_glEvasGLImageTargetTexture2DOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->image = image;
+ thread_data->target = target;
+ thread_data->image = image;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEvasGLImageTargetTexture2DOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEvasGLImageTargetRenderbufferStorageOES(GLenum target, EvasGLImage image);
+ * void
+ * glEvasGLImageTargetRenderbufferStorageOES(GLenum target, EvasGLImage image);
*/
typedef struct
static void
_evgl_api_thread_glEvasGLImageTargetRenderbufferStorageOES(void *data)
{
- EVGL_API_Thread_Command_glEvasGLImageTargetRenderbufferStorageOES *thread_param =
+ EVGL_API_Thread_Command_glEvasGLImageTargetRenderbufferStorageOES *thread_data =
(EVGL_API_Thread_Command_glEvasGLImageTargetRenderbufferStorageOES *)data;
- orig_evgl_api_glEvasGLImageTargetRenderbufferStorageOES(thread_param->target,
- thread_param->image);
+ orig_evgl_api_glEvasGLImageTargetRenderbufferStorageOES(thread_data->target,
+ thread_data->image);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEvasGLImageTargetRenderbufferStorageOES thread_param_local;
- EVGL_API_Thread_Command_glEvasGLImageTargetRenderbufferStorageOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEvasGLImageTargetRenderbufferStorageOES thread_data_local;
+ EVGL_API_Thread_Command_glEvasGLImageTargetRenderbufferStorageOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->image = image;
+ thread_data->target = target;
+ thread_data->image = image;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEvasGLImageTargetRenderbufferStorageOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
+ * void
+ * glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramBinaryOES(void *data)
{
- EVGL_API_Thread_Command_glGetProgramBinaryOES *thread_param =
+ EVGL_API_Thread_Command_glGetProgramBinaryOES *thread_data =
(EVGL_API_Thread_Command_glGetProgramBinaryOES *)data;
- orig_evgl_api_glGetProgramBinaryOES(thread_param->program,
- thread_param->bufSize,
- thread_param->length,
- thread_param->binaryFormat,
- thread_param->binary);
+ orig_evgl_api_glGetProgramBinaryOES(thread_data->program,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->binaryFormat,
+ thread_data->binary);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramBinaryOES thread_param_local;
- EVGL_API_Thread_Command_glGetProgramBinaryOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramBinaryOES thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramBinaryOES *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->binaryFormat = binaryFormat;
- thread_param->binary = binary;
+ thread_data->program = program;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->binaryFormat = binaryFormat;
+ thread_data->binary = binary;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramBinaryOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramBinaryOES(GLuint program, GLenum binaryFormat, const void *binary, GLint length);
+ * void
+ * glProgramBinaryOES(GLuint program, GLenum binaryFormat, const void *binary, GLint length);
*/
typedef struct
static void
_evgl_api_thread_glProgramBinaryOES(void *data)
{
- EVGL_API_Thread_Command_glProgramBinaryOES *thread_param =
+ EVGL_API_Thread_Command_glProgramBinaryOES *thread_data =
(EVGL_API_Thread_Command_glProgramBinaryOES *)data;
- orig_evgl_api_glProgramBinaryOES(thread_param->program,
- thread_param->binaryFormat,
- thread_param->binary,
- thread_param->length);
+ orig_evgl_api_glProgramBinaryOES(thread_data->program,
+ thread_data->binaryFormat,
+ thread_data->binary,
+ thread_data->length);
- if (thread_param->binary_copied)
- eina_mempool_free(_mp_default, thread_param->binary_copied);
+ if (thread_data->binary_copied)
+ eina_mempool_free(_mp_default, thread_data->binary_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramBinaryOES thread_param_local;
- EVGL_API_Thread_Command_glProgramBinaryOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramBinaryOES thread_data_local;
+ EVGL_API_Thread_Command_glProgramBinaryOES *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glProgramBinaryOES *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glProgramBinaryOES));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glProgramBinaryOES *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glProgramBinaryOES));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->binaryFormat = binaryFormat;
- thread_param->binary = binary;
- thread_param->length = length;
+ thread_data->program = program;
+ thread_data->binaryFormat = binaryFormat;
+ thread_data->binary = binary;
+ thread_data->length = length;
- thread_param->binary_copied = NULL;
+ thread_data->binary_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->binary_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->binary_copied)
+ thread_data->binary_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->binary_copied)
{
- memcpy(thread_param->binary_copied, binary, copy_size);
+ memcpy(thread_data->binary_copied, binary, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->binary = (const void *)thread_param->binary_copied;
+ thread_data->binary = (const void *)thread_data->binary_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramBinaryOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void *
- glMapBufferOES(GLenum target, GLenum access);
+ * void *
+ * glMapBufferOES(GLenum target, GLenum access);
*/
typedef struct
static void
_evgl_api_thread_glMapBufferOES(void *data)
{
- EVGL_API_Thread_Command_glMapBufferOES *thread_param =
+ EVGL_API_Thread_Command_glMapBufferOES *thread_data =
(EVGL_API_Thread_Command_glMapBufferOES *)data;
- thread_param->return_value = orig_evgl_api_glMapBufferOES(thread_param->target,
- thread_param->access);
+ thread_data->return_value = orig_evgl_api_glMapBufferOES(thread_data->target,
+ thread_data->access);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMapBufferOES thread_param_local;
- EVGL_API_Thread_Command_glMapBufferOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMapBufferOES thread_data_local;
+ EVGL_API_Thread_Command_glMapBufferOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->access = access;
+ thread_data->target = target;
+ thread_data->access = access;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMapBufferOES,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glUnmapBufferOES(GLenum target);
+ * GLboolean
+ * glUnmapBufferOES(GLenum target);
*/
typedef struct
static void
_evgl_api_thread_glUnmapBufferOES(void *data)
{
- EVGL_API_Thread_Command_glUnmapBufferOES *thread_param =
+ EVGL_API_Thread_Command_glUnmapBufferOES *thread_data =
(EVGL_API_Thread_Command_glUnmapBufferOES *)data;
- thread_param->return_value = orig_evgl_api_glUnmapBufferOES(thread_param->target);
+ thread_data->return_value = orig_evgl_api_glUnmapBufferOES(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUnmapBufferOES thread_param_local;
- EVGL_API_Thread_Command_glUnmapBufferOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUnmapBufferOES thread_data_local;
+ EVGL_API_Thread_Command_glUnmapBufferOES *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUnmapBufferOES,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetBufferPointervOES(GLenum target, GLenum pname, void** params);
+ * void
+ * glGetBufferPointervOES(GLenum target, GLenum pname, void** params);
*/
typedef struct
static void
_evgl_api_thread_glGetBufferPointervOES(void *data)
{
- EVGL_API_Thread_Command_glGetBufferPointervOES *thread_param =
+ EVGL_API_Thread_Command_glGetBufferPointervOES *thread_data =
(EVGL_API_Thread_Command_glGetBufferPointervOES *)data;
- orig_evgl_api_glGetBufferPointervOES(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetBufferPointervOES(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetBufferPointervOES thread_param_local;
- EVGL_API_Thread_Command_glGetBufferPointervOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetBufferPointervOES thread_data_local;
+ EVGL_API_Thread_Command_glGetBufferPointervOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetBufferPointervOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
+ * void
+ * glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
*/
typedef struct
static void
_evgl_api_thread_glTexImage3DOES(void *data)
{
- EVGL_API_Thread_Command_glTexImage3DOES *thread_param =
+ EVGL_API_Thread_Command_glTexImage3DOES *thread_data =
(EVGL_API_Thread_Command_glTexImage3DOES *)data;
- orig_evgl_api_glTexImage3DOES(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->depth,
- thread_param->border,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ orig_evgl_api_glTexImage3DOES(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth,
+ thread_data->border,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexImage3DOES thread_param_local;
- EVGL_API_Thread_Command_glTexImage3DOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexImage3DOES thread_data_local;
+ EVGL_API_Thread_Command_glTexImage3DOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
- thread_param->border = border;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
+ thread_data->border = border;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexImage3DOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
+ * void
+ * glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
*/
typedef struct
static void
_evgl_api_thread_glTexSubImage3DOES(void *data)
{
- EVGL_API_Thread_Command_glTexSubImage3DOES *thread_param =
+ EVGL_API_Thread_Command_glTexSubImage3DOES *thread_data =
(EVGL_API_Thread_Command_glTexSubImage3DOES *)data;
- orig_evgl_api_glTexSubImage3DOES(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->zoffset,
- thread_param->width,
- thread_param->height,
- thread_param->depth,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ orig_evgl_api_glTexSubImage3DOES(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->zoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexSubImage3DOES thread_param_local;
- EVGL_API_Thread_Command_glTexSubImage3DOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexSubImage3DOES thread_data_local;
+ EVGL_API_Thread_Command_glTexSubImage3DOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->zoffset = zoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->zoffset = zoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexSubImage3DOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCopyTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glCopyTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glCopyTexSubImage3DOES(void *data)
{
- EVGL_API_Thread_Command_glCopyTexSubImage3DOES *thread_param =
+ EVGL_API_Thread_Command_glCopyTexSubImage3DOES *thread_data =
(EVGL_API_Thread_Command_glCopyTexSubImage3DOES *)data;
- orig_evgl_api_glCopyTexSubImage3DOES(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->zoffset,
- thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glCopyTexSubImage3DOES(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->zoffset,
+ thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCopyTexSubImage3DOES thread_param_local;
- EVGL_API_Thread_Command_glCopyTexSubImage3DOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCopyTexSubImage3DOES thread_data_local;
+ EVGL_API_Thread_Command_glCopyTexSubImage3DOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->zoffset = zoffset;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->zoffset = zoffset;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCopyTexSubImage3DOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
+ * void
+ * glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
*/
typedef struct
static void
_evgl_api_thread_glCompressedTexImage3DOES(void *data)
{
- EVGL_API_Thread_Command_glCompressedTexImage3DOES *thread_param =
+ EVGL_API_Thread_Command_glCompressedTexImage3DOES *thread_data =
(EVGL_API_Thread_Command_glCompressedTexImage3DOES *)data;
- orig_evgl_api_glCompressedTexImage3DOES(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->depth,
- thread_param->border,
- thread_param->imageSize,
- thread_param->data);
+ orig_evgl_api_glCompressedTexImage3DOES(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth,
+ thread_data->border,
+ thread_data->imageSize,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCompressedTexImage3DOES thread_param_local;
- EVGL_API_Thread_Command_glCompressedTexImage3DOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCompressedTexImage3DOES thread_data_local;
+ EVGL_API_Thread_Command_glCompressedTexImage3DOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
- thread_param->border = border;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
+ thread_data->border = border;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCompressedTexImage3DOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
+ * void
+ * glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
*/
typedef struct
static void
_evgl_api_thread_glCompressedTexSubImage3DOES(void *data)
{
- EVGL_API_Thread_Command_glCompressedTexSubImage3DOES *thread_param =
+ EVGL_API_Thread_Command_glCompressedTexSubImage3DOES *thread_data =
(EVGL_API_Thread_Command_glCompressedTexSubImage3DOES *)data;
- orig_evgl_api_glCompressedTexSubImage3DOES(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->zoffset,
- thread_param->width,
- thread_param->height,
- thread_param->depth,
- thread_param->format,
- thread_param->imageSize,
- thread_param->data);
+ orig_evgl_api_glCompressedTexSubImage3DOES(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->zoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth,
+ thread_data->format,
+ thread_data->imageSize,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCompressedTexSubImage3DOES thread_param_local;
- EVGL_API_Thread_Command_glCompressedTexSubImage3DOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCompressedTexSubImage3DOES thread_data_local;
+ EVGL_API_Thread_Command_glCompressedTexSubImage3DOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->zoffset = zoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
- thread_param->format = format;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->zoffset = zoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
+ thread_data->format = format;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCompressedTexSubImage3DOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
+ * void
+ * glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferTexture3DOES(void *data)
{
- EVGL_API_Thread_Command_glFramebufferTexture3DOES *thread_param =
+ EVGL_API_Thread_Command_glFramebufferTexture3DOES *thread_data =
(EVGL_API_Thread_Command_glFramebufferTexture3DOES *)data;
- orig_evgl_api_glFramebufferTexture3DOES(thread_param->target,
- thread_param->attachment,
- thread_param->textarget,
- thread_param->texture,
- thread_param->level,
- thread_param->zoffset);
+ orig_evgl_api_glFramebufferTexture3DOES(thread_data->target,
+ thread_data->attachment,
+ thread_data->textarget,
+ thread_data->texture,
+ thread_data->level,
+ thread_data->zoffset);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferTexture3DOES thread_param_local;
- EVGL_API_Thread_Command_glFramebufferTexture3DOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferTexture3DOES thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferTexture3DOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->textarget = textarget;
- thread_param->texture = texture;
- thread_param->level = level;
- thread_param->zoffset = zoffset;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->textarget = textarget;
+ thread_data->texture = texture;
+ thread_data->level = level;
+ thread_data->zoffset = zoffset;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferTexture3DOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetPerfMonitorGroupsAMD(GLint* numGroups, GLsizei groupsSize, GLuint* groups);
+ * void
+ * glGetPerfMonitorGroupsAMD(GLint* numGroups, GLsizei groupsSize, GLuint* groups);
*/
typedef struct
static void
_evgl_api_thread_glGetPerfMonitorGroupsAMD(void *data)
{
- EVGL_API_Thread_Command_glGetPerfMonitorGroupsAMD *thread_param =
+ EVGL_API_Thread_Command_glGetPerfMonitorGroupsAMD *thread_data =
(EVGL_API_Thread_Command_glGetPerfMonitorGroupsAMD *)data;
- orig_evgl_api_glGetPerfMonitorGroupsAMD(thread_param->numGroups,
- thread_param->groupsSize,
- thread_param->groups);
+ orig_evgl_api_glGetPerfMonitorGroupsAMD(thread_data->numGroups,
+ thread_data->groupsSize,
+ thread_data->groups);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetPerfMonitorGroupsAMD thread_param_local;
- EVGL_API_Thread_Command_glGetPerfMonitorGroupsAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorGroupsAMD thread_data_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorGroupsAMD *thread_data = &thread_data_local;
- thread_param->numGroups = numGroups;
- thread_param->groupsSize = groupsSize;
- thread_param->groups = groups;
+ thread_data->numGroups = numGroups;
+ thread_data->groupsSize = groupsSize;
+ thread_data->groups = groups;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetPerfMonitorGroupsAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetPerfMonitorCountersAMD(GLuint group, GLint* numCounters, GLint* maxActiveCounters, GLsizei counterSize, GLuint* counters);
+ * void
+ * glGetPerfMonitorCountersAMD(GLuint group, GLint* numCounters, GLint* maxActiveCounters, GLsizei counterSize, GLuint* counters);
*/
typedef struct
static void
_evgl_api_thread_glGetPerfMonitorCountersAMD(void *data)
{
- EVGL_API_Thread_Command_glGetPerfMonitorCountersAMD *thread_param =
+ EVGL_API_Thread_Command_glGetPerfMonitorCountersAMD *thread_data =
(EVGL_API_Thread_Command_glGetPerfMonitorCountersAMD *)data;
- orig_evgl_api_glGetPerfMonitorCountersAMD(thread_param->group,
- thread_param->numCounters,
- thread_param->maxActiveCounters,
- thread_param->counterSize,
- thread_param->counters);
+ orig_evgl_api_glGetPerfMonitorCountersAMD(thread_data->group,
+ thread_data->numCounters,
+ thread_data->maxActiveCounters,
+ thread_data->counterSize,
+ thread_data->counters);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetPerfMonitorCountersAMD thread_param_local;
- EVGL_API_Thread_Command_glGetPerfMonitorCountersAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorCountersAMD thread_data_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorCountersAMD *thread_data = &thread_data_local;
- thread_param->group = group;
- thread_param->numCounters = numCounters;
- thread_param->maxActiveCounters = maxActiveCounters;
- thread_param->counterSize = counterSize;
- thread_param->counters = counters;
+ thread_data->group = group;
+ thread_data->numCounters = numCounters;
+ thread_data->maxActiveCounters = maxActiveCounters;
+ thread_data->counterSize = counterSize;
+ thread_data->counters = counters;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetPerfMonitorCountersAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei* length, char* groupString);
+ * void
+ * glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei* length, char* groupString);
*/
typedef struct
static void
_evgl_api_thread_glGetPerfMonitorGroupStringAMD(void *data)
{
- EVGL_API_Thread_Command_glGetPerfMonitorGroupStringAMD *thread_param =
+ EVGL_API_Thread_Command_glGetPerfMonitorGroupStringAMD *thread_data =
(EVGL_API_Thread_Command_glGetPerfMonitorGroupStringAMD *)data;
- orig_evgl_api_glGetPerfMonitorGroupStringAMD(thread_param->group,
- thread_param->bufSize,
- thread_param->length,
- thread_param->groupString);
+ orig_evgl_api_glGetPerfMonitorGroupStringAMD(thread_data->group,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->groupString);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetPerfMonitorGroupStringAMD thread_param_local;
- EVGL_API_Thread_Command_glGetPerfMonitorGroupStringAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorGroupStringAMD thread_data_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorGroupStringAMD *thread_data = &thread_data_local;
- thread_param->group = group;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->groupString = groupString;
+ thread_data->group = group;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->groupString = groupString;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetPerfMonitorGroupStringAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, char* counterString);
+ * void
+ * glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, char* counterString);
*/
typedef struct
static void
_evgl_api_thread_glGetPerfMonitorCounterStringAMD(void *data)
{
- EVGL_API_Thread_Command_glGetPerfMonitorCounterStringAMD *thread_param =
+ EVGL_API_Thread_Command_glGetPerfMonitorCounterStringAMD *thread_data =
(EVGL_API_Thread_Command_glGetPerfMonitorCounterStringAMD *)data;
- orig_evgl_api_glGetPerfMonitorCounterStringAMD(thread_param->group,
- thread_param->counter,
- thread_param->bufSize,
- thread_param->length,
- thread_param->counterString);
+ orig_evgl_api_glGetPerfMonitorCounterStringAMD(thread_data->group,
+ thread_data->counter,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->counterString);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetPerfMonitorCounterStringAMD thread_param_local;
- EVGL_API_Thread_Command_glGetPerfMonitorCounterStringAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorCounterStringAMD thread_data_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorCounterStringAMD *thread_data = &thread_data_local;
- thread_param->group = group;
- thread_param->counter = counter;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->counterString = counterString;
+ thread_data->group = group;
+ thread_data->counter = counter;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->counterString = counterString;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetPerfMonitorCounterStringAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, void* data);
+ * void
+ * glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, void* data);
*/
typedef struct
static void
_evgl_api_thread_glGetPerfMonitorCounterInfoAMD(void *data)
{
- EVGL_API_Thread_Command_glGetPerfMonitorCounterInfoAMD *thread_param =
+ EVGL_API_Thread_Command_glGetPerfMonitorCounterInfoAMD *thread_data =
(EVGL_API_Thread_Command_glGetPerfMonitorCounterInfoAMD *)data;
- orig_evgl_api_glGetPerfMonitorCounterInfoAMD(thread_param->group,
- thread_param->counter,
- thread_param->pname,
- thread_param->data);
+ orig_evgl_api_glGetPerfMonitorCounterInfoAMD(thread_data->group,
+ thread_data->counter,
+ thread_data->pname,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetPerfMonitorCounterInfoAMD thread_param_local;
- EVGL_API_Thread_Command_glGetPerfMonitorCounterInfoAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorCounterInfoAMD thread_data_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorCounterInfoAMD *thread_data = &thread_data_local;
- thread_param->group = group;
- thread_param->counter = counter;
- thread_param->pname = pname;
- thread_param->data = data;
+ thread_data->group = group;
+ thread_data->counter = counter;
+ thread_data->pname = pname;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetPerfMonitorCounterInfoAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenPerfMonitorsAMD(GLsizei n, GLuint* monitors);
+ * void
+ * glGenPerfMonitorsAMD(GLsizei n, GLuint* monitors);
*/
typedef struct
static void
_evgl_api_thread_glGenPerfMonitorsAMD(void *data)
{
- EVGL_API_Thread_Command_glGenPerfMonitorsAMD *thread_param =
+ EVGL_API_Thread_Command_glGenPerfMonitorsAMD *thread_data =
(EVGL_API_Thread_Command_glGenPerfMonitorsAMD *)data;
- orig_evgl_api_glGenPerfMonitorsAMD(thread_param->n,
- thread_param->monitors);
+ orig_evgl_api_glGenPerfMonitorsAMD(thread_data->n,
+ thread_data->monitors);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenPerfMonitorsAMD thread_param_local;
- EVGL_API_Thread_Command_glGenPerfMonitorsAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenPerfMonitorsAMD thread_data_local;
+ EVGL_API_Thread_Command_glGenPerfMonitorsAMD *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->monitors = monitors;
+ thread_data->n = n;
+ thread_data->monitors = monitors;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenPerfMonitorsAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeletePerfMonitorsAMD(GLsizei n, GLuint* monitors);
+ * void
+ * glDeletePerfMonitorsAMD(GLsizei n, GLuint* monitors);
*/
typedef struct
static void
_evgl_api_thread_glDeletePerfMonitorsAMD(void *data)
{
- EVGL_API_Thread_Command_glDeletePerfMonitorsAMD *thread_param =
+ EVGL_API_Thread_Command_glDeletePerfMonitorsAMD *thread_data =
(EVGL_API_Thread_Command_glDeletePerfMonitorsAMD *)data;
- orig_evgl_api_glDeletePerfMonitorsAMD(thread_param->n,
- thread_param->monitors);
+ orig_evgl_api_glDeletePerfMonitorsAMD(thread_data->n,
+ thread_data->monitors);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeletePerfMonitorsAMD thread_param_local;
- EVGL_API_Thread_Command_glDeletePerfMonitorsAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeletePerfMonitorsAMD thread_data_local;
+ EVGL_API_Thread_Command_glDeletePerfMonitorsAMD *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->monitors = monitors;
+ thread_data->n = n;
+ thread_data->monitors = monitors;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeletePerfMonitorsAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* countersList);
+ * void
+ * glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* countersList);
*/
typedef struct
static void
_evgl_api_thread_glSelectPerfMonitorCountersAMD(void *data)
{
- EVGL_API_Thread_Command_glSelectPerfMonitorCountersAMD *thread_param =
+ EVGL_API_Thread_Command_glSelectPerfMonitorCountersAMD *thread_data =
(EVGL_API_Thread_Command_glSelectPerfMonitorCountersAMD *)data;
- orig_evgl_api_glSelectPerfMonitorCountersAMD(thread_param->monitor,
- thread_param->enable,
- thread_param->group,
- thread_param->numCounters,
- thread_param->countersList);
+ orig_evgl_api_glSelectPerfMonitorCountersAMD(thread_data->monitor,
+ thread_data->enable,
+ thread_data->group,
+ thread_data->numCounters,
+ thread_data->countersList);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSelectPerfMonitorCountersAMD thread_param_local;
- EVGL_API_Thread_Command_glSelectPerfMonitorCountersAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSelectPerfMonitorCountersAMD thread_data_local;
+ EVGL_API_Thread_Command_glSelectPerfMonitorCountersAMD *thread_data = &thread_data_local;
- thread_param->monitor = monitor;
- thread_param->enable = enable;
- thread_param->group = group;
- thread_param->numCounters = numCounters;
- thread_param->countersList = countersList;
+ thread_data->monitor = monitor;
+ thread_data->enable = enable;
+ thread_data->group = group;
+ thread_data->numCounters = numCounters;
+ thread_data->countersList = countersList;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSelectPerfMonitorCountersAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBeginPerfMonitorAMD(GLuint monitor);
+ * void
+ * glBeginPerfMonitorAMD(GLuint monitor);
*/
typedef struct
static void
_evgl_api_thread_glBeginPerfMonitorAMD(void *data)
{
- EVGL_API_Thread_Command_glBeginPerfMonitorAMD *thread_param =
+ EVGL_API_Thread_Command_glBeginPerfMonitorAMD *thread_data =
(EVGL_API_Thread_Command_glBeginPerfMonitorAMD *)data;
- orig_evgl_api_glBeginPerfMonitorAMD(thread_param->monitor);
+ orig_evgl_api_glBeginPerfMonitorAMD(thread_data->monitor);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBeginPerfMonitorAMD thread_param_local;
- EVGL_API_Thread_Command_glBeginPerfMonitorAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBeginPerfMonitorAMD thread_data_local;
+ EVGL_API_Thread_Command_glBeginPerfMonitorAMD *thread_data = &thread_data_local;
- thread_param->monitor = monitor;
+ thread_data->monitor = monitor;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBeginPerfMonitorAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEndPerfMonitorAMD(GLuint monitor);
+ * void
+ * glEndPerfMonitorAMD(GLuint monitor);
*/
typedef struct
static void
_evgl_api_thread_glEndPerfMonitorAMD(void *data)
{
- EVGL_API_Thread_Command_glEndPerfMonitorAMD *thread_param =
+ EVGL_API_Thread_Command_glEndPerfMonitorAMD *thread_data =
(EVGL_API_Thread_Command_glEndPerfMonitorAMD *)data;
- orig_evgl_api_glEndPerfMonitorAMD(thread_param->monitor);
+ orig_evgl_api_glEndPerfMonitorAMD(thread_data->monitor);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEndPerfMonitorAMD thread_param_local;
- EVGL_API_Thread_Command_glEndPerfMonitorAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEndPerfMonitorAMD thread_data_local;
+ EVGL_API_Thread_Command_glEndPerfMonitorAMD *thread_data = &thread_data_local;
- thread_param->monitor = monitor;
+ thread_data->monitor = monitor;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEndPerfMonitorAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint* bytesWritten);
+ * void
+ * glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint* bytesWritten);
*/
typedef struct
static void
_evgl_api_thread_glGetPerfMonitorCounterDataAMD(void *data)
{
- EVGL_API_Thread_Command_glGetPerfMonitorCounterDataAMD *thread_param =
+ EVGL_API_Thread_Command_glGetPerfMonitorCounterDataAMD *thread_data =
(EVGL_API_Thread_Command_glGetPerfMonitorCounterDataAMD *)data;
- orig_evgl_api_glGetPerfMonitorCounterDataAMD(thread_param->monitor,
- thread_param->pname,
- thread_param->dataSize,
- thread_param->data,
- thread_param->bytesWritten);
+ orig_evgl_api_glGetPerfMonitorCounterDataAMD(thread_data->monitor,
+ thread_data->pname,
+ thread_data->dataSize,
+ thread_data->data,
+ thread_data->bytesWritten);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetPerfMonitorCounterDataAMD thread_param_local;
- EVGL_API_Thread_Command_glGetPerfMonitorCounterDataAMD *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorCounterDataAMD thread_data_local;
+ EVGL_API_Thread_Command_glGetPerfMonitorCounterDataAMD *thread_data = &thread_data_local;
- thread_param->monitor = monitor;
- thread_param->pname = pname;
- thread_param->dataSize = dataSize;
- thread_param->data = data;
- thread_param->bytesWritten = bytesWritten;
+ thread_data->monitor = monitor;
+ thread_data->pname = pname;
+ thread_data->dataSize = dataSize;
+ thread_data->data = data;
+ thread_data->bytesWritten = bytesWritten;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetPerfMonitorCounterDataAMD,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDiscardFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments);
+ * void
+ * glDiscardFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments);
*/
typedef struct
static void
_evgl_api_thread_glDiscardFramebuffer(void *data)
{
- EVGL_API_Thread_Command_glDiscardFramebuffer *thread_param =
+ EVGL_API_Thread_Command_glDiscardFramebuffer *thread_data =
(EVGL_API_Thread_Command_glDiscardFramebuffer *)data;
- orig_evgl_api_glDiscardFramebuffer(thread_param->target,
- thread_param->numAttachments,
- thread_param->attachments);
+ orig_evgl_api_glDiscardFramebuffer(thread_data->target,
+ thread_data->numAttachments,
+ thread_data->attachments);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDiscardFramebuffer thread_param_local;
- EVGL_API_Thread_Command_glDiscardFramebuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDiscardFramebuffer thread_data_local;
+ EVGL_API_Thread_Command_glDiscardFramebuffer *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->numAttachments = numAttachments;
- thread_param->attachments = attachments;
+ thread_data->target = target;
+ thread_data->numAttachments = numAttachments;
+ thread_data->attachments = attachments;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDiscardFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum* attachments);
+ * void
+ * glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum* attachments);
*/
typedef struct
static void
_evgl_api_thread_glDiscardFramebufferEXT(void *data)
{
- EVGL_API_Thread_Command_glDiscardFramebufferEXT *thread_param =
+ EVGL_API_Thread_Command_glDiscardFramebufferEXT *thread_data =
(EVGL_API_Thread_Command_glDiscardFramebufferEXT *)data;
- orig_evgl_api_glDiscardFramebufferEXT(thread_param->target,
- thread_param->numAttachments,
- thread_param->attachments);
+ orig_evgl_api_glDiscardFramebufferEXT(thread_data->target,
+ thread_data->numAttachments,
+ thread_data->attachments);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDiscardFramebufferEXT thread_param_local;
- EVGL_API_Thread_Command_glDiscardFramebufferEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDiscardFramebufferEXT thread_data_local;
+ EVGL_API_Thread_Command_glDiscardFramebufferEXT *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->numAttachments = numAttachments;
- thread_param->attachments = attachments;
+ thread_data->target = target;
+ thread_data->numAttachments = numAttachments;
+ thread_data->attachments = attachments;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDiscardFramebufferEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultiDrawArrays(GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
+ * void
+ * glMultiDrawArrays(GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
*/
typedef struct
static void
_evgl_api_thread_glMultiDrawArrays(void *data)
{
- EVGL_API_Thread_Command_glMultiDrawArrays *thread_param =
+ EVGL_API_Thread_Command_glMultiDrawArrays *thread_data =
(EVGL_API_Thread_Command_glMultiDrawArrays *)data;
- orig_evgl_api_glMultiDrawArrays(thread_param->mode,
- thread_param->first,
- thread_param->count,
- thread_param->primcount);
+ orig_evgl_api_glMultiDrawArrays(thread_data->mode,
+ thread_data->first,
+ thread_data->count,
+ thread_data->primcount);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultiDrawArrays thread_param_local;
- EVGL_API_Thread_Command_glMultiDrawArrays *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultiDrawArrays thread_data_local;
+ EVGL_API_Thread_Command_glMultiDrawArrays *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->first = first;
- thread_param->count = count;
- thread_param->primcount = primcount;
+ thread_data->mode = mode;
+ thread_data->first = first;
+ thread_data->count = count;
+ thread_data->primcount = primcount;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultiDrawArrays,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultiDrawArraysEXT(GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
+ * void
+ * glMultiDrawArraysEXT(GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
*/
typedef struct
static void
_evgl_api_thread_glMultiDrawArraysEXT(void *data)
{
- EVGL_API_Thread_Command_glMultiDrawArraysEXT *thread_param =
+ EVGL_API_Thread_Command_glMultiDrawArraysEXT *thread_data =
(EVGL_API_Thread_Command_glMultiDrawArraysEXT *)data;
- orig_evgl_api_glMultiDrawArraysEXT(thread_param->mode,
- thread_param->first,
- thread_param->count,
- thread_param->primcount);
+ orig_evgl_api_glMultiDrawArraysEXT(thread_data->mode,
+ thread_data->first,
+ thread_data->count,
+ thread_data->primcount);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultiDrawArraysEXT thread_param_local;
- EVGL_API_Thread_Command_glMultiDrawArraysEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultiDrawArraysEXT thread_data_local;
+ EVGL_API_Thread_Command_glMultiDrawArraysEXT *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->first = first;
- thread_param->count = count;
- thread_param->primcount = primcount;
+ thread_data->mode = mode;
+ thread_data->first = first;
+ thread_data->count = count;
+ thread_data->primcount = primcount;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultiDrawArraysEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultiDrawElements(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount);
+ * void
+ * glMultiDrawElements(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount);
*/
typedef struct
static void
_evgl_api_thread_glMultiDrawElements(void *data)
{
- EVGL_API_Thread_Command_glMultiDrawElements *thread_param =
+ EVGL_API_Thread_Command_glMultiDrawElements *thread_data =
(EVGL_API_Thread_Command_glMultiDrawElements *)data;
- orig_evgl_api_glMultiDrawElements(thread_param->mode,
- thread_param->count,
- thread_param->type,
- thread_param->indices,
- thread_param->primcount);
+ orig_evgl_api_glMultiDrawElements(thread_data->mode,
+ thread_data->count,
+ thread_data->type,
+ thread_data->indices,
+ thread_data->primcount);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultiDrawElements thread_param_local;
- EVGL_API_Thread_Command_glMultiDrawElements *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultiDrawElements thread_data_local;
+ EVGL_API_Thread_Command_glMultiDrawElements *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->count = count;
- thread_param->type = type;
- thread_param->indices = indices;
- thread_param->primcount = primcount;
+ thread_data->mode = mode;
+ thread_data->count = count;
+ thread_data->type = type;
+ thread_data->indices = indices;
+ thread_data->primcount = primcount;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultiDrawElements,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultiDrawElementsEXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount);
+ * void
+ * glMultiDrawElementsEXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices, GLsizei primcount);
*/
typedef struct
static void
_evgl_api_thread_glMultiDrawElementsEXT(void *data)
{
- EVGL_API_Thread_Command_glMultiDrawElementsEXT *thread_param =
+ EVGL_API_Thread_Command_glMultiDrawElementsEXT *thread_data =
(EVGL_API_Thread_Command_glMultiDrawElementsEXT *)data;
- orig_evgl_api_glMultiDrawElementsEXT(thread_param->mode,
- thread_param->count,
- thread_param->type,
- thread_param->indices,
- thread_param->primcount);
+ orig_evgl_api_glMultiDrawElementsEXT(thread_data->mode,
+ thread_data->count,
+ thread_data->type,
+ thread_data->indices,
+ thread_data->primcount);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultiDrawElementsEXT thread_param_local;
- EVGL_API_Thread_Command_glMultiDrawElementsEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultiDrawElementsEXT thread_data_local;
+ EVGL_API_Thread_Command_glMultiDrawElementsEXT *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->count = count;
- thread_param->type = type;
- thread_param->indices = indices;
- thread_param->primcount = primcount;
+ thread_data->mode = mode;
+ thread_data->count = count;
+ thread_data->type = type;
+ thread_data->indices = indices;
+ thread_data->primcount = primcount;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultiDrawElementsEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteFencesNV(GLsizei n, const GLuint* fences);
+ * void
+ * glDeleteFencesNV(GLsizei n, const GLuint* fences);
*/
typedef struct
static void
_evgl_api_thread_glDeleteFencesNV(void *data)
{
- EVGL_API_Thread_Command_glDeleteFencesNV *thread_param =
+ EVGL_API_Thread_Command_glDeleteFencesNV *thread_data =
(EVGL_API_Thread_Command_glDeleteFencesNV *)data;
- orig_evgl_api_glDeleteFencesNV(thread_param->n,
- thread_param->fences);
+ orig_evgl_api_glDeleteFencesNV(thread_data->n,
+ thread_data->fences);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteFencesNV thread_param_local;
- EVGL_API_Thread_Command_glDeleteFencesNV *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteFencesNV thread_data_local;
+ EVGL_API_Thread_Command_glDeleteFencesNV *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->fences = fences;
+ thread_data->n = n;
+ thread_data->fences = fences;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteFencesNV,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenFencesNV(GLsizei n, GLuint* fences);
+ * void
+ * glGenFencesNV(GLsizei n, GLuint* fences);
*/
typedef struct
static void
_evgl_api_thread_glGenFencesNV(void *data)
{
- EVGL_API_Thread_Command_glGenFencesNV *thread_param =
+ EVGL_API_Thread_Command_glGenFencesNV *thread_data =
(EVGL_API_Thread_Command_glGenFencesNV *)data;
- orig_evgl_api_glGenFencesNV(thread_param->n,
- thread_param->fences);
+ orig_evgl_api_glGenFencesNV(thread_data->n,
+ thread_data->fences);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenFencesNV thread_param_local;
- EVGL_API_Thread_Command_glGenFencesNV *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenFencesNV thread_data_local;
+ EVGL_API_Thread_Command_glGenFencesNV *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->fences = fences;
+ thread_data->n = n;
+ thread_data->fences = fences;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenFencesNV,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsFenceNV(GLuint fence);
+ * GLboolean
+ * glIsFenceNV(GLuint fence);
*/
typedef struct
static void
_evgl_api_thread_glIsFenceNV(void *data)
{
- EVGL_API_Thread_Command_glIsFenceNV *thread_param =
+ EVGL_API_Thread_Command_glIsFenceNV *thread_data =
(EVGL_API_Thread_Command_glIsFenceNV *)data;
- thread_param->return_value = orig_evgl_api_glIsFenceNV(thread_param->fence);
+ thread_data->return_value = orig_evgl_api_glIsFenceNV(thread_data->fence);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsFenceNV thread_param_local;
- EVGL_API_Thread_Command_glIsFenceNV *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsFenceNV thread_data_local;
+ EVGL_API_Thread_Command_glIsFenceNV *thread_data = &thread_data_local;
- thread_param->fence = fence;
+ thread_data->fence = fence;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsFenceNV,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glTestFenceNV(GLuint fence);
+ * GLboolean
+ * glTestFenceNV(GLuint fence);
*/
typedef struct
static void
_evgl_api_thread_glTestFenceNV(void *data)
{
- EVGL_API_Thread_Command_glTestFenceNV *thread_param =
+ EVGL_API_Thread_Command_glTestFenceNV *thread_data =
(EVGL_API_Thread_Command_glTestFenceNV *)data;
- thread_param->return_value = orig_evgl_api_glTestFenceNV(thread_param->fence);
+ thread_data->return_value = orig_evgl_api_glTestFenceNV(thread_data->fence);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTestFenceNV thread_param_local;
- EVGL_API_Thread_Command_glTestFenceNV *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTestFenceNV thread_data_local;
+ EVGL_API_Thread_Command_glTestFenceNV *thread_data = &thread_data_local;
- thread_param->fence = fence;
+ thread_data->fence = fence;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTestFenceNV,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetFenceivNV(GLuint fence, GLenum pname, GLint* params);
+ * void
+ * glGetFenceivNV(GLuint fence, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetFenceivNV(void *data)
{
- EVGL_API_Thread_Command_glGetFenceivNV *thread_param =
+ EVGL_API_Thread_Command_glGetFenceivNV *thread_data =
(EVGL_API_Thread_Command_glGetFenceivNV *)data;
- orig_evgl_api_glGetFenceivNV(thread_param->fence,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetFenceivNV(thread_data->fence,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetFenceivNV thread_param_local;
- EVGL_API_Thread_Command_glGetFenceivNV *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetFenceivNV thread_data_local;
+ EVGL_API_Thread_Command_glGetFenceivNV *thread_data = &thread_data_local;
- thread_param->fence = fence;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->fence = fence;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetFenceivNV,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFinishFenceNV(GLuint fence);
+ * void
+ * glFinishFenceNV(GLuint fence);
*/
typedef struct
static void
_evgl_api_thread_glFinishFenceNV(void *data)
{
- EVGL_API_Thread_Command_glFinishFenceNV *thread_param =
+ EVGL_API_Thread_Command_glFinishFenceNV *thread_data =
(EVGL_API_Thread_Command_glFinishFenceNV *)data;
- orig_evgl_api_glFinishFenceNV(thread_param->fence);
+ orig_evgl_api_glFinishFenceNV(thread_data->fence);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFinishFenceNV thread_param_local;
- EVGL_API_Thread_Command_glFinishFenceNV *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFinishFenceNV thread_data_local;
+ EVGL_API_Thread_Command_glFinishFenceNV *thread_data = &thread_data_local;
- thread_param->fence = fence;
+ thread_data->fence = fence;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFinishFenceNV,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glSetFenceNV(GLuint a, GLenum b);
+ * void
+ * glSetFenceNV(GLuint a, GLenum b);
*/
typedef struct
static void
_evgl_api_thread_glSetFenceNV(void *data)
{
- EVGL_API_Thread_Command_glSetFenceNV *thread_param =
+ EVGL_API_Thread_Command_glSetFenceNV *thread_data =
(EVGL_API_Thread_Command_glSetFenceNV *)data;
- orig_evgl_api_glSetFenceNV(thread_param->a,
- thread_param->b);
+ orig_evgl_api_glSetFenceNV(thread_data->a,
+ thread_data->b);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSetFenceNV thread_param_local;
- EVGL_API_Thread_Command_glSetFenceNV *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSetFenceNV thread_data_local;
+ EVGL_API_Thread_Command_glSetFenceNV *thread_data = &thread_data_local;
- thread_param->a = a;
- thread_param->b = b;
+ thread_data->a = a;
+ thread_data->b = b;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSetFenceNV,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetDriverControlsQCOM(GLint* num, GLsizei size, GLuint* driverControls);
+ * void
+ * glGetDriverControlsQCOM(GLint* num, GLsizei size, GLuint* driverControls);
*/
typedef struct
static void
_evgl_api_thread_glGetDriverControlsQCOM(void *data)
{
- EVGL_API_Thread_Command_glGetDriverControlsQCOM *thread_param =
+ EVGL_API_Thread_Command_glGetDriverControlsQCOM *thread_data =
(EVGL_API_Thread_Command_glGetDriverControlsQCOM *)data;
- orig_evgl_api_glGetDriverControlsQCOM(thread_param->num,
- thread_param->size,
- thread_param->driverControls);
+ orig_evgl_api_glGetDriverControlsQCOM(thread_data->num,
+ thread_data->size,
+ thread_data->driverControls);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetDriverControlsQCOM thread_param_local;
- EVGL_API_Thread_Command_glGetDriverControlsQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetDriverControlsQCOM thread_data_local;
+ EVGL_API_Thread_Command_glGetDriverControlsQCOM *thread_data = &thread_data_local;
- thread_param->num = num;
- thread_param->size = size;
- thread_param->driverControls = driverControls;
+ thread_data->num = num;
+ thread_data->size = size;
+ thread_data->driverControls = driverControls;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetDriverControlsQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei* length, char* driverControlString);
+ * void
+ * glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei* length, char* driverControlString);
*/
typedef struct
static void
_evgl_api_thread_glGetDriverControlStringQCOM(void *data)
{
- EVGL_API_Thread_Command_glGetDriverControlStringQCOM *thread_param =
+ EVGL_API_Thread_Command_glGetDriverControlStringQCOM *thread_data =
(EVGL_API_Thread_Command_glGetDriverControlStringQCOM *)data;
- orig_evgl_api_glGetDriverControlStringQCOM(thread_param->driverControl,
- thread_param->bufSize,
- thread_param->length,
- thread_param->driverControlString);
+ orig_evgl_api_glGetDriverControlStringQCOM(thread_data->driverControl,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->driverControlString);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetDriverControlStringQCOM thread_param_local;
- EVGL_API_Thread_Command_glGetDriverControlStringQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetDriverControlStringQCOM thread_data_local;
+ EVGL_API_Thread_Command_glGetDriverControlStringQCOM *thread_data = &thread_data_local;
- thread_param->driverControl = driverControl;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->driverControlString = driverControlString;
+ thread_data->driverControl = driverControl;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->driverControlString = driverControlString;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetDriverControlStringQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEnableDriverControlQCOM(GLuint driverControl);
+ * void
+ * glEnableDriverControlQCOM(GLuint driverControl);
*/
typedef struct
static void
_evgl_api_thread_glEnableDriverControlQCOM(void *data)
{
- EVGL_API_Thread_Command_glEnableDriverControlQCOM *thread_param =
+ EVGL_API_Thread_Command_glEnableDriverControlQCOM *thread_data =
(EVGL_API_Thread_Command_glEnableDriverControlQCOM *)data;
- orig_evgl_api_glEnableDriverControlQCOM(thread_param->driverControl);
+ orig_evgl_api_glEnableDriverControlQCOM(thread_data->driverControl);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEnableDriverControlQCOM thread_param_local;
- EVGL_API_Thread_Command_glEnableDriverControlQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEnableDriverControlQCOM thread_data_local;
+ EVGL_API_Thread_Command_glEnableDriverControlQCOM *thread_data = &thread_data_local;
- thread_param->driverControl = driverControl;
+ thread_data->driverControl = driverControl;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEnableDriverControlQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDisableDriverControlQCOM(GLuint driverControl);
+ * void
+ * glDisableDriverControlQCOM(GLuint driverControl);
*/
typedef struct
static void
_evgl_api_thread_glDisableDriverControlQCOM(void *data)
{
- EVGL_API_Thread_Command_glDisableDriverControlQCOM *thread_param =
+ EVGL_API_Thread_Command_glDisableDriverControlQCOM *thread_data =
(EVGL_API_Thread_Command_glDisableDriverControlQCOM *)data;
- orig_evgl_api_glDisableDriverControlQCOM(thread_param->driverControl);
+ orig_evgl_api_glDisableDriverControlQCOM(thread_data->driverControl);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDisableDriverControlQCOM thread_param_local;
- EVGL_API_Thread_Command_glDisableDriverControlQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDisableDriverControlQCOM thread_data_local;
+ EVGL_API_Thread_Command_glDisableDriverControlQCOM *thread_data = &thread_data_local;
- thread_param->driverControl = driverControl;
+ thread_data->driverControl = driverControl;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDisableDriverControlQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtGetTexturesQCOM(GLuint* textures, GLint maxTextures, GLint* numTextures);
+ * void
+ * glExtGetTexturesQCOM(GLuint* textures, GLint maxTextures, GLint* numTextures);
*/
typedef struct
static void
_evgl_api_thread_glExtGetTexturesQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetTexturesQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetTexturesQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetTexturesQCOM *)data;
- orig_evgl_api_glExtGetTexturesQCOM(thread_param->textures,
- thread_param->maxTextures,
- thread_param->numTextures);
+ orig_evgl_api_glExtGetTexturesQCOM(thread_data->textures,
+ thread_data->maxTextures,
+ thread_data->numTextures);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetTexturesQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetTexturesQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetTexturesQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetTexturesQCOM *thread_data = &thread_data_local;
- thread_param->textures = textures;
- thread_param->maxTextures = maxTextures;
- thread_param->numTextures = numTextures;
+ thread_data->textures = textures;
+ thread_data->maxTextures = maxTextures;
+ thread_data->numTextures = numTextures;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetTexturesQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtGetBuffersQCOM(GLuint* buffers, GLint maxBuffers, GLint* numBuffers);
+ * void
+ * glExtGetBuffersQCOM(GLuint* buffers, GLint maxBuffers, GLint* numBuffers);
*/
typedef struct
static void
_evgl_api_thread_glExtGetBuffersQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetBuffersQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetBuffersQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetBuffersQCOM *)data;
- orig_evgl_api_glExtGetBuffersQCOM(thread_param->buffers,
- thread_param->maxBuffers,
- thread_param->numBuffers);
+ orig_evgl_api_glExtGetBuffersQCOM(thread_data->buffers,
+ thread_data->maxBuffers,
+ thread_data->numBuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetBuffersQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetBuffersQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetBuffersQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetBuffersQCOM *thread_data = &thread_data_local;
- thread_param->buffers = buffers;
- thread_param->maxBuffers = maxBuffers;
- thread_param->numBuffers = numBuffers;
+ thread_data->buffers = buffers;
+ thread_data->maxBuffers = maxBuffers;
+ thread_data->numBuffers = numBuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetBuffersQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtGetRenderbuffersQCOM(GLuint* renderbuffers, GLint maxRenderbuffers, GLint* numRenderbuffers);
+ * void
+ * glExtGetRenderbuffersQCOM(GLuint* renderbuffers, GLint maxRenderbuffers, GLint* numRenderbuffers);
*/
typedef struct
static void
_evgl_api_thread_glExtGetRenderbuffersQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetRenderbuffersQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetRenderbuffersQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetRenderbuffersQCOM *)data;
- orig_evgl_api_glExtGetRenderbuffersQCOM(thread_param->renderbuffers,
- thread_param->maxRenderbuffers,
- thread_param->numRenderbuffers);
+ orig_evgl_api_glExtGetRenderbuffersQCOM(thread_data->renderbuffers,
+ thread_data->maxRenderbuffers,
+ thread_data->numRenderbuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetRenderbuffersQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetRenderbuffersQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetRenderbuffersQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetRenderbuffersQCOM *thread_data = &thread_data_local;
- thread_param->renderbuffers = renderbuffers;
- thread_param->maxRenderbuffers = maxRenderbuffers;
- thread_param->numRenderbuffers = numRenderbuffers;
+ thread_data->renderbuffers = renderbuffers;
+ thread_data->maxRenderbuffers = maxRenderbuffers;
+ thread_data->numRenderbuffers = numRenderbuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetRenderbuffersQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtGetFramebuffersQCOM(GLuint* framebuffers, GLint maxFramebuffers, GLint* numFramebuffers);
+ * void
+ * glExtGetFramebuffersQCOM(GLuint* framebuffers, GLint maxFramebuffers, GLint* numFramebuffers);
*/
typedef struct
static void
_evgl_api_thread_glExtGetFramebuffersQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetFramebuffersQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetFramebuffersQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetFramebuffersQCOM *)data;
- orig_evgl_api_glExtGetFramebuffersQCOM(thread_param->framebuffers,
- thread_param->maxFramebuffers,
- thread_param->numFramebuffers);
+ orig_evgl_api_glExtGetFramebuffersQCOM(thread_data->framebuffers,
+ thread_data->maxFramebuffers,
+ thread_data->numFramebuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetFramebuffersQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetFramebuffersQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetFramebuffersQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetFramebuffersQCOM *thread_data = &thread_data_local;
- thread_param->framebuffers = framebuffers;
- thread_param->maxFramebuffers = maxFramebuffers;
- thread_param->numFramebuffers = numFramebuffers;
+ thread_data->framebuffers = framebuffers;
+ thread_data->maxFramebuffers = maxFramebuffers;
+ thread_data->numFramebuffers = numFramebuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetFramebuffersQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint* params);
+ * void
+ * glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glExtGetTexLevelParameterivQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetTexLevelParameterivQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetTexLevelParameterivQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetTexLevelParameterivQCOM *)data;
- orig_evgl_api_glExtGetTexLevelParameterivQCOM(thread_param->texture,
- thread_param->face,
- thread_param->level,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glExtGetTexLevelParameterivQCOM(thread_data->texture,
+ thread_data->face,
+ thread_data->level,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetTexLevelParameterivQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetTexLevelParameterivQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetTexLevelParameterivQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetTexLevelParameterivQCOM *thread_data = &thread_data_local;
- thread_param->texture = texture;
- thread_param->face = face;
- thread_param->level = level;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->texture = texture;
+ thread_data->face = face;
+ thread_data->level = level;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetTexLevelParameterivQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtTexObjectStateOverrideiQCOM(GLenum target, GLenum pname, GLint param);
+ * void
+ * glExtTexObjectStateOverrideiQCOM(GLenum target, GLenum pname, GLint param);
*/
typedef struct
static void
_evgl_api_thread_glExtTexObjectStateOverrideiQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtTexObjectStateOverrideiQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtTexObjectStateOverrideiQCOM *thread_data =
(EVGL_API_Thread_Command_glExtTexObjectStateOverrideiQCOM *)data;
- orig_evgl_api_glExtTexObjectStateOverrideiQCOM(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glExtTexObjectStateOverrideiQCOM(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtTexObjectStateOverrideiQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtTexObjectStateOverrideiQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtTexObjectStateOverrideiQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtTexObjectStateOverrideiQCOM *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtTexObjectStateOverrideiQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void* texels);
+ * void
+ * glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void* texels);
*/
typedef struct
static void
_evgl_api_thread_glExtGetTexSubImageQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetTexSubImageQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetTexSubImageQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetTexSubImageQCOM *)data;
- orig_evgl_api_glExtGetTexSubImageQCOM(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->zoffset,
- thread_param->width,
- thread_param->height,
- thread_param->depth,
- thread_param->format,
- thread_param->type,
- thread_param->texels);
+ orig_evgl_api_glExtGetTexSubImageQCOM(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->zoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth,
+ thread_data->format,
+ thread_data->type,
+ thread_data->texels);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetTexSubImageQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetTexSubImageQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetTexSubImageQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetTexSubImageQCOM *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->zoffset = zoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->texels = texels;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->zoffset = zoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->texels = texels;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetTexSubImageQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtGetBufferPointervQCOM(GLenum target, void** params);
+ * void
+ * glExtGetBufferPointervQCOM(GLenum target, void** params);
*/
typedef struct
static void
_evgl_api_thread_glExtGetBufferPointervQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetBufferPointervQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetBufferPointervQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetBufferPointervQCOM *)data;
- orig_evgl_api_glExtGetBufferPointervQCOM(thread_param->target,
- thread_param->params);
+ orig_evgl_api_glExtGetBufferPointervQCOM(thread_data->target,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetBufferPointervQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetBufferPointervQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetBufferPointervQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetBufferPointervQCOM *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetBufferPointervQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtGetShadersQCOM(GLuint* shaders, GLint maxShaders, GLint* numShaders);
+ * void
+ * glExtGetShadersQCOM(GLuint* shaders, GLint maxShaders, GLint* numShaders);
*/
typedef struct
static void
_evgl_api_thread_glExtGetShadersQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetShadersQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetShadersQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetShadersQCOM *)data;
- orig_evgl_api_glExtGetShadersQCOM(thread_param->shaders,
- thread_param->maxShaders,
- thread_param->numShaders);
+ orig_evgl_api_glExtGetShadersQCOM(thread_data->shaders,
+ thread_data->maxShaders,
+ thread_data->numShaders);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetShadersQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetShadersQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetShadersQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetShadersQCOM *thread_data = &thread_data_local;
- thread_param->shaders = shaders;
- thread_param->maxShaders = maxShaders;
- thread_param->numShaders = numShaders;
+ thread_data->shaders = shaders;
+ thread_data->maxShaders = maxShaders;
+ thread_data->numShaders = numShaders;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetShadersQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glExtGetProgramsQCOM(GLuint* programs, GLint maxPrograms, GLint* numPrograms);
+ * void
+ * glExtGetProgramsQCOM(GLuint* programs, GLint maxPrograms, GLint* numPrograms);
*/
typedef struct
static void
_evgl_api_thread_glExtGetProgramsQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetProgramsQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetProgramsQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetProgramsQCOM *)data;
- orig_evgl_api_glExtGetProgramsQCOM(thread_param->programs,
- thread_param->maxPrograms,
- thread_param->numPrograms);
+ orig_evgl_api_glExtGetProgramsQCOM(thread_data->programs,
+ thread_data->maxPrograms,
+ thread_data->numPrograms);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetProgramsQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetProgramsQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetProgramsQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetProgramsQCOM *thread_data = &thread_data_local;
- thread_param->programs = programs;
- thread_param->maxPrograms = maxPrograms;
- thread_param->numPrograms = numPrograms;
+ thread_data->programs = programs;
+ thread_data->maxPrograms = maxPrograms;
+ thread_data->numPrograms = numPrograms;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetProgramsQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glExtIsProgramBinaryQCOM(GLuint program);
+ * GLboolean
+ * glExtIsProgramBinaryQCOM(GLuint program);
*/
typedef struct
static void
_evgl_api_thread_glExtIsProgramBinaryQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtIsProgramBinaryQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtIsProgramBinaryQCOM *thread_data =
(EVGL_API_Thread_Command_glExtIsProgramBinaryQCOM *)data;
- thread_param->return_value = orig_evgl_api_glExtIsProgramBinaryQCOM(thread_param->program);
+ thread_data->return_value = orig_evgl_api_glExtIsProgramBinaryQCOM(thread_data->program);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtIsProgramBinaryQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtIsProgramBinaryQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtIsProgramBinaryQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtIsProgramBinaryQCOM *thread_data = &thread_data_local;
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtIsProgramBinaryQCOM,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, char* source, GLint* length);
+ * void
+ * glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, char* source, GLint* length);
*/
typedef struct
static void
_evgl_api_thread_glExtGetProgramBinarySourceQCOM(void *data)
{
- EVGL_API_Thread_Command_glExtGetProgramBinarySourceQCOM *thread_param =
+ EVGL_API_Thread_Command_glExtGetProgramBinarySourceQCOM *thread_data =
(EVGL_API_Thread_Command_glExtGetProgramBinarySourceQCOM *)data;
- orig_evgl_api_glExtGetProgramBinarySourceQCOM(thread_param->program,
- thread_param->shadertype,
- thread_param->source,
- thread_param->length);
+ orig_evgl_api_glExtGetProgramBinarySourceQCOM(thread_data->program,
+ thread_data->shadertype,
+ thread_data->source,
+ thread_data->length);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glExtGetProgramBinarySourceQCOM thread_param_local;
- EVGL_API_Thread_Command_glExtGetProgramBinarySourceQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glExtGetProgramBinarySourceQCOM thread_data_local;
+ EVGL_API_Thread_Command_glExtGetProgramBinarySourceQCOM *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->shadertype = shadertype;
- thread_param->source = source;
- thread_param->length = length;
+ thread_data->program = program;
+ thread_data->shadertype = shadertype;
+ thread_data->source = source;
+ thread_data->length = length;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glExtGetProgramBinarySourceQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glAlphaFunc(GLenum func, GLclampf ref);
+ * void
+ * glAlphaFunc(GLenum func, GLclampf ref);
*/
typedef struct
static void
_evgl_api_thread_glAlphaFunc(void *data)
{
- EVGL_API_Thread_Command_glAlphaFunc *thread_param =
+ EVGL_API_Thread_Command_glAlphaFunc *thread_data =
(EVGL_API_Thread_Command_glAlphaFunc *)data;
- orig_evgl_api_glAlphaFunc(thread_param->func,
- thread_param->ref);
+ orig_evgl_api_glAlphaFunc(thread_data->func,
+ thread_data->ref);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glAlphaFunc thread_param_local;
- EVGL_API_Thread_Command_glAlphaFunc *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glAlphaFunc thread_data_local;
+ EVGL_API_Thread_Command_glAlphaFunc *thread_data = &thread_data_local;
- thread_param->func = func;
- thread_param->ref = ref;
+ thread_data->func = func;
+ thread_data->ref = ref;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glAlphaFunc,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClipPlanef(GLenum plane, const GLfloat *equation);
+ * void
+ * glClipPlanef(GLenum plane, const GLfloat *equation);
*/
typedef struct
static void
_evgl_api_thread_glClipPlanef(void *data)
{
- EVGL_API_Thread_Command_glClipPlanef *thread_param =
+ EVGL_API_Thread_Command_glClipPlanef *thread_data =
(EVGL_API_Thread_Command_glClipPlanef *)data;
- orig_evgl_api_glClipPlanef(thread_param->plane,
- thread_param->equation);
+ orig_evgl_api_glClipPlanef(thread_data->plane,
+ thread_data->equation);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClipPlanef thread_param_local;
- EVGL_API_Thread_Command_glClipPlanef *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClipPlanef thread_data_local;
+ EVGL_API_Thread_Command_glClipPlanef *thread_data = &thread_data_local;
- thread_param->plane = plane;
- thread_param->equation = equation;
+ thread_data->plane = plane;
+ thread_data->equation = equation;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClipPlanef,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+ * void
+ * glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
*/
typedef struct
static void
_evgl_api_thread_glColor4f(void *data)
{
- EVGL_API_Thread_Command_glColor4f *thread_param =
+ EVGL_API_Thread_Command_glColor4f *thread_data =
(EVGL_API_Thread_Command_glColor4f *)data;
- orig_evgl_api_glColor4f(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ orig_evgl_api_glColor4f(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glColor4f thread_param_local;
- EVGL_API_Thread_Command_glColor4f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glColor4f thread_data_local;
+ EVGL_API_Thread_Command_glColor4f *thread_data = &thread_data_local;
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glColor4f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFogf(GLenum pname, GLfloat param);
+ * void
+ * glFogf(GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_api_thread_glFogf(void *data)
{
- EVGL_API_Thread_Command_glFogf *thread_param =
+ EVGL_API_Thread_Command_glFogf *thread_data =
(EVGL_API_Thread_Command_glFogf *)data;
- orig_evgl_api_glFogf(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glFogf(thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFogf thread_param_local;
- EVGL_API_Thread_Command_glFogf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFogf thread_data_local;
+ EVGL_API_Thread_Command_glFogf *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFogf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFogfv(GLenum pname, const GLfloat *params);
+ * void
+ * glFogfv(GLenum pname, const GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glFogfv(void *data)
{
- EVGL_API_Thread_Command_glFogfv *thread_param =
+ EVGL_API_Thread_Command_glFogfv *thread_data =
(EVGL_API_Thread_Command_glFogfv *)data;
- orig_evgl_api_glFogfv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glFogfv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFogfv thread_param_local;
- EVGL_API_Thread_Command_glFogfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFogfv thread_data_local;
+ EVGL_API_Thread_Command_glFogfv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFogfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
+ * void
+ * glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
*/
typedef struct
static void
_evgl_api_thread_glFrustumf(void *data)
{
- EVGL_API_Thread_Command_glFrustumf *thread_param =
+ EVGL_API_Thread_Command_glFrustumf *thread_data =
(EVGL_API_Thread_Command_glFrustumf *)data;
- orig_evgl_api_glFrustumf(thread_param->left,
- thread_param->right,
- thread_param->bottom,
- thread_param->top,
- thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glFrustumf(thread_data->left,
+ thread_data->right,
+ thread_data->bottom,
+ thread_data->top,
+ thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFrustumf thread_param_local;
- EVGL_API_Thread_Command_glFrustumf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFrustumf thread_data_local;
+ EVGL_API_Thread_Command_glFrustumf *thread_data = &thread_data_local;
- thread_param->left = left;
- thread_param->right = right;
- thread_param->bottom = bottom;
- thread_param->top = top;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->left = left;
+ thread_data->right = right;
+ thread_data->bottom = bottom;
+ thread_data->top = top;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFrustumf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetClipPlanef(GLenum pname, GLfloat eqn[4]);
+ * void
+ * glGetClipPlanef(GLenum pname, GLfloat eqn[4]);
*/
typedef struct
static void
_evgl_api_thread_glGetClipPlanef(void *data)
{
- EVGL_API_Thread_Command_glGetClipPlanef *thread_param =
+ EVGL_API_Thread_Command_glGetClipPlanef *thread_data =
(EVGL_API_Thread_Command_glGetClipPlanef *)data;
- orig_evgl_api_glGetClipPlanef(thread_param->pname,
- thread_param->eqn);
+ orig_evgl_api_glGetClipPlanef(thread_data->pname,
+ thread_data->eqn);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetClipPlanef thread_param_local;
- EVGL_API_Thread_Command_glGetClipPlanef *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetClipPlanef thread_data_local;
+ EVGL_API_Thread_Command_glGetClipPlanef *thread_data = &thread_data_local;
- thread_param->pname = pname;
- memcpy(thread_param->eqn, &eqn, sizeof(eqn));
+ thread_data->pname = pname;
+ memcpy(thread_data->eqn, &eqn, sizeof(GLfloat) * 4);
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetClipPlanef,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
+ * void
+ * glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glGetLightfv(void *data)
{
- EVGL_API_Thread_Command_glGetLightfv *thread_param =
+ EVGL_API_Thread_Command_glGetLightfv *thread_data =
(EVGL_API_Thread_Command_glGetLightfv *)data;
- orig_evgl_api_glGetLightfv(thread_param->light,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetLightfv(thread_data->light,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetLightfv thread_param_local;
- EVGL_API_Thread_Command_glGetLightfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetLightfv thread_data_local;
+ EVGL_API_Thread_Command_glGetLightfv *thread_data = &thread_data_local;
- thread_param->light = light;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->light = light;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetLightfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
+ * void
+ * glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glGetMaterialfv(void *data)
{
- EVGL_API_Thread_Command_glGetMaterialfv *thread_param =
+ EVGL_API_Thread_Command_glGetMaterialfv *thread_data =
(EVGL_API_Thread_Command_glGetMaterialfv *)data;
- orig_evgl_api_glGetMaterialfv(thread_param->face,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetMaterialfv(thread_data->face,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetMaterialfv thread_param_local;
- EVGL_API_Thread_Command_glGetMaterialfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetMaterialfv thread_data_local;
+ EVGL_API_Thread_Command_glGetMaterialfv *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->face = face;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetMaterialfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params);
+ * void
+ * glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexEnvfv(void *data)
{
- EVGL_API_Thread_Command_glGetTexEnvfv *thread_param =
+ EVGL_API_Thread_Command_glGetTexEnvfv *thread_data =
(EVGL_API_Thread_Command_glGetTexEnvfv *)data;
- orig_evgl_api_glGetTexEnvfv(thread_param->env,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexEnvfv(thread_data->env,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexEnvfv thread_param_local;
- EVGL_API_Thread_Command_glGetTexEnvfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexEnvfv thread_data_local;
+ EVGL_API_Thread_Command_glGetTexEnvfv *thread_data = &thread_data_local;
- thread_param->env = env;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->env = env;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexEnvfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightModelf(GLenum pname, GLfloat param);
+ * void
+ * glLightModelf(GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_api_thread_glLightModelf(void *data)
{
- EVGL_API_Thread_Command_glLightModelf *thread_param =
+ EVGL_API_Thread_Command_glLightModelf *thread_data =
(EVGL_API_Thread_Command_glLightModelf *)data;
- orig_evgl_api_glLightModelf(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glLightModelf(thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightModelf thread_param_local;
- EVGL_API_Thread_Command_glLightModelf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightModelf thread_data_local;
+ EVGL_API_Thread_Command_glLightModelf *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightModelf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightModelfv(GLenum pname, const GLfloat *params);
+ * void
+ * glLightModelfv(GLenum pname, const GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glLightModelfv(void *data)
{
- EVGL_API_Thread_Command_glLightModelfv *thread_param =
+ EVGL_API_Thread_Command_glLightModelfv *thread_data =
(EVGL_API_Thread_Command_glLightModelfv *)data;
- orig_evgl_api_glLightModelfv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glLightModelfv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightModelfv thread_param_local;
- EVGL_API_Thread_Command_glLightModelfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightModelfv thread_data_local;
+ EVGL_API_Thread_Command_glLightModelfv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightModelfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightf(GLenum light, GLenum pname, GLfloat param);
+ * void
+ * glLightf(GLenum light, GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_api_thread_glLightf(void *data)
{
- EVGL_API_Thread_Command_glLightf *thread_param =
+ EVGL_API_Thread_Command_glLightf *thread_data =
(EVGL_API_Thread_Command_glLightf *)data;
- orig_evgl_api_glLightf(thread_param->light,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glLightf(thread_data->light,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightf thread_param_local;
- EVGL_API_Thread_Command_glLightf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightf thread_data_local;
+ EVGL_API_Thread_Command_glLightf *thread_data = &thread_data_local;
- thread_param->light = light;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->light = light;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightfv(GLenum light, GLenum pname, const GLfloat *params);
+ * void
+ * glLightfv(GLenum light, GLenum pname, const GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glLightfv(void *data)
{
- EVGL_API_Thread_Command_glLightfv *thread_param =
+ EVGL_API_Thread_Command_glLightfv *thread_data =
(EVGL_API_Thread_Command_glLightfv *)data;
- orig_evgl_api_glLightfv(thread_param->light,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glLightfv(thread_data->light,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightfv thread_param_local;
- EVGL_API_Thread_Command_glLightfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightfv thread_data_local;
+ EVGL_API_Thread_Command_glLightfv *thread_data = &thread_data_local;
- thread_param->light = light;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->light = light;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLoadMatrixf(const GLfloat *m);
+ * void
+ * glLoadMatrixf(const GLfloat *m);
*/
typedef struct
static void
_evgl_api_thread_glLoadMatrixf(void *data)
{
- EVGL_API_Thread_Command_glLoadMatrixf *thread_param =
+ EVGL_API_Thread_Command_glLoadMatrixf *thread_data =
(EVGL_API_Thread_Command_glLoadMatrixf *)data;
- orig_evgl_api_glLoadMatrixf(thread_param->m);
+ orig_evgl_api_glLoadMatrixf(thread_data->m);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLoadMatrixf thread_param_local;
- EVGL_API_Thread_Command_glLoadMatrixf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLoadMatrixf thread_data_local;
+ EVGL_API_Thread_Command_glLoadMatrixf *thread_data = &thread_data_local;
- thread_param->m = m;
+ thread_data->m = m;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLoadMatrixf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMaterialf(GLenum face, GLenum pname, GLfloat param);
+ * void
+ * glMaterialf(GLenum face, GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_api_thread_glMaterialf(void *data)
{
- EVGL_API_Thread_Command_glMaterialf *thread_param =
+ EVGL_API_Thread_Command_glMaterialf *thread_data =
(EVGL_API_Thread_Command_glMaterialf *)data;
- orig_evgl_api_glMaterialf(thread_param->face,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glMaterialf(thread_data->face,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMaterialf thread_param_local;
- EVGL_API_Thread_Command_glMaterialf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMaterialf thread_data_local;
+ EVGL_API_Thread_Command_glMaterialf *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->face = face;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMaterialf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
+ * void
+ * glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glMaterialfv(void *data)
{
- EVGL_API_Thread_Command_glMaterialfv *thread_param =
+ EVGL_API_Thread_Command_glMaterialfv *thread_data =
(EVGL_API_Thread_Command_glMaterialfv *)data;
- orig_evgl_api_glMaterialfv(thread_param->face,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glMaterialfv(thread_data->face,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMaterialfv thread_param_local;
- EVGL_API_Thread_Command_glMaterialfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMaterialfv thread_data_local;
+ EVGL_API_Thread_Command_glMaterialfv *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->face = face;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMaterialfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultMatrixf(const GLfloat *m);
+ * void
+ * glMultMatrixf(const GLfloat *m);
*/
typedef struct
static void
_evgl_api_thread_glMultMatrixf(void *data)
{
- EVGL_API_Thread_Command_glMultMatrixf *thread_param =
+ EVGL_API_Thread_Command_glMultMatrixf *thread_data =
(EVGL_API_Thread_Command_glMultMatrixf *)data;
- orig_evgl_api_glMultMatrixf(thread_param->m);
+ orig_evgl_api_glMultMatrixf(thread_data->m);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultMatrixf thread_param_local;
- EVGL_API_Thread_Command_glMultMatrixf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultMatrixf thread_data_local;
+ EVGL_API_Thread_Command_glMultMatrixf *thread_data = &thread_data_local;
- thread_param->m = m;
+ thread_data->m = m;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultMatrixf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
+ * void
+ * glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
*/
typedef struct
static void
_evgl_api_thread_glMultiTexCoord4f(void *data)
{
- EVGL_API_Thread_Command_glMultiTexCoord4f *thread_param =
+ EVGL_API_Thread_Command_glMultiTexCoord4f *thread_data =
(EVGL_API_Thread_Command_glMultiTexCoord4f *)data;
- orig_evgl_api_glMultiTexCoord4f(thread_param->target,
- thread_param->s,
- thread_param->t,
- thread_param->r,
- thread_param->q);
+ orig_evgl_api_glMultiTexCoord4f(thread_data->target,
+ thread_data->s,
+ thread_data->t,
+ thread_data->r,
+ thread_data->q);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultiTexCoord4f thread_param_local;
- EVGL_API_Thread_Command_glMultiTexCoord4f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultiTexCoord4f thread_data_local;
+ EVGL_API_Thread_Command_glMultiTexCoord4f *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->s = s;
- thread_param->t = t;
- thread_param->r = r;
- thread_param->q = q;
+ thread_data->target = target;
+ thread_data->s = s;
+ thread_data->t = t;
+ thread_data->r = r;
+ thread_data->q = q;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultiTexCoord4f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
+ * void
+ * glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
*/
typedef struct
static void
_evgl_api_thread_glNormal3f(void *data)
{
- EVGL_API_Thread_Command_glNormal3f *thread_param =
+ EVGL_API_Thread_Command_glNormal3f *thread_data =
(EVGL_API_Thread_Command_glNormal3f *)data;
- orig_evgl_api_glNormal3f(thread_param->nx,
- thread_param->ny,
- thread_param->nz);
+ orig_evgl_api_glNormal3f(thread_data->nx,
+ thread_data->ny,
+ thread_data->nz);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glNormal3f thread_param_local;
- EVGL_API_Thread_Command_glNormal3f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glNormal3f thread_data_local;
+ EVGL_API_Thread_Command_glNormal3f *thread_data = &thread_data_local;
- thread_param->nx = nx;
- thread_param->ny = ny;
- thread_param->nz = nz;
+ thread_data->nx = nx;
+ thread_data->ny = ny;
+ thread_data->nz = nz;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glNormal3f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
+ * void
+ * glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
*/
typedef struct
static void
_evgl_api_thread_glOrthof(void *data)
{
- EVGL_API_Thread_Command_glOrthof *thread_param =
+ EVGL_API_Thread_Command_glOrthof *thread_data =
(EVGL_API_Thread_Command_glOrthof *)data;
- orig_evgl_api_glOrthof(thread_param->left,
- thread_param->right,
- thread_param->bottom,
- thread_param->top,
- thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glOrthof(thread_data->left,
+ thread_data->right,
+ thread_data->bottom,
+ thread_data->top,
+ thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glOrthof thread_param_local;
- EVGL_API_Thread_Command_glOrthof *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glOrthof thread_data_local;
+ EVGL_API_Thread_Command_glOrthof *thread_data = &thread_data_local;
- thread_param->left = left;
- thread_param->right = right;
- thread_param->bottom = bottom;
- thread_param->top = top;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->left = left;
+ thread_data->right = right;
+ thread_data->bottom = bottom;
+ thread_data->top = top;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glOrthof,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointParameterf(GLenum pname, GLfloat param);
+ * void
+ * glPointParameterf(GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_api_thread_glPointParameterf(void *data)
{
- EVGL_API_Thread_Command_glPointParameterf *thread_param =
+ EVGL_API_Thread_Command_glPointParameterf *thread_data =
(EVGL_API_Thread_Command_glPointParameterf *)data;
- orig_evgl_api_glPointParameterf(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glPointParameterf(thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointParameterf thread_param_local;
- EVGL_API_Thread_Command_glPointParameterf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointParameterf thread_data_local;
+ EVGL_API_Thread_Command_glPointParameterf *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointParameterf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointParameterfv(GLenum pname, const GLfloat *params);
+ * void
+ * glPointParameterfv(GLenum pname, const GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glPointParameterfv(void *data)
{
- EVGL_API_Thread_Command_glPointParameterfv *thread_param =
+ EVGL_API_Thread_Command_glPointParameterfv *thread_data =
(EVGL_API_Thread_Command_glPointParameterfv *)data;
- orig_evgl_api_glPointParameterfv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glPointParameterfv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointParameterfv thread_param_local;
- EVGL_API_Thread_Command_glPointParameterfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointParameterfv thread_data_local;
+ EVGL_API_Thread_Command_glPointParameterfv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointParameterfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointSize(GLfloat size);
+ * void
+ * glPointSize(GLfloat size);
*/
typedef struct
static void
_evgl_api_thread_glPointSize(void *data)
{
- EVGL_API_Thread_Command_glPointSize *thread_param =
+ EVGL_API_Thread_Command_glPointSize *thread_data =
(EVGL_API_Thread_Command_glPointSize *)data;
- orig_evgl_api_glPointSize(thread_param->size);
+ orig_evgl_api_glPointSize(thread_data->size);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointSize thread_param_local;
- EVGL_API_Thread_Command_glPointSize *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointSize thread_data_local;
+ EVGL_API_Thread_Command_glPointSize *thread_data = &thread_data_local;
- thread_param->size = size;
+ thread_data->size = size;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointSize,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid * pointer);
+ * void
+ * glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid * pointer);
*/
typedef struct
static void
_evgl_api_thread_glPointSizePointerOES(void *data)
{
- EVGL_API_Thread_Command_glPointSizePointerOES *thread_param =
+ EVGL_API_Thread_Command_glPointSizePointerOES *thread_data =
(EVGL_API_Thread_Command_glPointSizePointerOES *)data;
- orig_evgl_api_glPointSizePointerOES(thread_param->type,
- thread_param->stride,
- thread_param->pointer);
+ orig_evgl_api_glPointSizePointerOES(thread_data->type,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointSizePointerOES thread_param_local;
- EVGL_API_Thread_Command_glPointSizePointerOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointSizePointerOES thread_data_local;
+ EVGL_API_Thread_Command_glPointSizePointerOES *thread_data = &thread_data_local;
- thread_param->type = type;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->type = type;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointSizePointerOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
+ * void
+ * glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
*/
typedef struct
static void
_evgl_api_thread_glRotatef(void *data)
{
- EVGL_API_Thread_Command_glRotatef *thread_param =
+ EVGL_API_Thread_Command_glRotatef *thread_data =
(EVGL_API_Thread_Command_glRotatef *)data;
- orig_evgl_api_glRotatef(thread_param->angle,
- thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glRotatef(thread_data->angle,
+ thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glRotatef thread_param_local;
- EVGL_API_Thread_Command_glRotatef *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glRotatef thread_data_local;
+ EVGL_API_Thread_Command_glRotatef *thread_data = &thread_data_local;
- thread_param->angle = angle;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->angle = angle;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glRotatef,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glScalef(GLfloat x, GLfloat y, GLfloat z);
+ * void
+ * glScalef(GLfloat x, GLfloat y, GLfloat z);
*/
typedef struct
static void
_evgl_api_thread_glScalef(void *data)
{
- EVGL_API_Thread_Command_glScalef *thread_param =
+ EVGL_API_Thread_Command_glScalef *thread_data =
(EVGL_API_Thread_Command_glScalef *)data;
- orig_evgl_api_glScalef(thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glScalef(thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glScalef thread_param_local;
- EVGL_API_Thread_Command_glScalef *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glScalef thread_data_local;
+ EVGL_API_Thread_Command_glScalef *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glScalef,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexEnvf(GLenum target, GLenum pname, GLfloat param);
+ * void
+ * glTexEnvf(GLenum target, GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_api_thread_glTexEnvf(void *data)
{
- EVGL_API_Thread_Command_glTexEnvf *thread_param =
+ EVGL_API_Thread_Command_glTexEnvf *thread_data =
(EVGL_API_Thread_Command_glTexEnvf *)data;
- orig_evgl_api_glTexEnvf(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexEnvf(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexEnvf thread_param_local;
- EVGL_API_Thread_Command_glTexEnvf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexEnvf thread_data_local;
+ EVGL_API_Thread_Command_glTexEnvf *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexEnvf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
+ * void
+ * glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glTexEnvfv(void *data)
{
- EVGL_API_Thread_Command_glTexEnvfv *thread_param =
+ EVGL_API_Thread_Command_glTexEnvfv *thread_data =
(EVGL_API_Thread_Command_glTexEnvfv *)data;
- orig_evgl_api_glTexEnvfv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexEnvfv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexEnvfv thread_param_local;
- EVGL_API_Thread_Command_glTexEnvfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexEnvfv thread_data_local;
+ EVGL_API_Thread_Command_glTexEnvfv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexEnvfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTranslatef(GLfloat x, GLfloat y, GLfloat z);
+ * void
+ * glTranslatef(GLfloat x, GLfloat y, GLfloat z);
*/
typedef struct
static void
_evgl_api_thread_glTranslatef(void *data)
{
- EVGL_API_Thread_Command_glTranslatef *thread_param =
+ EVGL_API_Thread_Command_glTranslatef *thread_data =
(EVGL_API_Thread_Command_glTranslatef *)data;
- orig_evgl_api_glTranslatef(thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glTranslatef(thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTranslatef thread_param_local;
- EVGL_API_Thread_Command_glTranslatef *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTranslatef thread_data_local;
+ EVGL_API_Thread_Command_glTranslatef *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTranslatef,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glAlphaFuncx(GLenum func, GLclampx ref);
+ * void
+ * glAlphaFuncx(GLenum func, GLclampx ref);
*/
typedef struct
static void
_evgl_api_thread_glAlphaFuncx(void *data)
{
- EVGL_API_Thread_Command_glAlphaFuncx *thread_param =
+ EVGL_API_Thread_Command_glAlphaFuncx *thread_data =
(EVGL_API_Thread_Command_glAlphaFuncx *)data;
- orig_evgl_api_glAlphaFuncx(thread_param->func,
- thread_param->ref);
+ orig_evgl_api_glAlphaFuncx(thread_data->func,
+ thread_data->ref);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glAlphaFuncx thread_param_local;
- EVGL_API_Thread_Command_glAlphaFuncx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glAlphaFuncx thread_data_local;
+ EVGL_API_Thread_Command_glAlphaFuncx *thread_data = &thread_data_local;
- thread_param->func = func;
- thread_param->ref = ref;
+ thread_data->func = func;
+ thread_data->ref = ref;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glAlphaFuncx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
+ * void
+ * glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
*/
typedef struct
static void
_evgl_api_thread_glClearColorx(void *data)
{
- EVGL_API_Thread_Command_glClearColorx *thread_param =
+ EVGL_API_Thread_Command_glClearColorx *thread_data =
(EVGL_API_Thread_Command_glClearColorx *)data;
- orig_evgl_api_glClearColorx(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ orig_evgl_api_glClearColorx(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearColorx thread_param_local;
- EVGL_API_Thread_Command_glClearColorx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearColorx thread_data_local;
+ EVGL_API_Thread_Command_glClearColorx *thread_data = &thread_data_local;
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearColorx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearDepthx(GLclampx depth);
+ * void
+ * glClearDepthx(GLclampx depth);
*/
typedef struct
static void
_evgl_api_thread_glClearDepthx(void *data)
{
- EVGL_API_Thread_Command_glClearDepthx *thread_param =
+ EVGL_API_Thread_Command_glClearDepthx *thread_data =
(EVGL_API_Thread_Command_glClearDepthx *)data;
- orig_evgl_api_glClearDepthx(thread_param->depth);
+ orig_evgl_api_glClearDepthx(thread_data->depth);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearDepthx thread_param_local;
- EVGL_API_Thread_Command_glClearDepthx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearDepthx thread_data_local;
+ EVGL_API_Thread_Command_glClearDepthx *thread_data = &thread_data_local;
- thread_param->depth = depth;
+ thread_data->depth = depth;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearDepthx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClientActiveTexture(GLenum texture);
+ * void
+ * glClientActiveTexture(GLenum texture);
*/
typedef struct
static void
_evgl_api_thread_glClientActiveTexture(void *data)
{
- EVGL_API_Thread_Command_glClientActiveTexture *thread_param =
+ EVGL_API_Thread_Command_glClientActiveTexture *thread_data =
(EVGL_API_Thread_Command_glClientActiveTexture *)data;
- orig_evgl_api_glClientActiveTexture(thread_param->texture);
+ orig_evgl_api_glClientActiveTexture(thread_data->texture);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClientActiveTexture thread_param_local;
- EVGL_API_Thread_Command_glClientActiveTexture *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClientActiveTexture thread_data_local;
+ EVGL_API_Thread_Command_glClientActiveTexture *thread_data = &thread_data_local;
- thread_param->texture = texture;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClientActiveTexture,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClipPlanex(GLenum plane, const GLfixed *equation);
+ * void
+ * glClipPlanex(GLenum plane, const GLfixed *equation);
*/
typedef struct
static void
_evgl_api_thread_glClipPlanex(void *data)
{
- EVGL_API_Thread_Command_glClipPlanex *thread_param =
+ EVGL_API_Thread_Command_glClipPlanex *thread_data =
(EVGL_API_Thread_Command_glClipPlanex *)data;
- orig_evgl_api_glClipPlanex(thread_param->plane,
- thread_param->equation);
+ orig_evgl_api_glClipPlanex(thread_data->plane,
+ thread_data->equation);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClipPlanex thread_param_local;
- EVGL_API_Thread_Command_glClipPlanex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClipPlanex thread_data_local;
+ EVGL_API_Thread_Command_glClipPlanex *thread_data = &thread_data_local;
- thread_param->plane = plane;
- thread_param->equation = equation;
+ thread_data->plane = plane;
+ thread_data->equation = equation;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClipPlanex,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
+ * void
+ * glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
*/
typedef struct
static void
_evgl_api_thread_glColor4ub(void *data)
{
- EVGL_API_Thread_Command_glColor4ub *thread_param =
+ EVGL_API_Thread_Command_glColor4ub *thread_data =
(EVGL_API_Thread_Command_glColor4ub *)data;
- orig_evgl_api_glColor4ub(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ orig_evgl_api_glColor4ub(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glColor4ub thread_param_local;
- EVGL_API_Thread_Command_glColor4ub *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glColor4ub thread_data_local;
+ EVGL_API_Thread_Command_glColor4ub *thread_data = &thread_data_local;
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glColor4ub,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+ * void
+ * glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
*/
typedef struct
static void
_evgl_api_thread_glColor4x(void *data)
{
- EVGL_API_Thread_Command_glColor4x *thread_param =
+ EVGL_API_Thread_Command_glColor4x *thread_data =
(EVGL_API_Thread_Command_glColor4x *)data;
- orig_evgl_api_glColor4x(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ orig_evgl_api_glColor4x(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glColor4x thread_param_local;
- EVGL_API_Thread_Command_glColor4x *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glColor4x thread_data_local;
+ EVGL_API_Thread_Command_glColor4x *thread_data = &thread_data_local;
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glColor4x,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
+ * void
+ * glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
*/
typedef struct
static void
_evgl_api_thread_glColorPointer(void *data)
{
- EVGL_API_Thread_Command_glColorPointer *thread_param =
+ EVGL_API_Thread_Command_glColorPointer *thread_data =
(EVGL_API_Thread_Command_glColorPointer *)data;
- orig_evgl_api_glColorPointer(thread_param->size,
- thread_param->type,
- thread_param->stride,
- thread_param->pointer);
+ orig_evgl_api_glColorPointer(thread_data->size,
+ thread_data->type,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glColorPointer thread_param_local;
- EVGL_API_Thread_Command_glColorPointer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glColorPointer thread_data_local;
+ EVGL_API_Thread_Command_glColorPointer *thread_data = &thread_data_local;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glColorPointer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDepthRangex(GLclampx zNear, GLclampx zFar);
+ * void
+ * glDepthRangex(GLclampx zNear, GLclampx zFar);
*/
typedef struct
static void
_evgl_api_thread_glDepthRangex(void *data)
{
- EVGL_API_Thread_Command_glDepthRangex *thread_param =
+ EVGL_API_Thread_Command_glDepthRangex *thread_data =
(EVGL_API_Thread_Command_glDepthRangex *)data;
- orig_evgl_api_glDepthRangex(thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glDepthRangex(thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDepthRangex thread_param_local;
- EVGL_API_Thread_Command_glDepthRangex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDepthRangex thread_data_local;
+ EVGL_API_Thread_Command_glDepthRangex *thread_data = &thread_data_local;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDepthRangex,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDisableClientState(GLenum array);
+ * void
+ * glDisableClientState(GLenum array);
*/
typedef struct
static void
_evgl_api_thread_glDisableClientState(void *data)
{
- EVGL_API_Thread_Command_glDisableClientState *thread_param =
+ EVGL_API_Thread_Command_glDisableClientState *thread_data =
(EVGL_API_Thread_Command_glDisableClientState *)data;
- orig_evgl_api_glDisableClientState(thread_param->array);
+ orig_evgl_api_glDisableClientState(thread_data->array);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDisableClientState thread_param_local;
- EVGL_API_Thread_Command_glDisableClientState *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDisableClientState thread_data_local;
+ EVGL_API_Thread_Command_glDisableClientState *thread_data = &thread_data_local;
- thread_param->array = array;
+ thread_data->array = array;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDisableClientState,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEnableClientState(GLenum array);
+ * void
+ * glEnableClientState(GLenum array);
*/
typedef struct
static void
_evgl_api_thread_glEnableClientState(void *data)
{
- EVGL_API_Thread_Command_glEnableClientState *thread_param =
+ EVGL_API_Thread_Command_glEnableClientState *thread_data =
(EVGL_API_Thread_Command_glEnableClientState *)data;
- orig_evgl_api_glEnableClientState(thread_param->array);
+ orig_evgl_api_glEnableClientState(thread_data->array);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEnableClientState thread_param_local;
- EVGL_API_Thread_Command_glEnableClientState *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEnableClientState thread_data_local;
+ EVGL_API_Thread_Command_glEnableClientState *thread_data = &thread_data_local;
- thread_param->array = array;
+ thread_data->array = array;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEnableClientState,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFogx(GLenum pname, GLfixed param);
+ * void
+ * glFogx(GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glFogx(void *data)
{
- EVGL_API_Thread_Command_glFogx *thread_param =
+ EVGL_API_Thread_Command_glFogx *thread_data =
(EVGL_API_Thread_Command_glFogx *)data;
- orig_evgl_api_glFogx(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glFogx(thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFogx thread_param_local;
- EVGL_API_Thread_Command_glFogx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFogx thread_data_local;
+ EVGL_API_Thread_Command_glFogx *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFogx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFogxv(GLenum pname, const GLfixed *params);
+ * void
+ * glFogxv(GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glFogxv(void *data)
{
- EVGL_API_Thread_Command_glFogxv *thread_param =
+ EVGL_API_Thread_Command_glFogxv *thread_data =
(EVGL_API_Thread_Command_glFogxv *)data;
- orig_evgl_api_glFogxv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glFogxv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFogxv thread_param_local;
- EVGL_API_Thread_Command_glFogxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFogxv thread_data_local;
+ EVGL_API_Thread_Command_glFogxv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFogxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
+ * void
+ * glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
*/
typedef struct
static void
_evgl_api_thread_glFrustumx(void *data)
{
- EVGL_API_Thread_Command_glFrustumx *thread_param =
+ EVGL_API_Thread_Command_glFrustumx *thread_data =
(EVGL_API_Thread_Command_glFrustumx *)data;
- orig_evgl_api_glFrustumx(thread_param->left,
- thread_param->right,
- thread_param->bottom,
- thread_param->top,
- thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glFrustumx(thread_data->left,
+ thread_data->right,
+ thread_data->bottom,
+ thread_data->top,
+ thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFrustumx thread_param_local;
- EVGL_API_Thread_Command_glFrustumx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFrustumx thread_data_local;
+ EVGL_API_Thread_Command_glFrustumx *thread_data = &thread_data_local;
- thread_param->left = left;
- thread_param->right = right;
- thread_param->bottom = bottom;
- thread_param->top = top;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->left = left;
+ thread_data->right = right;
+ thread_data->bottom = bottom;
+ thread_data->top = top;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFrustumx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetClipPlanex(GLenum pname, GLfixed eqn[4]);
+ * void
+ * glGetClipPlanex(GLenum pname, GLfixed eqn[4]);
*/
typedef struct
static void
_evgl_api_thread_glGetClipPlanex(void *data)
{
- EVGL_API_Thread_Command_glGetClipPlanex *thread_param =
+ EVGL_API_Thread_Command_glGetClipPlanex *thread_data =
(EVGL_API_Thread_Command_glGetClipPlanex *)data;
- orig_evgl_api_glGetClipPlanex(thread_param->pname,
- thread_param->eqn);
+ orig_evgl_api_glGetClipPlanex(thread_data->pname,
+ thread_data->eqn);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetClipPlanex thread_param_local;
- EVGL_API_Thread_Command_glGetClipPlanex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetClipPlanex thread_data_local;
+ EVGL_API_Thread_Command_glGetClipPlanex *thread_data = &thread_data_local;
- thread_param->pname = pname;
- memcpy(thread_param->eqn, &eqn, sizeof(eqn));
+ thread_data->pname = pname;
+ memcpy(thread_data->eqn, &eqn, sizeof(GLfixed) * 4);
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetClipPlanex,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetFixedv(GLenum pname, GLfixed *params);
+ * void
+ * glGetFixedv(GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetFixedv(void *data)
{
- EVGL_API_Thread_Command_glGetFixedv *thread_param =
+ EVGL_API_Thread_Command_glGetFixedv *thread_data =
(EVGL_API_Thread_Command_glGetFixedv *)data;
- orig_evgl_api_glGetFixedv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetFixedv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetFixedv thread_param_local;
- EVGL_API_Thread_Command_glGetFixedv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetFixedv thread_data_local;
+ EVGL_API_Thread_Command_glGetFixedv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetFixedv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetLightxv(GLenum light, GLenum pname, GLfixed *params);
+ * void
+ * glGetLightxv(GLenum light, GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetLightxv(void *data)
{
- EVGL_API_Thread_Command_glGetLightxv *thread_param =
+ EVGL_API_Thread_Command_glGetLightxv *thread_data =
(EVGL_API_Thread_Command_glGetLightxv *)data;
- orig_evgl_api_glGetLightxv(thread_param->light,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetLightxv(thread_data->light,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetLightxv thread_param_local;
- EVGL_API_Thread_Command_glGetLightxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetLightxv thread_data_local;
+ EVGL_API_Thread_Command_glGetLightxv *thread_data = &thread_data_local;
- thread_param->light = light;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->light = light;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetLightxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params);
+ * void
+ * glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetMaterialxv(void *data)
{
- EVGL_API_Thread_Command_glGetMaterialxv *thread_param =
+ EVGL_API_Thread_Command_glGetMaterialxv *thread_data =
(EVGL_API_Thread_Command_glGetMaterialxv *)data;
- orig_evgl_api_glGetMaterialxv(thread_param->face,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetMaterialxv(thread_data->face,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetMaterialxv thread_param_local;
- EVGL_API_Thread_Command_glGetMaterialxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetMaterialxv thread_data_local;
+ EVGL_API_Thread_Command_glGetMaterialxv *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->face = face;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetMaterialxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetPointerv(GLenum pname, GLvoid **params);
+ * void
+ * glGetPointerv(GLenum pname, GLvoid **params);
*/
typedef struct
static void
_evgl_api_thread_glGetPointerv(void *data)
{
- EVGL_API_Thread_Command_glGetPointerv *thread_param =
+ EVGL_API_Thread_Command_glGetPointerv *thread_data =
(EVGL_API_Thread_Command_glGetPointerv *)data;
- orig_evgl_api_glGetPointerv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetPointerv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetPointerv thread_param_local;
- EVGL_API_Thread_Command_glGetPointerv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetPointerv thread_data_local;
+ EVGL_API_Thread_Command_glGetPointerv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetPointerv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexEnviv(GLenum env, GLenum pname, GLint *params);
+ * void
+ * glGetTexEnviv(GLenum env, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexEnviv(void *data)
{
- EVGL_API_Thread_Command_glGetTexEnviv *thread_param =
+ EVGL_API_Thread_Command_glGetTexEnviv *thread_data =
(EVGL_API_Thread_Command_glGetTexEnviv *)data;
- orig_evgl_api_glGetTexEnviv(thread_param->env,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexEnviv(thread_data->env,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexEnviv thread_param_local;
- EVGL_API_Thread_Command_glGetTexEnviv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexEnviv thread_data_local;
+ EVGL_API_Thread_Command_glGetTexEnviv *thread_data = &thread_data_local;
- thread_param->env = env;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->env = env;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexEnviv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params);
+ * void
+ * glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexEnvxv(void *data)
{
- EVGL_API_Thread_Command_glGetTexEnvxv *thread_param =
+ EVGL_API_Thread_Command_glGetTexEnvxv *thread_data =
(EVGL_API_Thread_Command_glGetTexEnvxv *)data;
- orig_evgl_api_glGetTexEnvxv(thread_param->env,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexEnvxv(thread_data->env,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexEnvxv thread_param_local;
- EVGL_API_Thread_Command_glGetTexEnvxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexEnvxv thread_data_local;
+ EVGL_API_Thread_Command_glGetTexEnvxv *thread_data = &thread_data_local;
- thread_param->env = env;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->env = env;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexEnvxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params);
+ * void
+ * glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexParameterxv(void *data)
{
- EVGL_API_Thread_Command_glGetTexParameterxv *thread_param =
+ EVGL_API_Thread_Command_glGetTexParameterxv *thread_data =
(EVGL_API_Thread_Command_glGetTexParameterxv *)data;
- orig_evgl_api_glGetTexParameterxv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexParameterxv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexParameterxv thread_param_local;
- EVGL_API_Thread_Command_glGetTexParameterxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexParameterxv thread_data_local;
+ EVGL_API_Thread_Command_glGetTexParameterxv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexParameterxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightModelx(GLenum pname, GLfixed param);
+ * void
+ * glLightModelx(GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glLightModelx(void *data)
{
- EVGL_API_Thread_Command_glLightModelx *thread_param =
+ EVGL_API_Thread_Command_glLightModelx *thread_data =
(EVGL_API_Thread_Command_glLightModelx *)data;
- orig_evgl_api_glLightModelx(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glLightModelx(thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightModelx thread_param_local;
- EVGL_API_Thread_Command_glLightModelx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightModelx thread_data_local;
+ EVGL_API_Thread_Command_glLightModelx *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightModelx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightModelxv(GLenum pname, const GLfixed *params);
+ * void
+ * glLightModelxv(GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glLightModelxv(void *data)
{
- EVGL_API_Thread_Command_glLightModelxv *thread_param =
+ EVGL_API_Thread_Command_glLightModelxv *thread_data =
(EVGL_API_Thread_Command_glLightModelxv *)data;
- orig_evgl_api_glLightModelxv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glLightModelxv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightModelxv thread_param_local;
- EVGL_API_Thread_Command_glLightModelxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightModelxv thread_data_local;
+ EVGL_API_Thread_Command_glLightModelxv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightModelxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightx(GLenum light, GLenum pname, GLfixed param);
+ * void
+ * glLightx(GLenum light, GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glLightx(void *data)
{
- EVGL_API_Thread_Command_glLightx *thread_param =
+ EVGL_API_Thread_Command_glLightx *thread_data =
(EVGL_API_Thread_Command_glLightx *)data;
- orig_evgl_api_glLightx(thread_param->light,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glLightx(thread_data->light,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightx thread_param_local;
- EVGL_API_Thread_Command_glLightx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightx thread_data_local;
+ EVGL_API_Thread_Command_glLightx *thread_data = &thread_data_local;
- thread_param->light = light;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->light = light;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightxv(GLenum light, GLenum pname, const GLfixed *params);
+ * void
+ * glLightxv(GLenum light, GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glLightxv(void *data)
{
- EVGL_API_Thread_Command_glLightxv *thread_param =
+ EVGL_API_Thread_Command_glLightxv *thread_data =
(EVGL_API_Thread_Command_glLightxv *)data;
- orig_evgl_api_glLightxv(thread_param->light,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glLightxv(thread_data->light,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightxv thread_param_local;
- EVGL_API_Thread_Command_glLightxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightxv thread_data_local;
+ EVGL_API_Thread_Command_glLightxv *thread_data = &thread_data_local;
- thread_param->light = light;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->light = light;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLineWidthx(GLfixed width);
+ * void
+ * glLineWidthx(GLfixed width);
*/
typedef struct
static void
_evgl_api_thread_glLineWidthx(void *data)
{
- EVGL_API_Thread_Command_glLineWidthx *thread_param =
+ EVGL_API_Thread_Command_glLineWidthx *thread_data =
(EVGL_API_Thread_Command_glLineWidthx *)data;
- orig_evgl_api_glLineWidthx(thread_param->width);
+ orig_evgl_api_glLineWidthx(thread_data->width);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLineWidthx thread_param_local;
- EVGL_API_Thread_Command_glLineWidthx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLineWidthx thread_data_local;
+ EVGL_API_Thread_Command_glLineWidthx *thread_data = &thread_data_local;
- thread_param->width = width;
+ thread_data->width = width;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLineWidthx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLoadIdentity(void);
+ * void
+ * glLoadIdentity(void);
*/
void (*orig_evgl_api_glLoadIdentity)(void);
}
/*
- void
- glLoadMatrixx(const GLfixed *m);
+ * void
+ * glLoadMatrixx(const GLfixed *m);
*/
typedef struct
static void
_evgl_api_thread_glLoadMatrixx(void *data)
{
- EVGL_API_Thread_Command_glLoadMatrixx *thread_param =
+ EVGL_API_Thread_Command_glLoadMatrixx *thread_data =
(EVGL_API_Thread_Command_glLoadMatrixx *)data;
- orig_evgl_api_glLoadMatrixx(thread_param->m);
+ orig_evgl_api_glLoadMatrixx(thread_data->m);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLoadMatrixx thread_param_local;
- EVGL_API_Thread_Command_glLoadMatrixx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLoadMatrixx thread_data_local;
+ EVGL_API_Thread_Command_glLoadMatrixx *thread_data = &thread_data_local;
- thread_param->m = m;
+ thread_data->m = m;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLoadMatrixx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLogicOp(GLenum opcode);
+ * void
+ * glLogicOp(GLenum opcode);
*/
typedef struct
static void
_evgl_api_thread_glLogicOp(void *data)
{
- EVGL_API_Thread_Command_glLogicOp *thread_param =
+ EVGL_API_Thread_Command_glLogicOp *thread_data =
(EVGL_API_Thread_Command_glLogicOp *)data;
- orig_evgl_api_glLogicOp(thread_param->opcode);
+ orig_evgl_api_glLogicOp(thread_data->opcode);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLogicOp thread_param_local;
- EVGL_API_Thread_Command_glLogicOp *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLogicOp thread_data_local;
+ EVGL_API_Thread_Command_glLogicOp *thread_data = &thread_data_local;
- thread_param->opcode = opcode;
+ thread_data->opcode = opcode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLogicOp,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMaterialx(GLenum face, GLenum pname, GLfixed param);
+ * void
+ * glMaterialx(GLenum face, GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glMaterialx(void *data)
{
- EVGL_API_Thread_Command_glMaterialx *thread_param =
+ EVGL_API_Thread_Command_glMaterialx *thread_data =
(EVGL_API_Thread_Command_glMaterialx *)data;
- orig_evgl_api_glMaterialx(thread_param->face,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glMaterialx(thread_data->face,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMaterialx thread_param_local;
- EVGL_API_Thread_Command_glMaterialx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMaterialx thread_data_local;
+ EVGL_API_Thread_Command_glMaterialx *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->face = face;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMaterialx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMaterialxv(GLenum face, GLenum pname, const GLfixed *params);
+ * void
+ * glMaterialxv(GLenum face, GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glMaterialxv(void *data)
{
- EVGL_API_Thread_Command_glMaterialxv *thread_param =
+ EVGL_API_Thread_Command_glMaterialxv *thread_data =
(EVGL_API_Thread_Command_glMaterialxv *)data;
- orig_evgl_api_glMaterialxv(thread_param->face,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glMaterialxv(thread_data->face,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMaterialxv thread_param_local;
- EVGL_API_Thread_Command_glMaterialxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMaterialxv thread_data_local;
+ EVGL_API_Thread_Command_glMaterialxv *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->face = face;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMaterialxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMatrixMode(GLenum mode);
+ * void
+ * glMatrixMode(GLenum mode);
*/
typedef struct
static void
_evgl_api_thread_glMatrixMode(void *data)
{
- EVGL_API_Thread_Command_glMatrixMode *thread_param =
+ EVGL_API_Thread_Command_glMatrixMode *thread_data =
(EVGL_API_Thread_Command_glMatrixMode *)data;
- orig_evgl_api_glMatrixMode(thread_param->mode);
+ orig_evgl_api_glMatrixMode(thread_data->mode);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMatrixMode thread_param_local;
- EVGL_API_Thread_Command_glMatrixMode *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMatrixMode thread_data_local;
+ EVGL_API_Thread_Command_glMatrixMode *thread_data = &thread_data_local;
- thread_param->mode = mode;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMatrixMode,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultMatrixx(const GLfixed *m);
+ * void
+ * glMultMatrixx(const GLfixed *m);
*/
typedef struct
static void
_evgl_api_thread_glMultMatrixx(void *data)
{
- EVGL_API_Thread_Command_glMultMatrixx *thread_param =
+ EVGL_API_Thread_Command_glMultMatrixx *thread_data =
(EVGL_API_Thread_Command_glMultMatrixx *)data;
- orig_evgl_api_glMultMatrixx(thread_param->m);
+ orig_evgl_api_glMultMatrixx(thread_data->m);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultMatrixx thread_param_local;
- EVGL_API_Thread_Command_glMultMatrixx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultMatrixx thread_data_local;
+ EVGL_API_Thread_Command_glMultMatrixx *thread_data = &thread_data_local;
- thread_param->m = m;
+ thread_data->m = m;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultMatrixx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+ * void
+ * glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
*/
typedef struct
static void
_evgl_api_thread_glMultiTexCoord4x(void *data)
{
- EVGL_API_Thread_Command_glMultiTexCoord4x *thread_param =
+ EVGL_API_Thread_Command_glMultiTexCoord4x *thread_data =
(EVGL_API_Thread_Command_glMultiTexCoord4x *)data;
- orig_evgl_api_glMultiTexCoord4x(thread_param->target,
- thread_param->s,
- thread_param->t,
- thread_param->r,
- thread_param->q);
+ orig_evgl_api_glMultiTexCoord4x(thread_data->target,
+ thread_data->s,
+ thread_data->t,
+ thread_data->r,
+ thread_data->q);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultiTexCoord4x thread_param_local;
- EVGL_API_Thread_Command_glMultiTexCoord4x *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultiTexCoord4x thread_data_local;
+ EVGL_API_Thread_Command_glMultiTexCoord4x *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->s = s;
- thread_param->t = t;
- thread_param->r = r;
- thread_param->q = q;
+ thread_data->target = target;
+ thread_data->s = s;
+ thread_data->t = t;
+ thread_data->r = r;
+ thread_data->q = q;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultiTexCoord4x,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz);
+ * void
+ * glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz);
*/
typedef struct
static void
_evgl_api_thread_glNormal3x(void *data)
{
- EVGL_API_Thread_Command_glNormal3x *thread_param =
+ EVGL_API_Thread_Command_glNormal3x *thread_data =
(EVGL_API_Thread_Command_glNormal3x *)data;
- orig_evgl_api_glNormal3x(thread_param->nx,
- thread_param->ny,
- thread_param->nz);
+ orig_evgl_api_glNormal3x(thread_data->nx,
+ thread_data->ny,
+ thread_data->nz);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glNormal3x thread_param_local;
- EVGL_API_Thread_Command_glNormal3x *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glNormal3x thread_data_local;
+ EVGL_API_Thread_Command_glNormal3x *thread_data = &thread_data_local;
- thread_param->nx = nx;
- thread_param->ny = ny;
- thread_param->nz = nz;
+ thread_data->nx = nx;
+ thread_data->ny = ny;
+ thread_data->nz = nz;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glNormal3x,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
+ * void
+ * glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
*/
typedef struct
static void
_evgl_api_thread_glNormalPointer(void *data)
{
- EVGL_API_Thread_Command_glNormalPointer *thread_param =
+ EVGL_API_Thread_Command_glNormalPointer *thread_data =
(EVGL_API_Thread_Command_glNormalPointer *)data;
- orig_evgl_api_glNormalPointer(thread_param->type,
- thread_param->stride,
- thread_param->pointer);
+ orig_evgl_api_glNormalPointer(thread_data->type,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glNormalPointer thread_param_local;
- EVGL_API_Thread_Command_glNormalPointer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glNormalPointer thread_data_local;
+ EVGL_API_Thread_Command_glNormalPointer *thread_data = &thread_data_local;
- thread_param->type = type;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->type = type;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glNormalPointer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
+ * void
+ * glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
*/
typedef struct
static void
_evgl_api_thread_glOrthox(void *data)
{
- EVGL_API_Thread_Command_glOrthox *thread_param =
+ EVGL_API_Thread_Command_glOrthox *thread_data =
(EVGL_API_Thread_Command_glOrthox *)data;
- orig_evgl_api_glOrthox(thread_param->left,
- thread_param->right,
- thread_param->bottom,
- thread_param->top,
- thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glOrthox(thread_data->left,
+ thread_data->right,
+ thread_data->bottom,
+ thread_data->top,
+ thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glOrthox thread_param_local;
- EVGL_API_Thread_Command_glOrthox *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glOrthox thread_data_local;
+ EVGL_API_Thread_Command_glOrthox *thread_data = &thread_data_local;
- thread_param->left = left;
- thread_param->right = right;
- thread_param->bottom = bottom;
- thread_param->top = top;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->left = left;
+ thread_data->right = right;
+ thread_data->bottom = bottom;
+ thread_data->top = top;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glOrthox,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointParameterx(GLenum pname, GLfixed param);
+ * void
+ * glPointParameterx(GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glPointParameterx(void *data)
{
- EVGL_API_Thread_Command_glPointParameterx *thread_param =
+ EVGL_API_Thread_Command_glPointParameterx *thread_data =
(EVGL_API_Thread_Command_glPointParameterx *)data;
- orig_evgl_api_glPointParameterx(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glPointParameterx(thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointParameterx thread_param_local;
- EVGL_API_Thread_Command_glPointParameterx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointParameterx thread_data_local;
+ EVGL_API_Thread_Command_glPointParameterx *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointParameterx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointParameterxv(GLenum pname, const GLfixed *params);
+ * void
+ * glPointParameterxv(GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glPointParameterxv(void *data)
{
- EVGL_API_Thread_Command_glPointParameterxv *thread_param =
+ EVGL_API_Thread_Command_glPointParameterxv *thread_data =
(EVGL_API_Thread_Command_glPointParameterxv *)data;
- orig_evgl_api_glPointParameterxv(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glPointParameterxv(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointParameterxv thread_param_local;
- EVGL_API_Thread_Command_glPointParameterxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointParameterxv thread_data_local;
+ EVGL_API_Thread_Command_glPointParameterxv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointParameterxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointSizex(GLfixed size);
+ * void
+ * glPointSizex(GLfixed size);
*/
typedef struct
static void
_evgl_api_thread_glPointSizex(void *data)
{
- EVGL_API_Thread_Command_glPointSizex *thread_param =
+ EVGL_API_Thread_Command_glPointSizex *thread_data =
(EVGL_API_Thread_Command_glPointSizex *)data;
- orig_evgl_api_glPointSizex(thread_param->size);
+ orig_evgl_api_glPointSizex(thread_data->size);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointSizex thread_param_local;
- EVGL_API_Thread_Command_glPointSizex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointSizex thread_data_local;
+ EVGL_API_Thread_Command_glPointSizex *thread_data = &thread_data_local;
- thread_param->size = size;
+ thread_data->size = size;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointSizex,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPolygonOffsetx(GLfixed factor, GLfixed units);
+ * void
+ * glPolygonOffsetx(GLfixed factor, GLfixed units);
*/
typedef struct
static void
_evgl_api_thread_glPolygonOffsetx(void *data)
{
- EVGL_API_Thread_Command_glPolygonOffsetx *thread_param =
+ EVGL_API_Thread_Command_glPolygonOffsetx *thread_data =
(EVGL_API_Thread_Command_glPolygonOffsetx *)data;
- orig_evgl_api_glPolygonOffsetx(thread_param->factor,
- thread_param->units);
+ orig_evgl_api_glPolygonOffsetx(thread_data->factor,
+ thread_data->units);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPolygonOffsetx thread_param_local;
- EVGL_API_Thread_Command_glPolygonOffsetx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPolygonOffsetx thread_data_local;
+ EVGL_API_Thread_Command_glPolygonOffsetx *thread_data = &thread_data_local;
- thread_param->factor = factor;
- thread_param->units = units;
+ thread_data->factor = factor;
+ thread_data->units = units;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPolygonOffsetx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPopMatrix(void);
+ * void
+ * glPopMatrix(void);
*/
void (*orig_evgl_api_glPopMatrix)(void);
}
/*
- void
- glPushMatrix(void);
+ * void
+ * glPushMatrix(void);
*/
void (*orig_evgl_api_glPushMatrix)(void);
}
/*
- void
- glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
+ * void
+ * glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
*/
typedef struct
static void
_evgl_api_thread_glRotatex(void *data)
{
- EVGL_API_Thread_Command_glRotatex *thread_param =
+ EVGL_API_Thread_Command_glRotatex *thread_data =
(EVGL_API_Thread_Command_glRotatex *)data;
- orig_evgl_api_glRotatex(thread_param->angle,
- thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glRotatex(thread_data->angle,
+ thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glRotatex thread_param_local;
- EVGL_API_Thread_Command_glRotatex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glRotatex thread_data_local;
+ EVGL_API_Thread_Command_glRotatex *thread_data = &thread_data_local;
- thread_param->angle = angle;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->angle = angle;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glRotatex,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glSampleCoveragex(GLclampx value, GLboolean invert);
+ * void
+ * glSampleCoveragex(GLclampx value, GLboolean invert);
*/
typedef struct
static void
_evgl_api_thread_glSampleCoveragex(void *data)
{
- EVGL_API_Thread_Command_glSampleCoveragex *thread_param =
+ EVGL_API_Thread_Command_glSampleCoveragex *thread_data =
(EVGL_API_Thread_Command_glSampleCoveragex *)data;
- orig_evgl_api_glSampleCoveragex(thread_param->value,
- thread_param->invert);
+ orig_evgl_api_glSampleCoveragex(thread_data->value,
+ thread_data->invert);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSampleCoveragex thread_param_local;
- EVGL_API_Thread_Command_glSampleCoveragex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSampleCoveragex thread_data_local;
+ EVGL_API_Thread_Command_glSampleCoveragex *thread_data = &thread_data_local;
- thread_param->value = value;
- thread_param->invert = invert;
+ thread_data->value = value;
+ thread_data->invert = invert;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSampleCoveragex,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glScalex(GLfixed x, GLfixed y, GLfixed z);
+ * void
+ * glScalex(GLfixed x, GLfixed y, GLfixed z);
*/
typedef struct
static void
_evgl_api_thread_glScalex(void *data)
{
- EVGL_API_Thread_Command_glScalex *thread_param =
+ EVGL_API_Thread_Command_glScalex *thread_data =
(EVGL_API_Thread_Command_glScalex *)data;
- orig_evgl_api_glScalex(thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glScalex(thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glScalex thread_param_local;
- EVGL_API_Thread_Command_glScalex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glScalex thread_data_local;
+ EVGL_API_Thread_Command_glScalex *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glScalex,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glShadeModel(GLenum mode);
+ * void
+ * glShadeModel(GLenum mode);
*/
typedef struct
static void
_evgl_api_thread_glShadeModel(void *data)
{
- EVGL_API_Thread_Command_glShadeModel *thread_param =
+ EVGL_API_Thread_Command_glShadeModel *thread_data =
(EVGL_API_Thread_Command_glShadeModel *)data;
- orig_evgl_api_glShadeModel(thread_param->mode);
+ orig_evgl_api_glShadeModel(thread_data->mode);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glShadeModel thread_param_local;
- EVGL_API_Thread_Command_glShadeModel *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glShadeModel thread_data_local;
+ EVGL_API_Thread_Command_glShadeModel *thread_data = &thread_data_local;
- thread_param->mode = mode;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glShadeModel,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
+ * void
+ * glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
*/
typedef struct
static void
_evgl_api_thread_glTexCoordPointer(void *data)
{
- EVGL_API_Thread_Command_glTexCoordPointer *thread_param =
+ EVGL_API_Thread_Command_glTexCoordPointer *thread_data =
(EVGL_API_Thread_Command_glTexCoordPointer *)data;
- orig_evgl_api_glTexCoordPointer(thread_param->size,
- thread_param->type,
- thread_param->stride,
- thread_param->pointer);
+ orig_evgl_api_glTexCoordPointer(thread_data->size,
+ thread_data->type,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexCoordPointer thread_param_local;
- EVGL_API_Thread_Command_glTexCoordPointer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexCoordPointer thread_data_local;
+ EVGL_API_Thread_Command_glTexCoordPointer *thread_data = &thread_data_local;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexCoordPointer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexEnvi(GLenum target, GLenum pname, GLint param);
+ * void
+ * glTexEnvi(GLenum target, GLenum pname, GLint param);
*/
typedef struct
static void
_evgl_api_thread_glTexEnvi(void *data)
{
- EVGL_API_Thread_Command_glTexEnvi *thread_param =
+ EVGL_API_Thread_Command_glTexEnvi *thread_data =
(EVGL_API_Thread_Command_glTexEnvi *)data;
- orig_evgl_api_glTexEnvi(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexEnvi(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexEnvi thread_param_local;
- EVGL_API_Thread_Command_glTexEnvi *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexEnvi thread_data_local;
+ EVGL_API_Thread_Command_glTexEnvi *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexEnvi,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexEnvx(GLenum target, GLenum pname, GLfixed param);
+ * void
+ * glTexEnvx(GLenum target, GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glTexEnvx(void *data)
{
- EVGL_API_Thread_Command_glTexEnvx *thread_param =
+ EVGL_API_Thread_Command_glTexEnvx *thread_data =
(EVGL_API_Thread_Command_glTexEnvx *)data;
- orig_evgl_api_glTexEnvx(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexEnvx(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexEnvx thread_param_local;
- EVGL_API_Thread_Command_glTexEnvx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexEnvx thread_data_local;
+ EVGL_API_Thread_Command_glTexEnvx *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexEnvx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexEnviv(GLenum target, GLenum pname, const GLint *params);
+ * void
+ * glTexEnviv(GLenum target, GLenum pname, const GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glTexEnviv(void *data)
{
- EVGL_API_Thread_Command_glTexEnviv *thread_param =
+ EVGL_API_Thread_Command_glTexEnviv *thread_data =
(EVGL_API_Thread_Command_glTexEnviv *)data;
- orig_evgl_api_glTexEnviv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexEnviv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexEnviv thread_param_local;
- EVGL_API_Thread_Command_glTexEnviv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexEnviv thread_data_local;
+ EVGL_API_Thread_Command_glTexEnviv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexEnviv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params);
+ * void
+ * glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glTexEnvxv(void *data)
{
- EVGL_API_Thread_Command_glTexEnvxv *thread_param =
+ EVGL_API_Thread_Command_glTexEnvxv *thread_data =
(EVGL_API_Thread_Command_glTexEnvxv *)data;
- orig_evgl_api_glTexEnvxv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexEnvxv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexEnvxv thread_param_local;
- EVGL_API_Thread_Command_glTexEnvxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexEnvxv thread_data_local;
+ EVGL_API_Thread_Command_glTexEnvxv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexEnvxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterx(GLenum target, GLenum pname, GLfixed param);
+ * void
+ * glTexParameterx(GLenum target, GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glTexParameterx(void *data)
{
- EVGL_API_Thread_Command_glTexParameterx *thread_param =
+ EVGL_API_Thread_Command_glTexParameterx *thread_data =
(EVGL_API_Thread_Command_glTexParameterx *)data;
- orig_evgl_api_glTexParameterx(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexParameterx(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexParameterx thread_param_local;
- EVGL_API_Thread_Command_glTexParameterx *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexParameterx thread_data_local;
+ EVGL_API_Thread_Command_glTexParameterx *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexParameterx,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params);
+ * void
+ * glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glTexParameterxv(void *data)
{
- EVGL_API_Thread_Command_glTexParameterxv *thread_param =
+ EVGL_API_Thread_Command_glTexParameterxv *thread_data =
(EVGL_API_Thread_Command_glTexParameterxv *)data;
- orig_evgl_api_glTexParameterxv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexParameterxv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexParameterxv thread_param_local;
- EVGL_API_Thread_Command_glTexParameterxv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexParameterxv thread_data_local;
+ EVGL_API_Thread_Command_glTexParameterxv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexParameterxv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTranslatex(GLfixed x, GLfixed y, GLfixed z);
+ * void
+ * glTranslatex(GLfixed x, GLfixed y, GLfixed z);
*/
typedef struct
static void
_evgl_api_thread_glTranslatex(void *data)
{
- EVGL_API_Thread_Command_glTranslatex *thread_param =
+ EVGL_API_Thread_Command_glTranslatex *thread_data =
(EVGL_API_Thread_Command_glTranslatex *)data;
- orig_evgl_api_glTranslatex(thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glTranslatex(thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTranslatex thread_param_local;
- EVGL_API_Thread_Command_glTranslatex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTranslatex thread_data_local;
+ EVGL_API_Thread_Command_glTranslatex *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTranslatex,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
+ * void
+ * glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
*/
typedef struct
static void
_evgl_api_thread_glVertexPointer(void *data)
{
- EVGL_API_Thread_Command_glVertexPointer *thread_param =
+ EVGL_API_Thread_Command_glVertexPointer *thread_data =
(EVGL_API_Thread_Command_glVertexPointer *)data;
- orig_evgl_api_glVertexPointer(thread_param->size,
- thread_param->type,
- thread_param->stride,
- thread_param->pointer);
+ orig_evgl_api_glVertexPointer(thread_data->size,
+ thread_data->type,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexPointer thread_param_local;
- EVGL_API_Thread_Command_glVertexPointer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexPointer thread_data_local;
+ EVGL_API_Thread_Command_glVertexPointer *thread_data = &thread_data_local;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexPointer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendEquationSeparateOES(GLenum modeRGB, GLenum modeAlpha);
+ * void
+ * glBlendEquationSeparateOES(GLenum modeRGB, GLenum modeAlpha);
*/
typedef struct
static void
_evgl_api_thread_glBlendEquationSeparateOES(void *data)
{
- EVGL_API_Thread_Command_glBlendEquationSeparateOES *thread_param =
+ EVGL_API_Thread_Command_glBlendEquationSeparateOES *thread_data =
(EVGL_API_Thread_Command_glBlendEquationSeparateOES *)data;
- orig_evgl_api_glBlendEquationSeparateOES(thread_param->modeRGB,
- thread_param->modeAlpha);
+ orig_evgl_api_glBlendEquationSeparateOES(thread_data->modeRGB,
+ thread_data->modeAlpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBlendEquationSeparateOES thread_param_local;
- EVGL_API_Thread_Command_glBlendEquationSeparateOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBlendEquationSeparateOES thread_data_local;
+ EVGL_API_Thread_Command_glBlendEquationSeparateOES *thread_data = &thread_data_local;
- thread_param->modeRGB = modeRGB;
- thread_param->modeAlpha = modeAlpha;
+ thread_data->modeRGB = modeRGB;
+ thread_data->modeAlpha = modeAlpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBlendEquationSeparateOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendFuncSeparateOES(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
+ * void
+ * glBlendFuncSeparateOES(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
*/
typedef struct
static void
_evgl_api_thread_glBlendFuncSeparateOES(void *data)
{
- EVGL_API_Thread_Command_glBlendFuncSeparateOES *thread_param =
+ EVGL_API_Thread_Command_glBlendFuncSeparateOES *thread_data =
(EVGL_API_Thread_Command_glBlendFuncSeparateOES *)data;
- orig_evgl_api_glBlendFuncSeparateOES(thread_param->srcRGB,
- thread_param->dstRGB,
- thread_param->srcAlpha,
- thread_param->dstAlpha);
+ orig_evgl_api_glBlendFuncSeparateOES(thread_data->srcRGB,
+ thread_data->dstRGB,
+ thread_data->srcAlpha,
+ thread_data->dstAlpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBlendFuncSeparateOES thread_param_local;
- EVGL_API_Thread_Command_glBlendFuncSeparateOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBlendFuncSeparateOES thread_data_local;
+ EVGL_API_Thread_Command_glBlendFuncSeparateOES *thread_data = &thread_data_local;
- thread_param->srcRGB = srcRGB;
- thread_param->dstRGB = dstRGB;
- thread_param->srcAlpha = srcAlpha;
- thread_param->dstAlpha = dstAlpha;
+ thread_data->srcRGB = srcRGB;
+ thread_data->dstRGB = dstRGB;
+ thread_data->srcAlpha = srcAlpha;
+ thread_data->dstAlpha = dstAlpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBlendFuncSeparateOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendEquationOES(GLenum mode);
+ * void
+ * glBlendEquationOES(GLenum mode);
*/
typedef struct
static void
_evgl_api_thread_glBlendEquationOES(void *data)
{
- EVGL_API_Thread_Command_glBlendEquationOES *thread_param =
+ EVGL_API_Thread_Command_glBlendEquationOES *thread_data =
(EVGL_API_Thread_Command_glBlendEquationOES *)data;
- orig_evgl_api_glBlendEquationOES(thread_param->mode);
+ orig_evgl_api_glBlendEquationOES(thread_data->mode);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBlendEquationOES thread_param_local;
- EVGL_API_Thread_Command_glBlendEquationOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBlendEquationOES thread_data_local;
+ EVGL_API_Thread_Command_glBlendEquationOES *thread_data = &thread_data_local;
- thread_param->mode = mode;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBlendEquationOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
+ * void
+ * glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
*/
typedef struct
static void
_evgl_api_thread_glDrawTexsOES(void *data)
{
- EVGL_API_Thread_Command_glDrawTexsOES *thread_param =
+ EVGL_API_Thread_Command_glDrawTexsOES *thread_data =
(EVGL_API_Thread_Command_glDrawTexsOES *)data;
- orig_evgl_api_glDrawTexsOES(thread_param->x,
- thread_param->y,
- thread_param->z,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glDrawTexsOES(thread_data->x,
+ thread_data->y,
+ thread_data->z,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawTexsOES thread_param_local;
- EVGL_API_Thread_Command_glDrawTexsOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawTexsOES thread_data_local;
+ EVGL_API_Thread_Command_glDrawTexsOES *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawTexsOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height);
+ * void
+ * glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height);
*/
typedef struct
static void
_evgl_api_thread_glDrawTexiOES(void *data)
{
- EVGL_API_Thread_Command_glDrawTexiOES *thread_param =
+ EVGL_API_Thread_Command_glDrawTexiOES *thread_data =
(EVGL_API_Thread_Command_glDrawTexiOES *)data;
- orig_evgl_api_glDrawTexiOES(thread_param->x,
- thread_param->y,
- thread_param->z,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glDrawTexiOES(thread_data->x,
+ thread_data->y,
+ thread_data->z,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawTexiOES thread_param_local;
- EVGL_API_Thread_Command_glDrawTexiOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawTexiOES thread_data_local;
+ EVGL_API_Thread_Command_glDrawTexiOES *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawTexiOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
+ * void
+ * glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
*/
typedef struct
static void
_evgl_api_thread_glDrawTexxOES(void *data)
{
- EVGL_API_Thread_Command_glDrawTexxOES *thread_param =
+ EVGL_API_Thread_Command_glDrawTexxOES *thread_data =
(EVGL_API_Thread_Command_glDrawTexxOES *)data;
- orig_evgl_api_glDrawTexxOES(thread_param->x,
- thread_param->y,
- thread_param->z,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glDrawTexxOES(thread_data->x,
+ thread_data->y,
+ thread_data->z,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawTexxOES thread_param_local;
- EVGL_API_Thread_Command_glDrawTexxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawTexxOES thread_data_local;
+ EVGL_API_Thread_Command_glDrawTexxOES *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawTexxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawTexsvOES(const GLshort *coords);
+ * void
+ * glDrawTexsvOES(const GLshort *coords);
*/
typedef struct
static void
_evgl_api_thread_glDrawTexsvOES(void *data)
{
- EVGL_API_Thread_Command_glDrawTexsvOES *thread_param =
+ EVGL_API_Thread_Command_glDrawTexsvOES *thread_data =
(EVGL_API_Thread_Command_glDrawTexsvOES *)data;
- orig_evgl_api_glDrawTexsvOES(thread_param->coords);
+ orig_evgl_api_glDrawTexsvOES(thread_data->coords);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawTexsvOES thread_param_local;
- EVGL_API_Thread_Command_glDrawTexsvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawTexsvOES thread_data_local;
+ EVGL_API_Thread_Command_glDrawTexsvOES *thread_data = &thread_data_local;
- thread_param->coords = coords;
+ thread_data->coords = coords;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawTexsvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawTexivOES(const GLint *coords);
+ * void
+ * glDrawTexivOES(const GLint *coords);
*/
typedef struct
static void
_evgl_api_thread_glDrawTexivOES(void *data)
{
- EVGL_API_Thread_Command_glDrawTexivOES *thread_param =
+ EVGL_API_Thread_Command_glDrawTexivOES *thread_data =
(EVGL_API_Thread_Command_glDrawTexivOES *)data;
- orig_evgl_api_glDrawTexivOES(thread_param->coords);
+ orig_evgl_api_glDrawTexivOES(thread_data->coords);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawTexivOES thread_param_local;
- EVGL_API_Thread_Command_glDrawTexivOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawTexivOES thread_data_local;
+ EVGL_API_Thread_Command_glDrawTexivOES *thread_data = &thread_data_local;
- thread_param->coords = coords;
+ thread_data->coords = coords;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawTexivOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawTexxvOES(const GLfixed *coords);
+ * void
+ * glDrawTexxvOES(const GLfixed *coords);
*/
typedef struct
static void
_evgl_api_thread_glDrawTexxvOES(void *data)
{
- EVGL_API_Thread_Command_glDrawTexxvOES *thread_param =
+ EVGL_API_Thread_Command_glDrawTexxvOES *thread_data =
(EVGL_API_Thread_Command_glDrawTexxvOES *)data;
- orig_evgl_api_glDrawTexxvOES(thread_param->coords);
+ orig_evgl_api_glDrawTexxvOES(thread_data->coords);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawTexxvOES thread_param_local;
- EVGL_API_Thread_Command_glDrawTexxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawTexxvOES thread_data_local;
+ EVGL_API_Thread_Command_glDrawTexxvOES *thread_data = &thread_data_local;
- thread_param->coords = coords;
+ thread_data->coords = coords;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawTexxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
+ * void
+ * glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
*/
typedef struct
static void
_evgl_api_thread_glDrawTexfOES(void *data)
{
- EVGL_API_Thread_Command_glDrawTexfOES *thread_param =
+ EVGL_API_Thread_Command_glDrawTexfOES *thread_data =
(EVGL_API_Thread_Command_glDrawTexfOES *)data;
- orig_evgl_api_glDrawTexfOES(thread_param->x,
- thread_param->y,
- thread_param->z,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glDrawTexfOES(thread_data->x,
+ thread_data->y,
+ thread_data->z,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawTexfOES thread_param_local;
- EVGL_API_Thread_Command_glDrawTexfOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawTexfOES thread_data_local;
+ EVGL_API_Thread_Command_glDrawTexfOES *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawTexfOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawTexfvOES(const GLfloat *coords);
+ * void
+ * glDrawTexfvOES(const GLfloat *coords);
*/
typedef struct
static void
_evgl_api_thread_glDrawTexfvOES(void *data)
{
- EVGL_API_Thread_Command_glDrawTexfvOES *thread_param =
+ EVGL_API_Thread_Command_glDrawTexfvOES *thread_data =
(EVGL_API_Thread_Command_glDrawTexfvOES *)data;
- orig_evgl_api_glDrawTexfvOES(thread_param->coords);
+ orig_evgl_api_glDrawTexfvOES(thread_data->coords);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawTexfvOES thread_param_local;
- EVGL_API_Thread_Command_glDrawTexfvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawTexfvOES thread_data_local;
+ EVGL_API_Thread_Command_glDrawTexfvOES *thread_data = &thread_data_local;
- thread_param->coords = coords;
+ thread_data->coords = coords;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawTexfvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glAlphaFuncxOES(GLenum func, GLclampx ref);
+ * void
+ * glAlphaFuncxOES(GLenum func, GLclampx ref);
*/
typedef struct
static void
_evgl_api_thread_glAlphaFuncxOES(void *data)
{
- EVGL_API_Thread_Command_glAlphaFuncxOES *thread_param =
+ EVGL_API_Thread_Command_glAlphaFuncxOES *thread_data =
(EVGL_API_Thread_Command_glAlphaFuncxOES *)data;
- orig_evgl_api_glAlphaFuncxOES(thread_param->func,
- thread_param->ref);
+ orig_evgl_api_glAlphaFuncxOES(thread_data->func,
+ thread_data->ref);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glAlphaFuncxOES thread_param_local;
- EVGL_API_Thread_Command_glAlphaFuncxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glAlphaFuncxOES thread_data_local;
+ EVGL_API_Thread_Command_glAlphaFuncxOES *thread_data = &thread_data_local;
- thread_param->func = func;
- thread_param->ref = ref;
+ thread_data->func = func;
+ thread_data->ref = ref;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glAlphaFuncxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
+ * void
+ * glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
*/
typedef struct
static void
_evgl_api_thread_glClearColorxOES(void *data)
{
- EVGL_API_Thread_Command_glClearColorxOES *thread_param =
+ EVGL_API_Thread_Command_glClearColorxOES *thread_data =
(EVGL_API_Thread_Command_glClearColorxOES *)data;
- orig_evgl_api_glClearColorxOES(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ orig_evgl_api_glClearColorxOES(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearColorxOES thread_param_local;
- EVGL_API_Thread_Command_glClearColorxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearColorxOES thread_data_local;
+ EVGL_API_Thread_Command_glClearColorxOES *thread_data = &thread_data_local;
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearColorxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearDepthxOES(GLclampx depth);
+ * void
+ * glClearDepthxOES(GLclampx depth);
*/
typedef struct
static void
_evgl_api_thread_glClearDepthxOES(void *data)
{
- EVGL_API_Thread_Command_glClearDepthxOES *thread_param =
+ EVGL_API_Thread_Command_glClearDepthxOES *thread_data =
(EVGL_API_Thread_Command_glClearDepthxOES *)data;
- orig_evgl_api_glClearDepthxOES(thread_param->depth);
+ orig_evgl_api_glClearDepthxOES(thread_data->depth);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearDepthxOES thread_param_local;
- EVGL_API_Thread_Command_glClearDepthxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearDepthxOES thread_data_local;
+ EVGL_API_Thread_Command_glClearDepthxOES *thread_data = &thread_data_local;
- thread_param->depth = depth;
+ thread_data->depth = depth;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearDepthxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClipPlanexOES(GLenum plane, const GLfixed *equation);
+ * void
+ * glClipPlanexOES(GLenum plane, const GLfixed *equation);
*/
typedef struct
static void
_evgl_api_thread_glClipPlanexOES(void *data)
{
- EVGL_API_Thread_Command_glClipPlanexOES *thread_param =
+ EVGL_API_Thread_Command_glClipPlanexOES *thread_data =
(EVGL_API_Thread_Command_glClipPlanexOES *)data;
- orig_evgl_api_glClipPlanexOES(thread_param->plane,
- thread_param->equation);
+ orig_evgl_api_glClipPlanexOES(thread_data->plane,
+ thread_data->equation);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClipPlanexOES thread_param_local;
- EVGL_API_Thread_Command_glClipPlanexOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClipPlanexOES thread_data_local;
+ EVGL_API_Thread_Command_glClipPlanexOES *thread_data = &thread_data_local;
- thread_param->plane = plane;
- thread_param->equation = equation;
+ thread_data->plane = plane;
+ thread_data->equation = equation;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClipPlanexOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
+ * void
+ * glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
*/
typedef struct
static void
_evgl_api_thread_glColor4xOES(void *data)
{
- EVGL_API_Thread_Command_glColor4xOES *thread_param =
+ EVGL_API_Thread_Command_glColor4xOES *thread_data =
(EVGL_API_Thread_Command_glColor4xOES *)data;
- orig_evgl_api_glColor4xOES(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ orig_evgl_api_glColor4xOES(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glColor4xOES thread_param_local;
- EVGL_API_Thread_Command_glColor4xOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glColor4xOES thread_data_local;
+ EVGL_API_Thread_Command_glColor4xOES *thread_data = &thread_data_local;
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glColor4xOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDepthRangexOES(GLclampx zNear, GLclampx zFar);
+ * void
+ * glDepthRangexOES(GLclampx zNear, GLclampx zFar);
*/
typedef struct
static void
_evgl_api_thread_glDepthRangexOES(void *data)
{
- EVGL_API_Thread_Command_glDepthRangexOES *thread_param =
+ EVGL_API_Thread_Command_glDepthRangexOES *thread_data =
(EVGL_API_Thread_Command_glDepthRangexOES *)data;
- orig_evgl_api_glDepthRangexOES(thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glDepthRangexOES(thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDepthRangexOES thread_param_local;
- EVGL_API_Thread_Command_glDepthRangexOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDepthRangexOES thread_data_local;
+ EVGL_API_Thread_Command_glDepthRangexOES *thread_data = &thread_data_local;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDepthRangexOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFogxOES(GLenum pname, GLfixed param);
+ * void
+ * glFogxOES(GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glFogxOES(void *data)
{
- EVGL_API_Thread_Command_glFogxOES *thread_param =
+ EVGL_API_Thread_Command_glFogxOES *thread_data =
(EVGL_API_Thread_Command_glFogxOES *)data;
- orig_evgl_api_glFogxOES(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glFogxOES(thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFogxOES thread_param_local;
- EVGL_API_Thread_Command_glFogxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFogxOES thread_data_local;
+ EVGL_API_Thread_Command_glFogxOES *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFogxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFogxvOES(GLenum pname, const GLfixed *params);
+ * void
+ * glFogxvOES(GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glFogxvOES(void *data)
{
- EVGL_API_Thread_Command_glFogxvOES *thread_param =
+ EVGL_API_Thread_Command_glFogxvOES *thread_data =
(EVGL_API_Thread_Command_glFogxvOES *)data;
- orig_evgl_api_glFogxvOES(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glFogxvOES(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFogxvOES thread_param_local;
- EVGL_API_Thread_Command_glFogxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFogxvOES thread_data_local;
+ EVGL_API_Thread_Command_glFogxvOES *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFogxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFrustumxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
+ * void
+ * glFrustumxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
*/
typedef struct
static void
_evgl_api_thread_glFrustumxOES(void *data)
{
- EVGL_API_Thread_Command_glFrustumxOES *thread_param =
+ EVGL_API_Thread_Command_glFrustumxOES *thread_data =
(EVGL_API_Thread_Command_glFrustumxOES *)data;
- orig_evgl_api_glFrustumxOES(thread_param->left,
- thread_param->right,
- thread_param->bottom,
- thread_param->top,
- thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glFrustumxOES(thread_data->left,
+ thread_data->right,
+ thread_data->bottom,
+ thread_data->top,
+ thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFrustumxOES thread_param_local;
- EVGL_API_Thread_Command_glFrustumxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFrustumxOES thread_data_local;
+ EVGL_API_Thread_Command_glFrustumxOES *thread_data = &thread_data_local;
- thread_param->left = left;
- thread_param->right = right;
- thread_param->bottom = bottom;
- thread_param->top = top;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->left = left;
+ thread_data->right = right;
+ thread_data->bottom = bottom;
+ thread_data->top = top;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFrustumxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetClipPlanexOES(GLenum pname, GLfixed eqn[4]);
+ * void
+ * glGetClipPlanexOES(GLenum pname, GLfixed eqn[4]);
*/
typedef struct
static void
_evgl_api_thread_glGetClipPlanexOES(void *data)
{
- EVGL_API_Thread_Command_glGetClipPlanexOES *thread_param =
+ EVGL_API_Thread_Command_glGetClipPlanexOES *thread_data =
(EVGL_API_Thread_Command_glGetClipPlanexOES *)data;
- orig_evgl_api_glGetClipPlanexOES(thread_param->pname,
- thread_param->eqn);
+ orig_evgl_api_glGetClipPlanexOES(thread_data->pname,
+ thread_data->eqn);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetClipPlanexOES thread_param_local;
- EVGL_API_Thread_Command_glGetClipPlanexOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetClipPlanexOES thread_data_local;
+ EVGL_API_Thread_Command_glGetClipPlanexOES *thread_data = &thread_data_local;
- thread_param->pname = pname;
- memcpy(thread_param->eqn, &eqn, sizeof(eqn));
+ thread_data->pname = pname;
+ memcpy(thread_data->eqn, &eqn, sizeof(GLfixed) * 4);
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetClipPlanexOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetFixedvOES(GLenum pname, GLfixed *params);
+ * void
+ * glGetFixedvOES(GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetFixedvOES(void *data)
{
- EVGL_API_Thread_Command_glGetFixedvOES *thread_param =
+ EVGL_API_Thread_Command_glGetFixedvOES *thread_data =
(EVGL_API_Thread_Command_glGetFixedvOES *)data;
- orig_evgl_api_glGetFixedvOES(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetFixedvOES(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetFixedvOES thread_param_local;
- EVGL_API_Thread_Command_glGetFixedvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetFixedvOES thread_data_local;
+ EVGL_API_Thread_Command_glGetFixedvOES *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetFixedvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetLightxvOES(GLenum light, GLenum pname, GLfixed *params);
+ * void
+ * glGetLightxvOES(GLenum light, GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetLightxvOES(void *data)
{
- EVGL_API_Thread_Command_glGetLightxvOES *thread_param =
+ EVGL_API_Thread_Command_glGetLightxvOES *thread_data =
(EVGL_API_Thread_Command_glGetLightxvOES *)data;
- orig_evgl_api_glGetLightxvOES(thread_param->light,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetLightxvOES(thread_data->light,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetLightxvOES thread_param_local;
- EVGL_API_Thread_Command_glGetLightxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetLightxvOES thread_data_local;
+ EVGL_API_Thread_Command_glGetLightxvOES *thread_data = &thread_data_local;
- thread_param->light = light;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->light = light;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetLightxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetMaterialxvOES(GLenum face, GLenum pname, GLfixed *params);
+ * void
+ * glGetMaterialxvOES(GLenum face, GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetMaterialxvOES(void *data)
{
- EVGL_API_Thread_Command_glGetMaterialxvOES *thread_param =
+ EVGL_API_Thread_Command_glGetMaterialxvOES *thread_data =
(EVGL_API_Thread_Command_glGetMaterialxvOES *)data;
- orig_evgl_api_glGetMaterialxvOES(thread_param->face,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetMaterialxvOES(thread_data->face,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetMaterialxvOES thread_param_local;
- EVGL_API_Thread_Command_glGetMaterialxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetMaterialxvOES thread_data_local;
+ EVGL_API_Thread_Command_glGetMaterialxvOES *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->face = face;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetMaterialxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params);
+ * void
+ * glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexEnvxvOES(void *data)
{
- EVGL_API_Thread_Command_glGetTexEnvxvOES *thread_param =
+ EVGL_API_Thread_Command_glGetTexEnvxvOES *thread_data =
(EVGL_API_Thread_Command_glGetTexEnvxvOES *)data;
- orig_evgl_api_glGetTexEnvxvOES(thread_param->env,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexEnvxvOES(thread_data->env,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexEnvxvOES thread_param_local;
- EVGL_API_Thread_Command_glGetTexEnvxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexEnvxvOES thread_data_local;
+ EVGL_API_Thread_Command_glGetTexEnvxvOES *thread_data = &thread_data_local;
- thread_param->env = env;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->env = env;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexEnvxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexParameterxvOES(GLenum target, GLenum pname, GLfixed *params);
+ * void
+ * glGetTexParameterxvOES(GLenum target, GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexParameterxvOES(void *data)
{
- EVGL_API_Thread_Command_glGetTexParameterxvOES *thread_param =
+ EVGL_API_Thread_Command_glGetTexParameterxvOES *thread_data =
(EVGL_API_Thread_Command_glGetTexParameterxvOES *)data;
- orig_evgl_api_glGetTexParameterxvOES(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexParameterxvOES(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexParameterxvOES thread_param_local;
- EVGL_API_Thread_Command_glGetTexParameterxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexParameterxvOES thread_data_local;
+ EVGL_API_Thread_Command_glGetTexParameterxvOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexParameterxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightModelxOES(GLenum pname, GLfixed param);
+ * void
+ * glLightModelxOES(GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glLightModelxOES(void *data)
{
- EVGL_API_Thread_Command_glLightModelxOES *thread_param =
+ EVGL_API_Thread_Command_glLightModelxOES *thread_data =
(EVGL_API_Thread_Command_glLightModelxOES *)data;
- orig_evgl_api_glLightModelxOES(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glLightModelxOES(thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightModelxOES thread_param_local;
- EVGL_API_Thread_Command_glLightModelxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightModelxOES thread_data_local;
+ EVGL_API_Thread_Command_glLightModelxOES *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightModelxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightModelxvOES(GLenum pname, const GLfixed *params);
+ * void
+ * glLightModelxvOES(GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glLightModelxvOES(void *data)
{
- EVGL_API_Thread_Command_glLightModelxvOES *thread_param =
+ EVGL_API_Thread_Command_glLightModelxvOES *thread_data =
(EVGL_API_Thread_Command_glLightModelxvOES *)data;
- orig_evgl_api_glLightModelxvOES(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glLightModelxvOES(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightModelxvOES thread_param_local;
- EVGL_API_Thread_Command_glLightModelxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightModelxvOES thread_data_local;
+ EVGL_API_Thread_Command_glLightModelxvOES *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightModelxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightxOES(GLenum light, GLenum pname, GLfixed param);
+ * void
+ * glLightxOES(GLenum light, GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glLightxOES(void *data)
{
- EVGL_API_Thread_Command_glLightxOES *thread_param =
+ EVGL_API_Thread_Command_glLightxOES *thread_data =
(EVGL_API_Thread_Command_glLightxOES *)data;
- orig_evgl_api_glLightxOES(thread_param->light,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glLightxOES(thread_data->light,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightxOES thread_param_local;
- EVGL_API_Thread_Command_glLightxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightxOES thread_data_local;
+ EVGL_API_Thread_Command_glLightxOES *thread_data = &thread_data_local;
- thread_param->light = light;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->light = light;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLightxvOES(GLenum light, GLenum pname, const GLfixed *params);
+ * void
+ * glLightxvOES(GLenum light, GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glLightxvOES(void *data)
{
- EVGL_API_Thread_Command_glLightxvOES *thread_param =
+ EVGL_API_Thread_Command_glLightxvOES *thread_data =
(EVGL_API_Thread_Command_glLightxvOES *)data;
- orig_evgl_api_glLightxvOES(thread_param->light,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glLightxvOES(thread_data->light,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLightxvOES thread_param_local;
- EVGL_API_Thread_Command_glLightxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLightxvOES thread_data_local;
+ EVGL_API_Thread_Command_glLightxvOES *thread_data = &thread_data_local;
- thread_param->light = light;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->light = light;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLightxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLineWidthxOES(GLfixed width);
+ * void
+ * glLineWidthxOES(GLfixed width);
*/
typedef struct
static void
_evgl_api_thread_glLineWidthxOES(void *data)
{
- EVGL_API_Thread_Command_glLineWidthxOES *thread_param =
+ EVGL_API_Thread_Command_glLineWidthxOES *thread_data =
(EVGL_API_Thread_Command_glLineWidthxOES *)data;
- orig_evgl_api_glLineWidthxOES(thread_param->width);
+ orig_evgl_api_glLineWidthxOES(thread_data->width);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLineWidthxOES thread_param_local;
- EVGL_API_Thread_Command_glLineWidthxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLineWidthxOES thread_data_local;
+ EVGL_API_Thread_Command_glLineWidthxOES *thread_data = &thread_data_local;
- thread_param->width = width;
+ thread_data->width = width;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLineWidthxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLoadMatrixxOES(const GLfixed *m);
+ * void
+ * glLoadMatrixxOES(const GLfixed *m);
*/
typedef struct
static void
_evgl_api_thread_glLoadMatrixxOES(void *data)
{
- EVGL_API_Thread_Command_glLoadMatrixxOES *thread_param =
+ EVGL_API_Thread_Command_glLoadMatrixxOES *thread_data =
(EVGL_API_Thread_Command_glLoadMatrixxOES *)data;
- orig_evgl_api_glLoadMatrixxOES(thread_param->m);
+ orig_evgl_api_glLoadMatrixxOES(thread_data->m);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glLoadMatrixxOES thread_param_local;
- EVGL_API_Thread_Command_glLoadMatrixxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glLoadMatrixxOES thread_data_local;
+ EVGL_API_Thread_Command_glLoadMatrixxOES *thread_data = &thread_data_local;
- thread_param->m = m;
+ thread_data->m = m;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glLoadMatrixxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMaterialxOES(GLenum face, GLenum pname, GLfixed param);
+ * void
+ * glMaterialxOES(GLenum face, GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glMaterialxOES(void *data)
{
- EVGL_API_Thread_Command_glMaterialxOES *thread_param =
+ EVGL_API_Thread_Command_glMaterialxOES *thread_data =
(EVGL_API_Thread_Command_glMaterialxOES *)data;
- orig_evgl_api_glMaterialxOES(thread_param->face,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glMaterialxOES(thread_data->face,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMaterialxOES thread_param_local;
- EVGL_API_Thread_Command_glMaterialxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMaterialxOES thread_data_local;
+ EVGL_API_Thread_Command_glMaterialxOES *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->face = face;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMaterialxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMaterialxvOES(GLenum face, GLenum pname, const GLfixed *params);
+ * void
+ * glMaterialxvOES(GLenum face, GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glMaterialxvOES(void *data)
{
- EVGL_API_Thread_Command_glMaterialxvOES *thread_param =
+ EVGL_API_Thread_Command_glMaterialxvOES *thread_data =
(EVGL_API_Thread_Command_glMaterialxvOES *)data;
- orig_evgl_api_glMaterialxvOES(thread_param->face,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glMaterialxvOES(thread_data->face,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMaterialxvOES thread_param_local;
- EVGL_API_Thread_Command_glMaterialxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMaterialxvOES thread_data_local;
+ EVGL_API_Thread_Command_glMaterialxvOES *thread_data = &thread_data_local;
- thread_param->face = face;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->face = face;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMaterialxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultMatrixxOES(const GLfixed *m);
+ * void
+ * glMultMatrixxOES(const GLfixed *m);
*/
typedef struct
static void
_evgl_api_thread_glMultMatrixxOES(void *data)
{
- EVGL_API_Thread_Command_glMultMatrixxOES *thread_param =
+ EVGL_API_Thread_Command_glMultMatrixxOES *thread_data =
(EVGL_API_Thread_Command_glMultMatrixxOES *)data;
- orig_evgl_api_glMultMatrixxOES(thread_param->m);
+ orig_evgl_api_glMultMatrixxOES(thread_data->m);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultMatrixxOES thread_param_local;
- EVGL_API_Thread_Command_glMultMatrixxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultMatrixxOES thread_data_local;
+ EVGL_API_Thread_Command_glMultMatrixxOES *thread_data = &thread_data_local;
- thread_param->m = m;
+ thread_data->m = m;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultMatrixxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMultiTexCoord4xOES(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
+ * void
+ * glMultiTexCoord4xOES(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
*/
typedef struct
static void
_evgl_api_thread_glMultiTexCoord4xOES(void *data)
{
- EVGL_API_Thread_Command_glMultiTexCoord4xOES *thread_param =
+ EVGL_API_Thread_Command_glMultiTexCoord4xOES *thread_data =
(EVGL_API_Thread_Command_glMultiTexCoord4xOES *)data;
- orig_evgl_api_glMultiTexCoord4xOES(thread_param->target,
- thread_param->s,
- thread_param->t,
- thread_param->r,
- thread_param->q);
+ orig_evgl_api_glMultiTexCoord4xOES(thread_data->target,
+ thread_data->s,
+ thread_data->t,
+ thread_data->r,
+ thread_data->q);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMultiTexCoord4xOES thread_param_local;
- EVGL_API_Thread_Command_glMultiTexCoord4xOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMultiTexCoord4xOES thread_data_local;
+ EVGL_API_Thread_Command_glMultiTexCoord4xOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->s = s;
- thread_param->t = t;
- thread_param->r = r;
- thread_param->q = q;
+ thread_data->target = target;
+ thread_data->s = s;
+ thread_data->t = t;
+ thread_data->r = r;
+ thread_data->q = q;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMultiTexCoord4xOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glNormal3xOES(GLfixed nx, GLfixed ny, GLfixed nz);
+ * void
+ * glNormal3xOES(GLfixed nx, GLfixed ny, GLfixed nz);
*/
typedef struct
static void
_evgl_api_thread_glNormal3xOES(void *data)
{
- EVGL_API_Thread_Command_glNormal3xOES *thread_param =
+ EVGL_API_Thread_Command_glNormal3xOES *thread_data =
(EVGL_API_Thread_Command_glNormal3xOES *)data;
- orig_evgl_api_glNormal3xOES(thread_param->nx,
- thread_param->ny,
- thread_param->nz);
+ orig_evgl_api_glNormal3xOES(thread_data->nx,
+ thread_data->ny,
+ thread_data->nz);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glNormal3xOES thread_param_local;
- EVGL_API_Thread_Command_glNormal3xOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glNormal3xOES thread_data_local;
+ EVGL_API_Thread_Command_glNormal3xOES *thread_data = &thread_data_local;
- thread_param->nx = nx;
- thread_param->ny = ny;
- thread_param->nz = nz;
+ thread_data->nx = nx;
+ thread_data->ny = ny;
+ thread_data->nz = nz;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glNormal3xOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glOrthoxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
+ * void
+ * glOrthoxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
*/
typedef struct
static void
_evgl_api_thread_glOrthoxOES(void *data)
{
- EVGL_API_Thread_Command_glOrthoxOES *thread_param =
+ EVGL_API_Thread_Command_glOrthoxOES *thread_data =
(EVGL_API_Thread_Command_glOrthoxOES *)data;
- orig_evgl_api_glOrthoxOES(thread_param->left,
- thread_param->right,
- thread_param->bottom,
- thread_param->top,
- thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glOrthoxOES(thread_data->left,
+ thread_data->right,
+ thread_data->bottom,
+ thread_data->top,
+ thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glOrthoxOES thread_param_local;
- EVGL_API_Thread_Command_glOrthoxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glOrthoxOES thread_data_local;
+ EVGL_API_Thread_Command_glOrthoxOES *thread_data = &thread_data_local;
- thread_param->left = left;
- thread_param->right = right;
- thread_param->bottom = bottom;
- thread_param->top = top;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->left = left;
+ thread_data->right = right;
+ thread_data->bottom = bottom;
+ thread_data->top = top;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glOrthoxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointParameterxOES(GLenum pname, GLfixed param);
+ * void
+ * glPointParameterxOES(GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glPointParameterxOES(void *data)
{
- EVGL_API_Thread_Command_glPointParameterxOES *thread_param =
+ EVGL_API_Thread_Command_glPointParameterxOES *thread_data =
(EVGL_API_Thread_Command_glPointParameterxOES *)data;
- orig_evgl_api_glPointParameterxOES(thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glPointParameterxOES(thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointParameterxOES thread_param_local;
- EVGL_API_Thread_Command_glPointParameterxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointParameterxOES thread_data_local;
+ EVGL_API_Thread_Command_glPointParameterxOES *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointParameterxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointParameterxvOES(GLenum pname, const GLfixed *params);
+ * void
+ * glPointParameterxvOES(GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glPointParameterxvOES(void *data)
{
- EVGL_API_Thread_Command_glPointParameterxvOES *thread_param =
+ EVGL_API_Thread_Command_glPointParameterxvOES *thread_data =
(EVGL_API_Thread_Command_glPointParameterxvOES *)data;
- orig_evgl_api_glPointParameterxvOES(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glPointParameterxvOES(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointParameterxvOES thread_param_local;
- EVGL_API_Thread_Command_glPointParameterxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointParameterxvOES thread_data_local;
+ EVGL_API_Thread_Command_glPointParameterxvOES *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointParameterxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPointSizexOES(GLfixed size);
+ * void
+ * glPointSizexOES(GLfixed size);
*/
typedef struct
static void
_evgl_api_thread_glPointSizexOES(void *data)
{
- EVGL_API_Thread_Command_glPointSizexOES *thread_param =
+ EVGL_API_Thread_Command_glPointSizexOES *thread_data =
(EVGL_API_Thread_Command_glPointSizexOES *)data;
- orig_evgl_api_glPointSizexOES(thread_param->size);
+ orig_evgl_api_glPointSizexOES(thread_data->size);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPointSizexOES thread_param_local;
- EVGL_API_Thread_Command_glPointSizexOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPointSizexOES thread_data_local;
+ EVGL_API_Thread_Command_glPointSizexOES *thread_data = &thread_data_local;
- thread_param->size = size;
+ thread_data->size = size;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPointSizexOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPolygonOffsetxOES(GLfixed factor, GLfixed units);
+ * void
+ * glPolygonOffsetxOES(GLfixed factor, GLfixed units);
*/
typedef struct
static void
_evgl_api_thread_glPolygonOffsetxOES(void *data)
{
- EVGL_API_Thread_Command_glPolygonOffsetxOES *thread_param =
+ EVGL_API_Thread_Command_glPolygonOffsetxOES *thread_data =
(EVGL_API_Thread_Command_glPolygonOffsetxOES *)data;
- orig_evgl_api_glPolygonOffsetxOES(thread_param->factor,
- thread_param->units);
+ orig_evgl_api_glPolygonOffsetxOES(thread_data->factor,
+ thread_data->units);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glPolygonOffsetxOES thread_param_local;
- EVGL_API_Thread_Command_glPolygonOffsetxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glPolygonOffsetxOES thread_data_local;
+ EVGL_API_Thread_Command_glPolygonOffsetxOES *thread_data = &thread_data_local;
- thread_param->factor = factor;
- thread_param->units = units;
+ thread_data->factor = factor;
+ thread_data->units = units;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glPolygonOffsetxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glRotatexOES(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
+ * void
+ * glRotatexOES(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
*/
typedef struct
static void
_evgl_api_thread_glRotatexOES(void *data)
{
- EVGL_API_Thread_Command_glRotatexOES *thread_param =
+ EVGL_API_Thread_Command_glRotatexOES *thread_data =
(EVGL_API_Thread_Command_glRotatexOES *)data;
- orig_evgl_api_glRotatexOES(thread_param->angle,
- thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glRotatexOES(thread_data->angle,
+ thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glRotatexOES thread_param_local;
- EVGL_API_Thread_Command_glRotatexOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glRotatexOES thread_data_local;
+ EVGL_API_Thread_Command_glRotatexOES *thread_data = &thread_data_local;
- thread_param->angle = angle;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->angle = angle;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glRotatexOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glSampleCoveragexOES(GLclampx value, GLboolean invert);
+ * void
+ * glSampleCoveragexOES(GLclampx value, GLboolean invert);
*/
typedef struct
static void
_evgl_api_thread_glSampleCoveragexOES(void *data)
{
- EVGL_API_Thread_Command_glSampleCoveragexOES *thread_param =
+ EVGL_API_Thread_Command_glSampleCoveragexOES *thread_data =
(EVGL_API_Thread_Command_glSampleCoveragexOES *)data;
- orig_evgl_api_glSampleCoveragexOES(thread_param->value,
- thread_param->invert);
+ orig_evgl_api_glSampleCoveragexOES(thread_data->value,
+ thread_data->invert);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSampleCoveragexOES thread_param_local;
- EVGL_API_Thread_Command_glSampleCoveragexOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSampleCoveragexOES thread_data_local;
+ EVGL_API_Thread_Command_glSampleCoveragexOES *thread_data = &thread_data_local;
- thread_param->value = value;
- thread_param->invert = invert;
+ thread_data->value = value;
+ thread_data->invert = invert;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSampleCoveragexOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glScalexOES(GLfixed x, GLfixed y, GLfixed z);
+ * void
+ * glScalexOES(GLfixed x, GLfixed y, GLfixed z);
*/
typedef struct
static void
_evgl_api_thread_glScalexOES(void *data)
{
- EVGL_API_Thread_Command_glScalexOES *thread_param =
+ EVGL_API_Thread_Command_glScalexOES *thread_data =
(EVGL_API_Thread_Command_glScalexOES *)data;
- orig_evgl_api_glScalexOES(thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glScalexOES(thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glScalexOES thread_param_local;
- EVGL_API_Thread_Command_glScalexOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glScalexOES thread_data_local;
+ EVGL_API_Thread_Command_glScalexOES *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glScalexOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexEnvxOES(GLenum target, GLenum pname, GLfixed param);
+ * void
+ * glTexEnvxOES(GLenum target, GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glTexEnvxOES(void *data)
{
- EVGL_API_Thread_Command_glTexEnvxOES *thread_param =
+ EVGL_API_Thread_Command_glTexEnvxOES *thread_data =
(EVGL_API_Thread_Command_glTexEnvxOES *)data;
- orig_evgl_api_glTexEnvxOES(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexEnvxOES(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexEnvxOES thread_param_local;
- EVGL_API_Thread_Command_glTexEnvxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexEnvxOES thread_data_local;
+ EVGL_API_Thread_Command_glTexEnvxOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexEnvxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexEnvxvOES(GLenum target, GLenum pname, const GLfixed *params);
+ * void
+ * glTexEnvxvOES(GLenum target, GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glTexEnvxvOES(void *data)
{
- EVGL_API_Thread_Command_glTexEnvxvOES *thread_param =
+ EVGL_API_Thread_Command_glTexEnvxvOES *thread_data =
(EVGL_API_Thread_Command_glTexEnvxvOES *)data;
- orig_evgl_api_glTexEnvxvOES(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexEnvxvOES(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexEnvxvOES thread_param_local;
- EVGL_API_Thread_Command_glTexEnvxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexEnvxvOES thread_data_local;
+ EVGL_API_Thread_Command_glTexEnvxvOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexEnvxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterxOES(GLenum target, GLenum pname, GLfixed param);
+ * void
+ * glTexParameterxOES(GLenum target, GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glTexParameterxOES(void *data)
{
- EVGL_API_Thread_Command_glTexParameterxOES *thread_param =
+ EVGL_API_Thread_Command_glTexParameterxOES *thread_data =
(EVGL_API_Thread_Command_glTexParameterxOES *)data;
- orig_evgl_api_glTexParameterxOES(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexParameterxOES(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexParameterxOES thread_param_local;
- EVGL_API_Thread_Command_glTexParameterxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexParameterxOES thread_data_local;
+ EVGL_API_Thread_Command_glTexParameterxOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexParameterxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterxvOES(GLenum target, GLenum pname, const GLfixed *params);
+ * void
+ * glTexParameterxvOES(GLenum target, GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glTexParameterxvOES(void *data)
{
- EVGL_API_Thread_Command_glTexParameterxvOES *thread_param =
+ EVGL_API_Thread_Command_glTexParameterxvOES *thread_data =
(EVGL_API_Thread_Command_glTexParameterxvOES *)data;
- orig_evgl_api_glTexParameterxvOES(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexParameterxvOES(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexParameterxvOES thread_param_local;
- EVGL_API_Thread_Command_glTexParameterxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexParameterxvOES thread_data_local;
+ EVGL_API_Thread_Command_glTexParameterxvOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexParameterxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTranslatexOES(GLfixed x, GLfixed y, GLfixed z);
+ * void
+ * glTranslatexOES(GLfixed x, GLfixed y, GLfixed z);
*/
typedef struct
static void
_evgl_api_thread_glTranslatexOES(void *data)
{
- EVGL_API_Thread_Command_glTranslatexOES *thread_param =
+ EVGL_API_Thread_Command_glTranslatexOES *thread_data =
(EVGL_API_Thread_Command_glTranslatexOES *)data;
- orig_evgl_api_glTranslatexOES(thread_param->x,
- thread_param->y,
- thread_param->z);
+ orig_evgl_api_glTranslatexOES(thread_data->x,
+ thread_data->y,
+ thread_data->z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTranslatexOES thread_param_local;
- EVGL_API_Thread_Command_glTranslatexOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTranslatexOES thread_data_local;
+ EVGL_API_Thread_Command_glTranslatexOES *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->z = z;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->z = z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTranslatexOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsRenderbufferOES(GLuint renderbuffer);
+ * GLboolean
+ * glIsRenderbufferOES(GLuint renderbuffer);
*/
typedef struct
static void
_evgl_api_thread_glIsRenderbufferOES(void *data)
{
- EVGL_API_Thread_Command_glIsRenderbufferOES *thread_param =
+ EVGL_API_Thread_Command_glIsRenderbufferOES *thread_data =
(EVGL_API_Thread_Command_glIsRenderbufferOES *)data;
- thread_param->return_value = orig_evgl_api_glIsRenderbufferOES(thread_param->renderbuffer);
+ thread_data->return_value = orig_evgl_api_glIsRenderbufferOES(thread_data->renderbuffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsRenderbufferOES thread_param_local;
- EVGL_API_Thread_Command_glIsRenderbufferOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsRenderbufferOES thread_data_local;
+ EVGL_API_Thread_Command_glIsRenderbufferOES *thread_data = &thread_data_local;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsRenderbufferOES,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glBindRenderbufferOES(GLenum target, GLuint renderbuffer);
+ * void
+ * glBindRenderbufferOES(GLenum target, GLuint renderbuffer);
*/
typedef struct
static void
_evgl_api_thread_glBindRenderbufferOES(void *data)
{
- EVGL_API_Thread_Command_glBindRenderbufferOES *thread_param =
+ EVGL_API_Thread_Command_glBindRenderbufferOES *thread_data =
(EVGL_API_Thread_Command_glBindRenderbufferOES *)data;
- orig_evgl_api_glBindRenderbufferOES(thread_param->target,
- thread_param->renderbuffer);
+ orig_evgl_api_glBindRenderbufferOES(thread_data->target,
+ thread_data->renderbuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindRenderbufferOES thread_param_local;
- EVGL_API_Thread_Command_glBindRenderbufferOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindRenderbufferOES thread_data_local;
+ EVGL_API_Thread_Command_glBindRenderbufferOES *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBindRenderbufferOES *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBindRenderbufferOES));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBindRenderbufferOES *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBindRenderbufferOES));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->target = target;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindRenderbufferOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteRenderbuffersOES(GLsizei n, const GLuint* renderbuffers);
+ * void
+ * glDeleteRenderbuffersOES(GLsizei n, const GLuint* renderbuffers);
*/
typedef struct
static void
_evgl_api_thread_glDeleteRenderbuffersOES(void *data)
{
- EVGL_API_Thread_Command_glDeleteRenderbuffersOES *thread_param =
+ EVGL_API_Thread_Command_glDeleteRenderbuffersOES *thread_data =
(EVGL_API_Thread_Command_glDeleteRenderbuffersOES *)data;
- orig_evgl_api_glDeleteRenderbuffersOES(thread_param->n,
- thread_param->renderbuffers);
+ orig_evgl_api_glDeleteRenderbuffersOES(thread_data->n,
+ thread_data->renderbuffers);
- if (thread_param->renderbuffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->renderbuffers_copied);
+ if (thread_data->renderbuffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->renderbuffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteRenderbuffersOES thread_param_local;
- EVGL_API_Thread_Command_glDeleteRenderbuffersOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteRenderbuffersOES thread_data_local;
+ EVGL_API_Thread_Command_glDeleteRenderbuffersOES *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDeleteRenderbuffersOES *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDeleteRenderbuffersOES));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDeleteRenderbuffersOES *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDeleteRenderbuffersOES));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->renderbuffers = renderbuffers;
+ thread_data->n = n;
+ thread_data->renderbuffers = renderbuffers;
- thread_param->renderbuffers_copied = NULL;
+ thread_data->renderbuffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->renderbuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->renderbuffers_copied)
+ thread_data->renderbuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->renderbuffers_copied)
{
- memcpy(thread_param->renderbuffers_copied, renderbuffers, copy_size);
+ memcpy(thread_data->renderbuffers_copied, renderbuffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->renderbuffers = (const GLuint *)thread_param->renderbuffers_copied;
+ thread_data->renderbuffers = (const GLuint *)thread_data->renderbuffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteRenderbuffersOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenRenderbuffersOES(GLsizei n, GLuint* renderbuffers);
+ * void
+ * glGenRenderbuffersOES(GLsizei n, GLuint* renderbuffers);
*/
typedef struct
static void
_evgl_api_thread_glGenRenderbuffersOES(void *data)
{
- EVGL_API_Thread_Command_glGenRenderbuffersOES *thread_param =
+ EVGL_API_Thread_Command_glGenRenderbuffersOES *thread_data =
(EVGL_API_Thread_Command_glGenRenderbuffersOES *)data;
- orig_evgl_api_glGenRenderbuffersOES(thread_param->n,
- thread_param->renderbuffers);
+ orig_evgl_api_glGenRenderbuffersOES(thread_data->n,
+ thread_data->renderbuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenRenderbuffersOES thread_param_local;
- EVGL_API_Thread_Command_glGenRenderbuffersOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenRenderbuffersOES thread_data_local;
+ EVGL_API_Thread_Command_glGenRenderbuffersOES *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->renderbuffers = renderbuffers;
+ thread_data->n = n;
+ thread_data->renderbuffers = renderbuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenRenderbuffersOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glRenderbufferStorageOES(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+ * void
+ * glRenderbufferStorageOES(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glRenderbufferStorageOES(void *data)
{
- EVGL_API_Thread_Command_glRenderbufferStorageOES *thread_param =
+ EVGL_API_Thread_Command_glRenderbufferStorageOES *thread_data =
(EVGL_API_Thread_Command_glRenderbufferStorageOES *)data;
- orig_evgl_api_glRenderbufferStorageOES(thread_param->target,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glRenderbufferStorageOES(thread_data->target,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glRenderbufferStorageOES thread_param_local;
- EVGL_API_Thread_Command_glRenderbufferStorageOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageOES thread_data_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageOES *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glRenderbufferStorageOES *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glRenderbufferStorageOES));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glRenderbufferStorageOES *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glRenderbufferStorageOES));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glRenderbufferStorageOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint* params);
+ * void
+ * glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetRenderbufferParameterivOES(void *data)
{
- EVGL_API_Thread_Command_glGetRenderbufferParameterivOES *thread_param =
+ EVGL_API_Thread_Command_glGetRenderbufferParameterivOES *thread_data =
(EVGL_API_Thread_Command_glGetRenderbufferParameterivOES *)data;
- orig_evgl_api_glGetRenderbufferParameterivOES(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetRenderbufferParameterivOES(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetRenderbufferParameterivOES thread_param_local;
- EVGL_API_Thread_Command_glGetRenderbufferParameterivOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetRenderbufferParameterivOES thread_data_local;
+ EVGL_API_Thread_Command_glGetRenderbufferParameterivOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetRenderbufferParameterivOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsFramebufferOES(GLuint framebuffer);
+ * GLboolean
+ * glIsFramebufferOES(GLuint framebuffer);
*/
typedef struct
static void
_evgl_api_thread_glIsFramebufferOES(void *data)
{
- EVGL_API_Thread_Command_glIsFramebufferOES *thread_param =
+ EVGL_API_Thread_Command_glIsFramebufferOES *thread_data =
(EVGL_API_Thread_Command_glIsFramebufferOES *)data;
- thread_param->return_value = orig_evgl_api_glIsFramebufferOES(thread_param->framebuffer);
+ thread_data->return_value = orig_evgl_api_glIsFramebufferOES(thread_data->framebuffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsFramebufferOES thread_param_local;
- EVGL_API_Thread_Command_glIsFramebufferOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsFramebufferOES thread_data_local;
+ EVGL_API_Thread_Command_glIsFramebufferOES *thread_data = &thread_data_local;
- thread_param->framebuffer = framebuffer;
+ thread_data->framebuffer = framebuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsFramebufferOES,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glBindFramebufferOES(GLenum target, GLuint framebuffer);
+ * void
+ * glBindFramebufferOES(GLenum target, GLuint framebuffer);
*/
typedef struct
static void
_evgl_api_thread_glBindFramebufferOES(void *data)
{
- EVGL_API_Thread_Command_glBindFramebufferOES *thread_param =
+ EVGL_API_Thread_Command_glBindFramebufferOES *thread_data =
(EVGL_API_Thread_Command_glBindFramebufferOES *)data;
- orig_evgl_api_glBindFramebufferOES(thread_param->target,
- thread_param->framebuffer);
+ orig_evgl_api_glBindFramebufferOES(thread_data->target,
+ thread_data->framebuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindFramebufferOES thread_param_local;
- EVGL_API_Thread_Command_glBindFramebufferOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindFramebufferOES thread_data_local;
+ EVGL_API_Thread_Command_glBindFramebufferOES *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glBindFramebufferOES *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glBindFramebufferOES));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glBindFramebufferOES *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glBindFramebufferOES));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->framebuffer = framebuffer;
+ thread_data->target = target;
+ thread_data->framebuffer = framebuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindFramebufferOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteFramebuffersOES(GLsizei n, const GLuint* framebuffers);
+ * void
+ * glDeleteFramebuffersOES(GLsizei n, const GLuint* framebuffers);
*/
typedef struct
static void
_evgl_api_thread_glDeleteFramebuffersOES(void *data)
{
- EVGL_API_Thread_Command_glDeleteFramebuffersOES *thread_param =
+ EVGL_API_Thread_Command_glDeleteFramebuffersOES *thread_data =
(EVGL_API_Thread_Command_glDeleteFramebuffersOES *)data;
- orig_evgl_api_glDeleteFramebuffersOES(thread_param->n,
- thread_param->framebuffers);
+ orig_evgl_api_glDeleteFramebuffersOES(thread_data->n,
+ thread_data->framebuffers);
- if (thread_param->framebuffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->framebuffers_copied);
+ if (thread_data->framebuffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->framebuffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteFramebuffersOES thread_param_local;
- EVGL_API_Thread_Command_glDeleteFramebuffersOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteFramebuffersOES thread_data_local;
+ EVGL_API_Thread_Command_glDeleteFramebuffersOES *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glDeleteFramebuffersOES *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glDeleteFramebuffersOES));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glDeleteFramebuffersOES *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glDeleteFramebuffersOES));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->framebuffers = framebuffers;
+ thread_data->n = n;
+ thread_data->framebuffers = framebuffers;
- thread_param->framebuffers_copied = NULL;
+ thread_data->framebuffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->framebuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->framebuffers_copied)
+ thread_data->framebuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->framebuffers_copied)
{
- memcpy(thread_param->framebuffers_copied, framebuffers, copy_size);
+ memcpy(thread_data->framebuffers_copied, framebuffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->framebuffers = (const GLuint *)thread_param->framebuffers_copied;
+ thread_data->framebuffers = (const GLuint *)thread_data->framebuffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteFramebuffersOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenFramebuffersOES(GLsizei n, GLuint* framebuffers);
+ * void
+ * glGenFramebuffersOES(GLsizei n, GLuint* framebuffers);
*/
typedef struct
static void
_evgl_api_thread_glGenFramebuffersOES(void *data)
{
- EVGL_API_Thread_Command_glGenFramebuffersOES *thread_param =
+ EVGL_API_Thread_Command_glGenFramebuffersOES *thread_data =
(EVGL_API_Thread_Command_glGenFramebuffersOES *)data;
- orig_evgl_api_glGenFramebuffersOES(thread_param->n,
- thread_param->framebuffers);
+ orig_evgl_api_glGenFramebuffersOES(thread_data->n,
+ thread_data->framebuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenFramebuffersOES thread_param_local;
- EVGL_API_Thread_Command_glGenFramebuffersOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenFramebuffersOES thread_data_local;
+ EVGL_API_Thread_Command_glGenFramebuffersOES *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->framebuffers = framebuffers;
+ thread_data->n = n;
+ thread_data->framebuffers = framebuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenFramebuffersOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLenum
- glCheckFramebufferStatusOES(GLenum target);
+ * GLenum
+ * glCheckFramebufferStatusOES(GLenum target);
*/
typedef struct
static void
_evgl_api_thread_glCheckFramebufferStatusOES(void *data)
{
- EVGL_API_Thread_Command_glCheckFramebufferStatusOES *thread_param =
+ EVGL_API_Thread_Command_glCheckFramebufferStatusOES *thread_data =
(EVGL_API_Thread_Command_glCheckFramebufferStatusOES *)data;
- thread_param->return_value = orig_evgl_api_glCheckFramebufferStatusOES(thread_param->target);
+ thread_data->return_value = orig_evgl_api_glCheckFramebufferStatusOES(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCheckFramebufferStatusOES thread_param_local;
- EVGL_API_Thread_Command_glCheckFramebufferStatusOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCheckFramebufferStatusOES thread_data_local;
+ EVGL_API_Thread_Command_glCheckFramebufferStatusOES *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCheckFramebufferStatusOES,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glFramebufferRenderbufferOES(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+ * void
+ * glFramebufferRenderbufferOES(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferRenderbufferOES(void *data)
{
- EVGL_API_Thread_Command_glFramebufferRenderbufferOES *thread_param =
+ EVGL_API_Thread_Command_glFramebufferRenderbufferOES *thread_data =
(EVGL_API_Thread_Command_glFramebufferRenderbufferOES *)data;
- orig_evgl_api_glFramebufferRenderbufferOES(thread_param->target,
- thread_param->attachment,
- thread_param->renderbuffertarget,
- thread_param->renderbuffer);
+ orig_evgl_api_glFramebufferRenderbufferOES(thread_data->target,
+ thread_data->attachment,
+ thread_data->renderbuffertarget,
+ thread_data->renderbuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferRenderbufferOES thread_param_local;
- EVGL_API_Thread_Command_glFramebufferRenderbufferOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferRenderbufferOES thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferRenderbufferOES *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glFramebufferRenderbufferOES *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glFramebufferRenderbufferOES));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glFramebufferRenderbufferOES *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glFramebufferRenderbufferOES));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->renderbuffertarget = renderbuffertarget;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->renderbuffertarget = renderbuffertarget;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferRenderbufferOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+ * void
+ * glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferTexture2DOES(void *data)
{
- EVGL_API_Thread_Command_glFramebufferTexture2DOES *thread_param =
+ EVGL_API_Thread_Command_glFramebufferTexture2DOES *thread_data =
(EVGL_API_Thread_Command_glFramebufferTexture2DOES *)data;
- orig_evgl_api_glFramebufferTexture2DOES(thread_param->target,
- thread_param->attachment,
- thread_param->textarget,
- thread_param->texture,
- thread_param->level);
+ orig_evgl_api_glFramebufferTexture2DOES(thread_data->target,
+ thread_data->attachment,
+ thread_data->textarget,
+ thread_data->texture,
+ thread_data->level);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferTexture2DOES thread_param_local;
- EVGL_API_Thread_Command_glFramebufferTexture2DOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2DOES thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2DOES *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glFramebufferTexture2DOES *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glFramebufferTexture2DOES));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glFramebufferTexture2DOES *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glFramebufferTexture2DOES));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->textarget = textarget;
- thread_param->texture = texture;
- thread_param->level = level;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->textarget = textarget;
+ thread_data->texture = texture;
+ thread_data->level = level;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferTexture2DOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint* params);
+ * void
+ * glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetFramebufferAttachmentParameterivOES(void *data)
{
- EVGL_API_Thread_Command_glGetFramebufferAttachmentParameterivOES *thread_param =
+ EVGL_API_Thread_Command_glGetFramebufferAttachmentParameterivOES *thread_data =
(EVGL_API_Thread_Command_glGetFramebufferAttachmentParameterivOES *)data;
- orig_evgl_api_glGetFramebufferAttachmentParameterivOES(thread_param->target,
- thread_param->attachment,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetFramebufferAttachmentParameterivOES(thread_data->target,
+ thread_data->attachment,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetFramebufferAttachmentParameterivOES thread_param_local;
- EVGL_API_Thread_Command_glGetFramebufferAttachmentParameterivOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetFramebufferAttachmentParameterivOES thread_data_local;
+ EVGL_API_Thread_Command_glGetFramebufferAttachmentParameterivOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetFramebufferAttachmentParameterivOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenerateMipmapOES(GLenum target);
+ * void
+ * glGenerateMipmapOES(GLenum target);
*/
typedef struct
static void
_evgl_api_thread_glGenerateMipmapOES(void *data)
{
- EVGL_API_Thread_Command_glGenerateMipmapOES *thread_param =
+ EVGL_API_Thread_Command_glGenerateMipmapOES *thread_data =
(EVGL_API_Thread_Command_glGenerateMipmapOES *)data;
- orig_evgl_api_glGenerateMipmapOES(thread_param->target);
+ orig_evgl_api_glGenerateMipmapOES(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenerateMipmapOES thread_param_local;
- EVGL_API_Thread_Command_glGenerateMipmapOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenerateMipmapOES thread_data_local;
+ EVGL_API_Thread_Command_glGenerateMipmapOES *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenerateMipmapOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCurrentPaletteMatrixOES(GLuint matrixpaletteindex);
+ * void
+ * glCurrentPaletteMatrixOES(GLuint matrixpaletteindex);
*/
typedef struct
static void
_evgl_api_thread_glCurrentPaletteMatrixOES(void *data)
{
- EVGL_API_Thread_Command_glCurrentPaletteMatrixOES *thread_param =
+ EVGL_API_Thread_Command_glCurrentPaletteMatrixOES *thread_data =
(EVGL_API_Thread_Command_glCurrentPaletteMatrixOES *)data;
- orig_evgl_api_glCurrentPaletteMatrixOES(thread_param->matrixpaletteindex);
+ orig_evgl_api_glCurrentPaletteMatrixOES(thread_data->matrixpaletteindex);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCurrentPaletteMatrixOES thread_param_local;
- EVGL_API_Thread_Command_glCurrentPaletteMatrixOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCurrentPaletteMatrixOES thread_data_local;
+ EVGL_API_Thread_Command_glCurrentPaletteMatrixOES *thread_data = &thread_data_local;
- thread_param->matrixpaletteindex = matrixpaletteindex;
+ thread_data->matrixpaletteindex = matrixpaletteindex;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCurrentPaletteMatrixOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLoadPaletteFromModelViewMatrixOES(void);
+ * void
+ * glLoadPaletteFromModelViewMatrixOES(void);
*/
void (*orig_evgl_api_glLoadPaletteFromModelViewMatrixOES)(void);
}
/*
- void
- glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
+ * void
+ * glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
*/
typedef struct
static void
_evgl_api_thread_glMatrixIndexPointerOES(void *data)
{
- EVGL_API_Thread_Command_glMatrixIndexPointerOES *thread_param =
+ EVGL_API_Thread_Command_glMatrixIndexPointerOES *thread_data =
(EVGL_API_Thread_Command_glMatrixIndexPointerOES *)data;
- orig_evgl_api_glMatrixIndexPointerOES(thread_param->size,
- thread_param->type,
- thread_param->stride,
- thread_param->pointer);
+ orig_evgl_api_glMatrixIndexPointerOES(thread_data->size,
+ thread_data->type,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMatrixIndexPointerOES thread_param_local;
- EVGL_API_Thread_Command_glMatrixIndexPointerOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMatrixIndexPointerOES thread_data_local;
+ EVGL_API_Thread_Command_glMatrixIndexPointerOES *thread_data = &thread_data_local;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMatrixIndexPointerOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
+ * void
+ * glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
*/
typedef struct
static void
_evgl_api_thread_glWeightPointerOES(void *data)
{
- EVGL_API_Thread_Command_glWeightPointerOES *thread_param =
+ EVGL_API_Thread_Command_glWeightPointerOES *thread_data =
(EVGL_API_Thread_Command_glWeightPointerOES *)data;
- orig_evgl_api_glWeightPointerOES(thread_param->size,
- thread_param->type,
- thread_param->stride,
- thread_param->pointer);
+ orig_evgl_api_glWeightPointerOES(thread_data->size,
+ thread_data->type,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glWeightPointerOES thread_param_local;
- EVGL_API_Thread_Command_glWeightPointerOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glWeightPointerOES thread_data_local;
+ EVGL_API_Thread_Command_glWeightPointerOES *thread_data = &thread_data_local;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glWeightPointerOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLbitfield
- glQueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);
+ * GLbitfield
+ * glQueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);
*/
typedef struct
static void
_evgl_api_thread_glQueryMatrixxOES(void *data)
{
- EVGL_API_Thread_Command_glQueryMatrixxOES *thread_param =
+ EVGL_API_Thread_Command_glQueryMatrixxOES *thread_data =
(EVGL_API_Thread_Command_glQueryMatrixxOES *)data;
- thread_param->return_value = orig_evgl_api_glQueryMatrixxOES(thread_param->mantissa,
- thread_param->exponent);
+ thread_data->return_value = orig_evgl_api_glQueryMatrixxOES(thread_data->mantissa,
+ thread_data->exponent);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glQueryMatrixxOES thread_param_local;
- EVGL_API_Thread_Command_glQueryMatrixxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glQueryMatrixxOES thread_data_local;
+ EVGL_API_Thread_Command_glQueryMatrixxOES *thread_data = &thread_data_local;
- memcpy(thread_param->mantissa, &mantissa, sizeof(mantissa));
- memcpy(thread_param->exponent, &exponent, sizeof(exponent));
+ memcpy(thread_data->mantissa, &mantissa, sizeof(GLfixed) * 16);
+ memcpy(thread_data->exponent, &exponent, sizeof(GLint) * 16);
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glQueryMatrixxOES,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glDepthRangefOES(GLclampf zNear, GLclampf zFar);
+ * void
+ * glDepthRangefOES(GLclampf zNear, GLclampf zFar);
*/
typedef struct
static void
_evgl_api_thread_glDepthRangefOES(void *data)
{
- EVGL_API_Thread_Command_glDepthRangefOES *thread_param =
+ EVGL_API_Thread_Command_glDepthRangefOES *thread_data =
(EVGL_API_Thread_Command_glDepthRangefOES *)data;
- orig_evgl_api_glDepthRangefOES(thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glDepthRangefOES(thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDepthRangefOES thread_param_local;
- EVGL_API_Thread_Command_glDepthRangefOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDepthRangefOES thread_data_local;
+ EVGL_API_Thread_Command_glDepthRangefOES *thread_data = &thread_data_local;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDepthRangefOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFrustumfOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
+ * void
+ * glFrustumfOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
*/
typedef struct
static void
_evgl_api_thread_glFrustumfOES(void *data)
{
- EVGL_API_Thread_Command_glFrustumfOES *thread_param =
+ EVGL_API_Thread_Command_glFrustumfOES *thread_data =
(EVGL_API_Thread_Command_glFrustumfOES *)data;
- orig_evgl_api_glFrustumfOES(thread_param->left,
- thread_param->right,
- thread_param->bottom,
- thread_param->top,
- thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glFrustumfOES(thread_data->left,
+ thread_data->right,
+ thread_data->bottom,
+ thread_data->top,
+ thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFrustumfOES thread_param_local;
- EVGL_API_Thread_Command_glFrustumfOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFrustumfOES thread_data_local;
+ EVGL_API_Thread_Command_glFrustumfOES *thread_data = &thread_data_local;
- thread_param->left = left;
- thread_param->right = right;
- thread_param->bottom = bottom;
- thread_param->top = top;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->left = left;
+ thread_data->right = right;
+ thread_data->bottom = bottom;
+ thread_data->top = top;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFrustumfOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glOrthofOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
+ * void
+ * glOrthofOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
*/
typedef struct
static void
_evgl_api_thread_glOrthofOES(void *data)
{
- EVGL_API_Thread_Command_glOrthofOES *thread_param =
+ EVGL_API_Thread_Command_glOrthofOES *thread_data =
(EVGL_API_Thread_Command_glOrthofOES *)data;
- orig_evgl_api_glOrthofOES(thread_param->left,
- thread_param->right,
- thread_param->bottom,
- thread_param->top,
- thread_param->zNear,
- thread_param->zFar);
+ orig_evgl_api_glOrthofOES(thread_data->left,
+ thread_data->right,
+ thread_data->bottom,
+ thread_data->top,
+ thread_data->zNear,
+ thread_data->zFar);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glOrthofOES thread_param_local;
- EVGL_API_Thread_Command_glOrthofOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glOrthofOES thread_data_local;
+ EVGL_API_Thread_Command_glOrthofOES *thread_data = &thread_data_local;
- thread_param->left = left;
- thread_param->right = right;
- thread_param->bottom = bottom;
- thread_param->top = top;
- thread_param->zNear = zNear;
- thread_param->zFar = zFar;
+ thread_data->left = left;
+ thread_data->right = right;
+ thread_data->bottom = bottom;
+ thread_data->top = top;
+ thread_data->zNear = zNear;
+ thread_data->zFar = zFar;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glOrthofOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClipPlanefOES(GLenum plane, const GLfloat *equation);
+ * void
+ * glClipPlanefOES(GLenum plane, const GLfloat *equation);
*/
typedef struct
static void
_evgl_api_thread_glClipPlanefOES(void *data)
{
- EVGL_API_Thread_Command_glClipPlanefOES *thread_param =
+ EVGL_API_Thread_Command_glClipPlanefOES *thread_data =
(EVGL_API_Thread_Command_glClipPlanefOES *)data;
- orig_evgl_api_glClipPlanefOES(thread_param->plane,
- thread_param->equation);
+ orig_evgl_api_glClipPlanefOES(thread_data->plane,
+ thread_data->equation);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClipPlanefOES thread_param_local;
- EVGL_API_Thread_Command_glClipPlanefOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClipPlanefOES thread_data_local;
+ EVGL_API_Thread_Command_glClipPlanefOES *thread_data = &thread_data_local;
- thread_param->plane = plane;
- thread_param->equation = equation;
+ thread_data->plane = plane;
+ thread_data->equation = equation;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClipPlanefOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetClipPlanefOES(GLenum pname, GLfloat eqn[4]);
+ * void
+ * glGetClipPlanefOES(GLenum pname, GLfloat eqn[4]);
*/
typedef struct
static void
_evgl_api_thread_glGetClipPlanefOES(void *data)
{
- EVGL_API_Thread_Command_glGetClipPlanefOES *thread_param =
+ EVGL_API_Thread_Command_glGetClipPlanefOES *thread_data =
(EVGL_API_Thread_Command_glGetClipPlanefOES *)data;
- orig_evgl_api_glGetClipPlanefOES(thread_param->pname,
- thread_param->eqn);
+ orig_evgl_api_glGetClipPlanefOES(thread_data->pname,
+ thread_data->eqn);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetClipPlanefOES thread_param_local;
- EVGL_API_Thread_Command_glGetClipPlanefOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetClipPlanefOES thread_data_local;
+ EVGL_API_Thread_Command_glGetClipPlanefOES *thread_data = &thread_data_local;
- thread_param->pname = pname;
- memcpy(thread_param->eqn, &eqn, sizeof(eqn));
+ thread_data->pname = pname;
+ memcpy(thread_data->eqn, &eqn, sizeof(GLfloat) * 4);
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetClipPlanefOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearDepthfOES(GLclampf depth);
+ * void
+ * glClearDepthfOES(GLclampf depth);
*/
typedef struct
static void
_evgl_api_thread_glClearDepthfOES(void *data)
{
- EVGL_API_Thread_Command_glClearDepthfOES *thread_param =
+ EVGL_API_Thread_Command_glClearDepthfOES *thread_data =
(EVGL_API_Thread_Command_glClearDepthfOES *)data;
- orig_evgl_api_glClearDepthfOES(thread_param->depth);
+ orig_evgl_api_glClearDepthfOES(thread_data->depth);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearDepthfOES thread_param_local;
- EVGL_API_Thread_Command_glClearDepthfOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearDepthfOES thread_data_local;
+ EVGL_API_Thread_Command_glClearDepthfOES *thread_data = &thread_data_local;
- thread_param->depth = depth;
+ thread_data->depth = depth;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearDepthfOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexGenfOES(GLenum coord, GLenum pname, GLfloat param);
+ * void
+ * glTexGenfOES(GLenum coord, GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_api_thread_glTexGenfOES(void *data)
{
- EVGL_API_Thread_Command_glTexGenfOES *thread_param =
+ EVGL_API_Thread_Command_glTexGenfOES *thread_data =
(EVGL_API_Thread_Command_glTexGenfOES *)data;
- orig_evgl_api_glTexGenfOES(thread_param->coord,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexGenfOES(thread_data->coord,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexGenfOES thread_param_local;
- EVGL_API_Thread_Command_glTexGenfOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexGenfOES thread_data_local;
+ EVGL_API_Thread_Command_glTexGenfOES *thread_data = &thread_data_local;
- thread_param->coord = coord;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->coord = coord;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexGenfOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params);
+ * void
+ * glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glTexGenfvOES(void *data)
{
- EVGL_API_Thread_Command_glTexGenfvOES *thread_param =
+ EVGL_API_Thread_Command_glTexGenfvOES *thread_data =
(EVGL_API_Thread_Command_glTexGenfvOES *)data;
- orig_evgl_api_glTexGenfvOES(thread_param->coord,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexGenfvOES(thread_data->coord,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexGenfvOES thread_param_local;
- EVGL_API_Thread_Command_glTexGenfvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexGenfvOES thread_data_local;
+ EVGL_API_Thread_Command_glTexGenfvOES *thread_data = &thread_data_local;
- thread_param->coord = coord;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->coord = coord;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexGenfvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexGeniOES(GLenum coord, GLenum pname, GLint param);
+ * void
+ * glTexGeniOES(GLenum coord, GLenum pname, GLint param);
*/
typedef struct
static void
_evgl_api_thread_glTexGeniOES(void *data)
{
- EVGL_API_Thread_Command_glTexGeniOES *thread_param =
+ EVGL_API_Thread_Command_glTexGeniOES *thread_data =
(EVGL_API_Thread_Command_glTexGeniOES *)data;
- orig_evgl_api_glTexGeniOES(thread_param->coord,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexGeniOES(thread_data->coord,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexGeniOES thread_param_local;
- EVGL_API_Thread_Command_glTexGeniOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexGeniOES thread_data_local;
+ EVGL_API_Thread_Command_glTexGeniOES *thread_data = &thread_data_local;
- thread_param->coord = coord;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->coord = coord;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexGeniOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexGenivOES(GLenum coord, GLenum pname, const GLint *params);
+ * void
+ * glTexGenivOES(GLenum coord, GLenum pname, const GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glTexGenivOES(void *data)
{
- EVGL_API_Thread_Command_glTexGenivOES *thread_param =
+ EVGL_API_Thread_Command_glTexGenivOES *thread_data =
(EVGL_API_Thread_Command_glTexGenivOES *)data;
- orig_evgl_api_glTexGenivOES(thread_param->coord,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexGenivOES(thread_data->coord,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexGenivOES thread_param_local;
- EVGL_API_Thread_Command_glTexGenivOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexGenivOES thread_data_local;
+ EVGL_API_Thread_Command_glTexGenivOES *thread_data = &thread_data_local;
- thread_param->coord = coord;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->coord = coord;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexGenivOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexGenxOES(GLenum coord, GLenum pname, GLfixed param);
+ * void
+ * glTexGenxOES(GLenum coord, GLenum pname, GLfixed param);
*/
typedef struct
static void
_evgl_api_thread_glTexGenxOES(void *data)
{
- EVGL_API_Thread_Command_glTexGenxOES *thread_param =
+ EVGL_API_Thread_Command_glTexGenxOES *thread_data =
(EVGL_API_Thread_Command_glTexGenxOES *)data;
- orig_evgl_api_glTexGenxOES(thread_param->coord,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glTexGenxOES(thread_data->coord,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexGenxOES thread_param_local;
- EVGL_API_Thread_Command_glTexGenxOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexGenxOES thread_data_local;
+ EVGL_API_Thread_Command_glTexGenxOES *thread_data = &thread_data_local;
- thread_param->coord = coord;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->coord = coord;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexGenxOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params);
+ * void
+ * glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glTexGenxvOES(void *data)
{
- EVGL_API_Thread_Command_glTexGenxvOES *thread_param =
+ EVGL_API_Thread_Command_glTexGenxvOES *thread_data =
(EVGL_API_Thread_Command_glTexGenxvOES *)data;
- orig_evgl_api_glTexGenxvOES(thread_param->coord,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glTexGenxvOES(thread_data->coord,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexGenxvOES thread_param_local;
- EVGL_API_Thread_Command_glTexGenxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexGenxvOES thread_data_local;
+ EVGL_API_Thread_Command_glTexGenxvOES *thread_data = &thread_data_local;
- thread_param->coord = coord;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->coord = coord;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexGenxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params);
+ * void
+ * glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexGenfvOES(void *data)
{
- EVGL_API_Thread_Command_glGetTexGenfvOES *thread_param =
+ EVGL_API_Thread_Command_glGetTexGenfvOES *thread_data =
(EVGL_API_Thread_Command_glGetTexGenfvOES *)data;
- orig_evgl_api_glGetTexGenfvOES(thread_param->coord,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexGenfvOES(thread_data->coord,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexGenfvOES thread_param_local;
- EVGL_API_Thread_Command_glGetTexGenfvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexGenfvOES thread_data_local;
+ EVGL_API_Thread_Command_glGetTexGenfvOES *thread_data = &thread_data_local;
- thread_param->coord = coord;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->coord = coord;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexGenfvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params);
+ * void
+ * glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexGenivOES(void *data)
{
- EVGL_API_Thread_Command_glGetTexGenivOES *thread_param =
+ EVGL_API_Thread_Command_glGetTexGenivOES *thread_data =
(EVGL_API_Thread_Command_glGetTexGenivOES *)data;
- orig_evgl_api_glGetTexGenivOES(thread_param->coord,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexGenivOES(thread_data->coord,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexGenivOES thread_param_local;
- EVGL_API_Thread_Command_glGetTexGenivOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexGenivOES thread_data_local;
+ EVGL_API_Thread_Command_glGetTexGenivOES *thread_data = &thread_data_local;
- thread_param->coord = coord;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->coord = coord;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexGenivOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params);
+ * void
+ * glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexGenxvOES(void *data)
{
- EVGL_API_Thread_Command_glGetTexGenxvOES *thread_param =
+ EVGL_API_Thread_Command_glGetTexGenxvOES *thread_data =
(EVGL_API_Thread_Command_glGetTexGenxvOES *)data;
- orig_evgl_api_glGetTexGenxvOES(thread_param->coord,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexGenxvOES(thread_data->coord,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexGenxvOES thread_param_local;
- EVGL_API_Thread_Command_glGetTexGenxvOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexGenxvOES thread_data_local;
+ EVGL_API_Thread_Command_glGetTexGenxvOES *thread_data = &thread_data_local;
- thread_param->coord = coord;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->coord = coord;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexGenxvOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindVertexArrayOES(GLuint array);
+ * void
+ * glBindVertexArrayOES(GLuint array);
*/
typedef struct
static void
_evgl_api_thread_glBindVertexArrayOES(void *data)
{
- EVGL_API_Thread_Command_glBindVertexArrayOES *thread_param =
+ EVGL_API_Thread_Command_glBindVertexArrayOES *thread_data =
(EVGL_API_Thread_Command_glBindVertexArrayOES *)data;
- orig_evgl_api_glBindVertexArrayOES(thread_param->array);
+ orig_evgl_api_glBindVertexArrayOES(thread_data->array);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindVertexArrayOES thread_param_local;
- EVGL_API_Thread_Command_glBindVertexArrayOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindVertexArrayOES thread_data_local;
+ EVGL_API_Thread_Command_glBindVertexArrayOES *thread_data = &thread_data_local;
- thread_param->array = array;
+ thread_data->array = array;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindVertexArrayOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays);
+ * void
+ * glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays);
*/
typedef struct
static void
_evgl_api_thread_glDeleteVertexArraysOES(void *data)
{
- EVGL_API_Thread_Command_glDeleteVertexArraysOES *thread_param =
+ EVGL_API_Thread_Command_glDeleteVertexArraysOES *thread_data =
(EVGL_API_Thread_Command_glDeleteVertexArraysOES *)data;
- orig_evgl_api_glDeleteVertexArraysOES(thread_param->n,
- thread_param->arrays);
+ orig_evgl_api_glDeleteVertexArraysOES(thread_data->n,
+ thread_data->arrays);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteVertexArraysOES thread_param_local;
- EVGL_API_Thread_Command_glDeleteVertexArraysOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteVertexArraysOES thread_data_local;
+ EVGL_API_Thread_Command_glDeleteVertexArraysOES *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->arrays = arrays;
+ thread_data->n = n;
+ thread_data->arrays = arrays;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteVertexArraysOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenVertexArraysOES(GLsizei n, GLuint *arrays);
+ * void
+ * glGenVertexArraysOES(GLsizei n, GLuint *arrays);
*/
typedef struct
static void
_evgl_api_thread_glGenVertexArraysOES(void *data)
{
- EVGL_API_Thread_Command_glGenVertexArraysOES *thread_param =
+ EVGL_API_Thread_Command_glGenVertexArraysOES *thread_data =
(EVGL_API_Thread_Command_glGenVertexArraysOES *)data;
- orig_evgl_api_glGenVertexArraysOES(thread_param->n,
- thread_param->arrays);
+ orig_evgl_api_glGenVertexArraysOES(thread_data->n,
+ thread_data->arrays);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenVertexArraysOES thread_param_local;
- EVGL_API_Thread_Command_glGenVertexArraysOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenVertexArraysOES thread_data_local;
+ EVGL_API_Thread_Command_glGenVertexArraysOES *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->arrays = arrays;
+ thread_data->n = n;
+ thread_data->arrays = arrays;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenVertexArraysOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsVertexArrayOES(GLuint array);
+ * GLboolean
+ * glIsVertexArrayOES(GLuint array);
*/
typedef struct
static void
_evgl_api_thread_glIsVertexArrayOES(void *data)
{
- EVGL_API_Thread_Command_glIsVertexArrayOES *thread_param =
+ EVGL_API_Thread_Command_glIsVertexArrayOES *thread_data =
(EVGL_API_Thread_Command_glIsVertexArrayOES *)data;
- thread_param->return_value = orig_evgl_api_glIsVertexArrayOES(thread_param->array);
+ thread_data->return_value = orig_evgl_api_glIsVertexArrayOES(thread_data->array);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsVertexArrayOES thread_param_local;
- EVGL_API_Thread_Command_glIsVertexArrayOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsVertexArrayOES thread_data_local;
+ EVGL_API_Thread_Command_glIsVertexArrayOES *thread_data = &thread_data_local;
- thread_param->array = array;
+ thread_data->array = array;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsVertexArrayOES,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glCopyTextureLevelsAPPLE(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
+ * void
+ * glCopyTextureLevelsAPPLE(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
*/
typedef struct
static void
_evgl_api_thread_glCopyTextureLevelsAPPLE(void *data)
{
- EVGL_API_Thread_Command_glCopyTextureLevelsAPPLE *thread_param =
+ EVGL_API_Thread_Command_glCopyTextureLevelsAPPLE *thread_data =
(EVGL_API_Thread_Command_glCopyTextureLevelsAPPLE *)data;
- orig_evgl_api_glCopyTextureLevelsAPPLE(thread_param->destinationTexture,
- thread_param->sourceTexture,
- thread_param->sourceBaseLevel,
- thread_param->sourceLevelCount);
+ orig_evgl_api_glCopyTextureLevelsAPPLE(thread_data->destinationTexture,
+ thread_data->sourceTexture,
+ thread_data->sourceBaseLevel,
+ thread_data->sourceLevelCount);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCopyTextureLevelsAPPLE thread_param_local;
- EVGL_API_Thread_Command_glCopyTextureLevelsAPPLE *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCopyTextureLevelsAPPLE thread_data_local;
+ EVGL_API_Thread_Command_glCopyTextureLevelsAPPLE *thread_data = &thread_data_local;
- thread_param->destinationTexture = destinationTexture;
- thread_param->sourceTexture = sourceTexture;
- thread_param->sourceBaseLevel = sourceBaseLevel;
- thread_param->sourceLevelCount = sourceLevelCount;
+ thread_data->destinationTexture = destinationTexture;
+ thread_data->sourceTexture = sourceTexture;
+ thread_data->sourceBaseLevel = sourceBaseLevel;
+ thread_data->sourceLevelCount = sourceLevelCount;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCopyTextureLevelsAPPLE,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glRenderbufferStorageMultisampleAPPLE(GLenum a, GLsizei b, GLenum c, GLsizei d, GLsizei e);
+ * void
+ * glRenderbufferStorageMultisampleAPPLE(GLenum a, GLsizei b, GLenum c, GLsizei d, GLsizei e);
*/
typedef struct
static void
_evgl_api_thread_glRenderbufferStorageMultisampleAPPLE(void *data)
{
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleAPPLE *thread_param =
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleAPPLE *thread_data =
(EVGL_API_Thread_Command_glRenderbufferStorageMultisampleAPPLE *)data;
- orig_evgl_api_glRenderbufferStorageMultisampleAPPLE(thread_param->a,
- thread_param->b,
- thread_param->c,
- thread_param->d,
- thread_param->e);
+ orig_evgl_api_glRenderbufferStorageMultisampleAPPLE(thread_data->a,
+ thread_data->b,
+ thread_data->c,
+ thread_data->d,
+ thread_data->e);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleAPPLE thread_param_local;
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleAPPLE *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleAPPLE thread_data_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleAPPLE *thread_data = &thread_data_local;
- thread_param->a = a;
- thread_param->b = b;
- thread_param->c = c;
- thread_param->d = d;
- thread_param->e = e;
+ thread_data->a = a;
+ thread_data->b = b;
+ thread_data->c = c;
+ thread_data->d = d;
+ thread_data->e = e;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glRenderbufferStorageMultisampleAPPLE,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glResolveMultisampleFramebufferAPPLE(void);
+ * void
+ * glResolveMultisampleFramebufferAPPLE(void);
*/
void (*orig_evgl_api_glResolveMultisampleFramebufferAPPLE)(void);
}
/*
- GLsync
- glFenceSyncAPPLE(GLenum condition, GLbitfield flags);
+ * GLsync
+ * glFenceSyncAPPLE(GLenum condition, GLbitfield flags);
*/
typedef struct
static void
_evgl_api_thread_glFenceSyncAPPLE(void *data)
{
- EVGL_API_Thread_Command_glFenceSyncAPPLE *thread_param =
+ EVGL_API_Thread_Command_glFenceSyncAPPLE *thread_data =
(EVGL_API_Thread_Command_glFenceSyncAPPLE *)data;
- thread_param->return_value = orig_evgl_api_glFenceSyncAPPLE(thread_param->condition,
- thread_param->flags);
+ thread_data->return_value = orig_evgl_api_glFenceSyncAPPLE(thread_data->condition,
+ thread_data->flags);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFenceSyncAPPLE thread_param_local;
- EVGL_API_Thread_Command_glFenceSyncAPPLE *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFenceSyncAPPLE thread_data_local;
+ EVGL_API_Thread_Command_glFenceSyncAPPLE *thread_data = &thread_data_local;
- thread_param->condition = condition;
- thread_param->flags = flags;
+ thread_data->condition = condition;
+ thread_data->flags = flags;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFenceSyncAPPLE,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsSyncAPPLE(GLsync sync);
+ * GLboolean
+ * glIsSyncAPPLE(GLsync sync);
*/
typedef struct
static void
_evgl_api_thread_glIsSyncAPPLE(void *data)
{
- EVGL_API_Thread_Command_glIsSyncAPPLE *thread_param =
+ EVGL_API_Thread_Command_glIsSyncAPPLE *thread_data =
(EVGL_API_Thread_Command_glIsSyncAPPLE *)data;
- thread_param->return_value = orig_evgl_api_glIsSyncAPPLE(thread_param->sync);
+ thread_data->return_value = orig_evgl_api_glIsSyncAPPLE(thread_data->sync);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsSyncAPPLE thread_param_local;
- EVGL_API_Thread_Command_glIsSyncAPPLE *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsSyncAPPLE thread_data_local;
+ EVGL_API_Thread_Command_glIsSyncAPPLE *thread_data = &thread_data_local;
- thread_param->sync = sync;
+ thread_data->sync = sync;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsSyncAPPLE,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glDeleteSyncAPPLE(GLsync sync);
+ * void
+ * glDeleteSyncAPPLE(GLsync sync);
*/
typedef struct
static void
_evgl_api_thread_glDeleteSyncAPPLE(void *data)
{
- EVGL_API_Thread_Command_glDeleteSyncAPPLE *thread_param =
+ EVGL_API_Thread_Command_glDeleteSyncAPPLE *thread_data =
(EVGL_API_Thread_Command_glDeleteSyncAPPLE *)data;
- orig_evgl_api_glDeleteSyncAPPLE(thread_param->sync);
+ orig_evgl_api_glDeleteSyncAPPLE(thread_data->sync);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteSyncAPPLE thread_param_local;
- EVGL_API_Thread_Command_glDeleteSyncAPPLE *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteSyncAPPLE thread_data_local;
+ EVGL_API_Thread_Command_glDeleteSyncAPPLE *thread_data = &thread_data_local;
- thread_param->sync = sync;
+ thread_data->sync = sync;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteSyncAPPLE,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLenum
- glClientWaitSyncAPPLE(GLsync sync, GLbitfield flags, EvasGLuint64 timeout);
+ * GLenum
+ * glClientWaitSyncAPPLE(GLsync sync, GLbitfield flags, EvasGLuint64 timeout);
*/
typedef struct
static void
_evgl_api_thread_glClientWaitSyncAPPLE(void *data)
{
- EVGL_API_Thread_Command_glClientWaitSyncAPPLE *thread_param =
+ EVGL_API_Thread_Command_glClientWaitSyncAPPLE *thread_data =
(EVGL_API_Thread_Command_glClientWaitSyncAPPLE *)data;
- thread_param->return_value = orig_evgl_api_glClientWaitSyncAPPLE(thread_param->sync,
- thread_param->flags,
- thread_param->timeout);
+ thread_data->return_value = orig_evgl_api_glClientWaitSyncAPPLE(thread_data->sync,
+ thread_data->flags,
+ thread_data->timeout);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClientWaitSyncAPPLE thread_param_local;
- EVGL_API_Thread_Command_glClientWaitSyncAPPLE *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClientWaitSyncAPPLE thread_data_local;
+ EVGL_API_Thread_Command_glClientWaitSyncAPPLE *thread_data = &thread_data_local;
- thread_param->sync = sync;
- thread_param->flags = flags;
- thread_param->timeout = timeout;
+ thread_data->sync = sync;
+ thread_data->flags = flags;
+ thread_data->timeout = timeout;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClientWaitSyncAPPLE,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glWaitSyncAPPLE(GLsync sync, GLbitfield flags, EvasGLuint64 timeout);
+ * void
+ * glWaitSyncAPPLE(GLsync sync, GLbitfield flags, EvasGLuint64 timeout);
*/
typedef struct
static void
_evgl_api_thread_glWaitSyncAPPLE(void *data)
{
- EVGL_API_Thread_Command_glWaitSyncAPPLE *thread_param =
+ EVGL_API_Thread_Command_glWaitSyncAPPLE *thread_data =
(EVGL_API_Thread_Command_glWaitSyncAPPLE *)data;
- orig_evgl_api_glWaitSyncAPPLE(thread_param->sync,
- thread_param->flags,
- thread_param->timeout);
+ orig_evgl_api_glWaitSyncAPPLE(thread_data->sync,
+ thread_data->flags,
+ thread_data->timeout);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glWaitSyncAPPLE thread_param_local;
- EVGL_API_Thread_Command_glWaitSyncAPPLE *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glWaitSyncAPPLE thread_data_local;
+ EVGL_API_Thread_Command_glWaitSyncAPPLE *thread_data = &thread_data_local;
- thread_param->sync = sync;
- thread_param->flags = flags;
- thread_param->timeout = timeout;
+ thread_data->sync = sync;
+ thread_data->flags = flags;
+ thread_data->timeout = timeout;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glWaitSyncAPPLE,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetInteger64vAPPLE(GLenum pname, EvasGLint64 *params);
+ * void
+ * glGetInteger64vAPPLE(GLenum pname, EvasGLint64 *params);
*/
typedef struct
static void
_evgl_api_thread_glGetInteger64vAPPLE(void *data)
{
- EVGL_API_Thread_Command_glGetInteger64vAPPLE *thread_param =
+ EVGL_API_Thread_Command_glGetInteger64vAPPLE *thread_data =
(EVGL_API_Thread_Command_glGetInteger64vAPPLE *)data;
- orig_evgl_api_glGetInteger64vAPPLE(thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetInteger64vAPPLE(thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetInteger64vAPPLE thread_param_local;
- EVGL_API_Thread_Command_glGetInteger64vAPPLE *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetInteger64vAPPLE thread_data_local;
+ EVGL_API_Thread_Command_glGetInteger64vAPPLE *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetInteger64vAPPLE,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetSyncivAPPLE(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+ * void
+ * glGetSyncivAPPLE(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
*/
typedef struct
static void
_evgl_api_thread_glGetSyncivAPPLE(void *data)
{
- EVGL_API_Thread_Command_glGetSyncivAPPLE *thread_param =
+ EVGL_API_Thread_Command_glGetSyncivAPPLE *thread_data =
(EVGL_API_Thread_Command_glGetSyncivAPPLE *)data;
- orig_evgl_api_glGetSyncivAPPLE(thread_param->sync,
- thread_param->pname,
- thread_param->bufSize,
- thread_param->length,
- thread_param->values);
+ orig_evgl_api_glGetSyncivAPPLE(thread_data->sync,
+ thread_data->pname,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->values);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetSyncivAPPLE thread_param_local;
- EVGL_API_Thread_Command_glGetSyncivAPPLE *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetSyncivAPPLE thread_data_local;
+ EVGL_API_Thread_Command_glGetSyncivAPPLE *thread_data = &thread_data_local;
- thread_param->sync = sync;
- thread_param->pname = pname;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->values = values;
+ thread_data->sync = sync;
+ thread_data->pname = pname;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->values = values;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetSyncivAPPLE,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void *
- glMapBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+ * void *
+ * glMapBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
*/
typedef struct
static void
_evgl_api_thread_glMapBufferRangeEXT(void *data)
{
- EVGL_API_Thread_Command_glMapBufferRangeEXT *thread_param =
+ EVGL_API_Thread_Command_glMapBufferRangeEXT *thread_data =
(EVGL_API_Thread_Command_glMapBufferRangeEXT *)data;
- thread_param->return_value = orig_evgl_api_glMapBufferRangeEXT(thread_param->target,
- thread_param->offset,
- thread_param->length,
- thread_param->access);
+ thread_data->return_value = orig_evgl_api_glMapBufferRangeEXT(thread_data->target,
+ thread_data->offset,
+ thread_data->length,
+ thread_data->access);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMapBufferRangeEXT thread_param_local;
- EVGL_API_Thread_Command_glMapBufferRangeEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMapBufferRangeEXT thread_data_local;
+ EVGL_API_Thread_Command_glMapBufferRangeEXT *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->offset = offset;
- thread_param->length = length;
- thread_param->access = access;
+ thread_data->target = target;
+ thread_data->offset = offset;
+ thread_data->length = length;
+ thread_data->access = access;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMapBufferRangeEXT,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glFlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length);
+ * void
+ * glFlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length);
*/
typedef struct
static void
_evgl_api_thread_glFlushMappedBufferRangeEXT(void *data)
{
- EVGL_API_Thread_Command_glFlushMappedBufferRangeEXT *thread_param =
+ EVGL_API_Thread_Command_glFlushMappedBufferRangeEXT *thread_data =
(EVGL_API_Thread_Command_glFlushMappedBufferRangeEXT *)data;
- orig_evgl_api_glFlushMappedBufferRangeEXT(thread_param->target,
- thread_param->offset,
- thread_param->length);
+ orig_evgl_api_glFlushMappedBufferRangeEXT(thread_data->target,
+ thread_data->offset,
+ thread_data->length);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFlushMappedBufferRangeEXT thread_param_local;
- EVGL_API_Thread_Command_glFlushMappedBufferRangeEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFlushMappedBufferRangeEXT thread_data_local;
+ EVGL_API_Thread_Command_glFlushMappedBufferRangeEXT *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->offset = offset;
- thread_param->length = length;
+ thread_data->target = target;
+ thread_data->offset = offset;
+ thread_data->length = length;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFlushMappedBufferRangeEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glRenderbufferStorageMultisampleEXT(GLenum a, GLsizei b, GLenum c, GLsizei d, GLsizei e);
+ * void
+ * glRenderbufferStorageMultisampleEXT(GLenum a, GLsizei b, GLenum c, GLsizei d, GLsizei e);
*/
typedef struct
static void
_evgl_api_thread_glRenderbufferStorageMultisampleEXT(void *data)
{
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleEXT *thread_param =
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleEXT *thread_data =
(EVGL_API_Thread_Command_glRenderbufferStorageMultisampleEXT *)data;
- orig_evgl_api_glRenderbufferStorageMultisampleEXT(thread_param->a,
- thread_param->b,
- thread_param->c,
- thread_param->d,
- thread_param->e);
+ orig_evgl_api_glRenderbufferStorageMultisampleEXT(thread_data->a,
+ thread_data->b,
+ thread_data->c,
+ thread_data->d,
+ thread_data->e);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleEXT thread_param_local;
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleEXT thread_data_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleEXT *thread_data = &thread_data_local;
- thread_param->a = a;
- thread_param->b = b;
- thread_param->c = c;
- thread_param->d = d;
- thread_param->e = e;
+ thread_data->a = a;
+ thread_data->b = b;
+ thread_data->c = c;
+ thread_data->d = d;
+ thread_data->e = e;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glRenderbufferStorageMultisampleEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferTexture2DMultisample(GLenum a, GLenum b, GLenum c, GLuint d, GLint e, GLsizei f);
+ * void
+ * glFramebufferTexture2DMultisample(GLenum a, GLenum b, GLenum c, GLuint d, GLint e, GLsizei f);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferTexture2DMultisample(void *data)
{
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisample *thread_param =
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisample *thread_data =
(EVGL_API_Thread_Command_glFramebufferTexture2DMultisample *)data;
- orig_evgl_api_glFramebufferTexture2DMultisample(thread_param->a,
- thread_param->b,
- thread_param->c,
- thread_param->d,
- thread_param->e,
- thread_param->f);
+ orig_evgl_api_glFramebufferTexture2DMultisample(thread_data->a,
+ thread_data->b,
+ thread_data->c,
+ thread_data->d,
+ thread_data->e,
+ thread_data->f);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisample thread_param_local;
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisample *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisample thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisample *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisample *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glFramebufferTexture2DMultisample));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisample *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glFramebufferTexture2DMultisample));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->a = a;
- thread_param->b = b;
- thread_param->c = c;
- thread_param->d = d;
- thread_param->e = e;
- thread_param->f = f;
+ thread_data->a = a;
+ thread_data->b = b;
+ thread_data->c = c;
+ thread_data->d = d;
+ thread_data->e = e;
+ thread_data->f = f;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferTexture2DMultisample,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferTexture2DMultisampleEXT(GLenum a, GLenum b, GLenum c, GLuint d, GLint e, GLsizei f);
+ * void
+ * glFramebufferTexture2DMultisampleEXT(GLenum a, GLenum b, GLenum c, GLuint d, GLint e, GLsizei f);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferTexture2DMultisampleEXT(void *data)
{
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT *thread_param =
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT *thread_data =
(EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT *)data;
- orig_evgl_api_glFramebufferTexture2DMultisampleEXT(thread_param->a,
- thread_param->b,
- thread_param->c,
- thread_param->d,
- thread_param->e,
- thread_param->f);
+ orig_evgl_api_glFramebufferTexture2DMultisampleEXT(thread_data->a,
+ thread_data->b,
+ thread_data->c,
+ thread_data->d,
+ thread_data->e,
+ thread_data->f);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT thread_param_local;
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleEXT));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->a = a;
- thread_param->b = b;
- thread_param->c = c;
- thread_param->d = d;
- thread_param->e = e;
- thread_param->f = f;
+ thread_data->a = a;
+ thread_data->b = b;
+ thread_data->c = c;
+ thread_data->d = d;
+ thread_data->e = e;
+ thread_data->f = f;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferTexture2DMultisampleEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLenum
- glGetGraphicsResetStatus(void);
+ * GLenum
+ * glGetGraphicsResetStatus(void);
*/
typedef struct
static void
_evgl_api_thread_glGetGraphicsResetStatus(void *data)
{
- EVGL_API_Thread_Command_glGetGraphicsResetStatus *thread_param =
+ EVGL_API_Thread_Command_glGetGraphicsResetStatus *thread_data =
(EVGL_API_Thread_Command_glGetGraphicsResetStatus *)data;
- thread_param->return_value = orig_evgl_api_glGetGraphicsResetStatus();
+ thread_data->return_value = orig_evgl_api_glGetGraphicsResetStatus();
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetGraphicsResetStatus thread_param_local;
- EVGL_API_Thread_Command_glGetGraphicsResetStatus *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetGraphicsResetStatus thread_data_local;
+ EVGL_API_Thread_Command_glGetGraphicsResetStatus *thread_data = &thread_data_local;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetGraphicsResetStatus,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLenum
- glGetGraphicsResetStatusEXT(void);
+ * GLenum
+ * glGetGraphicsResetStatusEXT(void);
*/
typedef struct
static void
_evgl_api_thread_glGetGraphicsResetStatusEXT(void *data)
{
- EVGL_API_Thread_Command_glGetGraphicsResetStatusEXT *thread_param =
+ EVGL_API_Thread_Command_glGetGraphicsResetStatusEXT *thread_data =
(EVGL_API_Thread_Command_glGetGraphicsResetStatusEXT *)data;
- thread_param->return_value = orig_evgl_api_glGetGraphicsResetStatusEXT();
+ thread_data->return_value = orig_evgl_api_glGetGraphicsResetStatusEXT();
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetGraphicsResetStatusEXT thread_param_local;
- EVGL_API_Thread_Command_glGetGraphicsResetStatusEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetGraphicsResetStatusEXT thread_data_local;
+ EVGL_API_Thread_Command_glGetGraphicsResetStatusEXT *thread_data = &thread_data_local;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetGraphicsResetStatusEXT,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glReadnPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
+ * void
+ * glReadnPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
*/
typedef struct
static void
_evgl_api_thread_glReadnPixels(void *data)
{
- EVGL_API_Thread_Command_glReadnPixels *thread_param =
+ EVGL_API_Thread_Command_glReadnPixels *thread_data =
(EVGL_API_Thread_Command_glReadnPixels *)data;
- orig_evgl_api_glReadnPixels(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->type,
- thread_param->bufSize,
- thread_param->data);
+ orig_evgl_api_glReadnPixels(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->type,
+ thread_data->bufSize,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glReadnPixels thread_param_local;
- EVGL_API_Thread_Command_glReadnPixels *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glReadnPixels thread_data_local;
+ EVGL_API_Thread_Command_glReadnPixels *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->bufSize = bufSize;
- thread_param->data = data;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->bufSize = bufSize;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glReadnPixels,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
+ * void
+ * glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
*/
typedef struct
static void
_evgl_api_thread_glReadnPixelsEXT(void *data)
{
- EVGL_API_Thread_Command_glReadnPixelsEXT *thread_param =
+ EVGL_API_Thread_Command_glReadnPixelsEXT *thread_data =
(EVGL_API_Thread_Command_glReadnPixelsEXT *)data;
- orig_evgl_api_glReadnPixelsEXT(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->type,
- thread_param->bufSize,
- thread_param->data);
+ orig_evgl_api_glReadnPixelsEXT(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->type,
+ thread_data->bufSize,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glReadnPixelsEXT thread_param_local;
- EVGL_API_Thread_Command_glReadnPixelsEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glReadnPixelsEXT thread_data_local;
+ EVGL_API_Thread_Command_glReadnPixelsEXT *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->bufSize = bufSize;
- thread_param->data = data;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->bufSize = bufSize;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glReadnPixelsEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetnUniformfv(GLuint program, GLint location, GLsizei bufSize, float *params);
+ * void
+ * glGetnUniformfv(GLuint program, GLint location, GLsizei bufSize, float *params);
*/
typedef struct
static void
_evgl_api_thread_glGetnUniformfv(void *data)
{
- EVGL_API_Thread_Command_glGetnUniformfv *thread_param =
+ EVGL_API_Thread_Command_glGetnUniformfv *thread_data =
(EVGL_API_Thread_Command_glGetnUniformfv *)data;
- orig_evgl_api_glGetnUniformfv(thread_param->program,
- thread_param->location,
- thread_param->bufSize,
- thread_param->params);
+ orig_evgl_api_glGetnUniformfv(thread_data->program,
+ thread_data->location,
+ thread_data->bufSize,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetnUniformfv thread_param_local;
- EVGL_API_Thread_Command_glGetnUniformfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetnUniformfv thread_data_local;
+ EVGL_API_Thread_Command_glGetnUniformfv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->bufSize = bufSize;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->bufSize = bufSize;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetnUniformfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, float *params);
+ * void
+ * glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, float *params);
*/
typedef struct
static void
_evgl_api_thread_glGetnUniformfvEXT(void *data)
{
- EVGL_API_Thread_Command_glGetnUniformfvEXT *thread_param =
+ EVGL_API_Thread_Command_glGetnUniformfvEXT *thread_data =
(EVGL_API_Thread_Command_glGetnUniformfvEXT *)data;
- orig_evgl_api_glGetnUniformfvEXT(thread_param->program,
- thread_param->location,
- thread_param->bufSize,
- thread_param->params);
+ orig_evgl_api_glGetnUniformfvEXT(thread_data->program,
+ thread_data->location,
+ thread_data->bufSize,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetnUniformfvEXT thread_param_local;
- EVGL_API_Thread_Command_glGetnUniformfvEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetnUniformfvEXT thread_data_local;
+ EVGL_API_Thread_Command_glGetnUniformfvEXT *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->bufSize = bufSize;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->bufSize = bufSize;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetnUniformfvEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetnUniformiv(GLuint program, GLint location, GLsizei bufSize, GLint *params);
+ * void
+ * glGetnUniformiv(GLuint program, GLint location, GLsizei bufSize, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetnUniformiv(void *data)
{
- EVGL_API_Thread_Command_glGetnUniformiv *thread_param =
+ EVGL_API_Thread_Command_glGetnUniformiv *thread_data =
(EVGL_API_Thread_Command_glGetnUniformiv *)data;
- orig_evgl_api_glGetnUniformiv(thread_param->program,
- thread_param->location,
- thread_param->bufSize,
- thread_param->params);
+ orig_evgl_api_glGetnUniformiv(thread_data->program,
+ thread_data->location,
+ thread_data->bufSize,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetnUniformiv thread_param_local;
- EVGL_API_Thread_Command_glGetnUniformiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetnUniformiv thread_data_local;
+ EVGL_API_Thread_Command_glGetnUniformiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->bufSize = bufSize;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->bufSize = bufSize;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetnUniformiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params);
+ * void
+ * glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetnUniformivEXT(void *data)
{
- EVGL_API_Thread_Command_glGetnUniformivEXT *thread_param =
+ EVGL_API_Thread_Command_glGetnUniformivEXT *thread_data =
(EVGL_API_Thread_Command_glGetnUniformivEXT *)data;
- orig_evgl_api_glGetnUniformivEXT(thread_param->program,
- thread_param->location,
- thread_param->bufSize,
- thread_param->params);
+ orig_evgl_api_glGetnUniformivEXT(thread_data->program,
+ thread_data->location,
+ thread_data->bufSize,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetnUniformivEXT thread_param_local;
- EVGL_API_Thread_Command_glGetnUniformivEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetnUniformivEXT thread_data_local;
+ EVGL_API_Thread_Command_glGetnUniformivEXT *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->bufSize = bufSize;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->bufSize = bufSize;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetnUniformivEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexStorage1DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+ * void
+ * glTexStorage1DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
*/
typedef struct
static void
_evgl_api_thread_glTexStorage1DEXT(void *data)
{
- EVGL_API_Thread_Command_glTexStorage1DEXT *thread_param =
+ EVGL_API_Thread_Command_glTexStorage1DEXT *thread_data =
(EVGL_API_Thread_Command_glTexStorage1DEXT *)data;
- orig_evgl_api_glTexStorage1DEXT(thread_param->target,
- thread_param->levels,
- thread_param->internalformat,
- thread_param->width);
+ orig_evgl_api_glTexStorage1DEXT(thread_data->target,
+ thread_data->levels,
+ thread_data->internalformat,
+ thread_data->width);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexStorage1DEXT thread_param_local;
- EVGL_API_Thread_Command_glTexStorage1DEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexStorage1DEXT thread_data_local;
+ EVGL_API_Thread_Command_glTexStorage1DEXT *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->levels = levels;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
+ thread_data->target = target;
+ thread_data->levels = levels;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexStorage1DEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexStorage2DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+ * void
+ * glTexStorage2DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glTexStorage2DEXT(void *data)
{
- EVGL_API_Thread_Command_glTexStorage2DEXT *thread_param =
+ EVGL_API_Thread_Command_glTexStorage2DEXT *thread_data =
(EVGL_API_Thread_Command_glTexStorage2DEXT *)data;
- orig_evgl_api_glTexStorage2DEXT(thread_param->target,
- thread_param->levels,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glTexStorage2DEXT(thread_data->target,
+ thread_data->levels,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexStorage2DEXT thread_param_local;
- EVGL_API_Thread_Command_glTexStorage2DEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexStorage2DEXT thread_data_local;
+ EVGL_API_Thread_Command_glTexStorage2DEXT *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->levels = levels;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->levels = levels;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexStorage2DEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexStorage3DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+ * void
+ * glTexStorage3DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
*/
typedef struct
static void
_evgl_api_thread_glTexStorage3DEXT(void *data)
{
- EVGL_API_Thread_Command_glTexStorage3DEXT *thread_param =
+ EVGL_API_Thread_Command_glTexStorage3DEXT *thread_data =
(EVGL_API_Thread_Command_glTexStorage3DEXT *)data;
- orig_evgl_api_glTexStorage3DEXT(thread_param->target,
- thread_param->levels,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->depth);
+ orig_evgl_api_glTexStorage3DEXT(thread_data->target,
+ thread_data->levels,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexStorage3DEXT thread_param_local;
- EVGL_API_Thread_Command_glTexStorage3DEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexStorage3DEXT thread_data_local;
+ EVGL_API_Thread_Command_glTexStorage3DEXT *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->levels = levels;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
+ thread_data->target = target;
+ thread_data->levels = levels;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexStorage3DEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
+ * void
+ * glTextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
*/
typedef struct
static void
_evgl_api_thread_glTextureStorage1DEXT(void *data)
{
- EVGL_API_Thread_Command_glTextureStorage1DEXT *thread_param =
+ EVGL_API_Thread_Command_glTextureStorage1DEXT *thread_data =
(EVGL_API_Thread_Command_glTextureStorage1DEXT *)data;
- orig_evgl_api_glTextureStorage1DEXT(thread_param->texture,
- thread_param->target,
- thread_param->levels,
- thread_param->internalformat,
- thread_param->width);
+ orig_evgl_api_glTextureStorage1DEXT(thread_data->texture,
+ thread_data->target,
+ thread_data->levels,
+ thread_data->internalformat,
+ thread_data->width);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTextureStorage1DEXT thread_param_local;
- EVGL_API_Thread_Command_glTextureStorage1DEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTextureStorage1DEXT thread_data_local;
+ EVGL_API_Thread_Command_glTextureStorage1DEXT *thread_data = &thread_data_local;
- thread_param->texture = texture;
- thread_param->target = target;
- thread_param->levels = levels;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
+ thread_data->texture = texture;
+ thread_data->target = target;
+ thread_data->levels = levels;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTextureStorage1DEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+ * void
+ * glTextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glTextureStorage2DEXT(void *data)
{
- EVGL_API_Thread_Command_glTextureStorage2DEXT *thread_param =
+ EVGL_API_Thread_Command_glTextureStorage2DEXT *thread_data =
(EVGL_API_Thread_Command_glTextureStorage2DEXT *)data;
- orig_evgl_api_glTextureStorage2DEXT(thread_param->texture,
- thread_param->target,
- thread_param->levels,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glTextureStorage2DEXT(thread_data->texture,
+ thread_data->target,
+ thread_data->levels,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTextureStorage2DEXT thread_param_local;
- EVGL_API_Thread_Command_glTextureStorage2DEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTextureStorage2DEXT thread_data_local;
+ EVGL_API_Thread_Command_glTextureStorage2DEXT *thread_data = &thread_data_local;
- thread_param->texture = texture;
- thread_param->target = target;
- thread_param->levels = levels;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->texture = texture;
+ thread_data->target = target;
+ thread_data->levels = levels;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTextureStorage2DEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+ * void
+ * glTextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
*/
typedef struct
static void
_evgl_api_thread_glTextureStorage3DEXT(void *data)
{
- EVGL_API_Thread_Command_glTextureStorage3DEXT *thread_param =
+ EVGL_API_Thread_Command_glTextureStorage3DEXT *thread_data =
(EVGL_API_Thread_Command_glTextureStorage3DEXT *)data;
- orig_evgl_api_glTextureStorage3DEXT(thread_param->texture,
- thread_param->target,
- thread_param->levels,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->depth);
+ orig_evgl_api_glTextureStorage3DEXT(thread_data->texture,
+ thread_data->target,
+ thread_data->levels,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTextureStorage3DEXT thread_param_local;
- EVGL_API_Thread_Command_glTextureStorage3DEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTextureStorage3DEXT thread_data_local;
+ EVGL_API_Thread_Command_glTextureStorage3DEXT *thread_data = &thread_data_local;
- thread_param->texture = texture;
- thread_param->target = target;
- thread_param->levels = levels;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
+ thread_data->texture = texture;
+ thread_data->target = target;
+ thread_data->levels = levels;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTextureStorage3DEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClipPlanefIMG(GLenum a, const GLfloat * b);
+ * void
+ * glClipPlanefIMG(GLenum a, const GLfloat * b);
*/
typedef struct
static void
_evgl_api_thread_glClipPlanefIMG(void *data)
{
- EVGL_API_Thread_Command_glClipPlanefIMG *thread_param =
+ EVGL_API_Thread_Command_glClipPlanefIMG *thread_data =
(EVGL_API_Thread_Command_glClipPlanefIMG *)data;
- orig_evgl_api_glClipPlanefIMG(thread_param->a,
- thread_param->b);
+ orig_evgl_api_glClipPlanefIMG(thread_data->a,
+ thread_data->b);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClipPlanefIMG thread_param_local;
- EVGL_API_Thread_Command_glClipPlanefIMG *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClipPlanefIMG thread_data_local;
+ EVGL_API_Thread_Command_glClipPlanefIMG *thread_data = &thread_data_local;
- thread_param->a = a;
- thread_param->b = b;
+ thread_data->a = a;
+ thread_data->b = b;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClipPlanefIMG,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClipPlanexIMG(GLenum a, const GLfixed * b);
+ * void
+ * glClipPlanexIMG(GLenum a, const GLfixed * b);
*/
typedef struct
static void
_evgl_api_thread_glClipPlanexIMG(void *data)
{
- EVGL_API_Thread_Command_glClipPlanexIMG *thread_param =
+ EVGL_API_Thread_Command_glClipPlanexIMG *thread_data =
(EVGL_API_Thread_Command_glClipPlanexIMG *)data;
- orig_evgl_api_glClipPlanexIMG(thread_param->a,
- thread_param->b);
+ orig_evgl_api_glClipPlanexIMG(thread_data->a,
+ thread_data->b);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClipPlanexIMG thread_param_local;
- EVGL_API_Thread_Command_glClipPlanexIMG *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClipPlanexIMG thread_data_local;
+ EVGL_API_Thread_Command_glClipPlanexIMG *thread_data = &thread_data_local;
- thread_param->a = a;
- thread_param->b = b;
+ thread_data->a = a;
+ thread_data->b = b;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClipPlanexIMG,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glRenderbufferStorageMultisampleIMG(GLenum a, GLsizei b, GLenum c, GLsizei d, GLsizei e);
+ * void
+ * glRenderbufferStorageMultisampleIMG(GLenum a, GLsizei b, GLenum c, GLsizei d, GLsizei e);
*/
typedef struct
static void
_evgl_api_thread_glRenderbufferStorageMultisampleIMG(void *data)
{
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG *thread_param =
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG *thread_data =
(EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG *)data;
- orig_evgl_api_glRenderbufferStorageMultisampleIMG(thread_param->a,
- thread_param->b,
- thread_param->c,
- thread_param->d,
- thread_param->e);
+ orig_evgl_api_glRenderbufferStorageMultisampleIMG(thread_data->a,
+ thread_data->b,
+ thread_data->c,
+ thread_data->d,
+ thread_data->e);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG thread_param_local;
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG thread_data_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glRenderbufferStorageMultisampleIMG));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->a = a;
- thread_param->b = b;
- thread_param->c = c;
- thread_param->d = d;
- thread_param->e = e;
+ thread_data->a = a;
+ thread_data->b = b;
+ thread_data->c = c;
+ thread_data->d = d;
+ thread_data->e = e;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glRenderbufferStorageMultisampleIMG,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferTexture2DMultisampleIMG(GLenum a, GLenum b, GLenum c, GLuint d, GLint e, GLsizei f);
+ * void
+ * glFramebufferTexture2DMultisampleIMG(GLenum a, GLenum b, GLenum c, GLuint d, GLint e, GLsizei f);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferTexture2DMultisampleIMG(void *data)
{
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG *thread_param =
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG *thread_data =
(EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG *)data;
- orig_evgl_api_glFramebufferTexture2DMultisampleIMG(thread_param->a,
- thread_param->b,
- thread_param->c,
- thread_param->d,
- thread_param->e,
- thread_param->f);
+ orig_evgl_api_glFramebufferTexture2DMultisampleIMG(thread_data->a,
+ thread_data->b,
+ thread_data->c,
+ thread_data->d,
+ thread_data->e,
+ thread_data->f);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG thread_param_local;
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glFramebufferTexture2DMultisampleIMG));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->a = a;
- thread_param->b = b;
- thread_param->c = c;
- thread_param->d = d;
- thread_param->e = e;
- thread_param->f = f;
+ thread_data->a = a;
+ thread_data->b = b;
+ thread_data->c = c;
+ thread_data->d = d;
+ thread_data->e = e;
+ thread_data->f = f;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferTexture2DMultisampleIMG,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glStartTilingQCOM(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
+ * void
+ * glStartTilingQCOM(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
*/
typedef struct
static void
_evgl_api_thread_glStartTilingQCOM(void *data)
{
- EVGL_API_Thread_Command_glStartTilingQCOM *thread_param =
+ EVGL_API_Thread_Command_glStartTilingQCOM *thread_data =
(EVGL_API_Thread_Command_glStartTilingQCOM *)data;
- orig_evgl_api_glStartTilingQCOM(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height,
- thread_param->preserveMask);
+ orig_evgl_api_glStartTilingQCOM(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height,
+ thread_data->preserveMask);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glStartTilingQCOM thread_param_local;
- EVGL_API_Thread_Command_glStartTilingQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glStartTilingQCOM thread_data_local;
+ EVGL_API_Thread_Command_glStartTilingQCOM *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glStartTilingQCOM *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glStartTilingQCOM));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glStartTilingQCOM *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glStartTilingQCOM));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->preserveMask = preserveMask;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->preserveMask = preserveMask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glStartTilingQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEndTilingQCOM(GLbitfield preserveMask);
+ * void
+ * glEndTilingQCOM(GLbitfield preserveMask);
*/
typedef struct
static void
_evgl_api_thread_glEndTilingQCOM(void *data)
{
- EVGL_API_Thread_Command_glEndTilingQCOM *thread_param =
+ EVGL_API_Thread_Command_glEndTilingQCOM *thread_data =
(EVGL_API_Thread_Command_glEndTilingQCOM *)data;
- orig_evgl_api_glEndTilingQCOM(thread_param->preserveMask);
+ orig_evgl_api_glEndTilingQCOM(thread_data->preserveMask);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEndTilingQCOM thread_param_local;
- EVGL_API_Thread_Command_glEndTilingQCOM *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEndTilingQCOM thread_data_local;
+ EVGL_API_Thread_Command_glEndTilingQCOM *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glEndTilingQCOM *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glEndTilingQCOM));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glEndTilingQCOM *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glEndTilingQCOM));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->preserveMask = preserveMask;
+ thread_data->preserveMask = preserveMask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEndTilingQCOM,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBeginQuery(GLenum target, GLuint id);
+ * void
+ * glBeginQuery(GLenum target, GLuint id);
*/
typedef struct
static void
_evgl_api_thread_glBeginQuery(void *data)
{
- EVGL_API_Thread_Command_glBeginQuery *thread_param =
+ EVGL_API_Thread_Command_glBeginQuery *thread_data =
(EVGL_API_Thread_Command_glBeginQuery *)data;
- orig_evgl_api_glBeginQuery(thread_param->target,
- thread_param->id);
+ orig_evgl_api_glBeginQuery(thread_data->target,
+ thread_data->id);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBeginQuery thread_param_local;
- EVGL_API_Thread_Command_glBeginQuery *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBeginQuery thread_data_local;
+ EVGL_API_Thread_Command_glBeginQuery *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->id = id;
+ thread_data->target = target;
+ thread_data->id = id;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBeginQuery,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBeginTransformFeedback(GLenum primitiveMode);
+ * void
+ * glBeginTransformFeedback(GLenum primitiveMode);
*/
typedef struct
static void
_evgl_api_thread_glBeginTransformFeedback(void *data)
{
- EVGL_API_Thread_Command_glBeginTransformFeedback *thread_param =
+ EVGL_API_Thread_Command_glBeginTransformFeedback *thread_data =
(EVGL_API_Thread_Command_glBeginTransformFeedback *)data;
- orig_evgl_api_glBeginTransformFeedback(thread_param->primitiveMode);
+ orig_evgl_api_glBeginTransformFeedback(thread_data->primitiveMode);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBeginTransformFeedback thread_param_local;
- EVGL_API_Thread_Command_glBeginTransformFeedback *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBeginTransformFeedback thread_data_local;
+ EVGL_API_Thread_Command_glBeginTransformFeedback *thread_data = &thread_data_local;
- thread_param->primitiveMode = primitiveMode;
+ thread_data->primitiveMode = primitiveMode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBeginTransformFeedback,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindBufferBase(GLenum target, GLuint index, GLuint buffer);
+ * void
+ * glBindBufferBase(GLenum target, GLuint index, GLuint buffer);
*/
typedef struct
static void
_evgl_api_thread_glBindBufferBase(void *data)
{
- EVGL_API_Thread_Command_glBindBufferBase *thread_param =
+ EVGL_API_Thread_Command_glBindBufferBase *thread_data =
(EVGL_API_Thread_Command_glBindBufferBase *)data;
- orig_evgl_api_glBindBufferBase(thread_param->target,
- thread_param->index,
- thread_param->buffer);
+ orig_evgl_api_glBindBufferBase(thread_data->target,
+ thread_data->index,
+ thread_data->buffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindBufferBase thread_param_local;
- EVGL_API_Thread_Command_glBindBufferBase *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindBufferBase thread_data_local;
+ EVGL_API_Thread_Command_glBindBufferBase *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->index = index;
- thread_param->buffer = buffer;
+ thread_data->target = target;
+ thread_data->index = index;
+ thread_data->buffer = buffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindBufferBase,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
+ * void
+ * glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
*/
typedef struct
static void
_evgl_api_thread_glBindBufferRange(void *data)
{
- EVGL_API_Thread_Command_glBindBufferRange *thread_param =
+ EVGL_API_Thread_Command_glBindBufferRange *thread_data =
(EVGL_API_Thread_Command_glBindBufferRange *)data;
- orig_evgl_api_glBindBufferRange(thread_param->target,
- thread_param->index,
- thread_param->buffer,
- thread_param->offset,
- thread_param->size);
+ orig_evgl_api_glBindBufferRange(thread_data->target,
+ thread_data->index,
+ thread_data->buffer,
+ thread_data->offset,
+ thread_data->size);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindBufferRange thread_param_local;
- EVGL_API_Thread_Command_glBindBufferRange *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindBufferRange thread_data_local;
+ EVGL_API_Thread_Command_glBindBufferRange *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->index = index;
- thread_param->buffer = buffer;
- thread_param->offset = offset;
- thread_param->size = size;
+ thread_data->target = target;
+ thread_data->index = index;
+ thread_data->buffer = buffer;
+ thread_data->offset = offset;
+ thread_data->size = size;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindBufferRange,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindSampler(GLuint unit, GLuint sampler);
+ * void
+ * glBindSampler(GLuint unit, GLuint sampler);
*/
typedef struct
static void
_evgl_api_thread_glBindSampler(void *data)
{
- EVGL_API_Thread_Command_glBindSampler *thread_param =
+ EVGL_API_Thread_Command_glBindSampler *thread_data =
(EVGL_API_Thread_Command_glBindSampler *)data;
- orig_evgl_api_glBindSampler(thread_param->unit,
- thread_param->sampler);
+ orig_evgl_api_glBindSampler(thread_data->unit,
+ thread_data->sampler);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindSampler thread_param_local;
- EVGL_API_Thread_Command_glBindSampler *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindSampler thread_data_local;
+ EVGL_API_Thread_Command_glBindSampler *thread_data = &thread_data_local;
- thread_param->unit = unit;
- thread_param->sampler = sampler;
+ thread_data->unit = unit;
+ thread_data->sampler = sampler;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindSampler,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindTransformFeedback(GLenum target, GLuint id);
+ * void
+ * glBindTransformFeedback(GLenum target, GLuint id);
*/
typedef struct
static void
_evgl_api_thread_glBindTransformFeedback(void *data)
{
- EVGL_API_Thread_Command_glBindTransformFeedback *thread_param =
+ EVGL_API_Thread_Command_glBindTransformFeedback *thread_data =
(EVGL_API_Thread_Command_glBindTransformFeedback *)data;
- orig_evgl_api_glBindTransformFeedback(thread_param->target,
- thread_param->id);
+ orig_evgl_api_glBindTransformFeedback(thread_data->target,
+ thread_data->id);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindTransformFeedback thread_param_local;
- EVGL_API_Thread_Command_glBindTransformFeedback *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindTransformFeedback thread_data_local;
+ EVGL_API_Thread_Command_glBindTransformFeedback *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->id = id;
+ thread_data->target = target;
+ thread_data->id = id;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindTransformFeedback,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindVertexArray(GLuint array);
+ * void
+ * glBindVertexArray(GLuint array);
*/
typedef struct
static void
_evgl_api_thread_glBindVertexArray(void *data)
{
- EVGL_API_Thread_Command_glBindVertexArray *thread_param =
+ EVGL_API_Thread_Command_glBindVertexArray *thread_data =
(EVGL_API_Thread_Command_glBindVertexArray *)data;
- orig_evgl_api_glBindVertexArray(thread_param->array);
+ orig_evgl_api_glBindVertexArray(thread_data->array);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindVertexArray thread_param_local;
- EVGL_API_Thread_Command_glBindVertexArray *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindVertexArray thread_data_local;
+ EVGL_API_Thread_Command_glBindVertexArray *thread_data = &thread_data_local;
- thread_param->array = array;
+ thread_data->array = array;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindVertexArray,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+ * void
+ * glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
*/
typedef struct
static void
_evgl_api_thread_glBlitFramebuffer(void *data)
{
- EVGL_API_Thread_Command_glBlitFramebuffer *thread_param =
+ EVGL_API_Thread_Command_glBlitFramebuffer *thread_data =
(EVGL_API_Thread_Command_glBlitFramebuffer *)data;
- orig_evgl_api_glBlitFramebuffer(thread_param->srcX0,
- thread_param->srcY0,
- thread_param->srcX1,
- thread_param->srcY1,
- thread_param->dstX0,
- thread_param->dstY0,
- thread_param->dstX1,
- thread_param->dstY1,
- thread_param->mask,
- thread_param->filter);
+ orig_evgl_api_glBlitFramebuffer(thread_data->srcX0,
+ thread_data->srcY0,
+ thread_data->srcX1,
+ thread_data->srcY1,
+ thread_data->dstX0,
+ thread_data->dstY0,
+ thread_data->dstX1,
+ thread_data->dstY1,
+ thread_data->mask,
+ thread_data->filter);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBlitFramebuffer thread_param_local;
- EVGL_API_Thread_Command_glBlitFramebuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBlitFramebuffer thread_data_local;
+ EVGL_API_Thread_Command_glBlitFramebuffer *thread_data = &thread_data_local;
- thread_param->srcX0 = srcX0;
- thread_param->srcY0 = srcY0;
- thread_param->srcX1 = srcX1;
- thread_param->srcY1 = srcY1;
- thread_param->dstX0 = dstX0;
- thread_param->dstY0 = dstY0;
- thread_param->dstX1 = dstX1;
- thread_param->dstY1 = dstY1;
- thread_param->mask = mask;
- thread_param->filter = filter;
+ thread_data->srcX0 = srcX0;
+ thread_data->srcY0 = srcY0;
+ thread_data->srcX1 = srcX1;
+ thread_data->srcY1 = srcY1;
+ thread_data->dstX0 = dstX0;
+ thread_data->dstY0 = dstY0;
+ thread_data->dstX1 = dstX1;
+ thread_data->dstY1 = dstY1;
+ thread_data->mask = mask;
+ thread_data->filter = filter;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBlitFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearBufferfi(GLenum buffer, GLint drawBuffer, GLfloat depth, GLint stencil);
+ * void
+ * glClearBufferfi(GLenum buffer, GLint drawBuffer, GLfloat depth, GLint stencil);
*/
typedef struct
static void
_evgl_api_thread_glClearBufferfi(void *data)
{
- EVGL_API_Thread_Command_glClearBufferfi *thread_param =
+ EVGL_API_Thread_Command_glClearBufferfi *thread_data =
(EVGL_API_Thread_Command_glClearBufferfi *)data;
- orig_evgl_api_glClearBufferfi(thread_param->buffer,
- thread_param->drawBuffer,
- thread_param->depth,
- thread_param->stencil);
+ orig_evgl_api_glClearBufferfi(thread_data->buffer,
+ thread_data->drawBuffer,
+ thread_data->depth,
+ thread_data->stencil);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearBufferfi thread_param_local;
- EVGL_API_Thread_Command_glClearBufferfi *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearBufferfi thread_data_local;
+ EVGL_API_Thread_Command_glClearBufferfi *thread_data = &thread_data_local;
- thread_param->buffer = buffer;
- thread_param->drawBuffer = drawBuffer;
- thread_param->depth = depth;
- thread_param->stencil = stencil;
+ thread_data->buffer = buffer;
+ thread_data->drawBuffer = drawBuffer;
+ thread_data->depth = depth;
+ thread_data->stencil = stencil;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearBufferfi,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearBufferfv(GLenum buffer, GLint drawBuffer, const GLfloat * value);
+ * void
+ * glClearBufferfv(GLenum buffer, GLint drawBuffer, const GLfloat * value);
*/
typedef struct
static void
_evgl_api_thread_glClearBufferfv(void *data)
{
- EVGL_API_Thread_Command_glClearBufferfv *thread_param =
+ EVGL_API_Thread_Command_glClearBufferfv *thread_data =
(EVGL_API_Thread_Command_glClearBufferfv *)data;
- orig_evgl_api_glClearBufferfv(thread_param->buffer,
- thread_param->drawBuffer,
- thread_param->value);
+ orig_evgl_api_glClearBufferfv(thread_data->buffer,
+ thread_data->drawBuffer,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearBufferfv thread_param_local;
- EVGL_API_Thread_Command_glClearBufferfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearBufferfv thread_data_local;
+ EVGL_API_Thread_Command_glClearBufferfv *thread_data = &thread_data_local;
- thread_param->buffer = buffer;
- thread_param->drawBuffer = drawBuffer;
- thread_param->value = value;
+ thread_data->buffer = buffer;
+ thread_data->drawBuffer = drawBuffer;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearBufferfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearBufferiv(GLenum buffer, GLint drawBuffer, const GLint * value);
+ * void
+ * glClearBufferiv(GLenum buffer, GLint drawBuffer, const GLint * value);
*/
typedef struct
static void
_evgl_api_thread_glClearBufferiv(void *data)
{
- EVGL_API_Thread_Command_glClearBufferiv *thread_param =
+ EVGL_API_Thread_Command_glClearBufferiv *thread_data =
(EVGL_API_Thread_Command_glClearBufferiv *)data;
- orig_evgl_api_glClearBufferiv(thread_param->buffer,
- thread_param->drawBuffer,
- thread_param->value);
+ orig_evgl_api_glClearBufferiv(thread_data->buffer,
+ thread_data->drawBuffer,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearBufferiv thread_param_local;
- EVGL_API_Thread_Command_glClearBufferiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearBufferiv thread_data_local;
+ EVGL_API_Thread_Command_glClearBufferiv *thread_data = &thread_data_local;
- thread_param->buffer = buffer;
- thread_param->drawBuffer = drawBuffer;
- thread_param->value = value;
+ thread_data->buffer = buffer;
+ thread_data->drawBuffer = drawBuffer;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearBufferiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearBufferuiv(GLenum buffer, GLint drawBuffer, const GLuint * value);
+ * void
+ * glClearBufferuiv(GLenum buffer, GLint drawBuffer, const GLuint * value);
*/
typedef struct
static void
_evgl_api_thread_glClearBufferuiv(void *data)
{
- EVGL_API_Thread_Command_glClearBufferuiv *thread_param =
+ EVGL_API_Thread_Command_glClearBufferuiv *thread_data =
(EVGL_API_Thread_Command_glClearBufferuiv *)data;
- orig_evgl_api_glClearBufferuiv(thread_param->buffer,
- thread_param->drawBuffer,
- thread_param->value);
+ orig_evgl_api_glClearBufferuiv(thread_data->buffer,
+ thread_data->drawBuffer,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClearBufferuiv thread_param_local;
- EVGL_API_Thread_Command_glClearBufferuiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClearBufferuiv thread_data_local;
+ EVGL_API_Thread_Command_glClearBufferuiv *thread_data = &thread_data_local;
- thread_param->buffer = buffer;
- thread_param->drawBuffer = drawBuffer;
- thread_param->value = value;
+ thread_data->buffer = buffer;
+ thread_data->drawBuffer = drawBuffer;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClearBufferuiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLenum
- glClientWaitSync(GLsync sync, GLbitfield flags, EvasGLuint64 timeout);
+ * GLenum
+ * glClientWaitSync(GLsync sync, GLbitfield flags, EvasGLuint64 timeout);
*/
typedef struct
static void
_evgl_api_thread_glClientWaitSync(void *data)
{
- EVGL_API_Thread_Command_glClientWaitSync *thread_param =
+ EVGL_API_Thread_Command_glClientWaitSync *thread_data =
(EVGL_API_Thread_Command_glClientWaitSync *)data;
- thread_param->return_value = orig_evgl_api_glClientWaitSync(thread_param->sync,
- thread_param->flags,
- thread_param->timeout);
+ thread_data->return_value = orig_evgl_api_glClientWaitSync(thread_data->sync,
+ thread_data->flags,
+ thread_data->timeout);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glClientWaitSync thread_param_local;
- EVGL_API_Thread_Command_glClientWaitSync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glClientWaitSync thread_data_local;
+ EVGL_API_Thread_Command_glClientWaitSync *thread_data = &thread_data_local;
- thread_param->sync = sync;
- thread_param->flags = flags;
- thread_param->timeout = timeout;
+ thread_data->sync = sync;
+ thread_data->flags = flags;
+ thread_data->timeout = timeout;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glClientWaitSync,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data);
+ * void
+ * glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data);
*/
typedef struct
static void
_evgl_api_thread_glCompressedTexImage3D(void *data)
{
- EVGL_API_Thread_Command_glCompressedTexImage3D *thread_param =
+ EVGL_API_Thread_Command_glCompressedTexImage3D *thread_data =
(EVGL_API_Thread_Command_glCompressedTexImage3D *)data;
- orig_evgl_api_glCompressedTexImage3D(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->depth,
- thread_param->border,
- thread_param->imageSize,
- thread_param->data);
+ orig_evgl_api_glCompressedTexImage3D(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth,
+ thread_data->border,
+ thread_data->imageSize,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCompressedTexImage3D thread_param_local;
- EVGL_API_Thread_Command_glCompressedTexImage3D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCompressedTexImage3D thread_data_local;
+ EVGL_API_Thread_Command_glCompressedTexImage3D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
- thread_param->border = border;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
+ thread_data->border = border;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCompressedTexImage3D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data);
+ * void
+ * glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data);
*/
typedef struct
static void
_evgl_api_thread_glCompressedTexSubImage3D(void *data)
{
- EVGL_API_Thread_Command_glCompressedTexSubImage3D *thread_param =
+ EVGL_API_Thread_Command_glCompressedTexSubImage3D *thread_data =
(EVGL_API_Thread_Command_glCompressedTexSubImage3D *)data;
- orig_evgl_api_glCompressedTexSubImage3D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->zoffset,
- thread_param->width,
- thread_param->height,
- thread_param->depth,
- thread_param->format,
- thread_param->imageSize,
- thread_param->data);
+ orig_evgl_api_glCompressedTexSubImage3D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->zoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth,
+ thread_data->format,
+ thread_data->imageSize,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCompressedTexSubImage3D thread_param_local;
- EVGL_API_Thread_Command_glCompressedTexSubImage3D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCompressedTexSubImage3D thread_data_local;
+ EVGL_API_Thread_Command_glCompressedTexSubImage3D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->zoffset = zoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
- thread_param->format = format;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->zoffset = zoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
+ thread_data->format = format;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCompressedTexSubImage3D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCopyBufferSubData(GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size);
+ * void
+ * glCopyBufferSubData(GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size);
*/
typedef struct
static void
_evgl_api_thread_glCopyBufferSubData(void *data)
{
- EVGL_API_Thread_Command_glCopyBufferSubData *thread_param =
+ EVGL_API_Thread_Command_glCopyBufferSubData *thread_data =
(EVGL_API_Thread_Command_glCopyBufferSubData *)data;
- orig_evgl_api_glCopyBufferSubData(thread_param->readtarget,
- thread_param->writetarget,
- thread_param->readoffset,
- thread_param->writeoffset,
- thread_param->size);
+ orig_evgl_api_glCopyBufferSubData(thread_data->readtarget,
+ thread_data->writetarget,
+ thread_data->readoffset,
+ thread_data->writeoffset,
+ thread_data->size);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCopyBufferSubData thread_param_local;
- EVGL_API_Thread_Command_glCopyBufferSubData *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCopyBufferSubData thread_data_local;
+ EVGL_API_Thread_Command_glCopyBufferSubData *thread_data = &thread_data_local;
- thread_param->readtarget = readtarget;
- thread_param->writetarget = writetarget;
- thread_param->readoffset = readoffset;
- thread_param->writeoffset = writeoffset;
- thread_param->size = size;
+ thread_data->readtarget = readtarget;
+ thread_data->writetarget = writetarget;
+ thread_data->readoffset = readoffset;
+ thread_data->writeoffset = writeoffset;
+ thread_data->size = size;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCopyBufferSubData,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glCopyTexSubImage3D(void *data)
{
- EVGL_API_Thread_Command_glCopyTexSubImage3D *thread_param =
+ EVGL_API_Thread_Command_glCopyTexSubImage3D *thread_data =
(EVGL_API_Thread_Command_glCopyTexSubImage3D *)data;
- orig_evgl_api_glCopyTexSubImage3D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->zoffset,
- thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glCopyTexSubImage3D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->zoffset,
+ thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCopyTexSubImage3D thread_param_local;
- EVGL_API_Thread_Command_glCopyTexSubImage3D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCopyTexSubImage3D thread_data_local;
+ EVGL_API_Thread_Command_glCopyTexSubImage3D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->zoffset = zoffset;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->zoffset = zoffset;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCopyTexSubImage3D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteQueries(GLsizei n, const GLuint * ids);
+ * void
+ * glDeleteQueries(GLsizei n, const GLuint * ids);
*/
typedef struct
static void
_evgl_api_thread_glDeleteQueries(void *data)
{
- EVGL_API_Thread_Command_glDeleteQueries *thread_param =
+ EVGL_API_Thread_Command_glDeleteQueries *thread_data =
(EVGL_API_Thread_Command_glDeleteQueries *)data;
- orig_evgl_api_glDeleteQueries(thread_param->n,
- thread_param->ids);
+ orig_evgl_api_glDeleteQueries(thread_data->n,
+ thread_data->ids);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteQueries thread_param_local;
- EVGL_API_Thread_Command_glDeleteQueries *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteQueries thread_data_local;
+ EVGL_API_Thread_Command_glDeleteQueries *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->ids = ids;
+ thread_data->n = n;
+ thread_data->ids = ids;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteQueries,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteSamplers(GLsizei n, const GLuint * samplers);
+ * void
+ * glDeleteSamplers(GLsizei n, const GLuint * samplers);
*/
typedef struct
static void
_evgl_api_thread_glDeleteSamplers(void *data)
{
- EVGL_API_Thread_Command_glDeleteSamplers *thread_param =
+ EVGL_API_Thread_Command_glDeleteSamplers *thread_data =
(EVGL_API_Thread_Command_glDeleteSamplers *)data;
- orig_evgl_api_glDeleteSamplers(thread_param->n,
- thread_param->samplers);
+ orig_evgl_api_glDeleteSamplers(thread_data->n,
+ thread_data->samplers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteSamplers thread_param_local;
- EVGL_API_Thread_Command_glDeleteSamplers *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteSamplers thread_data_local;
+ EVGL_API_Thread_Command_glDeleteSamplers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->samplers = samplers;
+ thread_data->n = n;
+ thread_data->samplers = samplers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteSamplers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteSync(GLsync sync);
+ * void
+ * glDeleteSync(GLsync sync);
*/
typedef struct
static void
_evgl_api_thread_glDeleteSync(void *data)
{
- EVGL_API_Thread_Command_glDeleteSync *thread_param =
+ EVGL_API_Thread_Command_glDeleteSync *thread_data =
(EVGL_API_Thread_Command_glDeleteSync *)data;
- orig_evgl_api_glDeleteSync(thread_param->sync);
+ orig_evgl_api_glDeleteSync(thread_data->sync);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteSync thread_param_local;
- EVGL_API_Thread_Command_glDeleteSync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteSync thread_data_local;
+ EVGL_API_Thread_Command_glDeleteSync *thread_data = &thread_data_local;
- thread_param->sync = sync;
+ thread_data->sync = sync;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteSync,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids);
+ * void
+ * glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids);
*/
typedef struct
static void
_evgl_api_thread_glDeleteTransformFeedbacks(void *data)
{
- EVGL_API_Thread_Command_glDeleteTransformFeedbacks *thread_param =
+ EVGL_API_Thread_Command_glDeleteTransformFeedbacks *thread_data =
(EVGL_API_Thread_Command_glDeleteTransformFeedbacks *)data;
- orig_evgl_api_glDeleteTransformFeedbacks(thread_param->n,
- thread_param->ids);
+ orig_evgl_api_glDeleteTransformFeedbacks(thread_data->n,
+ thread_data->ids);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteTransformFeedbacks thread_param_local;
- EVGL_API_Thread_Command_glDeleteTransformFeedbacks *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteTransformFeedbacks thread_data_local;
+ EVGL_API_Thread_Command_glDeleteTransformFeedbacks *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->ids = ids;
+ thread_data->n = n;
+ thread_data->ids = ids;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteTransformFeedbacks,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteVertexArrays(GLsizei n, const GLuint *arrays);
+ * void
+ * glDeleteVertexArrays(GLsizei n, const GLuint *arrays);
*/
typedef struct
static void
_evgl_api_thread_glDeleteVertexArrays(void *data)
{
- EVGL_API_Thread_Command_glDeleteVertexArrays *thread_param =
+ EVGL_API_Thread_Command_glDeleteVertexArrays *thread_data =
(EVGL_API_Thread_Command_glDeleteVertexArrays *)data;
- orig_evgl_api_glDeleteVertexArrays(thread_param->n,
- thread_param->arrays);
+ orig_evgl_api_glDeleteVertexArrays(thread_data->n,
+ thread_data->arrays);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteVertexArrays thread_param_local;
- EVGL_API_Thread_Command_glDeleteVertexArrays *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteVertexArrays thread_data_local;
+ EVGL_API_Thread_Command_glDeleteVertexArrays *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->arrays = arrays;
+ thread_data->n = n;
+ thread_data->arrays = arrays;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteVertexArrays,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
+ * void
+ * glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
*/
typedef struct
static void
_evgl_api_thread_glDrawArraysInstanced(void *data)
{
- EVGL_API_Thread_Command_glDrawArraysInstanced *thread_param =
+ EVGL_API_Thread_Command_glDrawArraysInstanced *thread_data =
(EVGL_API_Thread_Command_glDrawArraysInstanced *)data;
- orig_evgl_api_glDrawArraysInstanced(thread_param->mode,
- thread_param->first,
- thread_param->count,
- thread_param->primcount);
+ orig_evgl_api_glDrawArraysInstanced(thread_data->mode,
+ thread_data->first,
+ thread_data->count,
+ thread_data->primcount);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawArraysInstanced thread_param_local;
- EVGL_API_Thread_Command_glDrawArraysInstanced *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawArraysInstanced thread_data_local;
+ EVGL_API_Thread_Command_glDrawArraysInstanced *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->first = first;
- thread_param->count = count;
- thread_param->primcount = primcount;
+ thread_data->mode = mode;
+ thread_data->first = first;
+ thread_data->count = count;
+ thread_data->primcount = primcount;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawArraysInstanced,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawBuffers(GLsizei n, const GLenum *bufs);
+ * void
+ * glDrawBuffers(GLsizei n, const GLenum *bufs);
*/
typedef struct
static void
_evgl_api_thread_glDrawBuffers(void *data)
{
- EVGL_API_Thread_Command_glDrawBuffers *thread_param =
+ EVGL_API_Thread_Command_glDrawBuffers *thread_data =
(EVGL_API_Thread_Command_glDrawBuffers *)data;
- orig_evgl_api_glDrawBuffers(thread_param->n,
- thread_param->bufs);
+ orig_evgl_api_glDrawBuffers(thread_data->n,
+ thread_data->bufs);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawBuffers thread_param_local;
- EVGL_API_Thread_Command_glDrawBuffers *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawBuffers thread_data_local;
+ EVGL_API_Thread_Command_glDrawBuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->bufs = bufs;
+ thread_data->n = n;
+ thread_data->bufs = bufs;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawBuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount);
+ * void
+ * glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount);
*/
typedef struct
static void
_evgl_api_thread_glDrawElementsInstanced(void *data)
{
- EVGL_API_Thread_Command_glDrawElementsInstanced *thread_param =
+ EVGL_API_Thread_Command_glDrawElementsInstanced *thread_data =
(EVGL_API_Thread_Command_glDrawElementsInstanced *)data;
- orig_evgl_api_glDrawElementsInstanced(thread_param->mode,
- thread_param->count,
- thread_param->type,
- thread_param->indices,
- thread_param->primcount);
+ orig_evgl_api_glDrawElementsInstanced(thread_data->mode,
+ thread_data->count,
+ thread_data->type,
+ thread_data->indices,
+ thread_data->primcount);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawElementsInstanced thread_param_local;
- EVGL_API_Thread_Command_glDrawElementsInstanced *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawElementsInstanced thread_data_local;
+ EVGL_API_Thread_Command_glDrawElementsInstanced *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->count = count;
- thread_param->type = type;
- thread_param->indices = indices;
- thread_param->primcount = primcount;
+ thread_data->mode = mode;
+ thread_data->count = count;
+ thread_data->type = type;
+ thread_data->indices = indices;
+ thread_data->primcount = primcount;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawElementsInstanced,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices);
+ * void
+ * glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices);
*/
typedef struct
static void
_evgl_api_thread_glDrawRangeElements(void *data)
{
- EVGL_API_Thread_Command_glDrawRangeElements *thread_param =
+ EVGL_API_Thread_Command_glDrawRangeElements *thread_data =
(EVGL_API_Thread_Command_glDrawRangeElements *)data;
- orig_evgl_api_glDrawRangeElements(thread_param->mode,
- thread_param->start,
- thread_param->end,
- thread_param->count,
- thread_param->type,
- thread_param->indices);
+ orig_evgl_api_glDrawRangeElements(thread_data->mode,
+ thread_data->start,
+ thread_data->end,
+ thread_data->count,
+ thread_data->type,
+ thread_data->indices);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawRangeElements thread_param_local;
- EVGL_API_Thread_Command_glDrawRangeElements *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawRangeElements thread_data_local;
+ EVGL_API_Thread_Command_glDrawRangeElements *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->start = start;
- thread_param->end = end;
- thread_param->count = count;
- thread_param->type = type;
- thread_param->indices = indices;
+ thread_data->mode = mode;
+ thread_data->start = start;
+ thread_data->end = end;
+ thread_data->count = count;
+ thread_data->type = type;
+ thread_data->indices = indices;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawRangeElements,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEndQuery(GLenum target);
+ * void
+ * glEndQuery(GLenum target);
*/
typedef struct
static void
_evgl_api_thread_glEndQuery(void *data)
{
- EVGL_API_Thread_Command_glEndQuery *thread_param =
+ EVGL_API_Thread_Command_glEndQuery *thread_data =
(EVGL_API_Thread_Command_glEndQuery *)data;
- orig_evgl_api_glEndQuery(thread_param->target);
+ orig_evgl_api_glEndQuery(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEndQuery thread_param_local;
- EVGL_API_Thread_Command_glEndQuery *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEndQuery thread_data_local;
+ EVGL_API_Thread_Command_glEndQuery *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEndQuery,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEndTransformFeedback(void);
+ * void
+ * glEndTransformFeedback(void);
*/
void (*orig_evgl_api_glEndTransformFeedback)(void);
}
/*
- GLsync
- glFenceSync(GLenum condition, GLbitfield flags);
+ * GLsync
+ * glFenceSync(GLenum condition, GLbitfield flags);
*/
typedef struct
static void
_evgl_api_thread_glFenceSync(void *data)
{
- EVGL_API_Thread_Command_glFenceSync *thread_param =
+ EVGL_API_Thread_Command_glFenceSync *thread_data =
(EVGL_API_Thread_Command_glFenceSync *)data;
- thread_param->return_value = orig_evgl_api_glFenceSync(thread_param->condition,
- thread_param->flags);
+ thread_data->return_value = orig_evgl_api_glFenceSync(thread_data->condition,
+ thread_data->flags);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFenceSync thread_param_local;
- EVGL_API_Thread_Command_glFenceSync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFenceSync thread_data_local;
+ EVGL_API_Thread_Command_glFenceSync *thread_data = &thread_data_local;
- thread_param->condition = condition;
- thread_param->flags = flags;
+ thread_data->condition = condition;
+ thread_data->flags = flags;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFenceSync,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLsync
- glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length);
+ * GLsync
+ * glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length);
*/
typedef struct
static void
_evgl_api_thread_glFlushMappedBufferRange(void *data)
{
- EVGL_API_Thread_Command_glFlushMappedBufferRange *thread_param =
+ EVGL_API_Thread_Command_glFlushMappedBufferRange *thread_data =
(EVGL_API_Thread_Command_glFlushMappedBufferRange *)data;
- thread_param->return_value = orig_evgl_api_glFlushMappedBufferRange(thread_param->target,
- thread_param->offset,
- thread_param->length);
+ thread_data->return_value = orig_evgl_api_glFlushMappedBufferRange(thread_data->target,
+ thread_data->offset,
+ thread_data->length);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFlushMappedBufferRange thread_param_local;
- EVGL_API_Thread_Command_glFlushMappedBufferRange *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFlushMappedBufferRange thread_data_local;
+ EVGL_API_Thread_Command_glFlushMappedBufferRange *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->offset = offset;
- thread_param->length = length;
+ thread_data->target = target;
+ thread_data->offset = offset;
+ thread_data->length = length;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFlushMappedBufferRange,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
+ * void
+ * glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferTextureLayer(void *data)
{
- EVGL_API_Thread_Command_glFramebufferTextureLayer *thread_param =
+ EVGL_API_Thread_Command_glFramebufferTextureLayer *thread_data =
(EVGL_API_Thread_Command_glFramebufferTextureLayer *)data;
- orig_evgl_api_glFramebufferTextureLayer(thread_param->target,
- thread_param->attachment,
- thread_param->texture,
- thread_param->level,
- thread_param->layer);
+ orig_evgl_api_glFramebufferTextureLayer(thread_data->target,
+ thread_data->attachment,
+ thread_data->texture,
+ thread_data->level,
+ thread_data->layer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferTextureLayer thread_param_local;
- EVGL_API_Thread_Command_glFramebufferTextureLayer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferTextureLayer thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferTextureLayer *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->texture = texture;
- thread_param->level = level;
- thread_param->layer = layer;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->texture = texture;
+ thread_data->level = level;
+ thread_data->layer = layer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferTextureLayer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenQueries(GLsizei n, GLuint * ids);
+ * void
+ * glGenQueries(GLsizei n, GLuint * ids);
*/
typedef struct
static void
_evgl_api_thread_glGenQueries(void *data)
{
- EVGL_API_Thread_Command_glGenQueries *thread_param =
+ EVGL_API_Thread_Command_glGenQueries *thread_data =
(EVGL_API_Thread_Command_glGenQueries *)data;
- orig_evgl_api_glGenQueries(thread_param->n,
- thread_param->ids);
+ orig_evgl_api_glGenQueries(thread_data->n,
+ thread_data->ids);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenQueries thread_param_local;
- EVGL_API_Thread_Command_glGenQueries *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenQueries thread_data_local;
+ EVGL_API_Thread_Command_glGenQueries *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->ids = ids;
+ thread_data->n = n;
+ thread_data->ids = ids;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenQueries,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenSamplers(GLsizei n, GLuint *samplers);
+ * void
+ * glGenSamplers(GLsizei n, GLuint *samplers);
*/
typedef struct
static void
_evgl_api_thread_glGenSamplers(void *data)
{
- EVGL_API_Thread_Command_glGenSamplers *thread_param =
+ EVGL_API_Thread_Command_glGenSamplers *thread_data =
(EVGL_API_Thread_Command_glGenSamplers *)data;
- orig_evgl_api_glGenSamplers(thread_param->n,
- thread_param->samplers);
+ orig_evgl_api_glGenSamplers(thread_data->n,
+ thread_data->samplers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenSamplers thread_param_local;
- EVGL_API_Thread_Command_glGenSamplers *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenSamplers thread_data_local;
+ EVGL_API_Thread_Command_glGenSamplers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->samplers = samplers;
+ thread_data->n = n;
+ thread_data->samplers = samplers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenSamplers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenTransformFeedbacks(GLsizei n, GLuint *ids);
+ * void
+ * glGenTransformFeedbacks(GLsizei n, GLuint *ids);
*/
typedef struct
static void
_evgl_api_thread_glGenTransformFeedbacks(void *data)
{
- EVGL_API_Thread_Command_glGenTransformFeedbacks *thread_param =
+ EVGL_API_Thread_Command_glGenTransformFeedbacks *thread_data =
(EVGL_API_Thread_Command_glGenTransformFeedbacks *)data;
- orig_evgl_api_glGenTransformFeedbacks(thread_param->n,
- thread_param->ids);
+ orig_evgl_api_glGenTransformFeedbacks(thread_data->n,
+ thread_data->ids);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenTransformFeedbacks thread_param_local;
- EVGL_API_Thread_Command_glGenTransformFeedbacks *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenTransformFeedbacks thread_data_local;
+ EVGL_API_Thread_Command_glGenTransformFeedbacks *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->ids = ids;
+ thread_data->n = n;
+ thread_data->ids = ids;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenTransformFeedbacks,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenVertexArrays(GLsizei n, GLuint *arrays);
+ * void
+ * glGenVertexArrays(GLsizei n, GLuint *arrays);
*/
typedef struct
static void
_evgl_api_thread_glGenVertexArrays(void *data)
{
- EVGL_API_Thread_Command_glGenVertexArrays *thread_param =
+ EVGL_API_Thread_Command_glGenVertexArrays *thread_data =
(EVGL_API_Thread_Command_glGenVertexArrays *)data;
- orig_evgl_api_glGenVertexArrays(thread_param->n,
- thread_param->arrays);
+ orig_evgl_api_glGenVertexArrays(thread_data->n,
+ thread_data->arrays);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenVertexArrays thread_param_local;
- EVGL_API_Thread_Command_glGenVertexArrays *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenVertexArrays thread_data_local;
+ EVGL_API_Thread_Command_glGenVertexArrays *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->arrays = arrays;
+ thread_data->n = n;
+ thread_data->arrays = arrays;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenVertexArrays,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
+ * void
+ * glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetActiveUniformBlockiv(void *data)
{
- EVGL_API_Thread_Command_glGetActiveUniformBlockiv *thread_param =
+ EVGL_API_Thread_Command_glGetActiveUniformBlockiv *thread_data =
(EVGL_API_Thread_Command_glGetActiveUniformBlockiv *)data;
- orig_evgl_api_glGetActiveUniformBlockiv(thread_param->program,
- thread_param->uniformBlockIndex,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetActiveUniformBlockiv(thread_data->program,
+ thread_data->uniformBlockIndex,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetActiveUniformBlockiv thread_param_local;
- EVGL_API_Thread_Command_glGetActiveUniformBlockiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetActiveUniformBlockiv thread_data_local;
+ EVGL_API_Thread_Command_glGetActiveUniformBlockiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->uniformBlockIndex = uniformBlockIndex;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->uniformBlockIndex = uniformBlockIndex;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetActiveUniformBlockiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
+ * void
+ * glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
*/
typedef struct
static void
_evgl_api_thread_glGetActiveUniformBlockName(void *data)
{
- EVGL_API_Thread_Command_glGetActiveUniformBlockName *thread_param =
+ EVGL_API_Thread_Command_glGetActiveUniformBlockName *thread_data =
(EVGL_API_Thread_Command_glGetActiveUniformBlockName *)data;
- orig_evgl_api_glGetActiveUniformBlockName(thread_param->program,
- thread_param->uniformBlockIndex,
- thread_param->bufSize,
- thread_param->length,
- thread_param->uniformBlockName);
+ orig_evgl_api_glGetActiveUniformBlockName(thread_data->program,
+ thread_data->uniformBlockIndex,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->uniformBlockName);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetActiveUniformBlockName thread_param_local;
- EVGL_API_Thread_Command_glGetActiveUniformBlockName *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetActiveUniformBlockName thread_data_local;
+ EVGL_API_Thread_Command_glGetActiveUniformBlockName *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->uniformBlockIndex = uniformBlockIndex;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->uniformBlockName = uniformBlockName;
+ thread_data->program = program;
+ thread_data->uniformBlockIndex = uniformBlockIndex;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->uniformBlockName = uniformBlockName;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetActiveUniformBlockName,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
+ * void
+ * glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetActiveUniformsiv(void *data)
{
- EVGL_API_Thread_Command_glGetActiveUniformsiv *thread_param =
+ EVGL_API_Thread_Command_glGetActiveUniformsiv *thread_data =
(EVGL_API_Thread_Command_glGetActiveUniformsiv *)data;
- orig_evgl_api_glGetActiveUniformsiv(thread_param->program,
- thread_param->uniformCount,
- thread_param->uniformIndices,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetActiveUniformsiv(thread_data->program,
+ thread_data->uniformCount,
+ thread_data->uniformIndices,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetActiveUniformsiv thread_param_local;
- EVGL_API_Thread_Command_glGetActiveUniformsiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetActiveUniformsiv thread_data_local;
+ EVGL_API_Thread_Command_glGetActiveUniformsiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->uniformCount = uniformCount;
- thread_param->uniformIndices = uniformIndices;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->uniformCount = uniformCount;
+ thread_data->uniformIndices = uniformIndices;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetActiveUniformsiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetBufferParameteri64v(GLenum target, GLenum value, EvasGLint64 * data);
+ * void
+ * glGetBufferParameteri64v(GLenum target, GLenum value, EvasGLint64 * data);
*/
typedef struct
static void
_evgl_api_thread_glGetBufferParameteri64v(void *data)
{
- EVGL_API_Thread_Command_glGetBufferParameteri64v *thread_param =
+ EVGL_API_Thread_Command_glGetBufferParameteri64v *thread_data =
(EVGL_API_Thread_Command_glGetBufferParameteri64v *)data;
- orig_evgl_api_glGetBufferParameteri64v(thread_param->target,
- thread_param->value,
- thread_param->data);
+ orig_evgl_api_glGetBufferParameteri64v(thread_data->target,
+ thread_data->value,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetBufferParameteri64v thread_param_local;
- EVGL_API_Thread_Command_glGetBufferParameteri64v *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetBufferParameteri64v thread_data_local;
+ EVGL_API_Thread_Command_glGetBufferParameteri64v *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->value = value;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->value = value;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetBufferParameteri64v,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetBufferPointerv(GLenum target, GLenum pname, GLvoid ** params);
+ * void
+ * glGetBufferPointerv(GLenum target, GLenum pname, GLvoid ** params);
*/
typedef struct
static void
_evgl_api_thread_glGetBufferPointerv(void *data)
{
- EVGL_API_Thread_Command_glGetBufferPointerv *thread_param =
+ EVGL_API_Thread_Command_glGetBufferPointerv *thread_data =
(EVGL_API_Thread_Command_glGetBufferPointerv *)data;
- orig_evgl_api_glGetBufferPointerv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetBufferPointerv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetBufferPointerv thread_param_local;
- EVGL_API_Thread_Command_glGetBufferPointerv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetBufferPointerv thread_data_local;
+ EVGL_API_Thread_Command_glGetBufferPointerv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetBufferPointerv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLint
- glGetFragDataLocation(GLuint program, const char * name);
+ * GLint
+ * glGetFragDataLocation(GLuint program, const char * name);
*/
typedef struct
static void
_evgl_api_thread_glGetFragDataLocation(void *data)
{
- EVGL_API_Thread_Command_glGetFragDataLocation *thread_param =
+ EVGL_API_Thread_Command_glGetFragDataLocation *thread_data =
(EVGL_API_Thread_Command_glGetFragDataLocation *)data;
- thread_param->return_value = orig_evgl_api_glGetFragDataLocation(thread_param->program,
- thread_param->name);
+ thread_data->return_value = orig_evgl_api_glGetFragDataLocation(thread_data->program,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetFragDataLocation thread_param_local;
- EVGL_API_Thread_Command_glGetFragDataLocation *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetFragDataLocation thread_data_local;
+ EVGL_API_Thread_Command_glGetFragDataLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetFragDataLocation,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetInteger64i_v(GLenum target, GLuint index, EvasGLint64 * data);
+ * void
+ * glGetInteger64i_v(GLenum target, GLuint index, EvasGLint64 * data);
*/
typedef struct
static void
_evgl_api_thread_glGetInteger64i_v(void *data)
{
- EVGL_API_Thread_Command_glGetInteger64i_v *thread_param =
+ EVGL_API_Thread_Command_glGetInteger64i_v *thread_data =
(EVGL_API_Thread_Command_glGetInteger64i_v *)data;
- orig_evgl_api_glGetInteger64i_v(thread_param->target,
- thread_param->index,
- thread_param->data);
+ orig_evgl_api_glGetInteger64i_v(thread_data->target,
+ thread_data->index,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetInteger64i_v thread_param_local;
- EVGL_API_Thread_Command_glGetInteger64i_v *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetInteger64i_v thread_data_local;
+ EVGL_API_Thread_Command_glGetInteger64i_v *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->index = index;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->index = index;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetInteger64i_v,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetInteger64v(GLenum pname, EvasGLint64 * data);
+ * void
+ * glGetInteger64v(GLenum pname, EvasGLint64 * data);
*/
typedef struct
static void
_evgl_api_thread_glGetInteger64v(void *data)
{
- EVGL_API_Thread_Command_glGetInteger64v *thread_param =
+ EVGL_API_Thread_Command_glGetInteger64v *thread_data =
(EVGL_API_Thread_Command_glGetInteger64v *)data;
- orig_evgl_api_glGetInteger64v(thread_param->pname,
- thread_param->data);
+ orig_evgl_api_glGetInteger64v(thread_data->pname,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetInteger64v thread_param_local;
- EVGL_API_Thread_Command_glGetInteger64v *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetInteger64v thread_data_local;
+ EVGL_API_Thread_Command_glGetInteger64v *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->data = data;
+ thread_data->pname = pname;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetInteger64v,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetIntegeri_v(GLenum target, GLuint index, GLint * data);
+ * void
+ * glGetIntegeri_v(GLenum target, GLuint index, GLint * data);
*/
typedef struct
static void
_evgl_api_thread_glGetIntegeri_v(void *data)
{
- EVGL_API_Thread_Command_glGetIntegeri_v *thread_param =
+ EVGL_API_Thread_Command_glGetIntegeri_v *thread_data =
(EVGL_API_Thread_Command_glGetIntegeri_v *)data;
- orig_evgl_api_glGetIntegeri_v(thread_param->target,
- thread_param->index,
- thread_param->data);
+ orig_evgl_api_glGetIntegeri_v(thread_data->target,
+ thread_data->index,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetIntegeri_v thread_param_local;
- EVGL_API_Thread_Command_glGetIntegeri_v *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetIntegeri_v thread_data_local;
+ EVGL_API_Thread_Command_glGetIntegeri_v *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->index = index;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->index = index;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetIntegeri_v,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
+ * void
+ * glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetInternalformativ(void *data)
{
- EVGL_API_Thread_Command_glGetInternalformativ *thread_param =
+ EVGL_API_Thread_Command_glGetInternalformativ *thread_data =
(EVGL_API_Thread_Command_glGetInternalformativ *)data;
- orig_evgl_api_glGetInternalformativ(thread_param->target,
- thread_param->internalformat,
- thread_param->pname,
- thread_param->bufSize,
- thread_param->params);
+ orig_evgl_api_glGetInternalformativ(thread_data->target,
+ thread_data->internalformat,
+ thread_data->pname,
+ thread_data->bufSize,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetInternalformativ thread_param_local;
- EVGL_API_Thread_Command_glGetInternalformativ *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetInternalformativ thread_data_local;
+ EVGL_API_Thread_Command_glGetInternalformativ *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->internalformat = internalformat;
- thread_param->pname = pname;
- thread_param->bufSize = bufSize;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->internalformat = internalformat;
+ thread_data->pname = pname;
+ thread_data->bufSize = bufSize;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetInternalformativ,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramBinary(GLuint program, GLsizei bufsize, GLsizei *length, GLenum *binaryFormat, void *binary);
+ * void
+ * glGetProgramBinary(GLuint program, GLsizei bufsize, GLsizei *length, GLenum *binaryFormat, void *binary);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramBinary(void *data)
{
- EVGL_API_Thread_Command_glGetProgramBinary *thread_param =
+ EVGL_API_Thread_Command_glGetProgramBinary *thread_data =
(EVGL_API_Thread_Command_glGetProgramBinary *)data;
- orig_evgl_api_glGetProgramBinary(thread_param->program,
- thread_param->bufsize,
- thread_param->length,
- thread_param->binaryFormat,
- thread_param->binary);
+ orig_evgl_api_glGetProgramBinary(thread_data->program,
+ thread_data->bufsize,
+ thread_data->length,
+ thread_data->binaryFormat,
+ thread_data->binary);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramBinary thread_param_local;
- EVGL_API_Thread_Command_glGetProgramBinary *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramBinary thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramBinary *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->bufsize = bufsize;
- thread_param->length = length;
- thread_param->binaryFormat = binaryFormat;
- thread_param->binary = binary;
+ thread_data->program = program;
+ thread_data->bufsize = bufsize;
+ thread_data->length = length;
+ thread_data->binaryFormat = binaryFormat;
+ thread_data->binary = binary;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramBinary,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetQueryiv(GLenum target, GLenum pname, GLint * params);
+ * void
+ * glGetQueryiv(GLenum target, GLenum pname, GLint * params);
*/
typedef struct
static void
_evgl_api_thread_glGetQueryiv(void *data)
{
- EVGL_API_Thread_Command_glGetQueryiv *thread_param =
+ EVGL_API_Thread_Command_glGetQueryiv *thread_data =
(EVGL_API_Thread_Command_glGetQueryiv *)data;
- orig_evgl_api_glGetQueryiv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetQueryiv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetQueryiv thread_param_local;
- EVGL_API_Thread_Command_glGetQueryiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetQueryiv thread_data_local;
+ EVGL_API_Thread_Command_glGetQueryiv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetQueryiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint * params);
+ * void
+ * glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint * params);
*/
typedef struct
static void
_evgl_api_thread_glGetQueryObjectuiv(void *data)
{
- EVGL_API_Thread_Command_glGetQueryObjectuiv *thread_param =
+ EVGL_API_Thread_Command_glGetQueryObjectuiv *thread_data =
(EVGL_API_Thread_Command_glGetQueryObjectuiv *)data;
- orig_evgl_api_glGetQueryObjectuiv(thread_param->id,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetQueryObjectuiv(thread_data->id,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetQueryObjectuiv thread_param_local;
- EVGL_API_Thread_Command_glGetQueryObjectuiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetQueryObjectuiv thread_data_local;
+ EVGL_API_Thread_Command_glGetQueryObjectuiv *thread_data = &thread_data_local;
- thread_param->id = id;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->id = id;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetQueryObjectuiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat * params);
+ * void
+ * glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat * params);
*/
typedef struct
static void
_evgl_api_thread_glGetSamplerParameterfv(void *data)
{
- EVGL_API_Thread_Command_glGetSamplerParameterfv *thread_param =
+ EVGL_API_Thread_Command_glGetSamplerParameterfv *thread_data =
(EVGL_API_Thread_Command_glGetSamplerParameterfv *)data;
- orig_evgl_api_glGetSamplerParameterfv(thread_param->sampler,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetSamplerParameterfv(thread_data->sampler,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetSamplerParameterfv thread_param_local;
- EVGL_API_Thread_Command_glGetSamplerParameterfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetSamplerParameterfv thread_data_local;
+ EVGL_API_Thread_Command_glGetSamplerParameterfv *thread_data = &thread_data_local;
- thread_param->sampler = sampler;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->sampler = sampler;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetSamplerParameterfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint * params);
+ * void
+ * glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint * params);
*/
typedef struct
static void
_evgl_api_thread_glGetSamplerParameteriv(void *data)
{
- EVGL_API_Thread_Command_glGetSamplerParameteriv *thread_param =
+ EVGL_API_Thread_Command_glGetSamplerParameteriv *thread_data =
(EVGL_API_Thread_Command_glGetSamplerParameteriv *)data;
- orig_evgl_api_glGetSamplerParameteriv(thread_param->sampler,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetSamplerParameteriv(thread_data->sampler,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetSamplerParameteriv thread_param_local;
- EVGL_API_Thread_Command_glGetSamplerParameteriv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetSamplerParameteriv thread_data_local;
+ EVGL_API_Thread_Command_glGetSamplerParameteriv *thread_data = &thread_data_local;
- thread_param->sampler = sampler;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->sampler = sampler;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetSamplerParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- const GLubyte *
- glGetStringi(GLenum name, GLuint index);
+ * const GLubyte *
+ * glGetStringi(GLenum name, GLuint index);
*/
typedef struct
static void
_evgl_api_thread_glGetStringi(void *data)
{
- EVGL_API_Thread_Command_glGetStringi *thread_param =
+ EVGL_API_Thread_Command_glGetStringi *thread_data =
(EVGL_API_Thread_Command_glGetStringi *)data;
- thread_param->return_value = orig_evgl_api_glGetStringi(thread_param->name,
- thread_param->index);
+ thread_data->return_value = orig_evgl_api_glGetStringi(thread_data->name,
+ thread_data->index);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetStringi thread_param_local;
- EVGL_API_Thread_Command_glGetStringi *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetStringi thread_data_local;
+ EVGL_API_Thread_Command_glGetStringi *thread_data = &thread_data_local;
- thread_param->name = name;
- thread_param->index = index;
+ thread_data->name = name;
+ thread_data->index = index;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetStringi,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
+ * void
+ * glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
*/
typedef struct
static void
_evgl_api_thread_glGetSynciv(void *data)
{
- EVGL_API_Thread_Command_glGetSynciv *thread_param =
+ EVGL_API_Thread_Command_glGetSynciv *thread_data =
(EVGL_API_Thread_Command_glGetSynciv *)data;
- orig_evgl_api_glGetSynciv(thread_param->sync,
- thread_param->pname,
- thread_param->bufSize,
- thread_param->length,
- thread_param->values);
+ orig_evgl_api_glGetSynciv(thread_data->sync,
+ thread_data->pname,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->values);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetSynciv thread_param_local;
- EVGL_API_Thread_Command_glGetSynciv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetSynciv thread_data_local;
+ EVGL_API_Thread_Command_glGetSynciv *thread_data = &thread_data_local;
- thread_param->sync = sync;
- thread_param->pname = pname;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->values = values;
+ thread_data->sync = sync;
+ thread_data->pname = pname;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->values = values;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetSynciv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, char * name);
+ * void
+ * glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, char * name);
*/
typedef struct
static void
_evgl_api_thread_glGetTransformFeedbackVarying(void *data)
{
- EVGL_API_Thread_Command_glGetTransformFeedbackVarying *thread_param =
+ EVGL_API_Thread_Command_glGetTransformFeedbackVarying *thread_data =
(EVGL_API_Thread_Command_glGetTransformFeedbackVarying *)data;
- orig_evgl_api_glGetTransformFeedbackVarying(thread_param->program,
- thread_param->index,
- thread_param->bufSize,
- thread_param->length,
- thread_param->size,
- thread_param->type,
- thread_param->name);
+ orig_evgl_api_glGetTransformFeedbackVarying(thread_data->program,
+ thread_data->index,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->size,
+ thread_data->type,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTransformFeedbackVarying thread_param_local;
- EVGL_API_Thread_Command_glGetTransformFeedbackVarying *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTransformFeedbackVarying thread_data_local;
+ EVGL_API_Thread_Command_glGetTransformFeedbackVarying *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->index = index;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->index = index;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTransformFeedbackVarying,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLuint
- glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName);
+ * GLuint
+ * glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName);
*/
typedef struct
static void
_evgl_api_thread_glGetUniformBlockIndex(void *data)
{
- EVGL_API_Thread_Command_glGetUniformBlockIndex *thread_param =
+ EVGL_API_Thread_Command_glGetUniformBlockIndex *thread_data =
(EVGL_API_Thread_Command_glGetUniformBlockIndex *)data;
- thread_param->return_value = orig_evgl_api_glGetUniformBlockIndex(thread_param->program,
- thread_param->uniformBlockName);
+ thread_data->return_value = orig_evgl_api_glGetUniformBlockIndex(thread_data->program,
+ thread_data->uniformBlockName);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetUniformBlockIndex thread_param_local;
- EVGL_API_Thread_Command_glGetUniformBlockIndex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetUniformBlockIndex thread_data_local;
+ EVGL_API_Thread_Command_glGetUniformBlockIndex *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->uniformBlockName = uniformBlockName;
+ thread_data->program = program;
+ thread_data->uniformBlockName = uniformBlockName;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetUniformBlockIndex,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
+ * void
+ * glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
*/
typedef struct
static void
_evgl_api_thread_glGetUniformIndices(void *data)
{
- EVGL_API_Thread_Command_glGetUniformIndices *thread_param =
+ EVGL_API_Thread_Command_glGetUniformIndices *thread_data =
(EVGL_API_Thread_Command_glGetUniformIndices *)data;
- orig_evgl_api_glGetUniformIndices(thread_param->program,
- thread_param->uniformCount,
- thread_param->uniformNames,
- thread_param->uniformIndices);
+ orig_evgl_api_glGetUniformIndices(thread_data->program,
+ thread_data->uniformCount,
+ thread_data->uniformNames,
+ thread_data->uniformIndices);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetUniformIndices thread_param_local;
- EVGL_API_Thread_Command_glGetUniformIndices *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetUniformIndices thread_data_local;
+ EVGL_API_Thread_Command_glGetUniformIndices *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->uniformCount = uniformCount;
- thread_param->uniformNames = uniformNames;
- thread_param->uniformIndices = uniformIndices;
+ thread_data->program = program;
+ thread_data->uniformCount = uniformCount;
+ thread_data->uniformNames = uniformNames;
+ thread_data->uniformIndices = uniformIndices;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetUniformIndices,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetUniformuiv(GLuint program, GLint location, GLuint* params);
+ * void
+ * glGetUniformuiv(GLuint program, GLint location, GLuint* params);
*/
typedef struct
static void
_evgl_api_thread_glGetUniformuiv(void *data)
{
- EVGL_API_Thread_Command_glGetUniformuiv *thread_param =
+ EVGL_API_Thread_Command_glGetUniformuiv *thread_data =
(EVGL_API_Thread_Command_glGetUniformuiv *)data;
- orig_evgl_api_glGetUniformuiv(thread_param->program,
- thread_param->location,
- thread_param->params);
+ orig_evgl_api_glGetUniformuiv(thread_data->program,
+ thread_data->location,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetUniformuiv thread_param_local;
- EVGL_API_Thread_Command_glGetUniformuiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetUniformuiv thread_data_local;
+ EVGL_API_Thread_Command_glGetUniformuiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetUniformuiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params);
+ * void
+ * glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetVertexAttribIiv(void *data)
{
- EVGL_API_Thread_Command_glGetVertexAttribIiv *thread_param =
+ EVGL_API_Thread_Command_glGetVertexAttribIiv *thread_data =
(EVGL_API_Thread_Command_glGetVertexAttribIiv *)data;
- orig_evgl_api_glGetVertexAttribIiv(thread_param->index,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetVertexAttribIiv(thread_data->index,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetVertexAttribIiv thread_param_local;
- EVGL_API_Thread_Command_glGetVertexAttribIiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetVertexAttribIiv thread_data_local;
+ EVGL_API_Thread_Command_glGetVertexAttribIiv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->index = index;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetVertexAttribIiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params);
+ * void
+ * glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetVertexAttribIuiv(void *data)
{
- EVGL_API_Thread_Command_glGetVertexAttribIuiv *thread_param =
+ EVGL_API_Thread_Command_glGetVertexAttribIuiv *thread_data =
(EVGL_API_Thread_Command_glGetVertexAttribIuiv *)data;
- orig_evgl_api_glGetVertexAttribIuiv(thread_param->index,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetVertexAttribIuiv(thread_data->index,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetVertexAttribIuiv thread_param_local;
- EVGL_API_Thread_Command_glGetVertexAttribIuiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetVertexAttribIuiv thread_data_local;
+ EVGL_API_Thread_Command_glGetVertexAttribIuiv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->index = index;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetVertexAttribIuiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments);
+ * void
+ * glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments);
*/
typedef struct
static void
_evgl_api_thread_glInvalidateFramebuffer(void *data)
{
- EVGL_API_Thread_Command_glInvalidateFramebuffer *thread_param =
+ EVGL_API_Thread_Command_glInvalidateFramebuffer *thread_data =
(EVGL_API_Thread_Command_glInvalidateFramebuffer *)data;
- orig_evgl_api_glInvalidateFramebuffer(thread_param->target,
- thread_param->numAttachments,
- thread_param->attachments);
+ orig_evgl_api_glInvalidateFramebuffer(thread_data->target,
+ thread_data->numAttachments,
+ thread_data->attachments);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glInvalidateFramebuffer thread_param_local;
- EVGL_API_Thread_Command_glInvalidateFramebuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glInvalidateFramebuffer thread_data_local;
+ EVGL_API_Thread_Command_glInvalidateFramebuffer *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->numAttachments = numAttachments;
- thread_param->attachments = attachments;
+ thread_data->target = target;
+ thread_data->numAttachments = numAttachments;
+ thread_data->attachments = attachments;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glInvalidateFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glInvalidateSubFramebuffer(void *data)
{
- EVGL_API_Thread_Command_glInvalidateSubFramebuffer *thread_param =
+ EVGL_API_Thread_Command_glInvalidateSubFramebuffer *thread_data =
(EVGL_API_Thread_Command_glInvalidateSubFramebuffer *)data;
- orig_evgl_api_glInvalidateSubFramebuffer(thread_param->target,
- thread_param->numAttachments,
- thread_param->attachments,
- thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glInvalidateSubFramebuffer(thread_data->target,
+ thread_data->numAttachments,
+ thread_data->attachments,
+ thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glInvalidateSubFramebuffer thread_param_local;
- EVGL_API_Thread_Command_glInvalidateSubFramebuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glInvalidateSubFramebuffer thread_data_local;
+ EVGL_API_Thread_Command_glInvalidateSubFramebuffer *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->numAttachments = numAttachments;
- thread_param->attachments = attachments;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->numAttachments = numAttachments;
+ thread_data->attachments = attachments;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glInvalidateSubFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsQuery(GLuint id);
+ * GLboolean
+ * glIsQuery(GLuint id);
*/
typedef struct
static void
_evgl_api_thread_glIsQuery(void *data)
{
- EVGL_API_Thread_Command_glIsQuery *thread_param =
+ EVGL_API_Thread_Command_glIsQuery *thread_data =
(EVGL_API_Thread_Command_glIsQuery *)data;
- thread_param->return_value = orig_evgl_api_glIsQuery(thread_param->id);
+ thread_data->return_value = orig_evgl_api_glIsQuery(thread_data->id);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsQuery thread_param_local;
- EVGL_API_Thread_Command_glIsQuery *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsQuery thread_data_local;
+ EVGL_API_Thread_Command_glIsQuery *thread_data = &thread_data_local;
- thread_param->id = id;
+ thread_data->id = id;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsQuery,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsSampler(GLuint id);
+ * GLboolean
+ * glIsSampler(GLuint id);
*/
typedef struct
static void
_evgl_api_thread_glIsSampler(void *data)
{
- EVGL_API_Thread_Command_glIsSampler *thread_param =
+ EVGL_API_Thread_Command_glIsSampler *thread_data =
(EVGL_API_Thread_Command_glIsSampler *)data;
- thread_param->return_value = orig_evgl_api_glIsSampler(thread_param->id);
+ thread_data->return_value = orig_evgl_api_glIsSampler(thread_data->id);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsSampler thread_param_local;
- EVGL_API_Thread_Command_glIsSampler *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsSampler thread_data_local;
+ EVGL_API_Thread_Command_glIsSampler *thread_data = &thread_data_local;
- thread_param->id = id;
+ thread_data->id = id;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsSampler,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsSync(GLsync sync);
+ * GLboolean
+ * glIsSync(GLsync sync);
*/
typedef struct
static void
_evgl_api_thread_glIsSync(void *data)
{
- EVGL_API_Thread_Command_glIsSync *thread_param =
+ EVGL_API_Thread_Command_glIsSync *thread_data =
(EVGL_API_Thread_Command_glIsSync *)data;
- thread_param->return_value = orig_evgl_api_glIsSync(thread_param->sync);
+ thread_data->return_value = orig_evgl_api_glIsSync(thread_data->sync);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsSync thread_param_local;
- EVGL_API_Thread_Command_glIsSync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsSync thread_data_local;
+ EVGL_API_Thread_Command_glIsSync *thread_data = &thread_data_local;
- thread_param->sync = sync;
+ thread_data->sync = sync;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsSync,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsTransformFeedback(GLuint id);
+ * GLboolean
+ * glIsTransformFeedback(GLuint id);
*/
typedef struct
static void
_evgl_api_thread_glIsTransformFeedback(void *data)
{
- EVGL_API_Thread_Command_glIsTransformFeedback *thread_param =
+ EVGL_API_Thread_Command_glIsTransformFeedback *thread_data =
(EVGL_API_Thread_Command_glIsTransformFeedback *)data;
- thread_param->return_value = orig_evgl_api_glIsTransformFeedback(thread_param->id);
+ thread_data->return_value = orig_evgl_api_glIsTransformFeedback(thread_data->id);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsTransformFeedback thread_param_local;
- EVGL_API_Thread_Command_glIsTransformFeedback *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsTransformFeedback thread_data_local;
+ EVGL_API_Thread_Command_glIsTransformFeedback *thread_data = &thread_data_local;
- thread_param->id = id;
+ thread_data->id = id;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsTransformFeedback,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsVertexArray(GLuint array);
+ * GLboolean
+ * glIsVertexArray(GLuint array);
*/
typedef struct
static void
_evgl_api_thread_glIsVertexArray(void *data)
{
- EVGL_API_Thread_Command_glIsVertexArray *thread_param =
+ EVGL_API_Thread_Command_glIsVertexArray *thread_data =
(EVGL_API_Thread_Command_glIsVertexArray *)data;
- thread_param->return_value = orig_evgl_api_glIsVertexArray(thread_param->array);
+ thread_data->return_value = orig_evgl_api_glIsVertexArray(thread_data->array);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsVertexArray thread_param_local;
- EVGL_API_Thread_Command_glIsVertexArray *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsVertexArray thread_data_local;
+ EVGL_API_Thread_Command_glIsVertexArray *thread_data = &thread_data_local;
- thread_param->array = array;
+ thread_data->array = array;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsVertexArray,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void *
- glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
+ * void *
+ * glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
*/
typedef struct
static void
_evgl_api_thread_glMapBufferRange(void *data)
{
- EVGL_API_Thread_Command_glMapBufferRange *thread_param =
+ EVGL_API_Thread_Command_glMapBufferRange *thread_data =
(EVGL_API_Thread_Command_glMapBufferRange *)data;
- thread_param->return_value = orig_evgl_api_glMapBufferRange(thread_param->target,
- thread_param->offset,
- thread_param->length,
- thread_param->access);
+ thread_data->return_value = orig_evgl_api_glMapBufferRange(thread_data->target,
+ thread_data->offset,
+ thread_data->length,
+ thread_data->access);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMapBufferRange thread_param_local;
- EVGL_API_Thread_Command_glMapBufferRange *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMapBufferRange thread_data_local;
+ EVGL_API_Thread_Command_glMapBufferRange *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->offset = offset;
- thread_param->length = length;
- thread_param->access = access;
+ thread_data->target = target;
+ thread_data->offset = offset;
+ thread_data->length = length;
+ thread_data->access = access;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMapBufferRange,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glPauseTransformFeedback(void);
+ * void
+ * glPauseTransformFeedback(void);
*/
void (*orig_evgl_api_glPauseTransformFeedback)(void);
}
/*
- void
- glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
+ * void
+ * glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
*/
typedef struct
static void
_evgl_api_thread_glProgramBinary(void *data)
{
- EVGL_API_Thread_Command_glProgramBinary *thread_param =
+ EVGL_API_Thread_Command_glProgramBinary *thread_data =
(EVGL_API_Thread_Command_glProgramBinary *)data;
- orig_evgl_api_glProgramBinary(thread_param->program,
- thread_param->binaryFormat,
- thread_param->binary,
- thread_param->length);
+ orig_evgl_api_glProgramBinary(thread_data->program,
+ thread_data->binaryFormat,
+ thread_data->binary,
+ thread_data->length);
- if (thread_param->binary_copied)
- eina_mempool_free(_mp_default, thread_param->binary_copied);
+ if (thread_data->binary_copied)
+ eina_mempool_free(_mp_default, thread_data->binary_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramBinary thread_param_local;
- EVGL_API_Thread_Command_glProgramBinary *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramBinary thread_data_local;
+ EVGL_API_Thread_Command_glProgramBinary *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glProgramBinary *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glProgramBinary));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glProgramBinary *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glProgramBinary));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->binaryFormat = binaryFormat;
- thread_param->binary = binary;
- thread_param->length = length;
+ thread_data->program = program;
+ thread_data->binaryFormat = binaryFormat;
+ thread_data->binary = binary;
+ thread_data->length = length;
- thread_param->binary_copied = NULL;
+ thread_data->binary_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->binary_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->binary_copied)
+ thread_data->binary_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->binary_copied)
{
- memcpy(thread_param->binary_copied, binary, copy_size);
+ memcpy(thread_data->binary_copied, binary, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->binary = (const void *)thread_param->binary_copied;
+ thread_data->binary = (const void *)thread_data->binary_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramBinary,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramParameteri(GLuint program, GLenum pname, GLint value);
+ * void
+ * glProgramParameteri(GLuint program, GLenum pname, GLint value);
*/
typedef struct
static void
_evgl_api_thread_glProgramParameteri(void *data)
{
- EVGL_API_Thread_Command_glProgramParameteri *thread_param =
+ EVGL_API_Thread_Command_glProgramParameteri *thread_data =
(EVGL_API_Thread_Command_glProgramParameteri *)data;
- orig_evgl_api_glProgramParameteri(thread_param->program,
- thread_param->pname,
- thread_param->value);
+ orig_evgl_api_glProgramParameteri(thread_data->program,
+ thread_data->pname,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramParameteri thread_param_local;
- EVGL_API_Thread_Command_glProgramParameteri *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramParameteri thread_data_local;
+ EVGL_API_Thread_Command_glProgramParameteri *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->pname = pname;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->pname = pname;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramParameteri,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glReadBuffer(GLenum src);
+ * void
+ * glReadBuffer(GLenum src);
*/
typedef struct
static void
_evgl_api_thread_glReadBuffer(void *data)
{
- EVGL_API_Thread_Command_glReadBuffer *thread_param =
+ EVGL_API_Thread_Command_glReadBuffer *thread_data =
(EVGL_API_Thread_Command_glReadBuffer *)data;
- orig_evgl_api_glReadBuffer(thread_param->src);
+ orig_evgl_api_glReadBuffer(thread_data->src);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glReadBuffer thread_param_local;
- EVGL_API_Thread_Command_glReadBuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glReadBuffer thread_data_local;
+ EVGL_API_Thread_Command_glReadBuffer *thread_data = &thread_data_local;
- thread_param->src = src;
+ thread_data->src = src;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glReadBuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+ * void
+ * glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glRenderbufferStorageMultisample(void *data)
{
- EVGL_API_Thread_Command_glRenderbufferStorageMultisample *thread_param =
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisample *thread_data =
(EVGL_API_Thread_Command_glRenderbufferStorageMultisample *)data;
- orig_evgl_api_glRenderbufferStorageMultisample(thread_param->target,
- thread_param->samples,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glRenderbufferStorageMultisample(thread_data->target,
+ thread_data->samples,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glRenderbufferStorageMultisample thread_param_local;
- EVGL_API_Thread_Command_glRenderbufferStorageMultisample *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisample thread_data_local;
+ EVGL_API_Thread_Command_glRenderbufferStorageMultisample *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->samples = samples;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->samples = samples;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glRenderbufferStorageMultisample,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glResumeTransformFeedback(void);
+ * void
+ * glResumeTransformFeedback(void);
*/
void (*orig_evgl_api_glResumeTransformFeedback)(void);
}
/*
- void
- glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
+ * void
+ * glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_api_thread_glSamplerParameterf(void *data)
{
- EVGL_API_Thread_Command_glSamplerParameterf *thread_param =
+ EVGL_API_Thread_Command_glSamplerParameterf *thread_data =
(EVGL_API_Thread_Command_glSamplerParameterf *)data;
- orig_evgl_api_glSamplerParameterf(thread_param->sampler,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glSamplerParameterf(thread_data->sampler,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSamplerParameterf thread_param_local;
- EVGL_API_Thread_Command_glSamplerParameterf *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSamplerParameterf thread_data_local;
+ EVGL_API_Thread_Command_glSamplerParameterf *thread_data = &thread_data_local;
- thread_param->sampler = sampler;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->sampler = sampler;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSamplerParameterf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat * params);
+ * void
+ * glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat * params);
*/
typedef struct
static void
_evgl_api_thread_glSamplerParameterfv(void *data)
{
- EVGL_API_Thread_Command_glSamplerParameterfv *thread_param =
+ EVGL_API_Thread_Command_glSamplerParameterfv *thread_data =
(EVGL_API_Thread_Command_glSamplerParameterfv *)data;
- orig_evgl_api_glSamplerParameterfv(thread_param->sampler,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glSamplerParameterfv(thread_data->sampler,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSamplerParameterfv thread_param_local;
- EVGL_API_Thread_Command_glSamplerParameterfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSamplerParameterfv thread_data_local;
+ EVGL_API_Thread_Command_glSamplerParameterfv *thread_data = &thread_data_local;
- thread_param->sampler = sampler;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->sampler = sampler;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSamplerParameterfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
+ * void
+ * glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
*/
typedef struct
static void
_evgl_api_thread_glSamplerParameteri(void *data)
{
- EVGL_API_Thread_Command_glSamplerParameteri *thread_param =
+ EVGL_API_Thread_Command_glSamplerParameteri *thread_data =
(EVGL_API_Thread_Command_glSamplerParameteri *)data;
- orig_evgl_api_glSamplerParameteri(thread_param->sampler,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glSamplerParameteri(thread_data->sampler,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSamplerParameteri thread_param_local;
- EVGL_API_Thread_Command_glSamplerParameteri *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSamplerParameteri thread_data_local;
+ EVGL_API_Thread_Command_glSamplerParameteri *thread_data = &thread_data_local;
- thread_param->sampler = sampler;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->sampler = sampler;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSamplerParameteri,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint * params);
+ * void
+ * glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint * params);
*/
typedef struct
static void
_evgl_api_thread_glSamplerParameteriv(void *data)
{
- EVGL_API_Thread_Command_glSamplerParameteriv *thread_param =
+ EVGL_API_Thread_Command_glSamplerParameteriv *thread_data =
(EVGL_API_Thread_Command_glSamplerParameteriv *)data;
- orig_evgl_api_glSamplerParameteriv(thread_param->sampler,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glSamplerParameteriv(thread_data->sampler,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSamplerParameteriv thread_param_local;
- EVGL_API_Thread_Command_glSamplerParameteriv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSamplerParameteriv thread_data_local;
+ EVGL_API_Thread_Command_glSamplerParameteriv *thread_data = &thread_data_local;
- thread_param->sampler = sampler;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->sampler = sampler;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSamplerParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * data);
+ * void
+ * glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * data);
*/
typedef struct
static void
_evgl_api_thread_glTexImage3D(void *data)
{
- EVGL_API_Thread_Command_glTexImage3D *thread_param =
+ EVGL_API_Thread_Command_glTexImage3D *thread_data =
(EVGL_API_Thread_Command_glTexImage3D *)data;
- orig_evgl_api_glTexImage3D(thread_param->target,
- thread_param->level,
- thread_param->internalFormat,
- thread_param->width,
- thread_param->height,
- thread_param->depth,
- thread_param->border,
- thread_param->format,
- thread_param->type,
- thread_param->data);
+ orig_evgl_api_glTexImage3D(thread_data->target,
+ thread_data->level,
+ thread_data->internalFormat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth,
+ thread_data->border,
+ thread_data->format,
+ thread_data->type,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexImage3D thread_param_local;
- EVGL_API_Thread_Command_glTexImage3D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexImage3D thread_data_local;
+ EVGL_API_Thread_Command_glTexImage3D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalFormat = internalFormat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
- thread_param->border = border;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalFormat = internalFormat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
+ thread_data->border = border;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexImage3D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
+ * void
+ * glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_api_thread_glTexStorage2D(void *data)
{
- EVGL_API_Thread_Command_glTexStorage2D *thread_param =
+ EVGL_API_Thread_Command_glTexStorage2D *thread_data =
(EVGL_API_Thread_Command_glTexStorage2D *)data;
- orig_evgl_api_glTexStorage2D(thread_param->target,
- thread_param->levels,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height);
+ orig_evgl_api_glTexStorage2D(thread_data->target,
+ thread_data->levels,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexStorage2D thread_param_local;
- EVGL_API_Thread_Command_glTexStorage2D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexStorage2D thread_data_local;
+ EVGL_API_Thread_Command_glTexStorage2D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->levels = levels;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->levels = levels;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexStorage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
+ * void
+ * glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
*/
typedef struct
static void
_evgl_api_thread_glTexStorage3D(void *data)
{
- EVGL_API_Thread_Command_glTexStorage3D *thread_param =
+ EVGL_API_Thread_Command_glTexStorage3D *thread_data =
(EVGL_API_Thread_Command_glTexStorage3D *)data;
- orig_evgl_api_glTexStorage3D(thread_param->target,
- thread_param->levels,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->depth);
+ orig_evgl_api_glTexStorage3D(thread_data->target,
+ thread_data->levels,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexStorage3D thread_param_local;
- EVGL_API_Thread_Command_glTexStorage3D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexStorage3D thread_data_local;
+ EVGL_API_Thread_Command_glTexStorage3D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->levels = levels;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
+ thread_data->target = target;
+ thread_data->levels = levels;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexStorage3D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * data);
+ * void
+ * glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * data);
*/
typedef struct
static void
_evgl_api_thread_glTexSubImage3D(void *data)
{
- EVGL_API_Thread_Command_glTexSubImage3D *thread_param =
+ EVGL_API_Thread_Command_glTexSubImage3D *thread_data =
(EVGL_API_Thread_Command_glTexSubImage3D *)data;
- orig_evgl_api_glTexSubImage3D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->zoffset,
- thread_param->width,
- thread_param->height,
- thread_param->depth,
- thread_param->format,
- thread_param->type,
- thread_param->data);
+ orig_evgl_api_glTexSubImage3D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->zoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->depth,
+ thread_data->format,
+ thread_data->type,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexSubImage3D thread_param_local;
- EVGL_API_Thread_Command_glTexSubImage3D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexSubImage3D thread_data_local;
+ EVGL_API_Thread_Command_glTexSubImage3D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->zoffset = zoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->depth = depth;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->zoffset = zoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->depth = depth;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexSubImage3D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode);
+ * void
+ * glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode);
*/
typedef struct
static void
_evgl_api_thread_glTransformFeedbackVaryings(void *data)
{
- EVGL_API_Thread_Command_glTransformFeedbackVaryings *thread_param =
+ EVGL_API_Thread_Command_glTransformFeedbackVaryings *thread_data =
(EVGL_API_Thread_Command_glTransformFeedbackVaryings *)data;
- orig_evgl_api_glTransformFeedbackVaryings(thread_param->program,
- thread_param->count,
- thread_param->varyings,
- thread_param->bufferMode);
+ orig_evgl_api_glTransformFeedbackVaryings(thread_data->program,
+ thread_data->count,
+ thread_data->varyings,
+ thread_data->bufferMode);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTransformFeedbackVaryings thread_param_local;
- EVGL_API_Thread_Command_glTransformFeedbackVaryings *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTransformFeedbackVaryings thread_data_local;
+ EVGL_API_Thread_Command_glTransformFeedbackVaryings *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->count = count;
- thread_param->varyings = varyings;
- thread_param->bufferMode = bufferMode;
+ thread_data->program = program;
+ thread_data->count = count;
+ thread_data->varyings = varyings;
+ thread_data->bufferMode = bufferMode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTransformFeedbackVaryings,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1ui(GLint location, GLuint v0);
+ * void
+ * glUniform1ui(GLint location, GLuint v0);
*/
typedef struct
static void
_evgl_api_thread_glUniform1ui(void *data)
{
- EVGL_API_Thread_Command_glUniform1ui *thread_param =
+ EVGL_API_Thread_Command_glUniform1ui *thread_data =
(EVGL_API_Thread_Command_glUniform1ui *)data;
- orig_evgl_api_glUniform1ui(thread_param->location,
- thread_param->v0);
+ orig_evgl_api_glUniform1ui(thread_data->location,
+ thread_data->v0);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform1ui thread_param_local;
- EVGL_API_Thread_Command_glUniform1ui *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform1ui thread_data_local;
+ EVGL_API_Thread_Command_glUniform1ui *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->v0 = v0;
+ thread_data->location = location;
+ thread_data->v0 = v0;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform1ui,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1uiv(GLint location, GLsizei count, const GLuint *value);
+ * void
+ * glUniform1uiv(GLint location, GLsizei count, const GLuint *value);
*/
typedef struct
static void
_evgl_api_thread_glUniform1uiv(void *data)
{
- EVGL_API_Thread_Command_glUniform1uiv *thread_param =
+ EVGL_API_Thread_Command_glUniform1uiv *thread_data =
(EVGL_API_Thread_Command_glUniform1uiv *)data;
- orig_evgl_api_glUniform1uiv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glUniform1uiv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform1uiv thread_param_local;
- EVGL_API_Thread_Command_glUniform1uiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform1uiv thread_data_local;
+ EVGL_API_Thread_Command_glUniform1uiv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform1uiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2ui(GLint location, GLuint v0, GLuint v1);
+ * void
+ * glUniform2ui(GLint location, GLuint v0, GLuint v1);
*/
typedef struct
static void
_evgl_api_thread_glUniform2ui(void *data)
{
- EVGL_API_Thread_Command_glUniform2ui *thread_param =
+ EVGL_API_Thread_Command_glUniform2ui *thread_data =
(EVGL_API_Thread_Command_glUniform2ui *)data;
- orig_evgl_api_glUniform2ui(thread_param->location,
- thread_param->v0,
- thread_param->v1);
+ orig_evgl_api_glUniform2ui(thread_data->location,
+ thread_data->v0,
+ thread_data->v1);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform2ui thread_param_local;
- EVGL_API_Thread_Command_glUniform2ui *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform2ui thread_data_local;
+ EVGL_API_Thread_Command_glUniform2ui *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform2ui,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2uiv(GLint location, GLsizei count, const GLuint *value);
+ * void
+ * glUniform2uiv(GLint location, GLsizei count, const GLuint *value);
*/
typedef struct
static void
_evgl_api_thread_glUniform2uiv(void *data)
{
- EVGL_API_Thread_Command_glUniform2uiv *thread_param =
+ EVGL_API_Thread_Command_glUniform2uiv *thread_data =
(EVGL_API_Thread_Command_glUniform2uiv *)data;
- orig_evgl_api_glUniform2uiv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glUniform2uiv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform2uiv thread_param_local;
- EVGL_API_Thread_Command_glUniform2uiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform2uiv thread_data_local;
+ EVGL_API_Thread_Command_glUniform2uiv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform2uiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
+ * void
+ * glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
*/
typedef struct
static void
_evgl_api_thread_glUniform3ui(void *data)
{
- EVGL_API_Thread_Command_glUniform3ui *thread_param =
+ EVGL_API_Thread_Command_glUniform3ui *thread_data =
(EVGL_API_Thread_Command_glUniform3ui *)data;
- orig_evgl_api_glUniform3ui(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2);
+ orig_evgl_api_glUniform3ui(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform3ui thread_param_local;
- EVGL_API_Thread_Command_glUniform3ui *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform3ui thread_data_local;
+ EVGL_API_Thread_Command_glUniform3ui *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform3ui,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3uiv(GLint location, GLsizei count, const GLuint *value);
+ * void
+ * glUniform3uiv(GLint location, GLsizei count, const GLuint *value);
*/
typedef struct
static void
_evgl_api_thread_glUniform3uiv(void *data)
{
- EVGL_API_Thread_Command_glUniform3uiv *thread_param =
+ EVGL_API_Thread_Command_glUniform3uiv *thread_data =
(EVGL_API_Thread_Command_glUniform3uiv *)data;
- orig_evgl_api_glUniform3uiv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glUniform3uiv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform3uiv thread_param_local;
- EVGL_API_Thread_Command_glUniform3uiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform3uiv thread_data_local;
+ EVGL_API_Thread_Command_glUniform3uiv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform3uiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+ * void
+ * glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
*/
typedef struct
static void
_evgl_api_thread_glUniform4ui(void *data)
{
- EVGL_API_Thread_Command_glUniform4ui *thread_param =
+ EVGL_API_Thread_Command_glUniform4ui *thread_data =
(EVGL_API_Thread_Command_glUniform4ui *)data;
- orig_evgl_api_glUniform4ui(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ orig_evgl_api_glUniform4ui(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform4ui thread_param_local;
- EVGL_API_Thread_Command_glUniform4ui *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform4ui thread_data_local;
+ EVGL_API_Thread_Command_glUniform4ui *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform4ui,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4uiv(GLint location, GLsizei count, const GLuint *value);
+ * void
+ * glUniform4uiv(GLint location, GLsizei count, const GLuint *value);
*/
typedef struct
static void
_evgl_api_thread_glUniform4uiv(void *data)
{
- EVGL_API_Thread_Command_glUniform4uiv *thread_param =
+ EVGL_API_Thread_Command_glUniform4uiv *thread_data =
(EVGL_API_Thread_Command_glUniform4uiv *)data;
- orig_evgl_api_glUniform4uiv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glUniform4uiv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniform4uiv thread_param_local;
- EVGL_API_Thread_Command_glUniform4uiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniform4uiv thread_data_local;
+ EVGL_API_Thread_Command_glUniform4uiv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniform4uiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
+ * void
+ * glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
*/
typedef struct
static void
_evgl_api_thread_glUniformBlockBinding(void *data)
{
- EVGL_API_Thread_Command_glUniformBlockBinding *thread_param =
+ EVGL_API_Thread_Command_glUniformBlockBinding *thread_data =
(EVGL_API_Thread_Command_glUniformBlockBinding *)data;
- orig_evgl_api_glUniformBlockBinding(thread_param->program,
- thread_param->uniformBlockIndex,
- thread_param->uniformBlockBinding);
+ orig_evgl_api_glUniformBlockBinding(thread_data->program,
+ thread_data->uniformBlockIndex,
+ thread_data->uniformBlockBinding);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformBlockBinding thread_param_local;
- EVGL_API_Thread_Command_glUniformBlockBinding *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformBlockBinding thread_data_local;
+ EVGL_API_Thread_Command_glUniformBlockBinding *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->uniformBlockIndex = uniformBlockIndex;
- thread_param->uniformBlockBinding = uniformBlockBinding;
+ thread_data->program = program;
+ thread_data->uniformBlockIndex = uniformBlockIndex;
+ thread_data->uniformBlockBinding = uniformBlockBinding;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformBlockBinding,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glUniformMatrix2x3fv(void *data)
{
- EVGL_API_Thread_Command_glUniformMatrix2x3fv *thread_param =
+ EVGL_API_Thread_Command_glUniformMatrix2x3fv *thread_data =
(EVGL_API_Thread_Command_glUniformMatrix2x3fv *)data;
- orig_evgl_api_glUniformMatrix2x3fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glUniformMatrix2x3fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformMatrix2x3fv thread_param_local;
- EVGL_API_Thread_Command_glUniformMatrix2x3fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformMatrix2x3fv thread_data_local;
+ EVGL_API_Thread_Command_glUniformMatrix2x3fv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformMatrix2x3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glUniformMatrix3x2fv(void *data)
{
- EVGL_API_Thread_Command_glUniformMatrix3x2fv *thread_param =
+ EVGL_API_Thread_Command_glUniformMatrix3x2fv *thread_data =
(EVGL_API_Thread_Command_glUniformMatrix3x2fv *)data;
- orig_evgl_api_glUniformMatrix3x2fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glUniformMatrix3x2fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformMatrix3x2fv thread_param_local;
- EVGL_API_Thread_Command_glUniformMatrix3x2fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformMatrix3x2fv thread_data_local;
+ EVGL_API_Thread_Command_glUniformMatrix3x2fv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformMatrix3x2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glUniformMatrix2x4fv(void *data)
{
- EVGL_API_Thread_Command_glUniformMatrix2x4fv *thread_param =
+ EVGL_API_Thread_Command_glUniformMatrix2x4fv *thread_data =
(EVGL_API_Thread_Command_glUniformMatrix2x4fv *)data;
- orig_evgl_api_glUniformMatrix2x4fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glUniformMatrix2x4fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformMatrix2x4fv thread_param_local;
- EVGL_API_Thread_Command_glUniformMatrix2x4fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformMatrix2x4fv thread_data_local;
+ EVGL_API_Thread_Command_glUniformMatrix2x4fv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformMatrix2x4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glUniformMatrix4x2fv(void *data)
{
- EVGL_API_Thread_Command_glUniformMatrix4x2fv *thread_param =
+ EVGL_API_Thread_Command_glUniformMatrix4x2fv *thread_data =
(EVGL_API_Thread_Command_glUniformMatrix4x2fv *)data;
- orig_evgl_api_glUniformMatrix4x2fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glUniformMatrix4x2fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformMatrix4x2fv thread_param_local;
- EVGL_API_Thread_Command_glUniformMatrix4x2fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformMatrix4x2fv thread_data_local;
+ EVGL_API_Thread_Command_glUniformMatrix4x2fv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformMatrix4x2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glUniformMatrix3x4fv(void *data)
{
- EVGL_API_Thread_Command_glUniformMatrix3x4fv *thread_param =
+ EVGL_API_Thread_Command_glUniformMatrix3x4fv *thread_data =
(EVGL_API_Thread_Command_glUniformMatrix3x4fv *)data;
- orig_evgl_api_glUniformMatrix3x4fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glUniformMatrix3x4fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformMatrix3x4fv thread_param_local;
- EVGL_API_Thread_Command_glUniformMatrix3x4fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformMatrix3x4fv thread_data_local;
+ EVGL_API_Thread_Command_glUniformMatrix3x4fv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformMatrix3x4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glUniformMatrix4x3fv(void *data)
{
- EVGL_API_Thread_Command_glUniformMatrix4x3fv *thread_param =
+ EVGL_API_Thread_Command_glUniformMatrix4x3fv *thread_data =
(EVGL_API_Thread_Command_glUniformMatrix4x3fv *)data;
- orig_evgl_api_glUniformMatrix4x3fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glUniformMatrix4x3fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUniformMatrix4x3fv thread_param_local;
- EVGL_API_Thread_Command_glUniformMatrix4x3fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUniformMatrix4x3fv thread_data_local;
+ EVGL_API_Thread_Command_glUniformMatrix4x3fv *thread_data = &thread_data_local;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUniformMatrix4x3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glUnmapBuffer(GLenum target);
+ * GLboolean
+ * glUnmapBuffer(GLenum target);
*/
typedef struct
static void
_evgl_api_thread_glUnmapBuffer(void *data)
{
- EVGL_API_Thread_Command_glUnmapBuffer *thread_param =
+ EVGL_API_Thread_Command_glUnmapBuffer *thread_data =
(EVGL_API_Thread_Command_glUnmapBuffer *)data;
- thread_param->return_value = orig_evgl_api_glUnmapBuffer(thread_param->target);
+ thread_data->return_value = orig_evgl_api_glUnmapBuffer(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUnmapBuffer thread_param_local;
- EVGL_API_Thread_Command_glUnmapBuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUnmapBuffer thread_data_local;
+ EVGL_API_Thread_Command_glUnmapBuffer *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUnmapBuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glVertexAttribDivisor(GLuint index, GLuint divisor);
+ * void
+ * glVertexAttribDivisor(GLuint index, GLuint divisor);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribDivisor(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribDivisor *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribDivisor *thread_data =
(EVGL_API_Thread_Command_glVertexAttribDivisor *)data;
- orig_evgl_api_glVertexAttribDivisor(thread_param->index,
- thread_param->divisor);
+ orig_evgl_api_glVertexAttribDivisor(thread_data->index,
+ thread_data->divisor);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribDivisor thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribDivisor *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribDivisor thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribDivisor *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->divisor = divisor;
+ thread_data->index = index;
+ thread_data->divisor = divisor;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribDivisor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttribI4i(GLuint index, GLint v0, GLint v1, GLint v2, GLint v3);
+ * void
+ * glVertexAttribI4i(GLuint index, GLint v0, GLint v1, GLint v2, GLint v3);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribI4i(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribI4i *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribI4i *thread_data =
(EVGL_API_Thread_Command_glVertexAttribI4i *)data;
- orig_evgl_api_glVertexAttribI4i(thread_param->index,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ orig_evgl_api_glVertexAttribI4i(thread_data->index,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribI4i thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribI4i *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribI4i thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribI4i *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->index = index;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribI4i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttribI4iv(GLuint index, const GLint *v);
+ * void
+ * glVertexAttribI4iv(GLuint index, const GLint *v);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribI4iv(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribI4iv *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribI4iv *thread_data =
(EVGL_API_Thread_Command_glVertexAttribI4iv *)data;
- orig_evgl_api_glVertexAttribI4iv(thread_param->index,
- thread_param->v);
+ orig_evgl_api_glVertexAttribI4iv(thread_data->index,
+ thread_data->v);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribI4iv thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribI4iv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribI4iv thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribI4iv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->v = v;
+ thread_data->index = index;
+ thread_data->v = v;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribI4iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttribI4ui(GLuint index, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+ * void
+ * glVertexAttribI4ui(GLuint index, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribI4ui(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribI4ui *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribI4ui *thread_data =
(EVGL_API_Thread_Command_glVertexAttribI4ui *)data;
- orig_evgl_api_glVertexAttribI4ui(thread_param->index,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ orig_evgl_api_glVertexAttribI4ui(thread_data->index,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribI4ui thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribI4ui *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribI4ui thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribI4ui *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->index = index;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribI4ui,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttribI4uiv(GLuint index, const GLuint *v);
+ * void
+ * glVertexAttribI4uiv(GLuint index, const GLuint *v);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribI4uiv(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribI4uiv *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribI4uiv *thread_data =
(EVGL_API_Thread_Command_glVertexAttribI4uiv *)data;
- orig_evgl_api_glVertexAttribI4uiv(thread_param->index,
- thread_param->v);
+ orig_evgl_api_glVertexAttribI4uiv(thread_data->index,
+ thread_data->v);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribI4uiv thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribI4uiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribI4uiv thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribI4uiv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->v = v;
+ thread_data->index = index;
+ thread_data->v = v;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribI4uiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
+ * void
+ * glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribIPointer(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribIPointer *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribIPointer *thread_data =
(EVGL_API_Thread_Command_glVertexAttribIPointer *)data;
- orig_evgl_api_glVertexAttribIPointer(thread_param->index,
- thread_param->size,
- thread_param->type,
- thread_param->stride,
- thread_param->pointer);
+ orig_evgl_api_glVertexAttribIPointer(thread_data->index,
+ thread_data->size,
+ thread_data->type,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribIPointer thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribIPointer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribIPointer thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribIPointer *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->index = index;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribIPointer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glWaitSync(GLsync sync, GLbitfield flags, EvasGLuint64 timeout);
+ * void
+ * glWaitSync(GLsync sync, GLbitfield flags, EvasGLuint64 timeout);
*/
typedef struct
static void
_evgl_api_thread_glWaitSync(void *data)
{
- EVGL_API_Thread_Command_glWaitSync *thread_param =
+ EVGL_API_Thread_Command_glWaitSync *thread_data =
(EVGL_API_Thread_Command_glWaitSync *)data;
- orig_evgl_api_glWaitSync(thread_param->sync,
- thread_param->flags,
- thread_param->timeout);
+ orig_evgl_api_glWaitSync(thread_data->sync,
+ thread_data->flags,
+ thread_data->timeout);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glWaitSync thread_param_local;
- EVGL_API_Thread_Command_glWaitSync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glWaitSync thread_data_local;
+ EVGL_API_Thread_Command_glWaitSync *thread_data = &thread_data_local;
- thread_param->sync = sync;
- thread_param->flags = flags;
- thread_param->timeout = timeout;
+ thread_data->sync = sync;
+ thread_data->flags = flags;
+ thread_data->timeout = timeout;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glWaitSync,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
+ * void
+ * glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
*/
typedef struct
static void
_evgl_api_thread_glDispatchCompute(void *data)
{
- EVGL_API_Thread_Command_glDispatchCompute *thread_param =
+ EVGL_API_Thread_Command_glDispatchCompute *thread_data =
(EVGL_API_Thread_Command_glDispatchCompute *)data;
- orig_evgl_api_glDispatchCompute(thread_param->num_groups_x,
- thread_param->num_groups_y,
- thread_param->num_groups_z);
+ orig_evgl_api_glDispatchCompute(thread_data->num_groups_x,
+ thread_data->num_groups_y,
+ thread_data->num_groups_z);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDispatchCompute thread_param_local;
- EVGL_API_Thread_Command_glDispatchCompute *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDispatchCompute thread_data_local;
+ EVGL_API_Thread_Command_glDispatchCompute *thread_data = &thread_data_local;
- thread_param->num_groups_x = num_groups_x;
- thread_param->num_groups_y = num_groups_y;
- thread_param->num_groups_z = num_groups_z;
+ thread_data->num_groups_x = num_groups_x;
+ thread_data->num_groups_y = num_groups_y;
+ thread_data->num_groups_z = num_groups_z;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDispatchCompute,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDispatchComputeIndirect(GLintptr indirect);
+ * void
+ * glDispatchComputeIndirect(GLintptr indirect);
*/
typedef struct
static void
_evgl_api_thread_glDispatchComputeIndirect(void *data)
{
- EVGL_API_Thread_Command_glDispatchComputeIndirect *thread_param =
+ EVGL_API_Thread_Command_glDispatchComputeIndirect *thread_data =
(EVGL_API_Thread_Command_glDispatchComputeIndirect *)data;
- orig_evgl_api_glDispatchComputeIndirect(thread_param->indirect);
+ orig_evgl_api_glDispatchComputeIndirect(thread_data->indirect);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDispatchComputeIndirect thread_param_local;
- EVGL_API_Thread_Command_glDispatchComputeIndirect *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDispatchComputeIndirect thread_data_local;
+ EVGL_API_Thread_Command_glDispatchComputeIndirect *thread_data = &thread_data_local;
- thread_param->indirect = indirect;
+ thread_data->indirect = indirect;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDispatchComputeIndirect,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawArraysIndirect(GLenum mode, const void *indirect);
+ * void
+ * glDrawArraysIndirect(GLenum mode, const void *indirect);
*/
typedef struct
static void
_evgl_api_thread_glDrawArraysIndirect(void *data)
{
- EVGL_API_Thread_Command_glDrawArraysIndirect *thread_param =
+ EVGL_API_Thread_Command_glDrawArraysIndirect *thread_data =
(EVGL_API_Thread_Command_glDrawArraysIndirect *)data;
- orig_evgl_api_glDrawArraysIndirect(thread_param->mode,
- thread_param->indirect);
+ orig_evgl_api_glDrawArraysIndirect(thread_data->mode,
+ thread_data->indirect);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawArraysIndirect thread_param_local;
- EVGL_API_Thread_Command_glDrawArraysIndirect *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawArraysIndirect thread_data_local;
+ EVGL_API_Thread_Command_glDrawArraysIndirect *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->indirect = indirect;
+ thread_data->mode = mode;
+ thread_data->indirect = indirect;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawArraysIndirect,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect);
+ * void
+ * glDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect);
*/
typedef struct
static void
_evgl_api_thread_glDrawElementsIndirect(void *data)
{
- EVGL_API_Thread_Command_glDrawElementsIndirect *thread_param =
+ EVGL_API_Thread_Command_glDrawElementsIndirect *thread_data =
(EVGL_API_Thread_Command_glDrawElementsIndirect *)data;
- orig_evgl_api_glDrawElementsIndirect(thread_param->mode,
- thread_param->type,
- thread_param->indirect);
+ orig_evgl_api_glDrawElementsIndirect(thread_data->mode,
+ thread_data->type,
+ thread_data->indirect);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDrawElementsIndirect thread_param_local;
- EVGL_API_Thread_Command_glDrawElementsIndirect *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDrawElementsIndirect thread_data_local;
+ EVGL_API_Thread_Command_glDrawElementsIndirect *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->type = type;
- thread_param->indirect = indirect;
+ thread_data->mode = mode;
+ thread_data->type = type;
+ thread_data->indirect = indirect;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDrawElementsIndirect,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferParameteri(GLenum target, GLenum pname, GLint param);
+ * void
+ * glFramebufferParameteri(GLenum target, GLenum pname, GLint param);
*/
typedef struct
static void
_evgl_api_thread_glFramebufferParameteri(void *data)
{
- EVGL_API_Thread_Command_glFramebufferParameteri *thread_param =
+ EVGL_API_Thread_Command_glFramebufferParameteri *thread_data =
(EVGL_API_Thread_Command_glFramebufferParameteri *)data;
- orig_evgl_api_glFramebufferParameteri(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ orig_evgl_api_glFramebufferParameteri(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glFramebufferParameteri thread_param_local;
- EVGL_API_Thread_Command_glFramebufferParameteri *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glFramebufferParameteri thread_data_local;
+ EVGL_API_Thread_Command_glFramebufferParameteri *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glFramebufferParameteri,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params);
+ * void
+ * glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetFramebufferParameteriv(void *data)
{
- EVGL_API_Thread_Command_glGetFramebufferParameteriv *thread_param =
+ EVGL_API_Thread_Command_glGetFramebufferParameteriv *thread_data =
(EVGL_API_Thread_Command_glGetFramebufferParameteriv *)data;
- orig_evgl_api_glGetFramebufferParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetFramebufferParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetFramebufferParameteriv thread_param_local;
- EVGL_API_Thread_Command_glGetFramebufferParameteriv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetFramebufferParameteriv thread_data_local;
+ EVGL_API_Thread_Command_glGetFramebufferParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetFramebufferParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pname, GLint *params);
+ * void
+ * glGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramInterfaceiv(void *data)
{
- EVGL_API_Thread_Command_glGetProgramInterfaceiv *thread_param =
+ EVGL_API_Thread_Command_glGetProgramInterfaceiv *thread_data =
(EVGL_API_Thread_Command_glGetProgramInterfaceiv *)data;
- orig_evgl_api_glGetProgramInterfaceiv(thread_param->program,
- thread_param->programInterface,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetProgramInterfaceiv(thread_data->program,
+ thread_data->programInterface,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramInterfaceiv thread_param_local;
- EVGL_API_Thread_Command_glGetProgramInterfaceiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramInterfaceiv thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramInterfaceiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->programInterface = programInterface;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->programInterface = programInterface;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramInterfaceiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLuint
- glGetProgramResourceIndex(GLuint program, GLenum programInterface, const GLchar *name);
+ * GLuint
+ * glGetProgramResourceIndex(GLuint program, GLenum programInterface, const GLchar *name);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramResourceIndex(void *data)
{
- EVGL_API_Thread_Command_glGetProgramResourceIndex *thread_param =
+ EVGL_API_Thread_Command_glGetProgramResourceIndex *thread_data =
(EVGL_API_Thread_Command_glGetProgramResourceIndex *)data;
- thread_param->return_value = orig_evgl_api_glGetProgramResourceIndex(thread_param->program,
- thread_param->programInterface,
- thread_param->name);
+ thread_data->return_value = orig_evgl_api_glGetProgramResourceIndex(thread_data->program,
+ thread_data->programInterface,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramResourceIndex thread_param_local;
- EVGL_API_Thread_Command_glGetProgramResourceIndex *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramResourceIndex thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramResourceIndex *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->programInterface = programInterface;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->programInterface = programInterface;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramResourceIndex,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetProgramResourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
+ * void
+ * glGetProgramResourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramResourceName(void *data)
{
- EVGL_API_Thread_Command_glGetProgramResourceName *thread_param =
+ EVGL_API_Thread_Command_glGetProgramResourceName *thread_data =
(EVGL_API_Thread_Command_glGetProgramResourceName *)data;
- orig_evgl_api_glGetProgramResourceName(thread_param->program,
- thread_param->programInterface,
- thread_param->index,
- thread_param->bufSize,
- thread_param->length,
- thread_param->name);
+ orig_evgl_api_glGetProgramResourceName(thread_data->program,
+ thread_data->programInterface,
+ thread_data->index,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramResourceName thread_param_local;
- EVGL_API_Thread_Command_glGetProgramResourceName *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramResourceName thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramResourceName *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->programInterface = programInterface;
- thread_param->index = index;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->programInterface = programInterface;
+ thread_data->index = index;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramResourceName,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
+ * void
+ * glGetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramResourceiv(void *data)
{
- EVGL_API_Thread_Command_glGetProgramResourceiv *thread_param =
+ EVGL_API_Thread_Command_glGetProgramResourceiv *thread_data =
(EVGL_API_Thread_Command_glGetProgramResourceiv *)data;
- orig_evgl_api_glGetProgramResourceiv(thread_param->program,
- thread_param->programInterface,
- thread_param->index,
- thread_param->propCount,
- thread_param->props,
- thread_param->bufSize,
- thread_param->length,
- thread_param->params);
+ orig_evgl_api_glGetProgramResourceiv(thread_data->program,
+ thread_data->programInterface,
+ thread_data->index,
+ thread_data->propCount,
+ thread_data->props,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramResourceiv thread_param_local;
- EVGL_API_Thread_Command_glGetProgramResourceiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramResourceiv thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramResourceiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->programInterface = programInterface;
- thread_param->index = index;
- thread_param->propCount = propCount;
- thread_param->props = props;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->programInterface = programInterface;
+ thread_data->index = index;
+ thread_data->propCount = propCount;
+ thread_data->props = props;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramResourceiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLint
- glGetProgramResourceLocation(GLuint program, GLenum programInterface, const GLchar *name);
+ * GLint
+ * glGetProgramResourceLocation(GLuint program, GLenum programInterface, const GLchar *name);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramResourceLocation(void *data)
{
- EVGL_API_Thread_Command_glGetProgramResourceLocation *thread_param =
+ EVGL_API_Thread_Command_glGetProgramResourceLocation *thread_data =
(EVGL_API_Thread_Command_glGetProgramResourceLocation *)data;
- thread_param->return_value = orig_evgl_api_glGetProgramResourceLocation(thread_param->program,
- thread_param->programInterface,
- thread_param->name);
+ thread_data->return_value = orig_evgl_api_glGetProgramResourceLocation(thread_data->program,
+ thread_data->programInterface,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramResourceLocation thread_param_local;
- EVGL_API_Thread_Command_glGetProgramResourceLocation *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramResourceLocation thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramResourceLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->programInterface = programInterface;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->programInterface = programInterface;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramResourceLocation,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program);
+ * void
+ * glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program);
*/
typedef struct
static void
_evgl_api_thread_glUseProgramStages(void *data)
{
- EVGL_API_Thread_Command_glUseProgramStages *thread_param =
+ EVGL_API_Thread_Command_glUseProgramStages *thread_data =
(EVGL_API_Thread_Command_glUseProgramStages *)data;
- orig_evgl_api_glUseProgramStages(thread_param->pipeline,
- thread_param->stages,
- thread_param->program);
+ orig_evgl_api_glUseProgramStages(thread_data->pipeline,
+ thread_data->stages,
+ thread_data->program);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glUseProgramStages thread_param_local;
- EVGL_API_Thread_Command_glUseProgramStages *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glUseProgramStages thread_data_local;
+ EVGL_API_Thread_Command_glUseProgramStages *thread_data = &thread_data_local;
- thread_param->pipeline = pipeline;
- thread_param->stages = stages;
- thread_param->program = program;
+ thread_data->pipeline = pipeline;
+ thread_data->stages = stages;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glUseProgramStages,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glActiveShaderProgram(GLuint pipeline, GLuint program);
+ * void
+ * glActiveShaderProgram(GLuint pipeline, GLuint program);
*/
typedef struct
static void
_evgl_api_thread_glActiveShaderProgram(void *data)
{
- EVGL_API_Thread_Command_glActiveShaderProgram *thread_param =
+ EVGL_API_Thread_Command_glActiveShaderProgram *thread_data =
(EVGL_API_Thread_Command_glActiveShaderProgram *)data;
- orig_evgl_api_glActiveShaderProgram(thread_param->pipeline,
- thread_param->program);
+ orig_evgl_api_glActiveShaderProgram(thread_data->pipeline,
+ thread_data->program);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glActiveShaderProgram thread_param_local;
- EVGL_API_Thread_Command_glActiveShaderProgram *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glActiveShaderProgram thread_data_local;
+ EVGL_API_Thread_Command_glActiveShaderProgram *thread_data = &thread_data_local;
- thread_param->pipeline = pipeline;
- thread_param->program = program;
+ thread_data->pipeline = pipeline;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glActiveShaderProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLuint
- glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar *const*strings);
+ * GLuint
+ * glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar *const*strings);
*/
typedef struct
static void
_evgl_api_thread_glCreateShaderProgramv(void *data)
{
- EVGL_API_Thread_Command_glCreateShaderProgramv *thread_param =
+ EVGL_API_Thread_Command_glCreateShaderProgramv *thread_data =
(EVGL_API_Thread_Command_glCreateShaderProgramv *)data;
- thread_param->return_value = orig_evgl_api_glCreateShaderProgramv(thread_param->type,
- thread_param->count,
- thread_param->strings);
+ thread_data->return_value = orig_evgl_api_glCreateShaderProgramv(thread_data->type,
+ thread_data->count,
+ thread_data->strings);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glCreateShaderProgramv thread_param_local;
- EVGL_API_Thread_Command_glCreateShaderProgramv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glCreateShaderProgramv thread_data_local;
+ EVGL_API_Thread_Command_glCreateShaderProgramv *thread_data = &thread_data_local;
- thread_param->type = type;
- thread_param->count = count;
- thread_param->strings = strings;
+ thread_data->type = type;
+ thread_data->count = count;
+ thread_data->strings = strings;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glCreateShaderProgramv,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glBindProgramPipeline(GLuint pipeline);
+ * void
+ * glBindProgramPipeline(GLuint pipeline);
*/
typedef struct
static void
_evgl_api_thread_glBindProgramPipeline(void *data)
{
- EVGL_API_Thread_Command_glBindProgramPipeline *thread_param =
+ EVGL_API_Thread_Command_glBindProgramPipeline *thread_data =
(EVGL_API_Thread_Command_glBindProgramPipeline *)data;
- orig_evgl_api_glBindProgramPipeline(thread_param->pipeline);
+ orig_evgl_api_glBindProgramPipeline(thread_data->pipeline);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindProgramPipeline thread_param_local;
- EVGL_API_Thread_Command_glBindProgramPipeline *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindProgramPipeline thread_data_local;
+ EVGL_API_Thread_Command_glBindProgramPipeline *thread_data = &thread_data_local;
- thread_param->pipeline = pipeline;
+ thread_data->pipeline = pipeline;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindProgramPipeline,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines);
+ * void
+ * glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines);
*/
typedef struct
static void
_evgl_api_thread_glDeleteProgramPipelines(void *data)
{
- EVGL_API_Thread_Command_glDeleteProgramPipelines *thread_param =
+ EVGL_API_Thread_Command_glDeleteProgramPipelines *thread_data =
(EVGL_API_Thread_Command_glDeleteProgramPipelines *)data;
- orig_evgl_api_glDeleteProgramPipelines(thread_param->n,
- thread_param->pipelines);
+ orig_evgl_api_glDeleteProgramPipelines(thread_data->n,
+ thread_data->pipelines);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glDeleteProgramPipelines thread_param_local;
- EVGL_API_Thread_Command_glDeleteProgramPipelines *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glDeleteProgramPipelines thread_data_local;
+ EVGL_API_Thread_Command_glDeleteProgramPipelines *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->pipelines = pipelines;
+ thread_data->n = n;
+ thread_data->pipelines = pipelines;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glDeleteProgramPipelines,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenProgramPipelines(GLsizei n, GLuint *pipelines);
+ * void
+ * glGenProgramPipelines(GLsizei n, GLuint *pipelines);
*/
typedef struct
static void
_evgl_api_thread_glGenProgramPipelines(void *data)
{
- EVGL_API_Thread_Command_glGenProgramPipelines *thread_param =
+ EVGL_API_Thread_Command_glGenProgramPipelines *thread_data =
(EVGL_API_Thread_Command_glGenProgramPipelines *)data;
- orig_evgl_api_glGenProgramPipelines(thread_param->n,
- thread_param->pipelines);
+ orig_evgl_api_glGenProgramPipelines(thread_data->n,
+ thread_data->pipelines);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGenProgramPipelines thread_param_local;
- EVGL_API_Thread_Command_glGenProgramPipelines *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGenProgramPipelines thread_data_local;
+ EVGL_API_Thread_Command_glGenProgramPipelines *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->pipelines = pipelines;
+ thread_data->n = n;
+ thread_data->pipelines = pipelines;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGenProgramPipelines,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsProgramPipeline(GLuint pipeline);
+ * GLboolean
+ * glIsProgramPipeline(GLuint pipeline);
*/
typedef struct
static void
_evgl_api_thread_glIsProgramPipeline(void *data)
{
- EVGL_API_Thread_Command_glIsProgramPipeline *thread_param =
+ EVGL_API_Thread_Command_glIsProgramPipeline *thread_data =
(EVGL_API_Thread_Command_glIsProgramPipeline *)data;
- thread_param->return_value = orig_evgl_api_glIsProgramPipeline(thread_param->pipeline);
+ thread_data->return_value = orig_evgl_api_glIsProgramPipeline(thread_data->pipeline);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glIsProgramPipeline thread_param_local;
- EVGL_API_Thread_Command_glIsProgramPipeline *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glIsProgramPipeline thread_data_local;
+ EVGL_API_Thread_Command_glIsProgramPipeline *thread_data = &thread_data_local;
- thread_param->pipeline = pipeline;
+ thread_data->pipeline = pipeline;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glIsProgramPipeline,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params);
+ * void
+ * glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramPipelineiv(void *data)
{
- EVGL_API_Thread_Command_glGetProgramPipelineiv *thread_param =
+ EVGL_API_Thread_Command_glGetProgramPipelineiv *thread_data =
(EVGL_API_Thread_Command_glGetProgramPipelineiv *)data;
- orig_evgl_api_glGetProgramPipelineiv(thread_param->pipeline,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetProgramPipelineiv(thread_data->pipeline,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramPipelineiv thread_param_local;
- EVGL_API_Thread_Command_glGetProgramPipelineiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramPipelineiv thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramPipelineiv *thread_data = &thread_data_local;
- thread_param->pipeline = pipeline;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->pipeline = pipeline;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramPipelineiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform1i(GLuint program, GLint location, GLint v0);
+ * void
+ * glProgramUniform1i(GLuint program, GLint location, GLint v0);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform1i(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform1i *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform1i *thread_data =
(EVGL_API_Thread_Command_glProgramUniform1i *)data;
- orig_evgl_api_glProgramUniform1i(thread_param->program,
- thread_param->location,
- thread_param->v0);
+ orig_evgl_api_glProgramUniform1i(thread_data->program,
+ thread_data->location,
+ thread_data->v0);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform1i thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform1i *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform1i thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform1i *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform1i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1);
+ * void
+ * glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform2i(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform2i *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform2i *thread_data =
(EVGL_API_Thread_Command_glProgramUniform2i *)data;
- orig_evgl_api_glProgramUniform2i(thread_param->program,
- thread_param->location,
- thread_param->v0,
- thread_param->v1);
+ orig_evgl_api_glProgramUniform2i(thread_data->program,
+ thread_data->location,
+ thread_data->v0,
+ thread_data->v1);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform2i thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform2i *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform2i thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform2i *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform2i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
+ * void
+ * glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform3i(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform3i *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform3i *thread_data =
(EVGL_API_Thread_Command_glProgramUniform3i *)data;
- orig_evgl_api_glProgramUniform3i(thread_param->program,
- thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2);
+ orig_evgl_api_glProgramUniform3i(thread_data->program,
+ thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform3i thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform3i *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform3i thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform3i *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform3i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+ * void
+ * glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform4i(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform4i *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform4i *thread_data =
(EVGL_API_Thread_Command_glProgramUniform4i *)data;
- orig_evgl_api_glProgramUniform4i(thread_param->program,
- thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ orig_evgl_api_glProgramUniform4i(thread_data->program,
+ thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform4i thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform4i *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform4i thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform4i *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform4i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform1ui(GLuint program, GLint location, GLuint v0);
+ * void
+ * glProgramUniform1ui(GLuint program, GLint location, GLuint v0);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform1ui(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform1ui *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform1ui *thread_data =
(EVGL_API_Thread_Command_glProgramUniform1ui *)data;
- orig_evgl_api_glProgramUniform1ui(thread_param->program,
- thread_param->location,
- thread_param->v0);
+ orig_evgl_api_glProgramUniform1ui(thread_data->program,
+ thread_data->location,
+ thread_data->v0);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform1ui thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform1ui *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform1ui thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform1ui *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform1ui,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1);
+ * void
+ * glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform2ui(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform2ui *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform2ui *thread_data =
(EVGL_API_Thread_Command_glProgramUniform2ui *)data;
- orig_evgl_api_glProgramUniform2ui(thread_param->program,
- thread_param->location,
- thread_param->v0,
- thread_param->v1);
+ orig_evgl_api_glProgramUniform2ui(thread_data->program,
+ thread_data->location,
+ thread_data->v0,
+ thread_data->v1);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform2ui thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform2ui *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform2ui thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform2ui *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform2ui,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
+ * void
+ * glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform3ui(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform3ui *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform3ui *thread_data =
(EVGL_API_Thread_Command_glProgramUniform3ui *)data;
- orig_evgl_api_glProgramUniform3ui(thread_param->program,
- thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2);
+ orig_evgl_api_glProgramUniform3ui(thread_data->program,
+ thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform3ui thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform3ui *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform3ui thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform3ui *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform3ui,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
+ * void
+ * glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform4ui(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform4ui *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform4ui *thread_data =
(EVGL_API_Thread_Command_glProgramUniform4ui *)data;
- orig_evgl_api_glProgramUniform4ui(thread_param->program,
- thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ orig_evgl_api_glProgramUniform4ui(thread_data->program,
+ thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform4ui thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform4ui *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform4ui thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform4ui *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform4ui,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform1f(GLuint program, GLint location, GLfloat v0);
+ * void
+ * glProgramUniform1f(GLuint program, GLint location, GLfloat v0);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform1f(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform1f *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform1f *thread_data =
(EVGL_API_Thread_Command_glProgramUniform1f *)data;
- orig_evgl_api_glProgramUniform1f(thread_param->program,
- thread_param->location,
- thread_param->v0);
+ orig_evgl_api_glProgramUniform1f(thread_data->program,
+ thread_data->location,
+ thread_data->v0);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform1f thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform1f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform1f thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform1f *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform1f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1);
+ * void
+ * glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform2f(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform2f *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform2f *thread_data =
(EVGL_API_Thread_Command_glProgramUniform2f *)data;
- orig_evgl_api_glProgramUniform2f(thread_param->program,
- thread_param->location,
- thread_param->v0,
- thread_param->v1);
+ orig_evgl_api_glProgramUniform2f(thread_data->program,
+ thread_data->location,
+ thread_data->v0,
+ thread_data->v1);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform2f thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform2f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform2f thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform2f *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform2f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+ * void
+ * glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform3f(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform3f *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform3f *thread_data =
(EVGL_API_Thread_Command_glProgramUniform3f *)data;
- orig_evgl_api_glProgramUniform3f(thread_param->program,
- thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2);
+ orig_evgl_api_glProgramUniform3f(thread_data->program,
+ thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform3f thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform3f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform3f thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform3f *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform3f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+ * void
+ * glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform4f(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform4f *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform4f *thread_data =
(EVGL_API_Thread_Command_glProgramUniform4f *)data;
- orig_evgl_api_glProgramUniform4f(thread_param->program,
- thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ orig_evgl_api_glProgramUniform4f(thread_data->program,
+ thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform4f thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform4f *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform4f thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform4f *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform4f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value);
+ * void
+ * glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform1iv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform1iv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform1iv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform1iv *)data;
- orig_evgl_api_glProgramUniform1iv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform1iv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform1iv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform1iv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform1iv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform1iv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform1iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value);
+ * void
+ * glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform2iv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform2iv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform2iv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform2iv *)data;
- orig_evgl_api_glProgramUniform2iv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform2iv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform2iv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform2iv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform2iv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform2iv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform2iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value);
+ * void
+ * glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform3iv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform3iv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform3iv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform3iv *)data;
- orig_evgl_api_glProgramUniform3iv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform3iv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform3iv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform3iv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform3iv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform3iv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform3iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value);
+ * void
+ * glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform4iv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform4iv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform4iv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform4iv *)data;
- orig_evgl_api_glProgramUniform4iv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform4iv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform4iv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform4iv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform4iv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform4iv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform4iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
+ * void
+ * glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform1uiv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform1uiv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform1uiv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform1uiv *)data;
- orig_evgl_api_glProgramUniform1uiv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform1uiv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform1uiv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform1uiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform1uiv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform1uiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform1uiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
+ * void
+ * glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform2uiv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform2uiv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform2uiv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform2uiv *)data;
- orig_evgl_api_glProgramUniform2uiv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform2uiv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform2uiv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform2uiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform2uiv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform2uiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform2uiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
+ * void
+ * glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform3uiv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform3uiv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform3uiv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform3uiv *)data;
- orig_evgl_api_glProgramUniform3uiv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform3uiv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform3uiv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform3uiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform3uiv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform3uiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform3uiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
+ * void
+ * glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform4uiv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform4uiv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform4uiv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform4uiv *)data;
- orig_evgl_api_glProgramUniform4uiv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform4uiv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform4uiv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform4uiv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform4uiv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform4uiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform4uiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform1fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform1fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform1fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform1fv *)data;
- orig_evgl_api_glProgramUniform1fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform1fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform1fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform1fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform1fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform1fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform1fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform2fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform2fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform2fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform2fv *)data;
- orig_evgl_api_glProgramUniform2fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform2fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform2fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform2fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform2fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform2fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform3fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform3fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform3fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform3fv *)data;
- orig_evgl_api_glProgramUniform3fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform3fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform3fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform3fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform3fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform3fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniform4fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniform4fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniform4fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniform4fv *)data;
- orig_evgl_api_glProgramUniform4fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->value);
+ orig_evgl_api_glProgramUniform4fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniform4fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniform4fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniform4fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniform4fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniform4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniformMatrix2fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniformMatrix2fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniformMatrix2fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniformMatrix2fv *)data;
- orig_evgl_api_glProgramUniformMatrix2fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glProgramUniformMatrix2fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniformMatrix2fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniformMatrix2fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix2fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix2fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniformMatrix2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniformMatrix3fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniformMatrix3fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniformMatrix3fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniformMatrix3fv *)data;
- orig_evgl_api_glProgramUniformMatrix3fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glProgramUniformMatrix3fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniformMatrix3fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniformMatrix3fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix3fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix3fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniformMatrix3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniformMatrix4fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniformMatrix4fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniformMatrix4fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniformMatrix4fv *)data;
- orig_evgl_api_glProgramUniformMatrix4fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glProgramUniformMatrix4fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniformMatrix4fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniformMatrix4fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix4fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix4fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniformMatrix4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniformMatrix2x3fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniformMatrix2x3fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniformMatrix2x3fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniformMatrix2x3fv *)data;
- orig_evgl_api_glProgramUniformMatrix2x3fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glProgramUniformMatrix2x3fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniformMatrix2x3fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniformMatrix2x3fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix2x3fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix2x3fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniformMatrix2x3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniformMatrix3x2fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniformMatrix3x2fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniformMatrix3x2fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniformMatrix3x2fv *)data;
- orig_evgl_api_glProgramUniformMatrix3x2fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glProgramUniformMatrix3x2fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniformMatrix3x2fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniformMatrix3x2fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix3x2fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix3x2fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniformMatrix3x2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniformMatrix2x4fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniformMatrix2x4fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniformMatrix2x4fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniformMatrix2x4fv *)data;
- orig_evgl_api_glProgramUniformMatrix2x4fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glProgramUniformMatrix2x4fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniformMatrix2x4fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniformMatrix2x4fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix2x4fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix2x4fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniformMatrix2x4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniformMatrix4x2fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniformMatrix4x2fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniformMatrix4x2fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniformMatrix4x2fv *)data;
- orig_evgl_api_glProgramUniformMatrix4x2fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glProgramUniformMatrix4x2fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniformMatrix4x2fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniformMatrix4x2fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix4x2fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix4x2fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniformMatrix4x2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniformMatrix3x4fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniformMatrix3x4fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniformMatrix3x4fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniformMatrix3x4fv *)data;
- orig_evgl_api_glProgramUniformMatrix3x4fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glProgramUniformMatrix3x4fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniformMatrix3x4fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniformMatrix3x4fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix3x4fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix3x4fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniformMatrix3x4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_api_thread_glProgramUniformMatrix4x3fv(void *data)
{
- EVGL_API_Thread_Command_glProgramUniformMatrix4x3fv *thread_param =
+ EVGL_API_Thread_Command_glProgramUniformMatrix4x3fv *thread_data =
(EVGL_API_Thread_Command_glProgramUniformMatrix4x3fv *)data;
- orig_evgl_api_glProgramUniformMatrix4x3fv(thread_param->program,
- thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ orig_evgl_api_glProgramUniformMatrix4x3fv(thread_data->program,
+ thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glProgramUniformMatrix4x3fv thread_param_local;
- EVGL_API_Thread_Command_glProgramUniformMatrix4x3fv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix4x3fv thread_data_local;
+ EVGL_API_Thread_Command_glProgramUniformMatrix4x3fv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glProgramUniformMatrix4x3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glValidateProgramPipeline(GLuint pipeline);
+ * void
+ * glValidateProgramPipeline(GLuint pipeline);
*/
typedef struct
static void
_evgl_api_thread_glValidateProgramPipeline(void *data)
{
- EVGL_API_Thread_Command_glValidateProgramPipeline *thread_param =
+ EVGL_API_Thread_Command_glValidateProgramPipeline *thread_data =
(EVGL_API_Thread_Command_glValidateProgramPipeline *)data;
- orig_evgl_api_glValidateProgramPipeline(thread_param->pipeline);
+ orig_evgl_api_glValidateProgramPipeline(thread_data->pipeline);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glValidateProgramPipeline thread_param_local;
- EVGL_API_Thread_Command_glValidateProgramPipeline *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glValidateProgramPipeline thread_data_local;
+ EVGL_API_Thread_Command_glValidateProgramPipeline *thread_data = &thread_data_local;
- thread_param->pipeline = pipeline;
+ thread_data->pipeline = pipeline;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glValidateProgramPipeline,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+ * void
+ * glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
*/
typedef struct
static void
_evgl_api_thread_glGetProgramPipelineInfoLog(void *data)
{
- EVGL_API_Thread_Command_glGetProgramPipelineInfoLog *thread_param =
+ EVGL_API_Thread_Command_glGetProgramPipelineInfoLog *thread_data =
(EVGL_API_Thread_Command_glGetProgramPipelineInfoLog *)data;
- orig_evgl_api_glGetProgramPipelineInfoLog(thread_param->pipeline,
- thread_param->bufSize,
- thread_param->length,
- thread_param->infoLog);
+ orig_evgl_api_glGetProgramPipelineInfoLog(thread_data->pipeline,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->infoLog);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetProgramPipelineInfoLog thread_param_local;
- EVGL_API_Thread_Command_glGetProgramPipelineInfoLog *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetProgramPipelineInfoLog thread_data_local;
+ EVGL_API_Thread_Command_glGetProgramPipelineInfoLog *thread_data = &thread_data_local;
- thread_param->pipeline = pipeline;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->infoLog = infoLog;
+ thread_data->pipeline = pipeline;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->infoLog = infoLog;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetProgramPipelineInfoLog,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
+ * void
+ * glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
*/
typedef struct
static void
_evgl_api_thread_glBindImageTexture(void *data)
{
- EVGL_API_Thread_Command_glBindImageTexture *thread_param =
+ EVGL_API_Thread_Command_glBindImageTexture *thread_data =
(EVGL_API_Thread_Command_glBindImageTexture *)data;
- orig_evgl_api_glBindImageTexture(thread_param->unit,
- thread_param->texture,
- thread_param->level,
- thread_param->layered,
- thread_param->layer,
- thread_param->access,
- thread_param->format);
+ orig_evgl_api_glBindImageTexture(thread_data->unit,
+ thread_data->texture,
+ thread_data->level,
+ thread_data->layered,
+ thread_data->layer,
+ thread_data->access,
+ thread_data->format);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindImageTexture thread_param_local;
- EVGL_API_Thread_Command_glBindImageTexture *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindImageTexture thread_data_local;
+ EVGL_API_Thread_Command_glBindImageTexture *thread_data = &thread_data_local;
- thread_param->unit = unit;
- thread_param->texture = texture;
- thread_param->level = level;
- thread_param->layered = layered;
- thread_param->layer = layer;
- thread_param->access = access;
- thread_param->format = format;
+ thread_data->unit = unit;
+ thread_data->texture = texture;
+ thread_data->level = level;
+ thread_data->layered = layered;
+ thread_data->layer = layer;
+ thread_data->access = access;
+ thread_data->format = format;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindImageTexture,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetBooleani_v(GLenum target, GLuint index, GLboolean *data);
+ * void
+ * glGetBooleani_v(GLenum target, GLuint index, GLboolean *data);
*/
typedef struct
static void
_evgl_api_thread_glGetBooleani_v(void *data)
{
- EVGL_API_Thread_Command_glGetBooleani_v *thread_param =
+ EVGL_API_Thread_Command_glGetBooleani_v *thread_data =
(EVGL_API_Thread_Command_glGetBooleani_v *)data;
- orig_evgl_api_glGetBooleani_v(thread_param->target,
- thread_param->index,
- thread_param->data);
+ orig_evgl_api_glGetBooleani_v(thread_data->target,
+ thread_data->index,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetBooleani_v thread_param_local;
- EVGL_API_Thread_Command_glGetBooleani_v *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetBooleani_v thread_data_local;
+ EVGL_API_Thread_Command_glGetBooleani_v *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->index = index;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->index = index;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetBooleani_v,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMemoryBarrier(GLbitfield barriers);
+ * void
+ * glMemoryBarrier(GLbitfield barriers);
*/
typedef struct
static void
_evgl_api_thread_glMemoryBarrier(void *data)
{
- EVGL_API_Thread_Command_glMemoryBarrier *thread_param =
+ EVGL_API_Thread_Command_glMemoryBarrier *thread_data =
(EVGL_API_Thread_Command_glMemoryBarrier *)data;
- orig_evgl_api_glMemoryBarrier(thread_param->barriers);
+ orig_evgl_api_glMemoryBarrier(thread_data->barriers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMemoryBarrier thread_param_local;
- EVGL_API_Thread_Command_glMemoryBarrier *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMemoryBarrier thread_data_local;
+ EVGL_API_Thread_Command_glMemoryBarrier *thread_data = &thread_data_local;
- thread_param->barriers = barriers;
+ thread_data->barriers = barriers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMemoryBarrier,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glMemoryBarrierByRegion(GLbitfield barriers);
+ * void
+ * glMemoryBarrierByRegion(GLbitfield barriers);
*/
typedef struct
static void
_evgl_api_thread_glMemoryBarrierByRegion(void *data)
{
- EVGL_API_Thread_Command_glMemoryBarrierByRegion *thread_param =
+ EVGL_API_Thread_Command_glMemoryBarrierByRegion *thread_data =
(EVGL_API_Thread_Command_glMemoryBarrierByRegion *)data;
- orig_evgl_api_glMemoryBarrierByRegion(thread_param->barriers);
+ orig_evgl_api_glMemoryBarrierByRegion(thread_data->barriers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glMemoryBarrierByRegion thread_param_local;
- EVGL_API_Thread_Command_glMemoryBarrierByRegion *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glMemoryBarrierByRegion thread_data_local;
+ EVGL_API_Thread_Command_glMemoryBarrierByRegion *thread_data = &thread_data_local;
- thread_param->barriers = barriers;
+ thread_data->barriers = barriers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glMemoryBarrierByRegion,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexStorage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
+ * void
+ * glTexStorage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
*/
typedef struct
static void
_evgl_api_thread_glTexStorage2DMultisample(void *data)
{
- EVGL_API_Thread_Command_glTexStorage2DMultisample *thread_param =
+ EVGL_API_Thread_Command_glTexStorage2DMultisample *thread_data =
(EVGL_API_Thread_Command_glTexStorage2DMultisample *)data;
- orig_evgl_api_glTexStorage2DMultisample(thread_param->target,
- thread_param->samples,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->fixedsamplelocations);
+ orig_evgl_api_glTexStorage2DMultisample(thread_data->target,
+ thread_data->samples,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->fixedsamplelocations);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glTexStorage2DMultisample thread_param_local;
- EVGL_API_Thread_Command_glTexStorage2DMultisample *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glTexStorage2DMultisample thread_data_local;
+ EVGL_API_Thread_Command_glTexStorage2DMultisample *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->samples = samples;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->fixedsamplelocations = fixedsamplelocations;
+ thread_data->target = target;
+ thread_data->samples = samples;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->fixedsamplelocations = fixedsamplelocations;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glTexStorage2DMultisample,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val);
+ * void
+ * glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val);
*/
typedef struct
static void
_evgl_api_thread_glGetMultisamplefv(void *data)
{
- EVGL_API_Thread_Command_glGetMultisamplefv *thread_param =
+ EVGL_API_Thread_Command_glGetMultisamplefv *thread_data =
(EVGL_API_Thread_Command_glGetMultisamplefv *)data;
- orig_evgl_api_glGetMultisamplefv(thread_param->pname,
- thread_param->index,
- thread_param->val);
+ orig_evgl_api_glGetMultisamplefv(thread_data->pname,
+ thread_data->index,
+ thread_data->val);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetMultisamplefv thread_param_local;
- EVGL_API_Thread_Command_glGetMultisamplefv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetMultisamplefv thread_data_local;
+ EVGL_API_Thread_Command_glGetMultisamplefv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->index = index;
- thread_param->val = val;
+ thread_data->pname = pname;
+ thread_data->index = index;
+ thread_data->val = val;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetMultisamplefv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glSampleMaski(GLuint maskNumber, GLbitfield mask);
+ * void
+ * glSampleMaski(GLuint maskNumber, GLbitfield mask);
*/
typedef struct
static void
_evgl_api_thread_glSampleMaski(void *data)
{
- EVGL_API_Thread_Command_glSampleMaski *thread_param =
+ EVGL_API_Thread_Command_glSampleMaski *thread_data =
(EVGL_API_Thread_Command_glSampleMaski *)data;
- orig_evgl_api_glSampleMaski(thread_param->maskNumber,
- thread_param->mask);
+ orig_evgl_api_glSampleMaski(thread_data->maskNumber,
+ thread_data->mask);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glSampleMaski thread_param_local;
- EVGL_API_Thread_Command_glSampleMaski *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glSampleMaski thread_data_local;
+ EVGL_API_Thread_Command_glSampleMaski *thread_data = &thread_data_local;
- thread_param->maskNumber = maskNumber;
- thread_param->mask = mask;
+ thread_data->maskNumber = maskNumber;
+ thread_data->mask = mask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glSampleMaski,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
+ * void
+ * glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexLevelParameteriv(void *data)
{
- EVGL_API_Thread_Command_glGetTexLevelParameteriv *thread_param =
+ EVGL_API_Thread_Command_glGetTexLevelParameteriv *thread_data =
(EVGL_API_Thread_Command_glGetTexLevelParameteriv *)data;
- orig_evgl_api_glGetTexLevelParameteriv(thread_param->target,
- thread_param->level,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexLevelParameteriv(thread_data->target,
+ thread_data->level,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexLevelParameteriv thread_param_local;
- EVGL_API_Thread_Command_glGetTexLevelParameteriv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexLevelParameteriv thread_data_local;
+ EVGL_API_Thread_Command_glGetTexLevelParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexLevelParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params);
+ * void
+ * glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params);
*/
typedef struct
static void
_evgl_api_thread_glGetTexLevelParameterfv(void *data)
{
- EVGL_API_Thread_Command_glGetTexLevelParameterfv *thread_param =
+ EVGL_API_Thread_Command_glGetTexLevelParameterfv *thread_data =
(EVGL_API_Thread_Command_glGetTexLevelParameterfv *)data;
- orig_evgl_api_glGetTexLevelParameterfv(thread_param->target,
- thread_param->level,
- thread_param->pname,
- thread_param->params);
+ orig_evgl_api_glGetTexLevelParameterfv(thread_data->target,
+ thread_data->level,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glGetTexLevelParameterfv thread_param_local;
- EVGL_API_Thread_Command_glGetTexLevelParameterfv *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glGetTexLevelParameterfv thread_data_local;
+ EVGL_API_Thread_Command_glGetTexLevelParameterfv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glGetTexLevelParameterfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
+ * void
+ * glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
*/
typedef struct
static void
_evgl_api_thread_glBindVertexBuffer(void *data)
{
- EVGL_API_Thread_Command_glBindVertexBuffer *thread_param =
+ EVGL_API_Thread_Command_glBindVertexBuffer *thread_data =
(EVGL_API_Thread_Command_glBindVertexBuffer *)data;
- orig_evgl_api_glBindVertexBuffer(thread_param->bindingindex,
- thread_param->buffer,
- thread_param->offset,
- thread_param->stride);
+ orig_evgl_api_glBindVertexBuffer(thread_data->bindingindex,
+ thread_data->buffer,
+ thread_data->offset,
+ thread_data->stride);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glBindVertexBuffer thread_param_local;
- EVGL_API_Thread_Command_glBindVertexBuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glBindVertexBuffer thread_data_local;
+ EVGL_API_Thread_Command_glBindVertexBuffer *thread_data = &thread_data_local;
- thread_param->bindingindex = bindingindex;
- thread_param->buffer = buffer;
- thread_param->offset = offset;
- thread_param->stride = stride;
+ thread_data->bindingindex = bindingindex;
+ thread_data->buffer = buffer;
+ thread_data->offset = offset;
+ thread_data->stride = stride;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glBindVertexBuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
+ * void
+ * glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribFormat(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribFormat *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribFormat *thread_data =
(EVGL_API_Thread_Command_glVertexAttribFormat *)data;
- orig_evgl_api_glVertexAttribFormat(thread_param->attribindex,
- thread_param->size,
- thread_param->type,
- thread_param->normalized,
- thread_param->relativeoffset);
+ orig_evgl_api_glVertexAttribFormat(thread_data->attribindex,
+ thread_data->size,
+ thread_data->type,
+ thread_data->normalized,
+ thread_data->relativeoffset);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribFormat thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribFormat *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribFormat thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribFormat *thread_data = &thread_data_local;
- thread_param->attribindex = attribindex;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->normalized = normalized;
- thread_param->relativeoffset = relativeoffset;
+ thread_data->attribindex = attribindex;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->normalized = normalized;
+ thread_data->relativeoffset = relativeoffset;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribFormat,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttribIFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
+ * void
+ * glVertexAttribIFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribIFormat(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribIFormat *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribIFormat *thread_data =
(EVGL_API_Thread_Command_glVertexAttribIFormat *)data;
- orig_evgl_api_glVertexAttribIFormat(thread_param->attribindex,
- thread_param->size,
- thread_param->type,
- thread_param->relativeoffset);
+ orig_evgl_api_glVertexAttribIFormat(thread_data->attribindex,
+ thread_data->size,
+ thread_data->type,
+ thread_data->relativeoffset);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribIFormat thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribIFormat *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribIFormat thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribIFormat *thread_data = &thread_data_local;
- thread_param->attribindex = attribindex;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->relativeoffset = relativeoffset;
+ thread_data->attribindex = attribindex;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->relativeoffset = relativeoffset;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribIFormat,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexAttribBinding(GLuint attribindex, GLuint bindingindex);
+ * void
+ * glVertexAttribBinding(GLuint attribindex, GLuint bindingindex);
*/
typedef struct
static void
_evgl_api_thread_glVertexAttribBinding(void *data)
{
- EVGL_API_Thread_Command_glVertexAttribBinding *thread_param =
+ EVGL_API_Thread_Command_glVertexAttribBinding *thread_data =
(EVGL_API_Thread_Command_glVertexAttribBinding *)data;
- orig_evgl_api_glVertexAttribBinding(thread_param->attribindex,
- thread_param->bindingindex);
+ orig_evgl_api_glVertexAttribBinding(thread_data->attribindex,
+ thread_data->bindingindex);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexAttribBinding thread_param_local;
- EVGL_API_Thread_Command_glVertexAttribBinding *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexAttribBinding thread_data_local;
+ EVGL_API_Thread_Command_glVertexAttribBinding *thread_data = &thread_data_local;
- thread_param->attribindex = attribindex;
- thread_param->bindingindex = bindingindex;
+ thread_data->attribindex = attribindex;
+ thread_data->bindingindex = bindingindex;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexAttribBinding,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glVertexBindingDivisor(GLuint bindingindex, GLuint divisor);
+ * void
+ * glVertexBindingDivisor(GLuint bindingindex, GLuint divisor);
*/
typedef struct
static void
_evgl_api_thread_glVertexBindingDivisor(void *data)
{
- EVGL_API_Thread_Command_glVertexBindingDivisor *thread_param =
+ EVGL_API_Thread_Command_glVertexBindingDivisor *thread_data =
(EVGL_API_Thread_Command_glVertexBindingDivisor *)data;
- orig_evgl_api_glVertexBindingDivisor(thread_param->bindingindex,
- thread_param->divisor);
+ orig_evgl_api_glVertexBindingDivisor(thread_data->bindingindex,
+ thread_data->divisor);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glVertexBindingDivisor thread_param_local;
- EVGL_API_Thread_Command_glVertexBindingDivisor *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glVertexBindingDivisor thread_data_local;
+ EVGL_API_Thread_Command_glVertexBindingDivisor *thread_data = &thread_data_local;
- thread_param->bindingindex = bindingindex;
- thread_param->divisor = divisor;
+ thread_data->bindingindex = bindingindex;
+ thread_data->divisor = divisor;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glVertexBindingDivisor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEGLImageTargetTexture2DOES(GLenum target, void *image);
+ * void
+ * glEGLImageTargetTexture2DOES(GLenum target, void *image);
*/
typedef struct
static void
_evgl_api_thread_glEGLImageTargetTexture2DOES(void *data)
{
- EVGL_API_Thread_Command_glEGLImageTargetTexture2DOES *thread_param =
+ EVGL_API_Thread_Command_glEGLImageTargetTexture2DOES *thread_data =
(EVGL_API_Thread_Command_glEGLImageTargetTexture2DOES *)data;
- orig_evgl_api_glEGLImageTargetTexture2DOES(thread_param->target,
- thread_param->image);
+ orig_evgl_api_glEGLImageTargetTexture2DOES(thread_data->target,
+ thread_data->image);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEGLImageTargetTexture2DOES thread_param_local;
- EVGL_API_Thread_Command_glEGLImageTargetTexture2DOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEGLImageTargetTexture2DOES thread_data_local;
+ EVGL_API_Thread_Command_glEGLImageTargetTexture2DOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->image = image;
+ thread_data->target = target;
+ thread_data->image = image;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEGLImageTargetTexture2DOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEGLImageTargetRenderbufferStorageOES(GLenum target, void *image);
+ * void
+ * glEGLImageTargetRenderbufferStorageOES(GLenum target, void *image);
*/
typedef struct
static void
_evgl_api_thread_glEGLImageTargetRenderbufferStorageOES(void *data)
{
- EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES *thread_param =
+ EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES *thread_data =
(EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES *)data;
- orig_evgl_api_glEGLImageTargetRenderbufferStorageOES(thread_param->target,
- thread_param->image);
+ orig_evgl_api_glEGLImageTargetRenderbufferStorageOES(thread_data->target,
+ thread_data->image);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES thread_param_local;
- EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES thread_data_local;
+ EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES));
- if (thread_param_new)
+ EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_API_Thread_Command_glEGLImageTargetRenderbufferStorageOES));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->image = image;
+ thread_data->target = target;
+ thread_data->image = image;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread_glEGLImageTargetRenderbufferStorageOES,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- _evgl_glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum* attachments);
+ * void
+ * _evgl_glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum* attachments);
*/
typedef struct
static void
_evgl_api_thread__evgl_glDiscardFramebufferEXT(void *data)
{
- EVGL_API_Thread_Command__evgl_glDiscardFramebufferEXT *thread_param =
+ EVGL_API_Thread_Command__evgl_glDiscardFramebufferEXT *thread_data =
(EVGL_API_Thread_Command__evgl_glDiscardFramebufferEXT *)data;
- orig_evgl_api__evgl_glDiscardFramebufferEXT(thread_param->target,
- thread_param->numAttachments,
- thread_param->attachments);
+ orig_evgl_api__evgl_glDiscardFramebufferEXT(thread_data->target,
+ thread_data->numAttachments,
+ thread_data->attachments);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_glDiscardFramebufferEXT thread_param_local;
- EVGL_API_Thread_Command__evgl_glDiscardFramebufferEXT *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_glDiscardFramebufferEXT thread_data_local;
+ EVGL_API_Thread_Command__evgl_glDiscardFramebufferEXT *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->numAttachments = numAttachments;
- thread_param->attachments = attachments;
+ thread_data->target = target;
+ thread_data->numAttachments = numAttachments;
+ thread_data->attachments = attachments;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_glDiscardFramebufferEXT,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- _evgl_glEvasGLImageTargetTexture2D(GLenum target, EvasGLImage image);
+ * void
+ * _evgl_glEvasGLImageTargetTexture2D(GLenum target, EvasGLImage image);
*/
typedef struct
static void
_evgl_api_thread__evgl_glEvasGLImageTargetTexture2D(void *data)
{
- EVGL_API_Thread_Command__evgl_glEvasGLImageTargetTexture2D *thread_param =
+ EVGL_API_Thread_Command__evgl_glEvasGLImageTargetTexture2D *thread_data =
(EVGL_API_Thread_Command__evgl_glEvasGLImageTargetTexture2D *)data;
- orig_evgl_api__evgl_glEvasGLImageTargetTexture2D(thread_param->target,
- thread_param->image);
+ orig_evgl_api__evgl_glEvasGLImageTargetTexture2D(thread_data->target,
+ thread_data->image);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_glEvasGLImageTargetTexture2D thread_param_local;
- EVGL_API_Thread_Command__evgl_glEvasGLImageTargetTexture2D *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_glEvasGLImageTargetTexture2D thread_data_local;
+ EVGL_API_Thread_Command__evgl_glEvasGLImageTargetTexture2D *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->image = image;
+ thread_data->target = target;
+ thread_data->image = image;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_glEvasGLImageTargetTexture2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- _evgl_glEvasGLImageTargetRenderbufferStorage(GLenum target, EvasGLImage image);
+ * void
+ * _evgl_glEvasGLImageTargetRenderbufferStorage(GLenum target, EvasGLImage image);
*/
typedef struct
static void
_evgl_api_thread__evgl_glEvasGLImageTargetRenderbufferStorage(void *data)
{
- EVGL_API_Thread_Command__evgl_glEvasGLImageTargetRenderbufferStorage *thread_param =
+ EVGL_API_Thread_Command__evgl_glEvasGLImageTargetRenderbufferStorage *thread_data =
(EVGL_API_Thread_Command__evgl_glEvasGLImageTargetRenderbufferStorage *)data;
- orig_evgl_api__evgl_glEvasGLImageTargetRenderbufferStorage(thread_param->target,
- thread_param->image);
+ orig_evgl_api__evgl_glEvasGLImageTargetRenderbufferStorage(thread_data->target,
+ thread_data->image);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_glEvasGLImageTargetRenderbufferStorage thread_param_local;
- EVGL_API_Thread_Command__evgl_glEvasGLImageTargetRenderbufferStorage *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_glEvasGLImageTargetRenderbufferStorage thread_data_local;
+ EVGL_API_Thread_Command__evgl_glEvasGLImageTargetRenderbufferStorage *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->image = image;
+ thread_data->target = target;
+ thread_data->image = image;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_glEvasGLImageTargetRenderbufferStorage,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- EvasGLImage
- _evgl_evasglCreateImage(int target, void* buffer, const int *attrib_list);
+ * EvasGLImage
+ * _evgl_evasglCreateImage(int target, void* buffer, const int *attrib_list);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglCreateImage(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglCreateImage *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglCreateImage *thread_data =
(EVGL_API_Thread_Command__evgl_evasglCreateImage *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglCreateImage(thread_param->target,
- thread_param->buffer,
- thread_param->attrib_list);
+ thread_data->return_value = orig_evgl_api__evgl_evasglCreateImage(thread_data->target,
+ thread_data->buffer,
+ thread_data->attrib_list);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglCreateImage thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglCreateImage *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglCreateImage thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglCreateImage *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->buffer = buffer;
- thread_param->attrib_list = attrib_list;
+ thread_data->target = target;
+ thread_data->buffer = buffer;
+ thread_data->attrib_list = attrib_list;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglCreateImage,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- _evgl_evasglDestroyImage(EvasGLImage image);
+ * void
+ * _evgl_evasglDestroyImage(EvasGLImage image);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglDestroyImage(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglDestroyImage *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglDestroyImage *thread_data =
(EVGL_API_Thread_Command__evgl_evasglDestroyImage *)data;
- orig_evgl_api__evgl_evasglDestroyImage(thread_param->image);
+ orig_evgl_api__evgl_evasglDestroyImage(thread_data->image);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglDestroyImage thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglDestroyImage *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglDestroyImage thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglDestroyImage *thread_data = &thread_data_local;
- thread_param->image = image;
+ thread_data->image = image;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglDestroyImage,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- EvasGLImage
- _evgl_evasglCreateImageForContext(Evas_GL *evas_gl, Evas_GL_Context *ctx, int target, void* buffer, const int *attrib_list);
+ * EvasGLImage
+ * _evgl_evasglCreateImageForContext(Evas_GL *evas_gl, Evas_GL_Context *ctx, int target, void* buffer, const int *attrib_list);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglCreateImageForContext(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglCreateImageForContext *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglCreateImageForContext *thread_data =
(EVGL_API_Thread_Command__evgl_evasglCreateImageForContext *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglCreateImageForContext(thread_param->evas_gl,
- thread_param->ctx,
- thread_param->target,
- thread_param->buffer,
- thread_param->attrib_list);
+ thread_data->return_value = orig_evgl_api__evgl_evasglCreateImageForContext(thread_data->evas_gl,
+ thread_data->ctx,
+ thread_data->target,
+ thread_data->buffer,
+ thread_data->attrib_list);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglCreateImageForContext thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglCreateImageForContext *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglCreateImageForContext thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglCreateImageForContext *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->ctx = ctx;
- thread_param->target = target;
- thread_param->buffer = buffer;
- thread_param->attrib_list = attrib_list;
+ thread_data->evas_gl = evas_gl;
+ thread_data->ctx = ctx;
+ thread_data->target = target;
+ thread_data->buffer = buffer;
+ thread_data->attrib_list = attrib_list;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglCreateImageForContext,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- EvasGLSync
- _evgl_evasglCreateSync(Evas_GL *evas_gl, unsigned int type, const int *attrib_list);
+ * EvasGLSync
+ * _evgl_evasglCreateSync(Evas_GL *evas_gl, unsigned int type, const int *attrib_list);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglCreateSync(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglCreateSync *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglCreateSync *thread_data =
(EVGL_API_Thread_Command__evgl_evasglCreateSync *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglCreateSync(thread_param->evas_gl,
- thread_param->type,
- thread_param->attrib_list);
+ thread_data->return_value = orig_evgl_api__evgl_evasglCreateSync(thread_data->evas_gl,
+ thread_data->type,
+ thread_data->attrib_list);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglCreateSync thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglCreateSync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglCreateSync thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglCreateSync *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->type = type;
- thread_param->attrib_list = attrib_list;
+ thread_data->evas_gl = evas_gl;
+ thread_data->type = type;
+ thread_data->attrib_list = attrib_list;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglCreateSync,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- Eina_Bool
- _evgl_evasglDestroySync(Evas_GL *evas_gl, EvasGLSync sync);
+ * Eina_Bool
+ * _evgl_evasglDestroySync(Evas_GL *evas_gl, EvasGLSync sync);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglDestroySync(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglDestroySync *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglDestroySync *thread_data =
(EVGL_API_Thread_Command__evgl_evasglDestroySync *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglDestroySync(thread_param->evas_gl,
- thread_param->sync);
+ thread_data->return_value = orig_evgl_api__evgl_evasglDestroySync(thread_data->evas_gl,
+ thread_data->sync);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglDestroySync thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglDestroySync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglDestroySync thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglDestroySync *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->sync = sync;
+ thread_data->evas_gl = evas_gl;
+ thread_data->sync = sync;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglDestroySync,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- int
- _evgl_evasglClientWaitSync(Evas_GL *evas_gl, EvasGLSync sync);
+ * int
+ * _evgl_evasglClientWaitSync(Evas_GL *evas_gl, EvasGLSync sync);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglClientWaitSync(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglClientWaitSync *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglClientWaitSync *thread_data =
(EVGL_API_Thread_Command__evgl_evasglClientWaitSync *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglClientWaitSync(thread_param->evas_gl,
- thread_param->sync);
+ thread_data->return_value = orig_evgl_api__evgl_evasglClientWaitSync(thread_data->evas_gl,
+ thread_data->sync);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglClientWaitSync thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglClientWaitSync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglClientWaitSync thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglClientWaitSync *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->sync = sync;
+ thread_data->evas_gl = evas_gl;
+ thread_data->sync = sync;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglClientWaitSync,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- Eina_Bool
- _evgl_evasglGetSyncAttrib(Evas_GL *evas_gl, EvasGLSync sync, int attribute, int *value);
+ * Eina_Bool
+ * _evgl_evasglGetSyncAttrib(Evas_GL *evas_gl, EvasGLSync sync, int attribute, int *value);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglGetSyncAttrib(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglGetSyncAttrib *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglGetSyncAttrib *thread_data =
(EVGL_API_Thread_Command__evgl_evasglGetSyncAttrib *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglGetSyncAttrib(thread_param->evas_gl,
- thread_param->sync,
- thread_param->attribute,
- thread_param->value);
+ thread_data->return_value = orig_evgl_api__evgl_evasglGetSyncAttrib(thread_data->evas_gl,
+ thread_data->sync,
+ thread_data->attribute,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglGetSyncAttrib thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglGetSyncAttrib *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglGetSyncAttrib thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglGetSyncAttrib *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->sync = sync;
- thread_param->attribute = attribute;
- thread_param->value = value;
+ thread_data->evas_gl = evas_gl;
+ thread_data->sync = sync;
+ thread_data->attribute = attribute;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglGetSyncAttrib,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- Eina_Bool
- _evgl_evasglSignalSync(Evas_GL *evas_gl, EvasGLSync sync, unsigned mode);
+ * Eina_Bool
+ * _evgl_evasglSignalSync(Evas_GL *evas_gl, EvasGLSync sync, unsigned mode);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglSignalSync(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglSignalSync *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglSignalSync *thread_data =
(EVGL_API_Thread_Command__evgl_evasglSignalSync *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglSignalSync(thread_param->evas_gl,
- thread_param->sync,
- thread_param->mode);
+ thread_data->return_value = orig_evgl_api__evgl_evasglSignalSync(thread_data->evas_gl,
+ thread_data->sync,
+ thread_data->mode);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglSignalSync thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglSignalSync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglSignalSync thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglSignalSync *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->sync = sync;
- thread_param->mode = mode;
+ thread_data->evas_gl = evas_gl;
+ thread_data->sync = sync;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglSignalSync,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- int
- _evgl_evasglWaitSync(Evas_GL *evas_gl, EvasGLSync sync, int flags);
+ * int
+ * _evgl_evasglWaitSync(Evas_GL *evas_gl, EvasGLSync sync, int flags);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglWaitSync(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglWaitSync *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglWaitSync *thread_data =
(EVGL_API_Thread_Command__evgl_evasglWaitSync *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglWaitSync(thread_param->evas_gl,
- thread_param->sync,
- thread_param->flags);
+ thread_data->return_value = orig_evgl_api__evgl_evasglWaitSync(thread_data->evas_gl,
+ thread_data->sync,
+ thread_data->flags);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglWaitSync thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglWaitSync *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglWaitSync thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglWaitSync *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->sync = sync;
- thread_param->flags = flags;
+ thread_data->evas_gl = evas_gl;
+ thread_data->sync = sync;
+ thread_data->flags = flags;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglWaitSync,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- Eina_Bool
- _evgl_evasglBindWaylandDisplay(Evas_GL *evas_gl, void *wl_display);
+ * Eina_Bool
+ * _evgl_evasglBindWaylandDisplay(Evas_GL *evas_gl, void *wl_display);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglBindWaylandDisplay(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglBindWaylandDisplay *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglBindWaylandDisplay *thread_data =
(EVGL_API_Thread_Command__evgl_evasglBindWaylandDisplay *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglBindWaylandDisplay(thread_param->evas_gl,
- thread_param->wl_display);
+ thread_data->return_value = orig_evgl_api__evgl_evasglBindWaylandDisplay(thread_data->evas_gl,
+ thread_data->wl_display);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglBindWaylandDisplay thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglBindWaylandDisplay *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglBindWaylandDisplay thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglBindWaylandDisplay *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->wl_display = wl_display;
+ thread_data->evas_gl = evas_gl;
+ thread_data->wl_display = wl_display;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglBindWaylandDisplay,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- Eina_Bool
- _evgl_evasglUnbindWaylandDisplay(Evas_GL *evas_gl, void *wl_display);
+ * Eina_Bool
+ * _evgl_evasglUnbindWaylandDisplay(Evas_GL *evas_gl, void *wl_display);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglUnbindWaylandDisplay(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglUnbindWaylandDisplay *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglUnbindWaylandDisplay *thread_data =
(EVGL_API_Thread_Command__evgl_evasglUnbindWaylandDisplay *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglUnbindWaylandDisplay(thread_param->evas_gl,
- thread_param->wl_display);
+ thread_data->return_value = orig_evgl_api__evgl_evasglUnbindWaylandDisplay(thread_data->evas_gl,
+ thread_data->wl_display);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglUnbindWaylandDisplay thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglUnbindWaylandDisplay *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglUnbindWaylandDisplay thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglUnbindWaylandDisplay *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->wl_display = wl_display;
+ thread_data->evas_gl = evas_gl;
+ thread_data->wl_display = wl_display;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglUnbindWaylandDisplay,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- Eina_Bool
- _evgl_evasglQueryWaylandBuffer(Evas_GL *evas_gl, void *buffer, int attribute, int *value);
+ * Eina_Bool
+ * _evgl_evasglQueryWaylandBuffer(Evas_GL *evas_gl, void *buffer, int attribute, int *value);
*/
typedef struct
static void
_evgl_api_thread__evgl_evasglQueryWaylandBuffer(void *data)
{
- EVGL_API_Thread_Command__evgl_evasglQueryWaylandBuffer *thread_param =
+ EVGL_API_Thread_Command__evgl_evasglQueryWaylandBuffer *thread_data =
(EVGL_API_Thread_Command__evgl_evasglQueryWaylandBuffer *)data;
- thread_param->return_value = orig_evgl_api__evgl_evasglQueryWaylandBuffer(thread_param->evas_gl,
- thread_param->buffer,
- thread_param->attribute,
- thread_param->value);
+ thread_data->return_value = orig_evgl_api__evgl_evasglQueryWaylandBuffer(thread_data->evas_gl,
+ thread_data->buffer,
+ thread_data->attribute,
+ thread_data->value);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_API_Thread_Command__evgl_evasglQueryWaylandBuffer thread_param_local;
- EVGL_API_Thread_Command__evgl_evasglQueryWaylandBuffer *thread_param = &thread_param_local;
+ EVGL_API_Thread_Command__evgl_evasglQueryWaylandBuffer thread_data_local;
+ EVGL_API_Thread_Command__evgl_evasglQueryWaylandBuffer *thread_data = &thread_data_local;
- thread_param->evas_gl = evas_gl;
- thread_param->buffer = buffer;
- thread_param->attribute = attribute;
- thread_param->value = value;
+ thread_data->evas_gl = evas_gl;
+ thread_data->buffer = buffer;
+ thread_data->attribute = attribute;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_api_thread__evgl_evasglQueryWaylandBuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
-/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */
-
+/*
+ * This is an automatically generated file using a python script.
+ * ($EFL_HOME/src/utils/evas/generate_gl_thread_api.py)
+ * Recommend that you modify data files ($EFL_HOME/src/utils/evas/gl_api_def.txt)
+ * and make use of scripts if you need to fix them.
+ */
/*
- GLenum
- glGetError(void);
+ * GLenum
+ * glGetError(void);
*/
typedef struct
static void
_evgl_thread_glGetError(void *data)
{
- EVGL_Thread_Command_glGetError *thread_param =
+ EVGL_Thread_Command_glGetError *thread_data =
(EVGL_Thread_Command_glGetError *)data;
- thread_param->return_value = glGetError();
+ thread_data->return_value = glGetError();
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetError thread_param_local;
- EVGL_Thread_Command_glGetError *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetError thread_data_local;
+ EVGL_Thread_Command_glGetError *thread_data = &thread_data_local;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetError,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+ * void
+ * glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
*/
typedef struct
static void
_evgl_thread_glVertexAttribPointer(void *data)
{
- EVGL_Thread_Command_glVertexAttribPointer *thread_param =
+ EVGL_Thread_Command_glVertexAttribPointer *thread_data =
(EVGL_Thread_Command_glVertexAttribPointer *)data;
- glVertexAttribPointer(thread_param->index,
- thread_param->size,
- thread_param->type,
- thread_param->normalized,
- thread_param->stride,
- thread_param->pointer);
+ glVertexAttribPointer(thread_data->index,
+ thread_data->size,
+ thread_data->type,
+ thread_data->normalized,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glVertexAttribPointer thread_param_local;
- EVGL_Thread_Command_glVertexAttribPointer *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glVertexAttribPointer thread_data_local;
+ EVGL_Thread_Command_glVertexAttribPointer *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->normalized = normalized;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->index = index;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->normalized = normalized;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glVertexAttribPointer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEnableVertexAttribArray(GLuint index);
+ * void
+ * glEnableVertexAttribArray(GLuint index);
*/
typedef struct
static void
_evgl_thread_glEnableVertexAttribArray(void *data)
{
- EVGL_Thread_Command_glEnableVertexAttribArray *thread_param =
+ EVGL_Thread_Command_glEnableVertexAttribArray *thread_data =
(EVGL_Thread_Command_glEnableVertexAttribArray *)data;
- glEnableVertexAttribArray(thread_param->index);
+ glEnableVertexAttribArray(thread_data->index);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glEnableVertexAttribArray thread_param_local;
- EVGL_Thread_Command_glEnableVertexAttribArray *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glEnableVertexAttribArray thread_data_local;
+ EVGL_Thread_Command_glEnableVertexAttribArray *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glEnableVertexAttribArray *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glEnableVertexAttribArray));
- if (thread_param_new)
+ EVGL_Thread_Command_glEnableVertexAttribArray *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glEnableVertexAttribArray));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->index = index;
+ thread_data->index = index;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glEnableVertexAttribArray,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDisableVertexAttribArray(GLuint index);
+ * void
+ * glDisableVertexAttribArray(GLuint index);
*/
typedef struct
static void
_evgl_thread_glDisableVertexAttribArray(void *data)
{
- EVGL_Thread_Command_glDisableVertexAttribArray *thread_param =
+ EVGL_Thread_Command_glDisableVertexAttribArray *thread_data =
(EVGL_Thread_Command_glDisableVertexAttribArray *)data;
- glDisableVertexAttribArray(thread_param->index);
+ glDisableVertexAttribArray(thread_data->index);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDisableVertexAttribArray thread_param_local;
- EVGL_Thread_Command_glDisableVertexAttribArray *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDisableVertexAttribArray thread_data_local;
+ EVGL_Thread_Command_glDisableVertexAttribArray *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDisableVertexAttribArray *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDisableVertexAttribArray));
- if (thread_param_new)
+ EVGL_Thread_Command_glDisableVertexAttribArray *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDisableVertexAttribArray));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->index = index;
+ thread_data->index = index;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDisableVertexAttribArray,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawArrays(GLenum mode, GLint first, GLsizei count);
+ * void
+ * glDrawArrays(GLenum mode, GLint first, GLsizei count);
*/
typedef struct
static void
_evgl_thread_glDrawArrays(void *data)
{
- EVGL_Thread_Command_glDrawArrays *thread_param =
+ EVGL_Thread_Command_glDrawArrays *thread_data =
(EVGL_Thread_Command_glDrawArrays *)data;
- glDrawArrays(thread_param->mode,
- thread_param->first,
- thread_param->count);
+ glDrawArrays(thread_data->mode,
+ thread_data->first,
+ thread_data->count);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDrawArrays thread_param_local;
- EVGL_Thread_Command_glDrawArrays *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDrawArrays thread_data_local;
+ EVGL_Thread_Command_glDrawArrays *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->first = first;
- thread_param->count = count;
+ thread_data->mode = mode;
+ thread_data->first = first;
+ thread_data->count = count;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDrawArrays,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices);
+ * void
+ * glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices);
*/
typedef struct
static void
_evgl_thread_glDrawElements(void *data)
{
- EVGL_Thread_Command_glDrawElements *thread_param =
+ EVGL_Thread_Command_glDrawElements *thread_data =
(EVGL_Thread_Command_glDrawElements *)data;
- glDrawElements(thread_param->mode,
- thread_param->count,
- thread_param->type,
- thread_param->indices);
+ glDrawElements(thread_data->mode,
+ thread_data->count,
+ thread_data->type,
+ thread_data->indices);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDrawElements thread_param_local;
- EVGL_Thread_Command_glDrawElements *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDrawElements thread_data_local;
+ EVGL_Thread_Command_glDrawElements *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->count = count;
- thread_param->type = type;
- thread_param->indices = indices;
+ thread_data->mode = mode;
+ thread_data->count = count;
+ thread_data->type = type;
+ thread_data->indices = indices;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDrawElements,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenBuffers(GLsizei n, GLuint *buffers);
+ * void
+ * glGenBuffers(GLsizei n, GLuint *buffers);
*/
typedef struct
static void
_evgl_thread_glGenBuffers(void *data)
{
- EVGL_Thread_Command_glGenBuffers *thread_param =
+ EVGL_Thread_Command_glGenBuffers *thread_data =
(EVGL_Thread_Command_glGenBuffers *)data;
- glGenBuffers(thread_param->n,
- thread_param->buffers);
+ glGenBuffers(thread_data->n,
+ thread_data->buffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGenBuffers thread_param_local;
- EVGL_Thread_Command_glGenBuffers *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGenBuffers thread_data_local;
+ EVGL_Thread_Command_glGenBuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->buffers = buffers;
+ thread_data->n = n;
+ thread_data->buffers = buffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGenBuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteBuffers(GLsizei n, const GLuint *buffers);
+ * void
+ * glDeleteBuffers(GLsizei n, const GLuint *buffers);
*/
typedef struct
static void
_evgl_thread_glDeleteBuffers(void *data)
{
- EVGL_Thread_Command_glDeleteBuffers *thread_param =
+ EVGL_Thread_Command_glDeleteBuffers *thread_data =
(EVGL_Thread_Command_glDeleteBuffers *)data;
- glDeleteBuffers(thread_param->n,
- thread_param->buffers);
+ glDeleteBuffers(thread_data->n,
+ thread_data->buffers);
- if (thread_param->buffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->buffers_copied);
+ if (thread_data->buffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->buffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDeleteBuffers thread_param_local;
- EVGL_Thread_Command_glDeleteBuffers *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDeleteBuffers thread_data_local;
+ EVGL_Thread_Command_glDeleteBuffers *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDeleteBuffers *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDeleteBuffers));
- if (thread_param_new)
+ EVGL_Thread_Command_glDeleteBuffers *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDeleteBuffers));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->buffers = buffers;
+ thread_data->n = n;
+ thread_data->buffers = buffers;
- thread_param->buffers_copied = NULL;
+ thread_data->buffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->buffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->buffers_copied)
+ thread_data->buffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->buffers_copied)
{
- memcpy(thread_param->buffers_copied, buffers, copy_size);
+ memcpy(thread_data->buffers_copied, buffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->buffers = (const GLuint *)thread_param->buffers_copied;
+ thread_data->buffers = (const GLuint *)thread_data->buffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDeleteBuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindBuffer(GLenum target, GLuint buffer);
+ * void
+ * glBindBuffer(GLenum target, GLuint buffer);
*/
typedef struct
static void
_evgl_thread_glBindBuffer(void *data)
{
- EVGL_Thread_Command_glBindBuffer *thread_param =
+ EVGL_Thread_Command_glBindBuffer *thread_data =
(EVGL_Thread_Command_glBindBuffer *)data;
- glBindBuffer(thread_param->target,
- thread_param->buffer);
+ glBindBuffer(thread_data->target,
+ thread_data->buffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glBindBuffer thread_param_local;
- EVGL_Thread_Command_glBindBuffer *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glBindBuffer thread_data_local;
+ EVGL_Thread_Command_glBindBuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glBindBuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glBindBuffer));
- if (thread_param_new)
+ EVGL_Thread_Command_glBindBuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glBindBuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->buffer = buffer;
+ thread_data->target = target;
+ thread_data->buffer = buffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glBindBuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage);
+ * void
+ * glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage);
*/
typedef struct
static void
_evgl_thread_glBufferData(void *data)
{
- EVGL_Thread_Command_glBufferData *thread_param =
+ EVGL_Thread_Command_glBufferData *thread_data =
(EVGL_Thread_Command_glBufferData *)data;
- glBufferData(thread_param->target,
- thread_param->size,
- thread_param->data,
- thread_param->usage);
+ glBufferData(thread_data->target,
+ thread_data->size,
+ thread_data->data,
+ thread_data->usage);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glBufferData thread_param_local;
- EVGL_Thread_Command_glBufferData *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glBufferData thread_data_local;
+ EVGL_Thread_Command_glBufferData *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->size = size;
- thread_param->data = data;
- thread_param->usage = usage;
+ thread_data->target = target;
+ thread_data->size = size;
+ thread_data->data = data;
+ thread_data->usage = usage;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glBufferData,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLuint
- glCreateShader(GLenum type);
+ * GLuint
+ * glCreateShader(GLenum type);
*/
typedef struct
static void
_evgl_thread_glCreateShader(void *data)
{
- EVGL_Thread_Command_glCreateShader *thread_param =
+ EVGL_Thread_Command_glCreateShader *thread_data =
(EVGL_Thread_Command_glCreateShader *)data;
- thread_param->return_value = glCreateShader(thread_param->type);
+ thread_data->return_value = glCreateShader(thread_data->type);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glCreateShader thread_param_local;
- EVGL_Thread_Command_glCreateShader *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glCreateShader thread_data_local;
+ EVGL_Thread_Command_glCreateShader *thread_data = &thread_data_local;
- thread_param->type = type;
+ thread_data->type = type;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glCreateShader,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glShaderSource(GLuint shader, GLsizei count, const GLchar **string, const GLint *length);
+ * void
+ * glShaderSource(GLuint shader, GLsizei count, const GLchar **string, const GLint *length);
*/
typedef struct
static void
_evgl_thread_glShaderSource(void *data)
{
- EVGL_Thread_Command_glShaderSource *thread_param =
+ EVGL_Thread_Command_glShaderSource *thread_data =
(EVGL_Thread_Command_glShaderSource *)data;
- glShaderSource(thread_param->shader,
- thread_param->count,
- thread_param->string,
- thread_param->length);
+ glShaderSource(thread_data->shader,
+ thread_data->count,
+ thread_data->string,
+ thread_data->length);
GLSHADERSOURCE_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glShaderSource thread_param_local;
- EVGL_Thread_Command_glShaderSource *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glShaderSource thread_data_local;
+ EVGL_Thread_Command_glShaderSource *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glShaderSource *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glShaderSource));
- if (thread_param_new)
+ EVGL_Thread_Command_glShaderSource *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glShaderSource));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->shader = shader;
- thread_param->count = count;
- thread_param->string = string;
- thread_param->length = length;
+ thread_data->shader = shader;
+ thread_data->count = count;
+ thread_data->string = string;
+ thread_data->length = length;
GLSHADERSOURCE_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glShaderSource,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompileShader(GLuint shader);
+ * void
+ * glCompileShader(GLuint shader);
*/
typedef struct
static void
_evgl_thread_glCompileShader(void *data)
{
- EVGL_Thread_Command_glCompileShader *thread_param =
+ EVGL_Thread_Command_glCompileShader *thread_data =
(EVGL_Thread_Command_glCompileShader *)data;
- glCompileShader(thread_param->shader);
+ glCompileShader(thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glCompileShader thread_param_local;
- EVGL_Thread_Command_glCompileShader *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glCompileShader thread_data_local;
+ EVGL_Thread_Command_glCompileShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glCompileShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glCompileShader));
- if (thread_param_new)
+ EVGL_Thread_Command_glCompileShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glCompileShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->shader = shader;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glCompileShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteShader(GLuint shader);
+ * void
+ * glDeleteShader(GLuint shader);
*/
typedef struct
static void
_evgl_thread_glDeleteShader(void *data)
{
- EVGL_Thread_Command_glDeleteShader *thread_param =
+ EVGL_Thread_Command_glDeleteShader *thread_data =
(EVGL_Thread_Command_glDeleteShader *)data;
- glDeleteShader(thread_param->shader);
+ glDeleteShader(thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDeleteShader thread_param_local;
- EVGL_Thread_Command_glDeleteShader *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDeleteShader thread_data_local;
+ EVGL_Thread_Command_glDeleteShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDeleteShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDeleteShader));
- if (thread_param_new)
+ EVGL_Thread_Command_glDeleteShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDeleteShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->shader = shader;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDeleteShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLuint
- glCreateProgram(void);
+ * GLuint
+ * glCreateProgram(void);
*/
typedef struct
static void
_evgl_thread_glCreateProgram(void *data)
{
- EVGL_Thread_Command_glCreateProgram *thread_param =
+ EVGL_Thread_Command_glCreateProgram *thread_data =
(EVGL_Thread_Command_glCreateProgram *)data;
- thread_param->return_value = glCreateProgram();
+ thread_data->return_value = glCreateProgram();
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glCreateProgram thread_param_local;
- EVGL_Thread_Command_glCreateProgram *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glCreateProgram thread_data_local;
+ EVGL_Thread_Command_glCreateProgram *thread_data = &thread_data_local;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glCreateProgram,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glAttachShader(GLuint program, GLuint shader);
+ * void
+ * glAttachShader(GLuint program, GLuint shader);
*/
typedef struct
static void
_evgl_thread_glAttachShader(void *data)
{
- EVGL_Thread_Command_glAttachShader *thread_param =
+ EVGL_Thread_Command_glAttachShader *thread_data =
(EVGL_Thread_Command_glAttachShader *)data;
- glAttachShader(thread_param->program,
- thread_param->shader);
+ glAttachShader(thread_data->program,
+ thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glAttachShader thread_param_local;
- EVGL_Thread_Command_glAttachShader *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glAttachShader thread_data_local;
+ EVGL_Thread_Command_glAttachShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glAttachShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glAttachShader));
- if (thread_param_new)
+ EVGL_Thread_Command_glAttachShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glAttachShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->shader = shader;
+ thread_data->program = program;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glAttachShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDetachShader(GLuint program, GLuint shader);
+ * void
+ * glDetachShader(GLuint program, GLuint shader);
*/
typedef struct
static void
_evgl_thread_glDetachShader(void *data)
{
- EVGL_Thread_Command_glDetachShader *thread_param =
+ EVGL_Thread_Command_glDetachShader *thread_data =
(EVGL_Thread_Command_glDetachShader *)data;
- glDetachShader(thread_param->program,
- thread_param->shader);
+ glDetachShader(thread_data->program,
+ thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDetachShader thread_param_local;
- EVGL_Thread_Command_glDetachShader *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDetachShader thread_data_local;
+ EVGL_Thread_Command_glDetachShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDetachShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDetachShader));
- if (thread_param_new)
+ EVGL_Thread_Command_glDetachShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDetachShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->shader = shader;
+ thread_data->program = program;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDetachShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLinkProgram(GLuint program);
+ * void
+ * glLinkProgram(GLuint program);
*/
typedef struct
static void
_evgl_thread_glLinkProgram(void *data)
{
- EVGL_Thread_Command_glLinkProgram *thread_param =
+ EVGL_Thread_Command_glLinkProgram *thread_data =
(EVGL_Thread_Command_glLinkProgram *)data;
- glLinkProgram(thread_param->program);
+ glLinkProgram(thread_data->program);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glLinkProgram thread_param_local;
- EVGL_Thread_Command_glLinkProgram *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glLinkProgram thread_data_local;
+ EVGL_Thread_Command_glLinkProgram *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glLinkProgram *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glLinkProgram));
- if (thread_param_new)
+ EVGL_Thread_Command_glLinkProgram *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glLinkProgram));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glLinkProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUseProgram(GLuint program);
+ * void
+ * glUseProgram(GLuint program);
*/
typedef struct
static void
_evgl_thread_glUseProgram(void *data)
{
- EVGL_Thread_Command_glUseProgram *thread_param =
+ EVGL_Thread_Command_glUseProgram *thread_data =
(EVGL_Thread_Command_glUseProgram *)data;
- glUseProgram(thread_param->program);
+ glUseProgram(thread_data->program);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUseProgram thread_param_local;
- EVGL_Thread_Command_glUseProgram *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUseProgram thread_data_local;
+ EVGL_Thread_Command_glUseProgram *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUseProgram *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUseProgram));
- if (thread_param_new)
+ EVGL_Thread_Command_glUseProgram *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUseProgram));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUseProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteProgram(GLuint program);
+ * void
+ * glDeleteProgram(GLuint program);
*/
typedef struct
static void
_evgl_thread_glDeleteProgram(void *data)
{
- EVGL_Thread_Command_glDeleteProgram *thread_param =
+ EVGL_Thread_Command_glDeleteProgram *thread_data =
(EVGL_Thread_Command_glDeleteProgram *)data;
- glDeleteProgram(thread_param->program);
+ glDeleteProgram(thread_data->program);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDeleteProgram thread_param_local;
- EVGL_Thread_Command_glDeleteProgram *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDeleteProgram thread_data_local;
+ EVGL_Thread_Command_glDeleteProgram *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDeleteProgram *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDeleteProgram));
- if (thread_param_new)
+ EVGL_Thread_Command_glDeleteProgram *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDeleteProgram));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDeleteProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
+ * void
+ * glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
*/
typedef struct
static void
_evgl_thread_glGetProgramBinary(void *data)
{
- EVGL_Thread_Command_glGetProgramBinary *thread_param =
+ EVGL_Thread_Command_glGetProgramBinary *thread_data =
(EVGL_Thread_Command_glGetProgramBinary *)data;
- orig_evgl_glGetProgramBinary(thread_param->program,
- thread_param->bufSize,
- thread_param->length,
- thread_param->binaryFormat,
- thread_param->binary);
+ orig_evgl_glGetProgramBinary(thread_data->program,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->binaryFormat,
+ thread_data->binary);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetProgramBinary thread_param_local;
- EVGL_Thread_Command_glGetProgramBinary *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetProgramBinary thread_data_local;
+ EVGL_Thread_Command_glGetProgramBinary *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->binaryFormat = binaryFormat;
- thread_param->binary = binary;
+ thread_data->program = program;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->binaryFormat = binaryFormat;
+ thread_data->binary = binary;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetProgramBinary,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLint length);
+ * void
+ * glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLint length);
*/
typedef struct
static void
_evgl_thread_glProgramBinary(void *data)
{
- EVGL_Thread_Command_glProgramBinary *thread_param =
+ EVGL_Thread_Command_glProgramBinary *thread_data =
(EVGL_Thread_Command_glProgramBinary *)data;
- orig_evgl_glProgramBinary(thread_param->program,
- thread_param->binaryFormat,
- thread_param->binary,
- thread_param->length);
+ orig_evgl_glProgramBinary(thread_data->program,
+ thread_data->binaryFormat,
+ thread_data->binary,
+ thread_data->length);
- if (thread_param->binary_copied)
- eina_mempool_free(_mp_default, thread_param->binary_copied);
+ if (thread_data->binary_copied)
+ eina_mempool_free(_mp_default, thread_data->binary_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glProgramBinary thread_param_local;
- EVGL_Thread_Command_glProgramBinary *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glProgramBinary thread_data_local;
+ EVGL_Thread_Command_glProgramBinary *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glProgramBinary *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glProgramBinary));
- if (thread_param_new)
+ EVGL_Thread_Command_glProgramBinary *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glProgramBinary));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->binaryFormat = binaryFormat;
- thread_param->binary = binary;
- thread_param->length = length;
+ thread_data->program = program;
+ thread_data->binaryFormat = binaryFormat;
+ thread_data->binary = binary;
+ thread_data->length = length;
- thread_param->binary_copied = NULL;
+ thread_data->binary_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->binary_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->binary_copied)
+ thread_data->binary_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->binary_copied)
{
- memcpy(thread_param->binary_copied, binary, copy_size);
+ memcpy(thread_data->binary_copied, binary, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->binary = (const void *)thread_param->binary_copied;
+ thread_data->binary = (const void *)thread_data->binary_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glProgramBinary,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+ * void
+ * glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
*/
typedef struct
static void
_evgl_thread_glGetActiveAttrib(void *data)
{
- EVGL_Thread_Command_glGetActiveAttrib *thread_param =
+ EVGL_Thread_Command_glGetActiveAttrib *thread_data =
(EVGL_Thread_Command_glGetActiveAttrib *)data;
- glGetActiveAttrib(thread_param->program,
- thread_param->index,
- thread_param->bufSize,
- thread_param->length,
- thread_param->size,
- thread_param->type,
- thread_param->name);
+ glGetActiveAttrib(thread_data->program,
+ thread_data->index,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->size,
+ thread_data->type,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetActiveAttrib thread_param_local;
- EVGL_Thread_Command_glGetActiveAttrib *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetActiveAttrib thread_data_local;
+ EVGL_Thread_Command_glGetActiveAttrib *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->index = index;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->index = index;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetActiveAttrib,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLint
- glGetAttribLocation(GLuint program, const GLchar *name);
+ * GLint
+ * glGetAttribLocation(GLuint program, const GLchar *name);
*/
typedef struct
static void
_evgl_thread_glGetAttribLocation(void *data)
{
- EVGL_Thread_Command_glGetAttribLocation *thread_param =
+ EVGL_Thread_Command_glGetAttribLocation *thread_data =
(EVGL_Thread_Command_glGetAttribLocation *)data;
- thread_param->return_value = glGetAttribLocation(thread_param->program,
- thread_param->name);
+ thread_data->return_value = glGetAttribLocation(thread_data->program,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetAttribLocation thread_param_local;
- EVGL_Thread_Command_glGetAttribLocation *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetAttribLocation thread_data_local;
+ EVGL_Thread_Command_glGetAttribLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetAttribLocation,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
+ * void
+ * glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
*/
typedef struct
static void
_evgl_thread_glBindAttribLocation(void *data)
{
- EVGL_Thread_Command_glBindAttribLocation *thread_param =
+ EVGL_Thread_Command_glBindAttribLocation *thread_data =
(EVGL_Thread_Command_glBindAttribLocation *)data;
- glBindAttribLocation(thread_param->program,
- thread_param->index,
- thread_param->name);
+ glBindAttribLocation(thread_data->program,
+ thread_data->index,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glBindAttribLocation thread_param_local;
- EVGL_Thread_Command_glBindAttribLocation *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glBindAttribLocation thread_data_local;
+ EVGL_Thread_Command_glBindAttribLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->index = index;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->index = index;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glBindAttribLocation,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLint
- glGetUniformLocation(GLuint program, const GLchar *name);
+ * GLint
+ * glGetUniformLocation(GLuint program, const GLchar *name);
*/
typedef struct
static void
_evgl_thread_glGetUniformLocation(void *data)
{
- EVGL_Thread_Command_glGetUniformLocation *thread_param =
+ EVGL_Thread_Command_glGetUniformLocation *thread_data =
(EVGL_Thread_Command_glGetUniformLocation *)data;
- thread_param->return_value = glGetUniformLocation(thread_param->program,
- thread_param->name);
+ thread_data->return_value = glGetUniformLocation(thread_data->program,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetUniformLocation thread_param_local;
- EVGL_Thread_Command_glGetUniformLocation *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetUniformLocation thread_data_local;
+ EVGL_Thread_Command_glGetUniformLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetUniformLocation,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glUniform1f(GLint location, GLfloat v0);
+ * void
+ * glUniform1f(GLint location, GLfloat v0);
*/
typedef struct
static void
_evgl_thread_glUniform1f(void *data)
{
- EVGL_Thread_Command_glUniform1f *thread_param =
+ EVGL_Thread_Command_glUniform1f *thread_data =
(EVGL_Thread_Command_glUniform1f *)data;
- glUniform1f(thread_param->location,
- thread_param->v0);
+ glUniform1f(thread_data->location,
+ thread_data->v0);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform1f thread_param_local;
- EVGL_Thread_Command_glUniform1f *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform1f thread_data_local;
+ EVGL_Thread_Command_glUniform1f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform1f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform1f));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform1f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform1f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
+ thread_data->location = location;
+ thread_data->v0 = v0;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform1f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1i(GLint location, GLint v0);
+ * void
+ * glUniform1i(GLint location, GLint v0);
*/
typedef struct
static void
_evgl_thread_glUniform1i(void *data)
{
- EVGL_Thread_Command_glUniform1i *thread_param =
+ EVGL_Thread_Command_glUniform1i *thread_data =
(EVGL_Thread_Command_glUniform1i *)data;
- glUniform1i(thread_param->location,
- thread_param->v0);
+ glUniform1i(thread_data->location,
+ thread_data->v0);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform1i thread_param_local;
- EVGL_Thread_Command_glUniform1i *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform1i thread_data_local;
+ EVGL_Thread_Command_glUniform1i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform1i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform1i));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform1i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform1i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
+ thread_data->location = location;
+ thread_data->v0 = v0;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform1i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2f(GLint location, GLfloat v0, GLfloat v1);
+ * void
+ * glUniform2f(GLint location, GLfloat v0, GLfloat v1);
*/
typedef struct
static void
_evgl_thread_glUniform2f(void *data)
{
- EVGL_Thread_Command_glUniform2f *thread_param =
+ EVGL_Thread_Command_glUniform2f *thread_data =
(EVGL_Thread_Command_glUniform2f *)data;
- glUniform2f(thread_param->location,
- thread_param->v0,
- thread_param->v1);
+ glUniform2f(thread_data->location,
+ thread_data->v0,
+ thread_data->v1);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform2f thread_param_local;
- EVGL_Thread_Command_glUniform2f *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform2f thread_data_local;
+ EVGL_Thread_Command_glUniform2f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform2f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform2f));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform2f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform2f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform2f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2i(GLint location, GLint v0, GLint v1);
+ * void
+ * glUniform2i(GLint location, GLint v0, GLint v1);
*/
typedef struct
static void
_evgl_thread_glUniform2i(void *data)
{
- EVGL_Thread_Command_glUniform2i *thread_param =
+ EVGL_Thread_Command_glUniform2i *thread_data =
(EVGL_Thread_Command_glUniform2i *)data;
- glUniform2i(thread_param->location,
- thread_param->v0,
- thread_param->v1);
+ glUniform2i(thread_data->location,
+ thread_data->v0,
+ thread_data->v1);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform2i thread_param_local;
- EVGL_Thread_Command_glUniform2i *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform2i thread_data_local;
+ EVGL_Thread_Command_glUniform2i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform2i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform2i));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform2i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform2i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform2i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+ * void
+ * glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
*/
typedef struct
static void
_evgl_thread_glUniform3f(void *data)
{
- EVGL_Thread_Command_glUniform3f *thread_param =
+ EVGL_Thread_Command_glUniform3f *thread_data =
(EVGL_Thread_Command_glUniform3f *)data;
- glUniform3f(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2);
+ glUniform3f(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform3f thread_param_local;
- EVGL_Thread_Command_glUniform3f *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform3f thread_data_local;
+ EVGL_Thread_Command_glUniform3f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform3f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform3f));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform3f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform3f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform3f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3i(GLint location, GLint v0, GLint v1, GLint v2);
+ * void
+ * glUniform3i(GLint location, GLint v0, GLint v1, GLint v2);
*/
typedef struct
static void
_evgl_thread_glUniform3i(void *data)
{
- EVGL_Thread_Command_glUniform3i *thread_param =
+ EVGL_Thread_Command_glUniform3i *thread_data =
(EVGL_Thread_Command_glUniform3i *)data;
- glUniform3i(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2);
+ glUniform3i(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform3i thread_param_local;
- EVGL_Thread_Command_glUniform3i *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform3i thread_data_local;
+ EVGL_Thread_Command_glUniform3i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform3i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform3i));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform3i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform3i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform3i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+ * void
+ * glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
*/
typedef struct
static void
_evgl_thread_glUniform4f(void *data)
{
- EVGL_Thread_Command_glUniform4f *thread_param =
+ EVGL_Thread_Command_glUniform4f *thread_data =
(EVGL_Thread_Command_glUniform4f *)data;
- glUniform4f(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ glUniform4f(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform4f thread_param_local;
- EVGL_Thread_Command_glUniform4f *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform4f thread_data_local;
+ EVGL_Thread_Command_glUniform4f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform4f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform4f));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform4f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform4f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform4f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+ * void
+ * glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
*/
typedef struct
static void
_evgl_thread_glUniform4i(void *data)
{
- EVGL_Thread_Command_glUniform4i *thread_param =
+ EVGL_Thread_Command_glUniform4i *thread_data =
(EVGL_Thread_Command_glUniform4i *)data;
- glUniform4i(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ glUniform4i(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform4i thread_param_local;
- EVGL_Thread_Command_glUniform4i *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform4i thread_data_local;
+ EVGL_Thread_Command_glUniform4i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform4i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform4i));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform4i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform4i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform4i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1fv(GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glUniform1fv(GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
static void
_evgl_thread_glUniform1fv(void *data)
{
- EVGL_Thread_Command_glUniform1fv *thread_param =
+ EVGL_Thread_Command_glUniform1fv *thread_data =
(EVGL_Thread_Command_glUniform1fv *)data;
- glUniform1fv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform1fv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform1fv thread_param_local;
- EVGL_Thread_Command_glUniform1fv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform1fv thread_data_local;
+ EVGL_Thread_Command_glUniform1fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform1fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform1fv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform1fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform1fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform1fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1iv(GLint location, GLsizei count, const GLint *value);
+ * void
+ * glUniform1iv(GLint location, GLsizei count, const GLint *value);
*/
typedef struct
static void
_evgl_thread_glUniform1iv(void *data)
{
- EVGL_Thread_Command_glUniform1iv *thread_param =
+ EVGL_Thread_Command_glUniform1iv *thread_data =
(EVGL_Thread_Command_glUniform1iv *)data;
- glUniform1iv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform1iv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform1iv thread_param_local;
- EVGL_Thread_Command_glUniform1iv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform1iv thread_data_local;
+ EVGL_Thread_Command_glUniform1iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform1iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform1iv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform1iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform1iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLint *)thread_param->value_copied;
+ thread_data->value = (const GLint *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform1iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2fv(GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glUniform2fv(GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
static void
_evgl_thread_glUniform2fv(void *data)
{
- EVGL_Thread_Command_glUniform2fv *thread_param =
+ EVGL_Thread_Command_glUniform2fv *thread_data =
(EVGL_Thread_Command_glUniform2fv *)data;
- glUniform2fv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform2fv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform2fv thread_param_local;
- EVGL_Thread_Command_glUniform2fv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform2fv thread_data_local;
+ EVGL_Thread_Command_glUniform2fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform2fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform2fv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform2fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform2fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2iv(GLint location, GLsizei count, const GLint *value);
+ * void
+ * glUniform2iv(GLint location, GLsizei count, const GLint *value);
*/
typedef struct
static void
_evgl_thread_glUniform2iv(void *data)
{
- EVGL_Thread_Command_glUniform2iv *thread_param =
+ EVGL_Thread_Command_glUniform2iv *thread_data =
(EVGL_Thread_Command_glUniform2iv *)data;
- glUniform2iv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform2iv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform2iv thread_param_local;
- EVGL_Thread_Command_glUniform2iv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform2iv thread_data_local;
+ EVGL_Thread_Command_glUniform2iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform2iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform2iv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform2iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform2iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLint *)thread_param->value_copied;
+ thread_data->value = (const GLint *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform2iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3fv(GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glUniform3fv(GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
static void
_evgl_thread_glUniform3fv(void *data)
{
- EVGL_Thread_Command_glUniform3fv *thread_param =
+ EVGL_Thread_Command_glUniform3fv *thread_data =
(EVGL_Thread_Command_glUniform3fv *)data;
- glUniform3fv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform3fv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform3fv thread_param_local;
- EVGL_Thread_Command_glUniform3fv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform3fv thread_data_local;
+ EVGL_Thread_Command_glUniform3fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform3fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform3fv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform3fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform3fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3iv(GLint location, GLsizei count, const GLint *value);
+ * void
+ * glUniform3iv(GLint location, GLsizei count, const GLint *value);
*/
typedef struct
static void
_evgl_thread_glUniform3iv(void *data)
{
- EVGL_Thread_Command_glUniform3iv *thread_param =
+ EVGL_Thread_Command_glUniform3iv *thread_data =
(EVGL_Thread_Command_glUniform3iv *)data;
- glUniform3iv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform3iv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform3iv thread_param_local;
- EVGL_Thread_Command_glUniform3iv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform3iv thread_data_local;
+ EVGL_Thread_Command_glUniform3iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform3iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform3iv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform3iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform3iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLint *)thread_param->value_copied;
+ thread_data->value = (const GLint *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform3iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4fv(GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glUniform4fv(GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
static void
_evgl_thread_glUniform4fv(void *data)
{
- EVGL_Thread_Command_glUniform4fv *thread_param =
+ EVGL_Thread_Command_glUniform4fv *thread_data =
(EVGL_Thread_Command_glUniform4fv *)data;
- glUniform4fv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform4fv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform4fv thread_param_local;
- EVGL_Thread_Command_glUniform4fv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform4fv thread_data_local;
+ EVGL_Thread_Command_glUniform4fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform4fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform4fv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform4fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform4fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4iv(GLint location, GLsizei count, const GLint *value);
+ * void
+ * glUniform4iv(GLint location, GLsizei count, const GLint *value);
*/
typedef struct
static void
_evgl_thread_glUniform4iv(void *data)
{
- EVGL_Thread_Command_glUniform4iv *thread_param =
+ EVGL_Thread_Command_glUniform4iv *thread_data =
(EVGL_Thread_Command_glUniform4iv *)data;
- glUniform4iv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform4iv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniform4iv thread_param_local;
- EVGL_Thread_Command_glUniform4iv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniform4iv thread_data_local;
+ EVGL_Thread_Command_glUniform4iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniform4iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniform4iv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniform4iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniform4iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLint *)thread_param->value_copied;
+ thread_data->value = (const GLint *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniform4iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_thread_glUniformMatrix2fv(void *data)
{
- EVGL_Thread_Command_glUniformMatrix2fv *thread_param =
+ EVGL_Thread_Command_glUniformMatrix2fv *thread_data =
(EVGL_Thread_Command_glUniformMatrix2fv *)data;
- glUniformMatrix2fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ glUniformMatrix2fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniformMatrix2fv thread_param_local;
- EVGL_Thread_Command_glUniformMatrix2fv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniformMatrix2fv thread_data_local;
+ EVGL_Thread_Command_glUniformMatrix2fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniformMatrix2fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniformMatrix2fv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniformMatrix2fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniformMatrix2fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniformMatrix2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_thread_glUniformMatrix3fv(void *data)
{
- EVGL_Thread_Command_glUniformMatrix3fv *thread_param =
+ EVGL_Thread_Command_glUniformMatrix3fv *thread_data =
(EVGL_Thread_Command_glUniformMatrix3fv *)data;
- glUniformMatrix3fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ glUniformMatrix3fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniformMatrix3fv thread_param_local;
- EVGL_Thread_Command_glUniformMatrix3fv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniformMatrix3fv thread_data_local;
+ EVGL_Thread_Command_glUniformMatrix3fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniformMatrix3fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniformMatrix3fv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniformMatrix3fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniformMatrix3fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniformMatrix3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
static void
_evgl_thread_glUniformMatrix4fv(void *data)
{
- EVGL_Thread_Command_glUniformMatrix4fv *thread_param =
+ EVGL_Thread_Command_glUniformMatrix4fv *thread_data =
(EVGL_Thread_Command_glUniformMatrix4fv *)data;
- glUniformMatrix4fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ glUniformMatrix4fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glUniformMatrix4fv thread_param_local;
- EVGL_Thread_Command_glUniformMatrix4fv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glUniformMatrix4fv thread_data_local;
+ EVGL_Thread_Command_glUniformMatrix4fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glUniformMatrix4fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glUniformMatrix4fv));
- if (thread_param_new)
+ EVGL_Thread_Command_glUniformMatrix4fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glUniformMatrix4fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glUniformMatrix4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_thread_glViewport(void *data)
{
- EVGL_Thread_Command_glViewport *thread_param =
+ EVGL_Thread_Command_glViewport *thread_data =
(EVGL_Thread_Command_glViewport *)data;
- glViewport(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ glViewport(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glViewport thread_param_local;
- EVGL_Thread_Command_glViewport *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glViewport thread_data_local;
+ EVGL_Thread_Command_glViewport *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glViewport *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glViewport));
- if (thread_param_new)
+ EVGL_Thread_Command_glViewport *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glViewport));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glViewport,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEnable(GLenum cap);
+ * void
+ * glEnable(GLenum cap);
*/
typedef struct
static void
_evgl_thread_glEnable(void *data)
{
- EVGL_Thread_Command_glEnable *thread_param =
+ EVGL_Thread_Command_glEnable *thread_data =
(EVGL_Thread_Command_glEnable *)data;
- glEnable(thread_param->cap);
+ glEnable(thread_data->cap);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glEnable thread_param_local;
- EVGL_Thread_Command_glEnable *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glEnable thread_data_local;
+ EVGL_Thread_Command_glEnable *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glEnable *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glEnable));
- if (thread_param_new)
+ EVGL_Thread_Command_glEnable *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glEnable));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->cap = cap;
+ thread_data->cap = cap;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glEnable,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDisable(GLenum cap);
+ * void
+ * glDisable(GLenum cap);
*/
typedef struct
static void
_evgl_thread_glDisable(void *data)
{
- EVGL_Thread_Command_glDisable *thread_param =
+ EVGL_Thread_Command_glDisable *thread_data =
(EVGL_Thread_Command_glDisable *)data;
- glDisable(thread_param->cap);
+ glDisable(thread_data->cap);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDisable thread_param_local;
- EVGL_Thread_Command_glDisable *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDisable thread_data_local;
+ EVGL_Thread_Command_glDisable *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDisable *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDisable));
- if (thread_param_new)
+ EVGL_Thread_Command_glDisable *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDisable));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->cap = cap;
+ thread_data->cap = cap;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDisable,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLineWidth(GLfloat width);
+ * void
+ * glLineWidth(GLfloat width);
*/
typedef struct
static void
_evgl_thread_glLineWidth(void *data)
{
- EVGL_Thread_Command_glLineWidth *thread_param =
+ EVGL_Thread_Command_glLineWidth *thread_data =
(EVGL_Thread_Command_glLineWidth *)data;
- glLineWidth(thread_param->width);
+ glLineWidth(thread_data->width);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glLineWidth thread_param_local;
- EVGL_Thread_Command_glLineWidth *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glLineWidth thread_data_local;
+ EVGL_Thread_Command_glLineWidth *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glLineWidth *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glLineWidth));
- if (thread_param_new)
+ EVGL_Thread_Command_glLineWidth *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glLineWidth));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->width = width;
+ thread_data->width = width;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glLineWidth,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPolygonOffset(GLfloat factor, GLfloat units);
+ * void
+ * glPolygonOffset(GLfloat factor, GLfloat units);
*/
typedef struct
static void
_evgl_thread_glPolygonOffset(void *data)
{
- EVGL_Thread_Command_glPolygonOffset *thread_param =
+ EVGL_Thread_Command_glPolygonOffset *thread_data =
(EVGL_Thread_Command_glPolygonOffset *)data;
- glPolygonOffset(thread_param->factor,
- thread_param->units);
+ glPolygonOffset(thread_data->factor,
+ thread_data->units);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glPolygonOffset thread_param_local;
- EVGL_Thread_Command_glPolygonOffset *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glPolygonOffset thread_data_local;
+ EVGL_Thread_Command_glPolygonOffset *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glPolygonOffset *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glPolygonOffset));
- if (thread_param_new)
+ EVGL_Thread_Command_glPolygonOffset *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glPolygonOffset));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->factor = factor;
- thread_param->units = units;
+ thread_data->factor = factor;
+ thread_data->units = units;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glPolygonOffset,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPixelStorei(GLenum pname, GLint param);
+ * void
+ * glPixelStorei(GLenum pname, GLint param);
*/
typedef struct
static void
_evgl_thread_glPixelStorei(void *data)
{
- EVGL_Thread_Command_glPixelStorei *thread_param =
+ EVGL_Thread_Command_glPixelStorei *thread_data =
(EVGL_Thread_Command_glPixelStorei *)data;
- glPixelStorei(thread_param->pname,
- thread_param->param);
+ glPixelStorei(thread_data->pname,
+ thread_data->param);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glPixelStorei thread_param_local;
- EVGL_Thread_Command_glPixelStorei *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glPixelStorei thread_data_local;
+ EVGL_Thread_Command_glPixelStorei *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glPixelStorei *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glPixelStorei));
- if (thread_param_new)
+ EVGL_Thread_Command_glPixelStorei *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glPixelStorei));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glPixelStorei,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glActiveTexture(GLenum texture);
+ * void
+ * glActiveTexture(GLenum texture);
*/
typedef struct
static void
_evgl_thread_glActiveTexture(void *data)
{
- EVGL_Thread_Command_glActiveTexture *thread_param =
+ EVGL_Thread_Command_glActiveTexture *thread_data =
(EVGL_Thread_Command_glActiveTexture *)data;
- glActiveTexture(thread_param->texture);
+ glActiveTexture(thread_data->texture);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glActiveTexture thread_param_local;
- EVGL_Thread_Command_glActiveTexture *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glActiveTexture thread_data_local;
+ EVGL_Thread_Command_glActiveTexture *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glActiveTexture *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glActiveTexture));
- if (thread_param_new)
+ EVGL_Thread_Command_glActiveTexture *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glActiveTexture));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->texture = texture;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glActiveTexture,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenTextures(GLsizei n, GLuint *textures);
+ * void
+ * glGenTextures(GLsizei n, GLuint *textures);
*/
typedef struct
static void
_evgl_thread_glGenTextures(void *data)
{
- EVGL_Thread_Command_glGenTextures *thread_param =
+ EVGL_Thread_Command_glGenTextures *thread_data =
(EVGL_Thread_Command_glGenTextures *)data;
- glGenTextures(thread_param->n,
- thread_param->textures);
+ glGenTextures(thread_data->n,
+ thread_data->textures);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGenTextures thread_param_local;
- EVGL_Thread_Command_glGenTextures *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGenTextures thread_data_local;
+ EVGL_Thread_Command_glGenTextures *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->textures = textures;
+ thread_data->n = n;
+ thread_data->textures = textures;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGenTextures,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindTexture(GLenum target, GLuint texture);
+ * void
+ * glBindTexture(GLenum target, GLuint texture);
*/
typedef struct
static void
_evgl_thread_glBindTexture(void *data)
{
- EVGL_Thread_Command_glBindTexture *thread_param =
+ EVGL_Thread_Command_glBindTexture *thread_data =
(EVGL_Thread_Command_glBindTexture *)data;
- glBindTexture(thread_param->target,
- thread_param->texture);
+ glBindTexture(thread_data->target,
+ thread_data->texture);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glBindTexture thread_param_local;
- EVGL_Thread_Command_glBindTexture *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glBindTexture thread_data_local;
+ EVGL_Thread_Command_glBindTexture *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glBindTexture *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glBindTexture));
- if (thread_param_new)
+ EVGL_Thread_Command_glBindTexture *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glBindTexture));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->texture = texture;
+ thread_data->target = target;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glBindTexture,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteTextures(GLsizei n, const GLuint *textures);
+ * void
+ * glDeleteTextures(GLsizei n, const GLuint *textures);
*/
typedef struct
static void
_evgl_thread_glDeleteTextures(void *data)
{
- EVGL_Thread_Command_glDeleteTextures *thread_param =
+ EVGL_Thread_Command_glDeleteTextures *thread_data =
(EVGL_Thread_Command_glDeleteTextures *)data;
- glDeleteTextures(thread_param->n,
- thread_param->textures);
+ glDeleteTextures(thread_data->n,
+ thread_data->textures);
- if (thread_param->textures_copied)
- eina_mempool_free(_mp_delete_object, thread_param->textures_copied);
+ if (thread_data->textures_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->textures_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDeleteTextures thread_param_local;
- EVGL_Thread_Command_glDeleteTextures *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDeleteTextures thread_data_local;
+ EVGL_Thread_Command_glDeleteTextures *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDeleteTextures *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDeleteTextures));
- if (thread_param_new)
+ EVGL_Thread_Command_glDeleteTextures *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDeleteTextures));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->textures = textures;
+ thread_data->n = n;
+ thread_data->textures = textures;
- thread_param->textures_copied = NULL;
+ thread_data->textures_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->textures_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->textures_copied)
+ thread_data->textures_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->textures_copied)
{
- memcpy(thread_param->textures_copied, textures, copy_size);
+ memcpy(thread_data->textures_copied, textures, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->textures = (const GLuint *)thread_param->textures_copied;
+ thread_data->textures = (const GLuint *)thread_data->textures_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDeleteTextures,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+ * void
+ * glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
*/
typedef struct
static void
_evgl_thread_glTexImage2D(void *data)
{
- EVGL_Thread_Command_glTexImage2D *thread_param =
+ EVGL_Thread_Command_glTexImage2D *thread_data =
(EVGL_Thread_Command_glTexImage2D *)data;
- glTexImage2D(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->border,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ glTexImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->border,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
GLTEXIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glTexImage2D thread_param_local;
- EVGL_Thread_Command_glTexImage2D *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glTexImage2D thread_data_local;
+ EVGL_Thread_Command_glTexImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glTexImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glTexImage2D));
- if (thread_param_new)
+ EVGL_Thread_Command_glTexImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glTexImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->border = border;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->border = border;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
GLTEXIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glTexImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+ * void
+ * glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
*/
typedef struct
static void
_evgl_thread_glTexSubImage2D(void *data)
{
- EVGL_Thread_Command_glTexSubImage2D *thread_param =
+ EVGL_Thread_Command_glTexSubImage2D *thread_data =
(EVGL_Thread_Command_glTexSubImage2D *)data;
- glTexSubImage2D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ glTexSubImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
GLTEXSUBIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glTexSubImage2D thread_param_local;
- EVGL_Thread_Command_glTexSubImage2D *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glTexSubImage2D thread_data_local;
+ EVGL_Thread_Command_glTexSubImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glTexSubImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glTexSubImage2D));
- if (thread_param_new)
+ EVGL_Thread_Command_glTexSubImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glTexSubImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
GLTEXSUBIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glTexSubImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+ * void
+ * glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
*/
typedef struct
static void
_evgl_thread_glCompressedTexImage2D(void *data)
{
- EVGL_Thread_Command_glCompressedTexImage2D *thread_param =
+ EVGL_Thread_Command_glCompressedTexImage2D *thread_data =
(EVGL_Thread_Command_glCompressedTexImage2D *)data;
- glCompressedTexImage2D(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->border,
- thread_param->imageSize,
- thread_param->data);
+ glCompressedTexImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->border,
+ thread_data->imageSize,
+ thread_data->data);
GLCOMPRESSEDTEXIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glCompressedTexImage2D thread_param_local;
- EVGL_Thread_Command_glCompressedTexImage2D *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glCompressedTexImage2D thread_data_local;
+ EVGL_Thread_Command_glCompressedTexImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glCompressedTexImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glCompressedTexImage2D));
- if (thread_param_new)
+ EVGL_Thread_Command_glCompressedTexImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glCompressedTexImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->border = border;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->border = border;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
GLCOMPRESSEDTEXIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glCompressedTexImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+ * void
+ * glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
*/
typedef struct
static void
_evgl_thread_glCompressedTexSubImage2D(void *data)
{
- EVGL_Thread_Command_glCompressedTexSubImage2D *thread_param =
+ EVGL_Thread_Command_glCompressedTexSubImage2D *thread_data =
(EVGL_Thread_Command_glCompressedTexSubImage2D *)data;
- glCompressedTexSubImage2D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->imageSize,
- thread_param->data);
+ glCompressedTexSubImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->imageSize,
+ thread_data->data);
GLCOMPRESSEDTEXSUBIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glCompressedTexSubImage2D thread_param_local;
- EVGL_Thread_Command_glCompressedTexSubImage2D *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glCompressedTexSubImage2D thread_data_local;
+ EVGL_Thread_Command_glCompressedTexSubImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glCompressedTexSubImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glCompressedTexSubImage2D));
- if (thread_param_new)
+ EVGL_Thread_Command_glCompressedTexSubImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glCompressedTexSubImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
GLCOMPRESSEDTEXSUBIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glCompressedTexSubImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterf(GLenum target, GLenum pname, GLfloat param);
+ * void
+ * glTexParameterf(GLenum target, GLenum pname, GLfloat param);
*/
typedef struct
static void
_evgl_thread_glTexParameterf(void *data)
{
- EVGL_Thread_Command_glTexParameterf *thread_param =
+ EVGL_Thread_Command_glTexParameterf *thread_data =
(EVGL_Thread_Command_glTexParameterf *)data;
- glTexParameterf(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ glTexParameterf(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glTexParameterf thread_param_local;
- EVGL_Thread_Command_glTexParameterf *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glTexParameterf thread_data_local;
+ EVGL_Thread_Command_glTexParameterf *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glTexParameterf *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glTexParameterf));
- if (thread_param_new)
+ EVGL_Thread_Command_glTexParameterf *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glTexParameterf));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glTexParameterf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params);
+ * void
+ * glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params);
*/
typedef struct
static void
_evgl_thread_glTexParameterfv(void *data)
{
- EVGL_Thread_Command_glTexParameterfv *thread_param =
+ EVGL_Thread_Command_glTexParameterfv *thread_data =
(EVGL_Thread_Command_glTexParameterfv *)data;
- glTexParameterfv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ glTexParameterfv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
- if (thread_param->params_copied)
- eina_mempool_free(_mp_default, thread_param->params_copied);
+ if (thread_data->params_copied)
+ eina_mempool_free(_mp_default, thread_data->params_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glTexParameterfv thread_param_local;
- EVGL_Thread_Command_glTexParameterfv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glTexParameterfv thread_data_local;
+ EVGL_Thread_Command_glTexParameterfv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glTexParameterfv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glTexParameterfv));
- if (thread_param_new)
+ EVGL_Thread_Command_glTexParameterfv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glTexParameterfv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
- thread_param->params_copied = NULL;
+ thread_data->params_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->params_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->params_copied)
+ thread_data->params_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->params_copied)
{
- memcpy(thread_param->params_copied, params, copy_size);
+ memcpy(thread_data->params_copied, params, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->params = (const GLfloat *)thread_param->params_copied;
+ thread_data->params = (const GLfloat *)thread_data->params_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glTexParameterfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameteri(GLenum target, GLenum pname, GLint param);
+ * void
+ * glTexParameteri(GLenum target, GLenum pname, GLint param);
*/
typedef struct
static void
_evgl_thread_glTexParameteri(void *data)
{
- EVGL_Thread_Command_glTexParameteri *thread_param =
+ EVGL_Thread_Command_glTexParameteri *thread_data =
(EVGL_Thread_Command_glTexParameteri *)data;
- glTexParameteri(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ glTexParameteri(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glTexParameteri thread_param_local;
- EVGL_Thread_Command_glTexParameteri *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glTexParameteri thread_data_local;
+ EVGL_Thread_Command_glTexParameteri *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glTexParameteri *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glTexParameteri));
- if (thread_param_new)
+ EVGL_Thread_Command_glTexParameteri *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glTexParameteri));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glTexParameteri,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameteriv(GLenum target, GLenum pname, const GLint *params);
+ * void
+ * glTexParameteriv(GLenum target, GLenum pname, const GLint *params);
*/
typedef struct
static void
_evgl_thread_glTexParameteriv(void *data)
{
- EVGL_Thread_Command_glTexParameteriv *thread_param =
+ EVGL_Thread_Command_glTexParameteriv *thread_data =
(EVGL_Thread_Command_glTexParameteriv *)data;
- glTexParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ glTexParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
- if (thread_param->params_copied)
- eina_mempool_free(_mp_default, thread_param->params_copied);
+ if (thread_data->params_copied)
+ eina_mempool_free(_mp_default, thread_data->params_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glTexParameteriv thread_param_local;
- EVGL_Thread_Command_glTexParameteriv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glTexParameteriv thread_data_local;
+ EVGL_Thread_Command_glTexParameteriv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glTexParameteriv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glTexParameteriv));
- if (thread_param_new)
+ EVGL_Thread_Command_glTexParameteriv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glTexParameteriv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
- thread_param->params_copied = NULL;
+ thread_data->params_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->params_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->params_copied)
+ thread_data->params_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->params_copied)
{
- memcpy(thread_param->params_copied, params, copy_size);
+ memcpy(thread_data->params_copied, params, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->params = (const GLint *)thread_param->params_copied;
+ thread_data->params = (const GLint *)thread_data->params_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glTexParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_thread_glScissor(void *data)
{
- EVGL_Thread_Command_glScissor *thread_param =
+ EVGL_Thread_Command_glScissor *thread_data =
(EVGL_Thread_Command_glScissor *)data;
- glScissor(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ glScissor(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glScissor thread_param_local;
- EVGL_Thread_Command_glScissor *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glScissor thread_data_local;
+ EVGL_Thread_Command_glScissor *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glScissor *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glScissor));
- if (thread_param_new)
+ EVGL_Thread_Command_glScissor *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glScissor));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glScissor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendFunc(GLenum sfactor, GLenum dfactor);
+ * void
+ * glBlendFunc(GLenum sfactor, GLenum dfactor);
*/
typedef struct
static void
_evgl_thread_glBlendFunc(void *data)
{
- EVGL_Thread_Command_glBlendFunc *thread_param =
+ EVGL_Thread_Command_glBlendFunc *thread_data =
(EVGL_Thread_Command_glBlendFunc *)data;
- glBlendFunc(thread_param->sfactor,
- thread_param->dfactor);
+ glBlendFunc(thread_data->sfactor,
+ thread_data->dfactor);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glBlendFunc thread_param_local;
- EVGL_Thread_Command_glBlendFunc *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glBlendFunc thread_data_local;
+ EVGL_Thread_Command_glBlendFunc *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glBlendFunc *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glBlendFunc));
- if (thread_param_new)
+ EVGL_Thread_Command_glBlendFunc *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glBlendFunc));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->sfactor = sfactor;
- thread_param->dfactor = dfactor;
+ thread_data->sfactor = sfactor;
+ thread_data->dfactor = dfactor;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glBlendFunc,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+ * void
+ * glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
*/
typedef struct
static void
_evgl_thread_glBlendColor(void *data)
{
- EVGL_Thread_Command_glBlendColor *thread_param =
+ EVGL_Thread_Command_glBlendColor *thread_data =
(EVGL_Thread_Command_glBlendColor *)data;
- glBlendColor(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ glBlendColor(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glBlendColor thread_param_local;
- EVGL_Thread_Command_glBlendColor *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glBlendColor thread_data_local;
+ EVGL_Thread_Command_glBlendColor *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glBlendColor *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glBlendColor));
- if (thread_param_new)
+ EVGL_Thread_Command_glBlendColor *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glBlendColor));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glBlendColor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDepthMask(GLboolean flag);
+ * void
+ * glDepthMask(GLboolean flag);
*/
typedef struct
static void
_evgl_thread_glDepthMask(void *data)
{
- EVGL_Thread_Command_glDepthMask *thread_param =
+ EVGL_Thread_Command_glDepthMask *thread_data =
(EVGL_Thread_Command_glDepthMask *)data;
- glDepthMask(thread_param->flag);
+ glDepthMask(thread_data->flag);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDepthMask thread_param_local;
- EVGL_Thread_Command_glDepthMask *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDepthMask thread_data_local;
+ EVGL_Thread_Command_glDepthMask *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDepthMask *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDepthMask));
- if (thread_param_new)
+ EVGL_Thread_Command_glDepthMask *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDepthMask));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->flag = flag;
+ thread_data->flag = flag;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDepthMask,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClear(GLbitfield mask);
+ * void
+ * glClear(GLbitfield mask);
*/
typedef struct
static void
_evgl_thread_glClear(void *data)
{
- EVGL_Thread_Command_glClear *thread_param =
+ EVGL_Thread_Command_glClear *thread_data =
(EVGL_Thread_Command_glClear *)data;
- glClear(thread_param->mask);
+ glClear(thread_data->mask);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glClear thread_param_local;
- EVGL_Thread_Command_glClear *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glClear thread_data_local;
+ EVGL_Thread_Command_glClear *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glClear *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glClear));
- if (thread_param_new)
+ EVGL_Thread_Command_glClear *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glClear));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->mask = mask;
+ thread_data->mask = mask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glClear,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+ * void
+ * glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
*/
typedef struct
static void
_evgl_thread_glClearColor(void *data)
{
- EVGL_Thread_Command_glClearColor *thread_param =
+ EVGL_Thread_Command_glClearColor *thread_data =
(EVGL_Thread_Command_glClearColor *)data;
- glClearColor(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ glClearColor(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glClearColor thread_param_local;
- EVGL_Thread_Command_glClearColor *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glClearColor thread_data_local;
+ EVGL_Thread_Command_glClearColor *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glClearColor *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glClearColor));
- if (thread_param_new)
+ EVGL_Thread_Command_glClearColor *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glClearColor));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glClearColor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
+ * void
+ * glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
*/
typedef struct
static void
_evgl_thread_glReadPixels(void *data)
{
- EVGL_Thread_Command_glReadPixels *thread_param =
+ EVGL_Thread_Command_glReadPixels *thread_data =
(EVGL_Thread_Command_glReadPixels *)data;
- glReadPixels(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ glReadPixels(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glReadPixels thread_param_local;
- EVGL_Thread_Command_glReadPixels *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glReadPixels thread_data_local;
+ EVGL_Thread_Command_glReadPixels *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glReadPixels,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenFramebuffers(GLsizei n, GLuint *framebuffers);
+ * void
+ * glGenFramebuffers(GLsizei n, GLuint *framebuffers);
*/
typedef struct
static void
_evgl_thread_glGenFramebuffers(void *data)
{
- EVGL_Thread_Command_glGenFramebuffers *thread_param =
+ EVGL_Thread_Command_glGenFramebuffers *thread_data =
(EVGL_Thread_Command_glGenFramebuffers *)data;
- glGenFramebuffers(thread_param->n,
- thread_param->framebuffers);
+ glGenFramebuffers(thread_data->n,
+ thread_data->framebuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGenFramebuffers thread_param_local;
- EVGL_Thread_Command_glGenFramebuffers *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGenFramebuffers thread_data_local;
+ EVGL_Thread_Command_glGenFramebuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->framebuffers = framebuffers;
+ thread_data->n = n;
+ thread_data->framebuffers = framebuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGenFramebuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindFramebuffer(GLenum target, GLuint framebuffer);
+ * void
+ * glBindFramebuffer(GLenum target, GLuint framebuffer);
*/
typedef struct
static void
_evgl_thread_glBindFramebuffer(void *data)
{
- EVGL_Thread_Command_glBindFramebuffer *thread_param =
+ EVGL_Thread_Command_glBindFramebuffer *thread_data =
(EVGL_Thread_Command_glBindFramebuffer *)data;
- glBindFramebuffer(thread_param->target,
- thread_param->framebuffer);
+ glBindFramebuffer(thread_data->target,
+ thread_data->framebuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glBindFramebuffer thread_param_local;
- EVGL_Thread_Command_glBindFramebuffer *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glBindFramebuffer thread_data_local;
+ EVGL_Thread_Command_glBindFramebuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glBindFramebuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glBindFramebuffer));
- if (thread_param_new)
+ EVGL_Thread_Command_glBindFramebuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glBindFramebuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->framebuffer = framebuffer;
+ thread_data->target = target;
+ thread_data->framebuffer = framebuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glBindFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers);
+ * void
+ * glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers);
*/
typedef struct
static void
_evgl_thread_glDeleteFramebuffers(void *data)
{
- EVGL_Thread_Command_glDeleteFramebuffers *thread_param =
+ EVGL_Thread_Command_glDeleteFramebuffers *thread_data =
(EVGL_Thread_Command_glDeleteFramebuffers *)data;
- glDeleteFramebuffers(thread_param->n,
- thread_param->framebuffers);
+ glDeleteFramebuffers(thread_data->n,
+ thread_data->framebuffers);
- if (thread_param->framebuffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->framebuffers_copied);
+ if (thread_data->framebuffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->framebuffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDeleteFramebuffers thread_param_local;
- EVGL_Thread_Command_glDeleteFramebuffers *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDeleteFramebuffers thread_data_local;
+ EVGL_Thread_Command_glDeleteFramebuffers *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDeleteFramebuffers *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDeleteFramebuffers));
- if (thread_param_new)
+ EVGL_Thread_Command_glDeleteFramebuffers *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDeleteFramebuffers));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->framebuffers = framebuffers;
+ thread_data->n = n;
+ thread_data->framebuffers = framebuffers;
- thread_param->framebuffers_copied = NULL;
+ thread_data->framebuffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->framebuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->framebuffers_copied)
+ thread_data->framebuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->framebuffers_copied)
{
- memcpy(thread_param->framebuffers_copied, framebuffers, copy_size);
+ memcpy(thread_data->framebuffers_copied, framebuffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->framebuffers = (const GLuint *)thread_param->framebuffers_copied;
+ thread_data->framebuffers = (const GLuint *)thread_data->framebuffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDeleteFramebuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenRenderbuffers(GLsizei n, GLuint *renderbuffers);
+ * void
+ * glGenRenderbuffers(GLsizei n, GLuint *renderbuffers);
*/
typedef struct
static void
_evgl_thread_glGenRenderbuffers(void *data)
{
- EVGL_Thread_Command_glGenRenderbuffers *thread_param =
+ EVGL_Thread_Command_glGenRenderbuffers *thread_data =
(EVGL_Thread_Command_glGenRenderbuffers *)data;
- glGenRenderbuffers(thread_param->n,
- thread_param->renderbuffers);
+ glGenRenderbuffers(thread_data->n,
+ thread_data->renderbuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGenRenderbuffers thread_param_local;
- EVGL_Thread_Command_glGenRenderbuffers *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGenRenderbuffers thread_data_local;
+ EVGL_Thread_Command_glGenRenderbuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->renderbuffers = renderbuffers;
+ thread_data->n = n;
+ thread_data->renderbuffers = renderbuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGenRenderbuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindRenderbuffer(GLenum target, GLuint renderbuffer);
+ * void
+ * glBindRenderbuffer(GLenum target, GLuint renderbuffer);
*/
typedef struct
static void
_evgl_thread_glBindRenderbuffer(void *data)
{
- EVGL_Thread_Command_glBindRenderbuffer *thread_param =
+ EVGL_Thread_Command_glBindRenderbuffer *thread_data =
(EVGL_Thread_Command_glBindRenderbuffer *)data;
- glBindRenderbuffer(thread_param->target,
- thread_param->renderbuffer);
+ glBindRenderbuffer(thread_data->target,
+ thread_data->renderbuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glBindRenderbuffer thread_param_local;
- EVGL_Thread_Command_glBindRenderbuffer *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glBindRenderbuffer thread_data_local;
+ EVGL_Thread_Command_glBindRenderbuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glBindRenderbuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glBindRenderbuffer));
- if (thread_param_new)
+ EVGL_Thread_Command_glBindRenderbuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glBindRenderbuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->target = target;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glBindRenderbuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers);
+ * void
+ * glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers);
*/
typedef struct
static void
_evgl_thread_glDeleteRenderbuffers(void *data)
{
- EVGL_Thread_Command_glDeleteRenderbuffers *thread_param =
+ EVGL_Thread_Command_glDeleteRenderbuffers *thread_data =
(EVGL_Thread_Command_glDeleteRenderbuffers *)data;
- glDeleteRenderbuffers(thread_param->n,
- thread_param->renderbuffers);
+ glDeleteRenderbuffers(thread_data->n,
+ thread_data->renderbuffers);
- if (thread_param->renderbuffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->renderbuffers_copied);
+ if (thread_data->renderbuffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->renderbuffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glDeleteRenderbuffers thread_param_local;
- EVGL_Thread_Command_glDeleteRenderbuffers *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glDeleteRenderbuffers thread_data_local;
+ EVGL_Thread_Command_glDeleteRenderbuffers *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glDeleteRenderbuffers *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glDeleteRenderbuffers));
- if (thread_param_new)
+ EVGL_Thread_Command_glDeleteRenderbuffers *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glDeleteRenderbuffers));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->renderbuffers = renderbuffers;
+ thread_data->n = n;
+ thread_data->renderbuffers = renderbuffers;
- thread_param->renderbuffers_copied = NULL;
+ thread_data->renderbuffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->renderbuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->renderbuffers_copied)
+ thread_data->renderbuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->renderbuffers_copied)
{
- memcpy(thread_param->renderbuffers_copied, renderbuffers, copy_size);
+ memcpy(thread_data->renderbuffers_copied, renderbuffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->renderbuffers = (const GLuint *)thread_param->renderbuffers_copied;
+ thread_data->renderbuffers = (const GLuint *)thread_data->renderbuffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glDeleteRenderbuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+ * void
+ * glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
*/
typedef struct
static void
_evgl_thread_glRenderbufferStorage(void *data)
{
- EVGL_Thread_Command_glRenderbufferStorage *thread_param =
+ EVGL_Thread_Command_glRenderbufferStorage *thread_data =
(EVGL_Thread_Command_glRenderbufferStorage *)data;
- glRenderbufferStorage(thread_param->target,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height);
+ glRenderbufferStorage(thread_data->target,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glRenderbufferStorage thread_param_local;
- EVGL_Thread_Command_glRenderbufferStorage *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glRenderbufferStorage thread_data_local;
+ EVGL_Thread_Command_glRenderbufferStorage *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glRenderbufferStorage *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glRenderbufferStorage));
- if (thread_param_new)
+ EVGL_Thread_Command_glRenderbufferStorage *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glRenderbufferStorage));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glRenderbufferStorage,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+ * void
+ * glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
*/
typedef struct
static void
_evgl_thread_glFramebufferRenderbuffer(void *data)
{
- EVGL_Thread_Command_glFramebufferRenderbuffer *thread_param =
+ EVGL_Thread_Command_glFramebufferRenderbuffer *thread_data =
(EVGL_Thread_Command_glFramebufferRenderbuffer *)data;
- glFramebufferRenderbuffer(thread_param->target,
- thread_param->attachment,
- thread_param->renderbuffertarget,
- thread_param->renderbuffer);
+ glFramebufferRenderbuffer(thread_data->target,
+ thread_data->attachment,
+ thread_data->renderbuffertarget,
+ thread_data->renderbuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glFramebufferRenderbuffer thread_param_local;
- EVGL_Thread_Command_glFramebufferRenderbuffer *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glFramebufferRenderbuffer thread_data_local;
+ EVGL_Thread_Command_glFramebufferRenderbuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glFramebufferRenderbuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glFramebufferRenderbuffer));
- if (thread_param_new)
+ EVGL_Thread_Command_glFramebufferRenderbuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glFramebufferRenderbuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->renderbuffertarget = renderbuffertarget;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->renderbuffertarget = renderbuffertarget;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glFramebufferRenderbuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+ * void
+ * glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
*/
typedef struct
static void
_evgl_thread_glFramebufferTexture2D(void *data)
{
- EVGL_Thread_Command_glFramebufferTexture2D *thread_param =
+ EVGL_Thread_Command_glFramebufferTexture2D *thread_data =
(EVGL_Thread_Command_glFramebufferTexture2D *)data;
- glFramebufferTexture2D(thread_param->target,
- thread_param->attachment,
- thread_param->textarget,
- thread_param->texture,
- thread_param->level);
+ glFramebufferTexture2D(thread_data->target,
+ thread_data->attachment,
+ thread_data->textarget,
+ thread_data->texture,
+ thread_data->level);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glFramebufferTexture2D thread_param_local;
- EVGL_Thread_Command_glFramebufferTexture2D *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glFramebufferTexture2D thread_data_local;
+ EVGL_Thread_Command_glFramebufferTexture2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glFramebufferTexture2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glFramebufferTexture2D));
- if (thread_param_new)
+ EVGL_Thread_Command_glFramebufferTexture2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glFramebufferTexture2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->textarget = textarget;
- thread_param->texture = texture;
- thread_param->level = level;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->textarget = textarget;
+ thread_data->texture = texture;
+ thread_data->level = level;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glFramebufferTexture2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLenum
- glCheckFramebufferStatus(GLenum target);
+ * GLenum
+ * glCheckFramebufferStatus(GLenum target);
*/
typedef struct
static void
_evgl_thread_glCheckFramebufferStatus(void *data)
{
- EVGL_Thread_Command_glCheckFramebufferStatus *thread_param =
+ EVGL_Thread_Command_glCheckFramebufferStatus *thread_data =
(EVGL_Thread_Command_glCheckFramebufferStatus *)data;
- thread_param->return_value = glCheckFramebufferStatus(thread_param->target);
+ thread_data->return_value = glCheckFramebufferStatus(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glCheckFramebufferStatus thread_param_local;
- EVGL_Thread_Command_glCheckFramebufferStatus *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glCheckFramebufferStatus thread_data_local;
+ EVGL_Thread_Command_glCheckFramebufferStatus *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glCheckFramebufferStatus,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glFlush(void);
+ * void
+ * glFlush(void);
*/
static void
}
/*
- void
- glFinish(void);
+ * void
+ * glFinish(void);
*/
static void
}
/*
- void
- glHint(GLenum target, GLenum mode);
+ * void
+ * glHint(GLenum target, GLenum mode);
*/
typedef struct
static void
_evgl_thread_glHint(void *data)
{
- EVGL_Thread_Command_glHint *thread_param =
+ EVGL_Thread_Command_glHint *thread_data =
(EVGL_Thread_Command_glHint *)data;
- glHint(thread_param->target,
- thread_param->mode);
+ glHint(thread_data->target,
+ thread_data->mode);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glHint thread_param_local;
- EVGL_Thread_Command_glHint *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glHint thread_data_local;
+ EVGL_Thread_Command_glHint *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- EVGL_Thread_Command_glHint *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(EVGL_Thread_Command_glHint));
- if (thread_param_new)
+ EVGL_Thread_Command_glHint *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(EVGL_Thread_Command_glHint));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->mode = mode;
+ thread_data->target = target;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glHint,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- const GLubyte *
- glGetString(GLenum name);
+ * const GLubyte *
+ * glGetString(GLenum name);
*/
typedef struct
static void
_evgl_thread_glGetString(void *data)
{
- EVGL_Thread_Command_glGetString *thread_param =
+ EVGL_Thread_Command_glGetString *thread_data =
(EVGL_Thread_Command_glGetString *)data;
- thread_param->return_value = glGetString(thread_param->name);
+ thread_data->return_value = glGetString(thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetString thread_param_local;
- EVGL_Thread_Command_glGetString *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetString thread_data_local;
+ EVGL_Thread_Command_glGetString *thread_data = &thread_data_local;
- thread_param->name = name;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetString,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetBooleanv(GLenum pname, GLboolean *data);
+ * void
+ * glGetBooleanv(GLenum pname, GLboolean *data);
*/
typedef struct
static void
_evgl_thread_glGetBooleanv(void *data)
{
- EVGL_Thread_Command_glGetBooleanv *thread_param =
+ EVGL_Thread_Command_glGetBooleanv *thread_data =
(EVGL_Thread_Command_glGetBooleanv *)data;
- glGetBooleanv(thread_param->pname,
- thread_param->data);
+ glGetBooleanv(thread_data->pname,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetBooleanv thread_param_local;
- EVGL_Thread_Command_glGetBooleanv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetBooleanv thread_data_local;
+ EVGL_Thread_Command_glGetBooleanv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->data = data;
+ thread_data->pname = pname;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetBooleanv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetFloatv(GLenum pname, GLfloat *data);
+ * void
+ * glGetFloatv(GLenum pname, GLfloat *data);
*/
typedef struct
static void
_evgl_thread_glGetFloatv(void *data)
{
- EVGL_Thread_Command_glGetFloatv *thread_param =
+ EVGL_Thread_Command_glGetFloatv *thread_data =
(EVGL_Thread_Command_glGetFloatv *)data;
- glGetFloatv(thread_param->pname,
- thread_param->data);
+ glGetFloatv(thread_data->pname,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetFloatv thread_param_local;
- EVGL_Thread_Command_glGetFloatv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetFloatv thread_data_local;
+ EVGL_Thread_Command_glGetFloatv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->data = data;
+ thread_data->pname = pname;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetFloatv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetIntegerv(GLenum pname, GLint *data);
+ * void
+ * glGetIntegerv(GLenum pname, GLint *data);
*/
typedef struct
static void
_evgl_thread_glGetIntegerv(void *data)
{
- EVGL_Thread_Command_glGetIntegerv *thread_param =
+ EVGL_Thread_Command_glGetIntegerv *thread_data =
(EVGL_Thread_Command_glGetIntegerv *)data;
- glGetIntegerv(thread_param->pname,
- thread_param->data);
+ glGetIntegerv(thread_data->pname,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetIntegerv thread_param_local;
- EVGL_Thread_Command_glGetIntegerv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetIntegerv thread_data_local;
+ EVGL_Thread_Command_glGetIntegerv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->data = data;
+ thread_data->pname = pname;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetIntegerv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsBuffer(GLint buffer);
+ * GLboolean
+ * glIsBuffer(GLint buffer);
*/
typedef struct
static void
_evgl_thread_glIsBuffer(void *data)
{
- EVGL_Thread_Command_glIsBuffer *thread_param =
+ EVGL_Thread_Command_glIsBuffer *thread_data =
(EVGL_Thread_Command_glIsBuffer *)data;
- thread_param->return_value = glIsBuffer(thread_param->buffer);
+ thread_data->return_value = glIsBuffer(thread_data->buffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glIsBuffer thread_param_local;
- EVGL_Thread_Command_glIsBuffer *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glIsBuffer thread_data_local;
+ EVGL_Thread_Command_glIsBuffer *thread_data = &thread_data_local;
- thread_param->buffer = buffer;
+ thread_data->buffer = buffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glIsBuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params);
+ * void
+ * glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_thread_glGetBufferParameteriv(void *data)
{
- EVGL_Thread_Command_glGetBufferParameteriv *thread_param =
+ EVGL_Thread_Command_glGetBufferParameteriv *thread_data =
(EVGL_Thread_Command_glGetBufferParameteriv *)data;
- glGetBufferParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ glGetBufferParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetBufferParameteriv thread_param_local;
- EVGL_Thread_Command_glGetBufferParameteriv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetBufferParameteriv thread_data_local;
+ EVGL_Thread_Command_glGetBufferParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetBufferParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsShader(GLuint shader);
+ * GLboolean
+ * glIsShader(GLuint shader);
*/
typedef struct
static void
_evgl_thread_glIsShader(void *data)
{
- EVGL_Thread_Command_glIsShader *thread_param =
+ EVGL_Thread_Command_glIsShader *thread_data =
(EVGL_Thread_Command_glIsShader *)data;
- thread_param->return_value = glIsShader(thread_param->shader);
+ thread_data->return_value = glIsShader(thread_data->shader);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glIsShader thread_param_local;
- EVGL_Thread_Command_glIsShader *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glIsShader thread_data_local;
+ EVGL_Thread_Command_glIsShader *thread_data = &thread_data_local;
- thread_param->shader = shader;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glIsShader,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
+ * void
+ * glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_thread_glGetShaderiv(void *data)
{
- EVGL_Thread_Command_glGetShaderiv *thread_param =
+ EVGL_Thread_Command_glGetShaderiv *thread_data =
(EVGL_Thread_Command_glGetShaderiv *)data;
- glGetShaderiv(thread_param->shader,
- thread_param->pname,
- thread_param->params);
+ glGetShaderiv(thread_data->shader,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetShaderiv thread_param_local;
- EVGL_Thread_Command_glGetShaderiv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetShaderiv thread_data_local;
+ EVGL_Thread_Command_glGetShaderiv *thread_data = &thread_data_local;
- thread_param->shader = shader;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->shader = shader;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetShaderiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
+ * void
+ * glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
*/
typedef struct
static void
_evgl_thread_glGetAttachedShaders(void *data)
{
- EVGL_Thread_Command_glGetAttachedShaders *thread_param =
+ EVGL_Thread_Command_glGetAttachedShaders *thread_data =
(EVGL_Thread_Command_glGetAttachedShaders *)data;
- glGetAttachedShaders(thread_param->program,
- thread_param->maxCount,
- thread_param->count,
- thread_param->shaders);
+ glGetAttachedShaders(thread_data->program,
+ thread_data->maxCount,
+ thread_data->count,
+ thread_data->shaders);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetAttachedShaders thread_param_local;
- EVGL_Thread_Command_glGetAttachedShaders *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetAttachedShaders thread_data_local;
+ EVGL_Thread_Command_glGetAttachedShaders *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->maxCount = maxCount;
- thread_param->count = count;
- thread_param->shaders = shaders;
+ thread_data->program = program;
+ thread_data->maxCount = maxCount;
+ thread_data->count = count;
+ thread_data->shaders = shaders;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetAttachedShaders,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+ * void
+ * glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
*/
typedef struct
static void
_evgl_thread_glGetShaderInfoLog(void *data)
{
- EVGL_Thread_Command_glGetShaderInfoLog *thread_param =
+ EVGL_Thread_Command_glGetShaderInfoLog *thread_data =
(EVGL_Thread_Command_glGetShaderInfoLog *)data;
- glGetShaderInfoLog(thread_param->shader,
- thread_param->bufSize,
- thread_param->length,
- thread_param->infoLog);
+ glGetShaderInfoLog(thread_data->shader,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->infoLog);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetShaderInfoLog thread_param_local;
- EVGL_Thread_Command_glGetShaderInfoLog *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetShaderInfoLog thread_data_local;
+ EVGL_Thread_Command_glGetShaderInfoLog *thread_data = &thread_data_local;
- thread_param->shader = shader;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->infoLog = infoLog;
+ thread_data->shader = shader;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->infoLog = infoLog;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetShaderInfoLog,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
+ * void
+ * glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
*/
typedef struct
static void
_evgl_thread_glGetShaderSource(void *data)
{
- EVGL_Thread_Command_glGetShaderSource *thread_param =
+ EVGL_Thread_Command_glGetShaderSource *thread_data =
(EVGL_Thread_Command_glGetShaderSource *)data;
- glGetShaderSource(thread_param->shader,
- thread_param->bufSize,
- thread_param->length,
- thread_param->source);
+ glGetShaderSource(thread_data->shader,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->source);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetShaderSource thread_param_local;
- EVGL_Thread_Command_glGetShaderSource *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetShaderSource thread_data_local;
+ EVGL_Thread_Command_glGetShaderSource *thread_data = &thread_data_local;
- thread_param->shader = shader;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->source = source;
+ thread_data->shader = shader;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->source = source;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetShaderSource,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
+ * void
+ * glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
*/
typedef struct
static void
_evgl_thread_glGetShaderPrecisionFormat(void *data)
{
- EVGL_Thread_Command_glGetShaderPrecisionFormat *thread_param =
+ EVGL_Thread_Command_glGetShaderPrecisionFormat *thread_data =
(EVGL_Thread_Command_glGetShaderPrecisionFormat *)data;
- glGetShaderPrecisionFormat(thread_param->shadertype,
- thread_param->precisiontype,
- thread_param->range,
- thread_param->precision);
+ glGetShaderPrecisionFormat(thread_data->shadertype,
+ thread_data->precisiontype,
+ thread_data->range,
+ thread_data->precision);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetShaderPrecisionFormat thread_param_local;
- EVGL_Thread_Command_glGetShaderPrecisionFormat *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetShaderPrecisionFormat thread_data_local;
+ EVGL_Thread_Command_glGetShaderPrecisionFormat *thread_data = &thread_data_local;
- thread_param->shadertype = shadertype;
- thread_param->precisiontype = precisiontype;
- thread_param->range = range;
- thread_param->precision = precision;
+ thread_data->shadertype = shadertype;
+ thread_data->precisiontype = precisiontype;
+ thread_data->range = range;
+ thread_data->precision = precision;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetShaderPrecisionFormat,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
+ * void
+ * glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
*/
typedef struct
static void
_evgl_thread_glGetVertexAttribfv(void *data)
{
- EVGL_Thread_Command_glGetVertexAttribfv *thread_param =
+ EVGL_Thread_Command_glGetVertexAttribfv *thread_data =
(EVGL_Thread_Command_glGetVertexAttribfv *)data;
- glGetVertexAttribfv(thread_param->index,
- thread_param->pname,
- thread_param->params);
+ glGetVertexAttribfv(thread_data->index,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetVertexAttribfv thread_param_local;
- EVGL_Thread_Command_glGetVertexAttribfv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetVertexAttribfv thread_data_local;
+ EVGL_Thread_Command_glGetVertexAttribfv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->index = index;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetVertexAttribfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
+ * void
+ * glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_thread_glGetVertexAttribiv(void *data)
{
- EVGL_Thread_Command_glGetVertexAttribiv *thread_param =
+ EVGL_Thread_Command_glGetVertexAttribiv *thread_data =
(EVGL_Thread_Command_glGetVertexAttribiv *)data;
- glGetVertexAttribiv(thread_param->index,
- thread_param->pname,
- thread_param->params);
+ glGetVertexAttribiv(thread_data->index,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetVertexAttribiv thread_param_local;
- EVGL_Thread_Command_glGetVertexAttribiv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetVertexAttribiv thread_data_local;
+ EVGL_Thread_Command_glGetVertexAttribiv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->index = index;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetVertexAttribiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsProgram(GLuint program);
+ * GLboolean
+ * glIsProgram(GLuint program);
*/
typedef struct
static void
_evgl_thread_glIsProgram(void *data)
{
- EVGL_Thread_Command_glIsProgram *thread_param =
+ EVGL_Thread_Command_glIsProgram *thread_data =
(EVGL_Thread_Command_glIsProgram *)data;
- thread_param->return_value = glIsProgram(thread_param->program);
+ thread_data->return_value = glIsProgram(thread_data->program);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glIsProgram thread_param_local;
- EVGL_Thread_Command_glIsProgram *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glIsProgram thread_data_local;
+ EVGL_Thread_Command_glIsProgram *thread_data = &thread_data_local;
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glIsProgram,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+ * void
+ * glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
*/
typedef struct
static void
_evgl_thread_glGetProgramInfoLog(void *data)
{
- EVGL_Thread_Command_glGetProgramInfoLog *thread_param =
+ EVGL_Thread_Command_glGetProgramInfoLog *thread_data =
(EVGL_Thread_Command_glGetProgramInfoLog *)data;
- glGetProgramInfoLog(thread_param->program,
- thread_param->bufSize,
- thread_param->length,
- thread_param->infoLog);
+ glGetProgramInfoLog(thread_data->program,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->infoLog);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetProgramInfoLog thread_param_local;
- EVGL_Thread_Command_glGetProgramInfoLog *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetProgramInfoLog thread_data_local;
+ EVGL_Thread_Command_glGetProgramInfoLog *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->infoLog = infoLog;
+ thread_data->program = program;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->infoLog = infoLog;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetProgramInfoLog,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramiv(GLuint program, GLenum pname, GLint *params);
+ * void
+ * glGetProgramiv(GLuint program, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_thread_glGetProgramiv(void *data)
{
- EVGL_Thread_Command_glGetProgramiv *thread_param =
+ EVGL_Thread_Command_glGetProgramiv *thread_data =
(EVGL_Thread_Command_glGetProgramiv *)data;
- glGetProgramiv(thread_param->program,
- thread_param->pname,
- thread_param->params);
+ glGetProgramiv(thread_data->program,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetProgramiv thread_param_local;
- EVGL_Thread_Command_glGetProgramiv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetProgramiv thread_data_local;
+ EVGL_Thread_Command_glGetProgramiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetProgramiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsFramebuffer(GLint framebuffer);
+ * GLboolean
+ * glIsFramebuffer(GLint framebuffer);
*/
typedef struct
static void
_evgl_thread_glIsFramebuffer(void *data)
{
- EVGL_Thread_Command_glIsFramebuffer *thread_param =
+ EVGL_Thread_Command_glIsFramebuffer *thread_data =
(EVGL_Thread_Command_glIsFramebuffer *)data;
- thread_param->return_value = glIsFramebuffer(thread_param->framebuffer);
+ thread_data->return_value = glIsFramebuffer(thread_data->framebuffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glIsFramebuffer thread_param_local;
- EVGL_Thread_Command_glIsFramebuffer *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glIsFramebuffer thread_data_local;
+ EVGL_Thread_Command_glIsFramebuffer *thread_data = &thread_data_local;
- thread_param->framebuffer = framebuffer;
+ thread_data->framebuffer = framebuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glIsFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glIsRenderbuffer(GLint renderbuffer);
+ * GLboolean
+ * glIsRenderbuffer(GLint renderbuffer);
*/
typedef struct
static void
_evgl_thread_glIsRenderbuffer(void *data)
{
- EVGL_Thread_Command_glIsRenderbuffer *thread_param =
+ EVGL_Thread_Command_glIsRenderbuffer *thread_data =
(EVGL_Thread_Command_glIsRenderbuffer *)data;
- thread_param->return_value = glIsRenderbuffer(thread_param->renderbuffer);
+ thread_data->return_value = glIsRenderbuffer(thread_data->renderbuffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glIsRenderbuffer thread_param_local;
- EVGL_Thread_Command_glIsRenderbuffer *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glIsRenderbuffer thread_data_local;
+ EVGL_Thread_Command_glIsRenderbuffer *thread_data = &thread_data_local;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glIsRenderbuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params);
+ * void
+ * glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params);
*/
typedef struct
static void
_evgl_thread_glGetRenderbufferParameteriv(void *data)
{
- EVGL_Thread_Command_glGetRenderbufferParameteriv *thread_param =
+ EVGL_Thread_Command_glGetRenderbufferParameteriv *thread_data =
(EVGL_Thread_Command_glGetRenderbufferParameteriv *)data;
- glGetRenderbufferParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ glGetRenderbufferParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glGetRenderbufferParameteriv thread_param_local;
- EVGL_Thread_Command_glGetRenderbufferParameteriv *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glGetRenderbufferParameteriv thread_data_local;
+ EVGL_Thread_Command_glGetRenderbufferParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glGetRenderbufferParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsTexture(GLint texture);
+ * GLboolean
+ * glIsTexture(GLint texture);
*/
typedef struct
static void
_evgl_thread_glIsTexture(void *data)
{
- EVGL_Thread_Command_glIsTexture *thread_param =
+ EVGL_Thread_Command_glIsTexture *thread_data =
(EVGL_Thread_Command_glIsTexture *)data;
- thread_param->return_value = glIsTexture(thread_param->texture);
+ thread_data->return_value = glIsTexture(thread_data->texture);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- EVGL_Thread_Command_glIsTexture thread_param_local;
- EVGL_Thread_Command_glIsTexture *thread_param = &thread_param_local;
+ EVGL_Thread_Command_glIsTexture thread_data_local;
+ EVGL_Thread_Command_glIsTexture *thread_data = &thread_data_local;
- thread_param->texture = texture;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_EVGL,
_evgl_thread_glIsTexture,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
-/* DO NOT MODIFY THIS FILE AS IT IS AUTO-GENERATED */
-
+/*
+ * This is an automatically generated file using a python script.
+ * ($EFL_HOME/src/utils/evas/generate_gl_thread_api.py)
+ * Recommend that you modify data files ($EFL_HOME/src/utils/evas/gl_api_def.txt)
+ * and make use of scripts if you need to fix them.
+ */
/*
- GLenum
- glGetError(void);
+ * GLenum
+ * glGetError(void);
*/
typedef struct
{
GLenum return_value;
-} Thread_Command_glGetError;
+} Evas_Thread_Command_glGetError;
static void
_gl_thread_glGetError(void *data)
{
- Thread_Command_glGetError *thread_param =
- (Thread_Command_glGetError *)data;
+ Evas_Thread_Command_glGetError *thread_data =
+ (Evas_Thread_Command_glGetError *)data;
- thread_param->return_value = glGetError();
+ thread_data->return_value = glGetError();
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetError thread_param_local;
- Thread_Command_glGetError *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetError thread_data_local;
+ Evas_Thread_Command_glGetError *thread_data = &thread_data_local;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetError,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
+ * void
+ * glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
*/
typedef struct
GLsizei stride;
const void *pointer;
-} Thread_Command_glVertexAttribPointer;
+} Evas_Thread_Command_glVertexAttribPointer;
static void
_gl_thread_glVertexAttribPointer(void *data)
{
- Thread_Command_glVertexAttribPointer *thread_param =
- (Thread_Command_glVertexAttribPointer *)data;
+ Evas_Thread_Command_glVertexAttribPointer *thread_data =
+ (Evas_Thread_Command_glVertexAttribPointer *)data;
- glVertexAttribPointer(thread_param->index,
- thread_param->size,
- thread_param->type,
- thread_param->normalized,
- thread_param->stride,
- thread_param->pointer);
+ glVertexAttribPointer(thread_data->index,
+ thread_data->size,
+ thread_data->type,
+ thread_data->normalized,
+ thread_data->stride,
+ thread_data->pointer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glVertexAttribPointer thread_param_local;
- Thread_Command_glVertexAttribPointer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glVertexAttribPointer thread_data_local;
+ Evas_Thread_Command_glVertexAttribPointer *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->normalized = normalized;
- thread_param->stride = stride;
- thread_param->pointer = pointer;
+ thread_data->index = index;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->normalized = normalized;
+ thread_data->stride = stride;
+ thread_data->pointer = pointer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glVertexAttribPointer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEnableVertexAttribArray(GLuint index);
+ * void
+ * glEnableVertexAttribArray(GLuint index);
*/
typedef struct
GLuint index;
int command_allocated;
-} Thread_Command_glEnableVertexAttribArray;
+} Evas_Thread_Command_glEnableVertexAttribArray;
static void
_gl_thread_glEnableVertexAttribArray(void *data)
{
- Thread_Command_glEnableVertexAttribArray *thread_param =
- (Thread_Command_glEnableVertexAttribArray *)data;
+ Evas_Thread_Command_glEnableVertexAttribArray *thread_data =
+ (Evas_Thread_Command_glEnableVertexAttribArray *)data;
- glEnableVertexAttribArray(thread_param->index);
+ glEnableVertexAttribArray(thread_data->index);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glEnableVertexAttribArray thread_param_local;
- Thread_Command_glEnableVertexAttribArray *thread_param = &thread_param_local;
+ Evas_Thread_Command_glEnableVertexAttribArray thread_data_local;
+ Evas_Thread_Command_glEnableVertexAttribArray *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glEnableVertexAttribArray *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glEnableVertexAttribArray));
- if (thread_param_new)
+ Evas_Thread_Command_glEnableVertexAttribArray *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glEnableVertexAttribArray));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_ENQUEUE;
}
}
- thread_param->index = index;
+ thread_data->index = index;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glEnableVertexAttribArray,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDisableVertexAttribArray(GLuint index);
+ * void
+ * glDisableVertexAttribArray(GLuint index);
*/
typedef struct
GLuint index;
int command_allocated;
-} Thread_Command_glDisableVertexAttribArray;
+} Evas_Thread_Command_glDisableVertexAttribArray;
static void
_gl_thread_glDisableVertexAttribArray(void *data)
{
- Thread_Command_glDisableVertexAttribArray *thread_param =
- (Thread_Command_glDisableVertexAttribArray *)data;
+ Evas_Thread_Command_glDisableVertexAttribArray *thread_data =
+ (Evas_Thread_Command_glDisableVertexAttribArray *)data;
- glDisableVertexAttribArray(thread_param->index);
+ glDisableVertexAttribArray(thread_data->index);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDisableVertexAttribArray thread_param_local;
- Thread_Command_glDisableVertexAttribArray *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDisableVertexAttribArray thread_data_local;
+ Evas_Thread_Command_glDisableVertexAttribArray *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDisableVertexAttribArray *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDisableVertexAttribArray));
- if (thread_param_new)
+ Evas_Thread_Command_glDisableVertexAttribArray *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDisableVertexAttribArray));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_ENQUEUE;
}
}
- thread_param->index = index;
+ thread_data->index = index;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDisableVertexAttribArray,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawArrays(GLenum mode, GLint first, GLsizei count);
+ * void
+ * glDrawArrays(GLenum mode, GLint first, GLsizei count);
*/
typedef struct
GLint first;
GLsizei count;
-} Thread_Command_glDrawArrays;
+} Evas_Thread_Command_glDrawArrays;
static void
_gl_thread_glDrawArrays(void *data)
{
- Thread_Command_glDrawArrays *thread_param =
- (Thread_Command_glDrawArrays *)data;
+ Evas_Thread_Command_glDrawArrays *thread_data =
+ (Evas_Thread_Command_glDrawArrays *)data;
- glDrawArrays(thread_param->mode,
- thread_param->first,
- thread_param->count);
+ glDrawArrays(thread_data->mode,
+ thread_data->first,
+ thread_data->count);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDrawArrays thread_param_local;
- Thread_Command_glDrawArrays *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDrawArrays thread_data_local;
+ Evas_Thread_Command_glDrawArrays *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->first = first;
- thread_param->count = count;
+ thread_data->mode = mode;
+ thread_data->first = first;
+ thread_data->count = count;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDrawArrays,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices);
+ * void
+ * glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices);
*/
typedef struct
GLenum type;
const void *indices;
-} Thread_Command_glDrawElements;
+} Evas_Thread_Command_glDrawElements;
static void
_gl_thread_glDrawElements(void *data)
{
- Thread_Command_glDrawElements *thread_param =
- (Thread_Command_glDrawElements *)data;
+ Evas_Thread_Command_glDrawElements *thread_data =
+ (Evas_Thread_Command_glDrawElements *)data;
- glDrawElements(thread_param->mode,
- thread_param->count,
- thread_param->type,
- thread_param->indices);
+ glDrawElements(thread_data->mode,
+ thread_data->count,
+ thread_data->type,
+ thread_data->indices);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDrawElements thread_param_local;
- Thread_Command_glDrawElements *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDrawElements thread_data_local;
+ Evas_Thread_Command_glDrawElements *thread_data = &thread_data_local;
- thread_param->mode = mode;
- thread_param->count = count;
- thread_param->type = type;
- thread_param->indices = indices;
+ thread_data->mode = mode;
+ thread_data->count = count;
+ thread_data->type = type;
+ thread_data->indices = indices;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDrawElements,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenBuffers(GLsizei n, GLuint *buffers);
+ * void
+ * glGenBuffers(GLsizei n, GLuint *buffers);
*/
typedef struct
GLsizei n;
GLuint *buffers;
-} Thread_Command_glGenBuffers;
+} Evas_Thread_Command_glGenBuffers;
static void
_gl_thread_glGenBuffers(void *data)
{
- Thread_Command_glGenBuffers *thread_param =
- (Thread_Command_glGenBuffers *)data;
+ Evas_Thread_Command_glGenBuffers *thread_data =
+ (Evas_Thread_Command_glGenBuffers *)data;
- glGenBuffers(thread_param->n,
- thread_param->buffers);
+ glGenBuffers(thread_data->n,
+ thread_data->buffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGenBuffers thread_param_local;
- Thread_Command_glGenBuffers *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGenBuffers thread_data_local;
+ Evas_Thread_Command_glGenBuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->buffers = buffers;
+ thread_data->n = n;
+ thread_data->buffers = buffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGenBuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteBuffers(GLsizei n, const GLuint *buffers);
+ * void
+ * glDeleteBuffers(GLsizei n, const GLuint *buffers);
*/
typedef struct
void *buffers_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glDeleteBuffers;
+} Evas_Thread_Command_glDeleteBuffers;
static void
_gl_thread_glDeleteBuffers(void *data)
{
- Thread_Command_glDeleteBuffers *thread_param =
- (Thread_Command_glDeleteBuffers *)data;
+ Evas_Thread_Command_glDeleteBuffers *thread_data =
+ (Evas_Thread_Command_glDeleteBuffers *)data;
- glDeleteBuffers(thread_param->n,
- thread_param->buffers);
+ glDeleteBuffers(thread_data->n,
+ thread_data->buffers);
- if (thread_param->buffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->buffers_copied);
+ if (thread_data->buffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->buffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDeleteBuffers thread_param_local;
- Thread_Command_glDeleteBuffers *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDeleteBuffers thread_data_local;
+ Evas_Thread_Command_glDeleteBuffers *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDeleteBuffers *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDeleteBuffers));
- if (thread_param_new)
+ Evas_Thread_Command_glDeleteBuffers *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDeleteBuffers));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->buffers = buffers;
+ thread_data->n = n;
+ thread_data->buffers = buffers;
- thread_param->buffers_copied = NULL;
+ thread_data->buffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->buffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->buffers_copied)
+ thread_data->buffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->buffers_copied)
{
- memcpy(thread_param->buffers_copied, buffers, copy_size);
+ memcpy(thread_data->buffers_copied, buffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->buffers = (const GLuint *)thread_param->buffers_copied;
+ thread_data->buffers = (const GLuint *)thread_data->buffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDeleteBuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindBuffer(GLenum target, GLuint buffer);
+ * void
+ * glBindBuffer(GLenum target, GLuint buffer);
*/
typedef struct
GLuint buffer;
int command_allocated;
-} Thread_Command_glBindBuffer;
+} Evas_Thread_Command_glBindBuffer;
static void
_gl_thread_glBindBuffer(void *data)
{
- Thread_Command_glBindBuffer *thread_param =
- (Thread_Command_glBindBuffer *)data;
+ Evas_Thread_Command_glBindBuffer *thread_data =
+ (Evas_Thread_Command_glBindBuffer *)data;
- glBindBuffer(thread_param->target,
- thread_param->buffer);
+ glBindBuffer(thread_data->target,
+ thread_data->buffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glBindBuffer thread_param_local;
- Thread_Command_glBindBuffer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glBindBuffer thread_data_local;
+ Evas_Thread_Command_glBindBuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glBindBuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glBindBuffer));
- if (thread_param_new)
+ Evas_Thread_Command_glBindBuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glBindBuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->buffer = buffer;
+ thread_data->target = target;
+ thread_data->buffer = buffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glBindBuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage);
+ * void
+ * glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage);
*/
typedef struct
const void *data;
GLenum usage;
-} Thread_Command_glBufferData;
+} Evas_Thread_Command_glBufferData;
static void
_gl_thread_glBufferData(void *data)
{
- Thread_Command_glBufferData *thread_param =
- (Thread_Command_glBufferData *)data;
+ Evas_Thread_Command_glBufferData *thread_data =
+ (Evas_Thread_Command_glBufferData *)data;
- glBufferData(thread_param->target,
- thread_param->size,
- thread_param->data,
- thread_param->usage);
+ glBufferData(thread_data->target,
+ thread_data->size,
+ thread_data->data,
+ thread_data->usage);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glBufferData thread_param_local;
- Thread_Command_glBufferData *thread_param = &thread_param_local;
+ Evas_Thread_Command_glBufferData thread_data_local;
+ Evas_Thread_Command_glBufferData *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->size = size;
- thread_param->data = data;
- thread_param->usage = usage;
+ thread_data->target = target;
+ thread_data->size = size;
+ thread_data->data = data;
+ thread_data->usage = usage;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glBufferData,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void *
- glMapBuffer(GLenum target, GLenum access);
+ * void *
+ * glMapBuffer(GLenum target, GLenum access);
*/
typedef struct
GLenum target;
GLenum access;
-} Thread_Command_glMapBuffer;
+} Evas_Thread_Command_glMapBuffer;
void * (*orig_evas_glMapBuffer)(GLenum target, GLenum access);
static void
_gl_thread_glMapBuffer(void *data)
{
- Thread_Command_glMapBuffer *thread_param =
- (Thread_Command_glMapBuffer *)data;
+ Evas_Thread_Command_glMapBuffer *thread_data =
+ (Evas_Thread_Command_glMapBuffer *)data;
- thread_param->return_value = orig_evas_glMapBuffer(thread_param->target,
- thread_param->access);
+ thread_data->return_value = orig_evas_glMapBuffer(thread_data->target,
+ thread_data->access);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glMapBuffer thread_param_local;
- Thread_Command_glMapBuffer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glMapBuffer thread_data_local;
+ Evas_Thread_Command_glMapBuffer *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->access = access;
+ thread_data->target = target;
+ thread_data->access = access;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glMapBuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLboolean
- glUnmapBuffer(GLenum target);
+ * GLboolean
+ * glUnmapBuffer(GLenum target);
*/
typedef struct
GLboolean return_value;
GLenum target;
-} Thread_Command_glUnmapBuffer;
+} Evas_Thread_Command_glUnmapBuffer;
GLboolean (*orig_evas_glUnmapBuffer)(GLenum target);
static void
_gl_thread_glUnmapBuffer(void *data)
{
- Thread_Command_glUnmapBuffer *thread_param =
- (Thread_Command_glUnmapBuffer *)data;
+ Evas_Thread_Command_glUnmapBuffer *thread_data =
+ (Evas_Thread_Command_glUnmapBuffer *)data;
- thread_param->return_value = orig_evas_glUnmapBuffer(thread_param->target);
+ thread_data->return_value = orig_evas_glUnmapBuffer(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUnmapBuffer thread_param_local;
- Thread_Command_glUnmapBuffer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUnmapBuffer thread_data_local;
+ Evas_Thread_Command_glUnmapBuffer *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUnmapBuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- GLuint
- glCreateShader(GLenum type);
+ * GLuint
+ * glCreateShader(GLenum type);
*/
typedef struct
GLuint return_value;
GLenum type;
-} Thread_Command_glCreateShader;
+} Evas_Thread_Command_glCreateShader;
static void
_gl_thread_glCreateShader(void *data)
{
- Thread_Command_glCreateShader *thread_param =
- (Thread_Command_glCreateShader *)data;
+ Evas_Thread_Command_glCreateShader *thread_data =
+ (Evas_Thread_Command_glCreateShader *)data;
- thread_param->return_value = glCreateShader(thread_param->type);
+ thread_data->return_value = glCreateShader(thread_data->type);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glCreateShader thread_param_local;
- Thread_Command_glCreateShader *thread_param = &thread_param_local;
+ Evas_Thread_Command_glCreateShader thread_data_local;
+ Evas_Thread_Command_glCreateShader *thread_data = &thread_data_local;
- thread_param->type = type;
+ thread_data->type = type;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glCreateShader,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glShaderSource(GLuint shader, GLsizei count, const GLchar **string, const GLint *length);
+ * void
+ * glShaderSource(GLuint shader, GLsizei count, const GLchar **string, const GLint *length);
*/
typedef struct
int command_allocated;
GLSHADERSOURCE_COPY_VARIABLE; /* TODO */
-} Thread_Command_glShaderSource;
+} Evas_Thread_Command_glShaderSource;
static void
_gl_thread_glShaderSource(void *data)
{
- Thread_Command_glShaderSource *thread_param =
- (Thread_Command_glShaderSource *)data;
+ Evas_Thread_Command_glShaderSource *thread_data =
+ (Evas_Thread_Command_glShaderSource *)data;
- glShaderSource(thread_param->shader,
- thread_param->count,
- thread_param->string,
- thread_param->length);
+ glShaderSource(thread_data->shader,
+ thread_data->count,
+ thread_data->string,
+ thread_data->length);
GLSHADERSOURCE_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glShaderSource thread_param_local;
- Thread_Command_glShaderSource *thread_param = &thread_param_local;
+ Evas_Thread_Command_glShaderSource thread_data_local;
+ Evas_Thread_Command_glShaderSource *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glShaderSource *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glShaderSource));
- if (thread_param_new)
+ Evas_Thread_Command_glShaderSource *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glShaderSource));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->shader = shader;
- thread_param->count = count;
- thread_param->string = string;
- thread_param->length = length;
+ thread_data->shader = shader;
+ thread_data->count = count;
+ thread_data->string = string;
+ thread_data->length = length;
GLSHADERSOURCE_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glShaderSource,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompileShader(GLuint shader);
+ * void
+ * glCompileShader(GLuint shader);
*/
typedef struct
GLuint shader;
int command_allocated;
-} Thread_Command_glCompileShader;
+} Evas_Thread_Command_glCompileShader;
static void
_gl_thread_glCompileShader(void *data)
{
- Thread_Command_glCompileShader *thread_param =
- (Thread_Command_glCompileShader *)data;
+ Evas_Thread_Command_glCompileShader *thread_data =
+ (Evas_Thread_Command_glCompileShader *)data;
- glCompileShader(thread_param->shader);
+ glCompileShader(thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glCompileShader thread_param_local;
- Thread_Command_glCompileShader *thread_param = &thread_param_local;
+ Evas_Thread_Command_glCompileShader thread_data_local;
+ Evas_Thread_Command_glCompileShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glCompileShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glCompileShader));
- if (thread_param_new)
+ Evas_Thread_Command_glCompileShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glCompileShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->shader = shader;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glCompileShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glReleaseShaderCompiler(void);
+ * void
+ * glReleaseShaderCompiler(void);
*/
void (*orig_evas_glReleaseShaderCompiler)(void);
}
/*
- void
- glDeleteShader(GLuint shader);
+ * void
+ * glDeleteShader(GLuint shader);
*/
typedef struct
GLuint shader;
int command_allocated;
-} Thread_Command_glDeleteShader;
+} Evas_Thread_Command_glDeleteShader;
static void
_gl_thread_glDeleteShader(void *data)
{
- Thread_Command_glDeleteShader *thread_param =
- (Thread_Command_glDeleteShader *)data;
+ Evas_Thread_Command_glDeleteShader *thread_data =
+ (Evas_Thread_Command_glDeleteShader *)data;
- glDeleteShader(thread_param->shader);
+ glDeleteShader(thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDeleteShader thread_param_local;
- Thread_Command_glDeleteShader *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDeleteShader thread_data_local;
+ Evas_Thread_Command_glDeleteShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDeleteShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDeleteShader));
- if (thread_param_new)
+ Evas_Thread_Command_glDeleteShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDeleteShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->shader = shader;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDeleteShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLuint
- glCreateProgram(void);
+ * GLuint
+ * glCreateProgram(void);
*/
typedef struct
{
GLuint return_value;
-} Thread_Command_glCreateProgram;
+} Evas_Thread_Command_glCreateProgram;
static void
_gl_thread_glCreateProgram(void *data)
{
- Thread_Command_glCreateProgram *thread_param =
- (Thread_Command_glCreateProgram *)data;
+ Evas_Thread_Command_glCreateProgram *thread_data =
+ (Evas_Thread_Command_glCreateProgram *)data;
- thread_param->return_value = glCreateProgram();
+ thread_data->return_value = glCreateProgram();
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glCreateProgram thread_param_local;
- Thread_Command_glCreateProgram *thread_param = &thread_param_local;
+ Evas_Thread_Command_glCreateProgram thread_data_local;
+ Evas_Thread_Command_glCreateProgram *thread_data = &thread_data_local;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glCreateProgram,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glAttachShader(GLuint program, GLuint shader);
+ * void
+ * glAttachShader(GLuint program, GLuint shader);
*/
typedef struct
GLuint shader;
int command_allocated;
-} Thread_Command_glAttachShader;
+} Evas_Thread_Command_glAttachShader;
static void
_gl_thread_glAttachShader(void *data)
{
- Thread_Command_glAttachShader *thread_param =
- (Thread_Command_glAttachShader *)data;
+ Evas_Thread_Command_glAttachShader *thread_data =
+ (Evas_Thread_Command_glAttachShader *)data;
- glAttachShader(thread_param->program,
- thread_param->shader);
+ glAttachShader(thread_data->program,
+ thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glAttachShader thread_param_local;
- Thread_Command_glAttachShader *thread_param = &thread_param_local;
+ Evas_Thread_Command_glAttachShader thread_data_local;
+ Evas_Thread_Command_glAttachShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glAttachShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glAttachShader));
- if (thread_param_new)
+ Evas_Thread_Command_glAttachShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glAttachShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->shader = shader;
+ thread_data->program = program;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glAttachShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDetachShader(GLuint program, GLuint shader);
+ * void
+ * glDetachShader(GLuint program, GLuint shader);
*/
typedef struct
GLuint shader;
int command_allocated;
-} Thread_Command_glDetachShader;
+} Evas_Thread_Command_glDetachShader;
static void
_gl_thread_glDetachShader(void *data)
{
- Thread_Command_glDetachShader *thread_param =
- (Thread_Command_glDetachShader *)data;
+ Evas_Thread_Command_glDetachShader *thread_data =
+ (Evas_Thread_Command_glDetachShader *)data;
- glDetachShader(thread_param->program,
- thread_param->shader);
+ glDetachShader(thread_data->program,
+ thread_data->shader);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDetachShader thread_param_local;
- Thread_Command_glDetachShader *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDetachShader thread_data_local;
+ Evas_Thread_Command_glDetachShader *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDetachShader *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDetachShader));
- if (thread_param_new)
+ Evas_Thread_Command_glDetachShader *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDetachShader));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->shader = shader;
+ thread_data->program = program;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDetachShader,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLinkProgram(GLuint program);
+ * void
+ * glLinkProgram(GLuint program);
*/
typedef struct
GLuint program;
int command_allocated;
-} Thread_Command_glLinkProgram;
+} Evas_Thread_Command_glLinkProgram;
static void
_gl_thread_glLinkProgram(void *data)
{
- Thread_Command_glLinkProgram *thread_param =
- (Thread_Command_glLinkProgram *)data;
+ Evas_Thread_Command_glLinkProgram *thread_data =
+ (Evas_Thread_Command_glLinkProgram *)data;
- glLinkProgram(thread_param->program);
+ glLinkProgram(thread_data->program);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glLinkProgram thread_param_local;
- Thread_Command_glLinkProgram *thread_param = &thread_param_local;
+ Evas_Thread_Command_glLinkProgram thread_data_local;
+ Evas_Thread_Command_glLinkProgram *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glLinkProgram *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glLinkProgram));
- if (thread_param_new)
+ Evas_Thread_Command_glLinkProgram *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glLinkProgram));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glLinkProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUseProgram(GLuint program);
+ * void
+ * glUseProgram(GLuint program);
*/
typedef struct
GLuint program;
int command_allocated;
-} Thread_Command_glUseProgram;
+} Evas_Thread_Command_glUseProgram;
static void
_gl_thread_glUseProgram(void *data)
{
- Thread_Command_glUseProgram *thread_param =
- (Thread_Command_glUseProgram *)data;
+ Evas_Thread_Command_glUseProgram *thread_data =
+ (Evas_Thread_Command_glUseProgram *)data;
- glUseProgram(thread_param->program);
+ glUseProgram(thread_data->program);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUseProgram thread_param_local;
- Thread_Command_glUseProgram *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUseProgram thread_data_local;
+ Evas_Thread_Command_glUseProgram *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUseProgram *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUseProgram));
- if (thread_param_new)
+ Evas_Thread_Command_glUseProgram *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUseProgram));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUseProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramParameteri(GLuint program, GLenum pname, GLint value);
+ * void
+ * glProgramParameteri(GLuint program, GLenum pname, GLint value);
*/
typedef struct
GLint value;
int command_allocated;
-} Thread_Command_glProgramParameteri;
+} Evas_Thread_Command_glProgramParameteri;
void (*orig_evas_glProgramParameteri)(GLuint program, GLenum pname, GLint value);
static void
_gl_thread_glProgramParameteri(void *data)
{
- Thread_Command_glProgramParameteri *thread_param =
- (Thread_Command_glProgramParameteri *)data;
+ Evas_Thread_Command_glProgramParameteri *thread_data =
+ (Evas_Thread_Command_glProgramParameteri *)data;
- orig_evas_glProgramParameteri(thread_param->program,
- thread_param->pname,
- thread_param->value);
+ orig_evas_glProgramParameteri(thread_data->program,
+ thread_data->pname,
+ thread_data->value);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glProgramParameteri thread_param_local;
- Thread_Command_glProgramParameteri *thread_param = &thread_param_local;
+ Evas_Thread_Command_glProgramParameteri thread_data_local;
+ Evas_Thread_Command_glProgramParameteri *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glProgramParameteri *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glProgramParameteri));
- if (thread_param_new)
+ Evas_Thread_Command_glProgramParameteri *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glProgramParameteri));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->pname = pname;
- thread_param->value = value;
+ thread_data->program = program;
+ thread_data->pname = pname;
+ thread_data->value = value;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glProgramParameteri,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteProgram(GLuint program);
+ * void
+ * glDeleteProgram(GLuint program);
*/
typedef struct
GLuint program;
int command_allocated;
-} Thread_Command_glDeleteProgram;
+} Evas_Thread_Command_glDeleteProgram;
static void
_gl_thread_glDeleteProgram(void *data)
{
- Thread_Command_glDeleteProgram *thread_param =
- (Thread_Command_glDeleteProgram *)data;
+ Evas_Thread_Command_glDeleteProgram *thread_data =
+ (Evas_Thread_Command_glDeleteProgram *)data;
- glDeleteProgram(thread_param->program);
+ glDeleteProgram(thread_data->program);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDeleteProgram thread_param_local;
- Thread_Command_glDeleteProgram *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDeleteProgram thread_data_local;
+ Evas_Thread_Command_glDeleteProgram *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDeleteProgram *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDeleteProgram));
- if (thread_param_new)
+ Evas_Thread_Command_glDeleteProgram *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDeleteProgram));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDeleteProgram,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
+ * void
+ * glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
*/
typedef struct
GLenum *binaryFormat;
void *binary;
-} Thread_Command_glGetProgramBinary;
+} Evas_Thread_Command_glGetProgramBinary;
void (*orig_evas_glGetProgramBinary)(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
static void
_gl_thread_glGetProgramBinary(void *data)
{
- Thread_Command_glGetProgramBinary *thread_param =
- (Thread_Command_glGetProgramBinary *)data;
+ Evas_Thread_Command_glGetProgramBinary *thread_data =
+ (Evas_Thread_Command_glGetProgramBinary *)data;
- orig_evas_glGetProgramBinary(thread_param->program,
- thread_param->bufSize,
- thread_param->length,
- thread_param->binaryFormat,
- thread_param->binary);
+ orig_evas_glGetProgramBinary(thread_data->program,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->binaryFormat,
+ thread_data->binary);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetProgramBinary thread_param_local;
- Thread_Command_glGetProgramBinary *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetProgramBinary thread_data_local;
+ Evas_Thread_Command_glGetProgramBinary *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->binaryFormat = binaryFormat;
- thread_param->binary = binary;
+ thread_data->program = program;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->binaryFormat = binaryFormat;
+ thread_data->binary = binary;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetProgramBinary,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLint length);
+ * void
+ * glProgramBinary(GLuint program, GLenum binaryFormat, const void *binary, GLint length);
*/
typedef struct
void *binary_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glProgramBinary;
+} Evas_Thread_Command_glProgramBinary;
void (*orig_evas_glProgramBinary)(GLuint program, GLenum binaryFormat, const void *binary, GLint length);
static void
_gl_thread_glProgramBinary(void *data)
{
- Thread_Command_glProgramBinary *thread_param =
- (Thread_Command_glProgramBinary *)data;
+ Evas_Thread_Command_glProgramBinary *thread_data =
+ (Evas_Thread_Command_glProgramBinary *)data;
- orig_evas_glProgramBinary(thread_param->program,
- thread_param->binaryFormat,
- thread_param->binary,
- thread_param->length);
+ orig_evas_glProgramBinary(thread_data->program,
+ thread_data->binaryFormat,
+ thread_data->binary,
+ thread_data->length);
- if (thread_param->binary_copied)
- eina_mempool_free(_mp_default, thread_param->binary_copied);
+ if (thread_data->binary_copied)
+ eina_mempool_free(_mp_default, thread_data->binary_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glProgramBinary thread_param_local;
- Thread_Command_glProgramBinary *thread_param = &thread_param_local;
+ Evas_Thread_Command_glProgramBinary thread_data_local;
+ Evas_Thread_Command_glProgramBinary *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glProgramBinary *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glProgramBinary));
- if (thread_param_new)
+ Evas_Thread_Command_glProgramBinary *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glProgramBinary));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->program = program;
- thread_param->binaryFormat = binaryFormat;
- thread_param->binary = binary;
- thread_param->length = length;
+ thread_data->program = program;
+ thread_data->binaryFormat = binaryFormat;
+ thread_data->binary = binary;
+ thread_data->length = length;
- thread_param->binary_copied = NULL;
+ thread_data->binary_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->binary_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->binary_copied)
+ thread_data->binary_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->binary_copied)
{
- memcpy(thread_param->binary_copied, binary, copy_size);
+ memcpy(thread_data->binary_copied, binary, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->binary = (const void *)thread_param->binary_copied;
+ thread_data->binary = (const void *)thread_data->binary_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glProgramBinary,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
+ * void
+ * glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
*/
typedef struct
GLenum *type;
GLchar *name;
-} Thread_Command_glGetActiveAttrib;
+} Evas_Thread_Command_glGetActiveAttrib;
static void
_gl_thread_glGetActiveAttrib(void *data)
{
- Thread_Command_glGetActiveAttrib *thread_param =
- (Thread_Command_glGetActiveAttrib *)data;
+ Evas_Thread_Command_glGetActiveAttrib *thread_data =
+ (Evas_Thread_Command_glGetActiveAttrib *)data;
- glGetActiveAttrib(thread_param->program,
- thread_param->index,
- thread_param->bufSize,
- thread_param->length,
- thread_param->size,
- thread_param->type,
- thread_param->name);
+ glGetActiveAttrib(thread_data->program,
+ thread_data->index,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->size,
+ thread_data->type,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetActiveAttrib thread_param_local;
- Thread_Command_glGetActiveAttrib *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetActiveAttrib thread_data_local;
+ Evas_Thread_Command_glGetActiveAttrib *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->index = index;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->size = size;
- thread_param->type = type;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->index = index;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->size = size;
+ thread_data->type = type;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetActiveAttrib,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLint
- glGetAttribLocation(GLuint program, const GLchar *name);
+ * GLint
+ * glGetAttribLocation(GLuint program, const GLchar *name);
*/
typedef struct
GLuint program;
const GLchar *name;
-} Thread_Command_glGetAttribLocation;
+} Evas_Thread_Command_glGetAttribLocation;
static void
_gl_thread_glGetAttribLocation(void *data)
{
- Thread_Command_glGetAttribLocation *thread_param =
- (Thread_Command_glGetAttribLocation *)data;
+ Evas_Thread_Command_glGetAttribLocation *thread_data =
+ (Evas_Thread_Command_glGetAttribLocation *)data;
- thread_param->return_value = glGetAttribLocation(thread_param->program,
- thread_param->name);
+ thread_data->return_value = glGetAttribLocation(thread_data->program,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetAttribLocation thread_param_local;
- Thread_Command_glGetAttribLocation *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetAttribLocation thread_data_local;
+ Evas_Thread_Command_glGetAttribLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetAttribLocation,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
+ * void
+ * glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
*/
typedef struct
GLuint index;
const GLchar *name;
-} Thread_Command_glBindAttribLocation;
+} Evas_Thread_Command_glBindAttribLocation;
static void
_gl_thread_glBindAttribLocation(void *data)
{
- Thread_Command_glBindAttribLocation *thread_param =
- (Thread_Command_glBindAttribLocation *)data;
+ Evas_Thread_Command_glBindAttribLocation *thread_data =
+ (Evas_Thread_Command_glBindAttribLocation *)data;
- glBindAttribLocation(thread_param->program,
- thread_param->index,
- thread_param->name);
+ glBindAttribLocation(thread_data->program,
+ thread_data->index,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glBindAttribLocation thread_param_local;
- Thread_Command_glBindAttribLocation *thread_param = &thread_param_local;
+ Evas_Thread_Command_glBindAttribLocation thread_data_local;
+ Evas_Thread_Command_glBindAttribLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->index = index;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->index = index;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glBindAttribLocation,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLint
- glGetUniformLocation(GLuint program, const GLchar *name);
+ * GLint
+ * glGetUniformLocation(GLuint program, const GLchar *name);
*/
typedef struct
GLuint program;
const GLchar *name;
-} Thread_Command_glGetUniformLocation;
+} Evas_Thread_Command_glGetUniformLocation;
static void
_gl_thread_glGetUniformLocation(void *data)
{
- Thread_Command_glGetUniformLocation *thread_param =
- (Thread_Command_glGetUniformLocation *)data;
+ Evas_Thread_Command_glGetUniformLocation *thread_data =
+ (Evas_Thread_Command_glGetUniformLocation *)data;
- thread_param->return_value = glGetUniformLocation(thread_param->program,
- thread_param->name);
+ thread_data->return_value = glGetUniformLocation(thread_data->program,
+ thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetUniformLocation thread_param_local;
- Thread_Command_glGetUniformLocation *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetUniformLocation thread_data_local;
+ Evas_Thread_Command_glGetUniformLocation *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->name = name;
+ thread_data->program = program;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetUniformLocation,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glUniform1f(GLint location, GLfloat v0);
+ * void
+ * glUniform1f(GLint location, GLfloat v0);
*/
typedef struct
GLfloat v0;
int command_allocated;
-} Thread_Command_glUniform1f;
+} Evas_Thread_Command_glUniform1f;
static void
_gl_thread_glUniform1f(void *data)
{
- Thread_Command_glUniform1f *thread_param =
- (Thread_Command_glUniform1f *)data;
+ Evas_Thread_Command_glUniform1f *thread_data =
+ (Evas_Thread_Command_glUniform1f *)data;
- glUniform1f(thread_param->location,
- thread_param->v0);
+ glUniform1f(thread_data->location,
+ thread_data->v0);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform1f thread_param_local;
- Thread_Command_glUniform1f *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform1f thread_data_local;
+ Evas_Thread_Command_glUniform1f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform1f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform1f));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform1f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform1f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
+ thread_data->location = location;
+ thread_data->v0 = v0;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform1f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1i(GLint location, GLint v0);
+ * void
+ * glUniform1i(GLint location, GLint v0);
*/
typedef struct
GLint v0;
int command_allocated;
-} Thread_Command_glUniform1i;
+} Evas_Thread_Command_glUniform1i;
static void
_gl_thread_glUniform1i(void *data)
{
- Thread_Command_glUniform1i *thread_param =
- (Thread_Command_glUniform1i *)data;
+ Evas_Thread_Command_glUniform1i *thread_data =
+ (Evas_Thread_Command_glUniform1i *)data;
- glUniform1i(thread_param->location,
- thread_param->v0);
+ glUniform1i(thread_data->location,
+ thread_data->v0);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform1i thread_param_local;
- Thread_Command_glUniform1i *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform1i thread_data_local;
+ Evas_Thread_Command_glUniform1i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform1i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform1i));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform1i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform1i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
+ thread_data->location = location;
+ thread_data->v0 = v0;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform1i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2f(GLint location, GLfloat v0, GLfloat v1);
+ * void
+ * glUniform2f(GLint location, GLfloat v0, GLfloat v1);
*/
typedef struct
GLfloat v1;
int command_allocated;
-} Thread_Command_glUniform2f;
+} Evas_Thread_Command_glUniform2f;
static void
_gl_thread_glUniform2f(void *data)
{
- Thread_Command_glUniform2f *thread_param =
- (Thread_Command_glUniform2f *)data;
+ Evas_Thread_Command_glUniform2f *thread_data =
+ (Evas_Thread_Command_glUniform2f *)data;
- glUniform2f(thread_param->location,
- thread_param->v0,
- thread_param->v1);
+ glUniform2f(thread_data->location,
+ thread_data->v0,
+ thread_data->v1);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform2f thread_param_local;
- Thread_Command_glUniform2f *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform2f thread_data_local;
+ Evas_Thread_Command_glUniform2f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform2f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform2f));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform2f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform2f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform2f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2i(GLint location, GLint v0, GLint v1);
+ * void
+ * glUniform2i(GLint location, GLint v0, GLint v1);
*/
typedef struct
GLint v1;
int command_allocated;
-} Thread_Command_glUniform2i;
+} Evas_Thread_Command_glUniform2i;
static void
_gl_thread_glUniform2i(void *data)
{
- Thread_Command_glUniform2i *thread_param =
- (Thread_Command_glUniform2i *)data;
+ Evas_Thread_Command_glUniform2i *thread_data =
+ (Evas_Thread_Command_glUniform2i *)data;
- glUniform2i(thread_param->location,
- thread_param->v0,
- thread_param->v1);
+ glUniform2i(thread_data->location,
+ thread_data->v0,
+ thread_data->v1);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform2i thread_param_local;
- Thread_Command_glUniform2i *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform2i thread_data_local;
+ Evas_Thread_Command_glUniform2i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform2i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform2i));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform2i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform2i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform2i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
+ * void
+ * glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
*/
typedef struct
GLfloat v2;
int command_allocated;
-} Thread_Command_glUniform3f;
+} Evas_Thread_Command_glUniform3f;
static void
_gl_thread_glUniform3f(void *data)
{
- Thread_Command_glUniform3f *thread_param =
- (Thread_Command_glUniform3f *)data;
+ Evas_Thread_Command_glUniform3f *thread_data =
+ (Evas_Thread_Command_glUniform3f *)data;
- glUniform3f(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2);
+ glUniform3f(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform3f thread_param_local;
- Thread_Command_glUniform3f *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform3f thread_data_local;
+ Evas_Thread_Command_glUniform3f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform3f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform3f));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform3f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform3f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform3f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3i(GLint location, GLint v0, GLint v1, GLint v2);
+ * void
+ * glUniform3i(GLint location, GLint v0, GLint v1, GLint v2);
*/
typedef struct
GLint v2;
int command_allocated;
-} Thread_Command_glUniform3i;
+} Evas_Thread_Command_glUniform3i;
static void
_gl_thread_glUniform3i(void *data)
{
- Thread_Command_glUniform3i *thread_param =
- (Thread_Command_glUniform3i *)data;
+ Evas_Thread_Command_glUniform3i *thread_data =
+ (Evas_Thread_Command_glUniform3i *)data;
- glUniform3i(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2);
+ glUniform3i(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform3i thread_param_local;
- Thread_Command_glUniform3i *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform3i thread_data_local;
+ Evas_Thread_Command_glUniform3i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform3i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform3i));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform3i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform3i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform3i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
+ * void
+ * glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
*/
typedef struct
GLfloat v3;
int command_allocated;
-} Thread_Command_glUniform4f;
+} Evas_Thread_Command_glUniform4f;
static void
_gl_thread_glUniform4f(void *data)
{
- Thread_Command_glUniform4f *thread_param =
- (Thread_Command_glUniform4f *)data;
+ Evas_Thread_Command_glUniform4f *thread_data =
+ (Evas_Thread_Command_glUniform4f *)data;
- glUniform4f(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ glUniform4f(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform4f thread_param_local;
- Thread_Command_glUniform4f *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform4f thread_data_local;
+ Evas_Thread_Command_glUniform4f *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform4f *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform4f));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform4f *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform4f));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform4f,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+ * void
+ * glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
*/
typedef struct
GLint v3;
int command_allocated;
-} Thread_Command_glUniform4i;
+} Evas_Thread_Command_glUniform4i;
static void
_gl_thread_glUniform4i(void *data)
{
- Thread_Command_glUniform4i *thread_param =
- (Thread_Command_glUniform4i *)data;
+ Evas_Thread_Command_glUniform4i *thread_data =
+ (Evas_Thread_Command_glUniform4i *)data;
- glUniform4i(thread_param->location,
- thread_param->v0,
- thread_param->v1,
- thread_param->v2,
- thread_param->v3);
+ glUniform4i(thread_data->location,
+ thread_data->v0,
+ thread_data->v1,
+ thread_data->v2,
+ thread_data->v3);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform4i thread_param_local;
- Thread_Command_glUniform4i *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform4i thread_data_local;
+ Evas_Thread_Command_glUniform4i *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform4i *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform4i));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform4i *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform4i));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->v0 = v0;
- thread_param->v1 = v1;
- thread_param->v2 = v2;
- thread_param->v3 = v3;
+ thread_data->location = location;
+ thread_data->v0 = v0;
+ thread_data->v1 = v1;
+ thread_data->v2 = v2;
+ thread_data->v3 = v3;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform4i,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1fv(GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glUniform1fv(GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniform1fv;
+} Evas_Thread_Command_glUniform1fv;
static void
_gl_thread_glUniform1fv(void *data)
{
- Thread_Command_glUniform1fv *thread_param =
- (Thread_Command_glUniform1fv *)data;
+ Evas_Thread_Command_glUniform1fv *thread_data =
+ (Evas_Thread_Command_glUniform1fv *)data;
- glUniform1fv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform1fv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform1fv thread_param_local;
- Thread_Command_glUniform1fv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform1fv thread_data_local;
+ Evas_Thread_Command_glUniform1fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform1fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform1fv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform1fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform1fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform1fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform1iv(GLint location, GLsizei count, const GLint *value);
+ * void
+ * glUniform1iv(GLint location, GLsizei count, const GLint *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniform1iv;
+} Evas_Thread_Command_glUniform1iv;
static void
_gl_thread_glUniform1iv(void *data)
{
- Thread_Command_glUniform1iv *thread_param =
- (Thread_Command_glUniform1iv *)data;
+ Evas_Thread_Command_glUniform1iv *thread_data =
+ (Evas_Thread_Command_glUniform1iv *)data;
- glUniform1iv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform1iv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform1iv thread_param_local;
- Thread_Command_glUniform1iv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform1iv thread_data_local;
+ Evas_Thread_Command_glUniform1iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform1iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform1iv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform1iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform1iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLint *)thread_param->value_copied;
+ thread_data->value = (const GLint *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform1iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2fv(GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glUniform2fv(GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniform2fv;
+} Evas_Thread_Command_glUniform2fv;
static void
_gl_thread_glUniform2fv(void *data)
{
- Thread_Command_glUniform2fv *thread_param =
- (Thread_Command_glUniform2fv *)data;
+ Evas_Thread_Command_glUniform2fv *thread_data =
+ (Evas_Thread_Command_glUniform2fv *)data;
- glUniform2fv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform2fv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform2fv thread_param_local;
- Thread_Command_glUniform2fv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform2fv thread_data_local;
+ Evas_Thread_Command_glUniform2fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform2fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform2fv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform2fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform2fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform2iv(GLint location, GLsizei count, const GLint *value);
+ * void
+ * glUniform2iv(GLint location, GLsizei count, const GLint *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniform2iv;
+} Evas_Thread_Command_glUniform2iv;
static void
_gl_thread_glUniform2iv(void *data)
{
- Thread_Command_glUniform2iv *thread_param =
- (Thread_Command_glUniform2iv *)data;
+ Evas_Thread_Command_glUniform2iv *thread_data =
+ (Evas_Thread_Command_glUniform2iv *)data;
- glUniform2iv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform2iv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform2iv thread_param_local;
- Thread_Command_glUniform2iv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform2iv thread_data_local;
+ Evas_Thread_Command_glUniform2iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform2iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform2iv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform2iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform2iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLint *)thread_param->value_copied;
+ thread_data->value = (const GLint *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform2iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3fv(GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glUniform3fv(GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniform3fv;
+} Evas_Thread_Command_glUniform3fv;
static void
_gl_thread_glUniform3fv(void *data)
{
- Thread_Command_glUniform3fv *thread_param =
- (Thread_Command_glUniform3fv *)data;
+ Evas_Thread_Command_glUniform3fv *thread_data =
+ (Evas_Thread_Command_glUniform3fv *)data;
- glUniform3fv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform3fv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform3fv thread_param_local;
- Thread_Command_glUniform3fv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform3fv thread_data_local;
+ Evas_Thread_Command_glUniform3fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform3fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform3fv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform3fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform3fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform3iv(GLint location, GLsizei count, const GLint *value);
+ * void
+ * glUniform3iv(GLint location, GLsizei count, const GLint *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniform3iv;
+} Evas_Thread_Command_glUniform3iv;
static void
_gl_thread_glUniform3iv(void *data)
{
- Thread_Command_glUniform3iv *thread_param =
- (Thread_Command_glUniform3iv *)data;
+ Evas_Thread_Command_glUniform3iv *thread_data =
+ (Evas_Thread_Command_glUniform3iv *)data;
- glUniform3iv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform3iv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform3iv thread_param_local;
- Thread_Command_glUniform3iv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform3iv thread_data_local;
+ Evas_Thread_Command_glUniform3iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform3iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform3iv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform3iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform3iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLint *)thread_param->value_copied;
+ thread_data->value = (const GLint *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform3iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4fv(GLint location, GLsizei count, const GLfloat *value);
+ * void
+ * glUniform4fv(GLint location, GLsizei count, const GLfloat *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniform4fv;
+} Evas_Thread_Command_glUniform4fv;
static void
_gl_thread_glUniform4fv(void *data)
{
- Thread_Command_glUniform4fv *thread_param =
- (Thread_Command_glUniform4fv *)data;
+ Evas_Thread_Command_glUniform4fv *thread_data =
+ (Evas_Thread_Command_glUniform4fv *)data;
- glUniform4fv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform4fv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform4fv thread_param_local;
- Thread_Command_glUniform4fv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform4fv thread_data_local;
+ Evas_Thread_Command_glUniform4fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform4fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform4fv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform4fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform4fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniform4iv(GLint location, GLsizei count, const GLint *value);
+ * void
+ * glUniform4iv(GLint location, GLsizei count, const GLint *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniform4iv;
+} Evas_Thread_Command_glUniform4iv;
static void
_gl_thread_glUniform4iv(void *data)
{
- Thread_Command_glUniform4iv *thread_param =
- (Thread_Command_glUniform4iv *)data;
+ Evas_Thread_Command_glUniform4iv *thread_data =
+ (Evas_Thread_Command_glUniform4iv *)data;
- glUniform4iv(thread_param->location,
- thread_param->count,
- thread_param->value);
+ glUniform4iv(thread_data->location,
+ thread_data->count,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniform4iv thread_param_local;
- Thread_Command_glUniform4iv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniform4iv thread_data_local;
+ Evas_Thread_Command_glUniform4iv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniform4iv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniform4iv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniform4iv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniform4iv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLint *)thread_param->value_copied;
+ thread_data->value = (const GLint *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniform4iv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniformMatrix2fv;
+} Evas_Thread_Command_glUniformMatrix2fv;
static void
_gl_thread_glUniformMatrix2fv(void *data)
{
- Thread_Command_glUniformMatrix2fv *thread_param =
- (Thread_Command_glUniformMatrix2fv *)data;
+ Evas_Thread_Command_glUniformMatrix2fv *thread_data =
+ (Evas_Thread_Command_glUniformMatrix2fv *)data;
- glUniformMatrix2fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ glUniformMatrix2fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniformMatrix2fv thread_param_local;
- Thread_Command_glUniformMatrix2fv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniformMatrix2fv thread_data_local;
+ Evas_Thread_Command_glUniformMatrix2fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniformMatrix2fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniformMatrix2fv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniformMatrix2fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniformMatrix2fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniformMatrix2fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniformMatrix3fv;
+} Evas_Thread_Command_glUniformMatrix3fv;
static void
_gl_thread_glUniformMatrix3fv(void *data)
{
- Thread_Command_glUniformMatrix3fv *thread_param =
- (Thread_Command_glUniformMatrix3fv *)data;
+ Evas_Thread_Command_glUniformMatrix3fv *thread_data =
+ (Evas_Thread_Command_glUniformMatrix3fv *)data;
- glUniformMatrix3fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ glUniformMatrix3fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniformMatrix3fv thread_param_local;
- Thread_Command_glUniformMatrix3fv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniformMatrix3fv thread_data_local;
+ Evas_Thread_Command_glUniformMatrix3fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniformMatrix3fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniformMatrix3fv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniformMatrix3fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniformMatrix3fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniformMatrix3fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
+ * void
+ * glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
*/
typedef struct
void *value_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glUniformMatrix4fv;
+} Evas_Thread_Command_glUniformMatrix4fv;
static void
_gl_thread_glUniformMatrix4fv(void *data)
{
- Thread_Command_glUniformMatrix4fv *thread_param =
- (Thread_Command_glUniformMatrix4fv *)data;
+ Evas_Thread_Command_glUniformMatrix4fv *thread_data =
+ (Evas_Thread_Command_glUniformMatrix4fv *)data;
- glUniformMatrix4fv(thread_param->location,
- thread_param->count,
- thread_param->transpose,
- thread_param->value);
+ glUniformMatrix4fv(thread_data->location,
+ thread_data->count,
+ thread_data->transpose,
+ thread_data->value);
- if (thread_param->value_copied)
- eina_mempool_free(_mp_uniform, thread_param->value_copied);
+ if (thread_data->value_copied)
+ eina_mempool_free(_mp_uniform, thread_data->value_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glUniformMatrix4fv thread_param_local;
- Thread_Command_glUniformMatrix4fv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glUniformMatrix4fv thread_data_local;
+ Evas_Thread_Command_glUniformMatrix4fv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glUniformMatrix4fv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glUniformMatrix4fv));
- if (thread_param_new)
+ Evas_Thread_Command_glUniformMatrix4fv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glUniformMatrix4fv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->location = location;
- thread_param->count = count;
- thread_param->transpose = transpose;
- thread_param->value = value;
+ thread_data->location = location;
+ thread_data->count = count;
+ thread_data->transpose = transpose;
+ thread_data->value = value;
- thread_param->value_copied = NULL;
+ thread_data->value_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
- if (thread_param->value_copied)
+ thread_data->value_copied = eina_mempool_malloc(_mp_uniform, copy_size);
+ if (thread_data->value_copied)
{
- memcpy(thread_param->value_copied, value, copy_size);
+ memcpy(thread_data->value_copied, value, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->value = (const GLfloat *)thread_param->value_copied;
+ thread_data->value = (const GLfloat *)thread_data->value_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glUniformMatrix4fv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
GLsizei height;
int command_allocated;
-} Thread_Command_glViewport;
+} Evas_Thread_Command_glViewport;
static void
_gl_thread_glViewport(void *data)
{
- Thread_Command_glViewport *thread_param =
- (Thread_Command_glViewport *)data;
+ Evas_Thread_Command_glViewport *thread_data =
+ (Evas_Thread_Command_glViewport *)data;
- glViewport(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ glViewport(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glViewport thread_param_local;
- Thread_Command_glViewport *thread_param = &thread_param_local;
+ Evas_Thread_Command_glViewport thread_data_local;
+ Evas_Thread_Command_glViewport *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glViewport *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glViewport));
- if (thread_param_new)
+ Evas_Thread_Command_glViewport *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glViewport));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glViewport,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEnable(GLenum cap);
+ * void
+ * glEnable(GLenum cap);
*/
typedef struct
GLenum cap;
int command_allocated;
-} Thread_Command_glEnable;
+} Evas_Thread_Command_glEnable;
static void
_gl_thread_glEnable(void *data)
{
- Thread_Command_glEnable *thread_param =
- (Thread_Command_glEnable *)data;
+ Evas_Thread_Command_glEnable *thread_data =
+ (Evas_Thread_Command_glEnable *)data;
- glEnable(thread_param->cap);
+ glEnable(thread_data->cap);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glEnable thread_param_local;
- Thread_Command_glEnable *thread_param = &thread_param_local;
+ Evas_Thread_Command_glEnable thread_data_local;
+ Evas_Thread_Command_glEnable *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glEnable *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glEnable));
- if (thread_param_new)
+ Evas_Thread_Command_glEnable *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glEnable));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_ENQUEUE;
}
}
- thread_param->cap = cap;
+ thread_data->cap = cap;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glEnable,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDisable(GLenum cap);
+ * void
+ * glDisable(GLenum cap);
*/
typedef struct
GLenum cap;
int command_allocated;
-} Thread_Command_glDisable;
+} Evas_Thread_Command_glDisable;
static void
_gl_thread_glDisable(void *data)
{
- Thread_Command_glDisable *thread_param =
- (Thread_Command_glDisable *)data;
+ Evas_Thread_Command_glDisable *thread_data =
+ (Evas_Thread_Command_glDisable *)data;
- glDisable(thread_param->cap);
+ glDisable(thread_data->cap);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDisable thread_param_local;
- Thread_Command_glDisable *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDisable thread_data_local;
+ Evas_Thread_Command_glDisable *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDisable *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDisable));
- if (thread_param_new)
+ Evas_Thread_Command_glDisable *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDisable));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_ENQUEUE;
}
}
- thread_param->cap = cap;
+ thread_data->cap = cap;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDisable,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glLineWidth(GLfloat width);
+ * void
+ * glLineWidth(GLfloat width);
*/
typedef struct
GLfloat width;
int command_allocated;
-} Thread_Command_glLineWidth;
+} Evas_Thread_Command_glLineWidth;
static void
_gl_thread_glLineWidth(void *data)
{
- Thread_Command_glLineWidth *thread_param =
- (Thread_Command_glLineWidth *)data;
+ Evas_Thread_Command_glLineWidth *thread_data =
+ (Evas_Thread_Command_glLineWidth *)data;
- glLineWidth(thread_param->width);
+ glLineWidth(thread_data->width);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glLineWidth thread_param_local;
- Thread_Command_glLineWidth *thread_param = &thread_param_local;
+ Evas_Thread_Command_glLineWidth thread_data_local;
+ Evas_Thread_Command_glLineWidth *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glLineWidth *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glLineWidth));
- if (thread_param_new)
+ Evas_Thread_Command_glLineWidth *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glLineWidth));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->width = width;
+ thread_data->width = width;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glLineWidth,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPolygonOffset(GLfloat factor, GLfloat units);
+ * void
+ * glPolygonOffset(GLfloat factor, GLfloat units);
*/
typedef struct
GLfloat units;
int command_allocated;
-} Thread_Command_glPolygonOffset;
+} Evas_Thread_Command_glPolygonOffset;
static void
_gl_thread_glPolygonOffset(void *data)
{
- Thread_Command_glPolygonOffset *thread_param =
- (Thread_Command_glPolygonOffset *)data;
+ Evas_Thread_Command_glPolygonOffset *thread_data =
+ (Evas_Thread_Command_glPolygonOffset *)data;
- glPolygonOffset(thread_param->factor,
- thread_param->units);
+ glPolygonOffset(thread_data->factor,
+ thread_data->units);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glPolygonOffset thread_param_local;
- Thread_Command_glPolygonOffset *thread_param = &thread_param_local;
+ Evas_Thread_Command_glPolygonOffset thread_data_local;
+ Evas_Thread_Command_glPolygonOffset *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glPolygonOffset *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glPolygonOffset));
- if (thread_param_new)
+ Evas_Thread_Command_glPolygonOffset *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glPolygonOffset));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->factor = factor;
- thread_param->units = units;
+ thread_data->factor = factor;
+ thread_data->units = units;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glPolygonOffset,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glPixelStorei(GLenum pname, GLint param);
+ * void
+ * glPixelStorei(GLenum pname, GLint param);
*/
typedef struct
GLint param;
int command_allocated;
-} Thread_Command_glPixelStorei;
+} Evas_Thread_Command_glPixelStorei;
static void
_gl_thread_glPixelStorei(void *data)
{
- Thread_Command_glPixelStorei *thread_param =
- (Thread_Command_glPixelStorei *)data;
+ Evas_Thread_Command_glPixelStorei *thread_data =
+ (Evas_Thread_Command_glPixelStorei *)data;
- glPixelStorei(thread_param->pname,
- thread_param->param);
+ glPixelStorei(thread_data->pname,
+ thread_data->param);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glPixelStorei thread_param_local;
- Thread_Command_glPixelStorei *thread_param = &thread_param_local;
+ Evas_Thread_Command_glPixelStorei thread_data_local;
+ Evas_Thread_Command_glPixelStorei *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glPixelStorei *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glPixelStorei));
- if (thread_param_new)
+ Evas_Thread_Command_glPixelStorei *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glPixelStorei));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glPixelStorei,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glActiveTexture(GLenum texture);
+ * void
+ * glActiveTexture(GLenum texture);
*/
typedef struct
GLenum texture;
int command_allocated;
-} Thread_Command_glActiveTexture;
+} Evas_Thread_Command_glActiveTexture;
static void
_gl_thread_glActiveTexture(void *data)
{
- Thread_Command_glActiveTexture *thread_param =
- (Thread_Command_glActiveTexture *)data;
+ Evas_Thread_Command_glActiveTexture *thread_data =
+ (Evas_Thread_Command_glActiveTexture *)data;
- glActiveTexture(thread_param->texture);
+ glActiveTexture(thread_data->texture);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glActiveTexture thread_param_local;
- Thread_Command_glActiveTexture *thread_param = &thread_param_local;
+ Evas_Thread_Command_glActiveTexture thread_data_local;
+ Evas_Thread_Command_glActiveTexture *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glActiveTexture *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glActiveTexture));
- if (thread_param_new)
+ Evas_Thread_Command_glActiveTexture *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glActiveTexture));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->texture = texture;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glActiveTexture,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenTextures(GLsizei n, GLuint *textures);
+ * void
+ * glGenTextures(GLsizei n, GLuint *textures);
*/
typedef struct
GLsizei n;
GLuint *textures;
-} Thread_Command_glGenTextures;
+} Evas_Thread_Command_glGenTextures;
static void
_gl_thread_glGenTextures(void *data)
{
- Thread_Command_glGenTextures *thread_param =
- (Thread_Command_glGenTextures *)data;
+ Evas_Thread_Command_glGenTextures *thread_data =
+ (Evas_Thread_Command_glGenTextures *)data;
- glGenTextures(thread_param->n,
- thread_param->textures);
+ glGenTextures(thread_data->n,
+ thread_data->textures);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGenTextures thread_param_local;
- Thread_Command_glGenTextures *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGenTextures thread_data_local;
+ Evas_Thread_Command_glGenTextures *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->textures = textures;
+ thread_data->n = n;
+ thread_data->textures = textures;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGenTextures,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindTexture(GLenum target, GLuint texture);
+ * void
+ * glBindTexture(GLenum target, GLuint texture);
*/
typedef struct
GLuint texture;
int command_allocated;
-} Thread_Command_glBindTexture;
+} Evas_Thread_Command_glBindTexture;
static void
_gl_thread_glBindTexture(void *data)
{
- Thread_Command_glBindTexture *thread_param =
- (Thread_Command_glBindTexture *)data;
+ Evas_Thread_Command_glBindTexture *thread_data =
+ (Evas_Thread_Command_glBindTexture *)data;
- glBindTexture(thread_param->target,
- thread_param->texture);
+ glBindTexture(thread_data->target,
+ thread_data->texture);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glBindTexture thread_param_local;
- Thread_Command_glBindTexture *thread_param = &thread_param_local;
+ Evas_Thread_Command_glBindTexture thread_data_local;
+ Evas_Thread_Command_glBindTexture *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glBindTexture *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glBindTexture));
- if (thread_param_new)
+ Evas_Thread_Command_glBindTexture *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glBindTexture));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->texture = texture;
+ thread_data->target = target;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glBindTexture,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteTextures(GLsizei n, const GLuint *textures);
+ * void
+ * glDeleteTextures(GLsizei n, const GLuint *textures);
*/
typedef struct
void *textures_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glDeleteTextures;
+} Evas_Thread_Command_glDeleteTextures;
static void
_gl_thread_glDeleteTextures(void *data)
{
- Thread_Command_glDeleteTextures *thread_param =
- (Thread_Command_glDeleteTextures *)data;
+ Evas_Thread_Command_glDeleteTextures *thread_data =
+ (Evas_Thread_Command_glDeleteTextures *)data;
- glDeleteTextures(thread_param->n,
- thread_param->textures);
+ glDeleteTextures(thread_data->n,
+ thread_data->textures);
- if (thread_param->textures_copied)
- eina_mempool_free(_mp_delete_object, thread_param->textures_copied);
+ if (thread_data->textures_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->textures_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDeleteTextures thread_param_local;
- Thread_Command_glDeleteTextures *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDeleteTextures thread_data_local;
+ Evas_Thread_Command_glDeleteTextures *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDeleteTextures *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDeleteTextures));
- if (thread_param_new)
+ Evas_Thread_Command_glDeleteTextures *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDeleteTextures));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->textures = textures;
+ thread_data->n = n;
+ thread_data->textures = textures;
- thread_param->textures_copied = NULL;
+ thread_data->textures_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->textures_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->textures_copied)
+ thread_data->textures_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->textures_copied)
{
- memcpy(thread_param->textures_copied, textures, copy_size);
+ memcpy(thread_data->textures_copied, textures, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->textures = (const GLuint *)thread_param->textures_copied;
+ thread_data->textures = (const GLuint *)thread_data->textures_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDeleteTextures,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
+ * void
+ * glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
*/
typedef struct
int command_allocated;
GLTEXIMAGE2D_COPY_VARIABLE; /* TODO */
-} Thread_Command_glTexImage2D;
+} Evas_Thread_Command_glTexImage2D;
static void
_gl_thread_glTexImage2D(void *data)
{
- Thread_Command_glTexImage2D *thread_param =
- (Thread_Command_glTexImage2D *)data;
+ Evas_Thread_Command_glTexImage2D *thread_data =
+ (Evas_Thread_Command_glTexImage2D *)data;
- glTexImage2D(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->border,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ glTexImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->border,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
GLTEXIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glTexImage2D thread_param_local;
- Thread_Command_glTexImage2D *thread_param = &thread_param_local;
+ Evas_Thread_Command_glTexImage2D thread_data_local;
+ Evas_Thread_Command_glTexImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glTexImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glTexImage2D));
- if (thread_param_new)
+ Evas_Thread_Command_glTexImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glTexImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->border = border;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->border = border;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
GLTEXIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glTexImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
+ * void
+ * glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
*/
typedef struct
int command_allocated;
GLTEXSUBIMAGE2D_COPY_VARIABLE; /* TODO */
-} Thread_Command_glTexSubImage2D;
+} Evas_Thread_Command_glTexSubImage2D;
static void
_gl_thread_glTexSubImage2D(void *data)
{
- Thread_Command_glTexSubImage2D *thread_param =
- (Thread_Command_glTexSubImage2D *)data;
+ Evas_Thread_Command_glTexSubImage2D *thread_data =
+ (Evas_Thread_Command_glTexSubImage2D *)data;
- glTexSubImage2D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ glTexSubImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
GLTEXSUBIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glTexSubImage2D thread_param_local;
- Thread_Command_glTexSubImage2D *thread_param = &thread_param_local;
+ Evas_Thread_Command_glTexSubImage2D thread_data_local;
+ Evas_Thread_Command_glTexSubImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glTexSubImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glTexSubImage2D));
- if (thread_param_new)
+ Evas_Thread_Command_glTexSubImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glTexSubImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
GLTEXSUBIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glTexSubImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
+ * void
+ * glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
*/
typedef struct
int command_allocated;
GLCOMPRESSEDTEXIMAGE2D_COPY_VARIABLE; /* TODO */
-} Thread_Command_glCompressedTexImage2D;
+} Evas_Thread_Command_glCompressedTexImage2D;
static void
_gl_thread_glCompressedTexImage2D(void *data)
{
- Thread_Command_glCompressedTexImage2D *thread_param =
- (Thread_Command_glCompressedTexImage2D *)data;
+ Evas_Thread_Command_glCompressedTexImage2D *thread_data =
+ (Evas_Thread_Command_glCompressedTexImage2D *)data;
- glCompressedTexImage2D(thread_param->target,
- thread_param->level,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height,
- thread_param->border,
- thread_param->imageSize,
- thread_param->data);
+ glCompressedTexImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height,
+ thread_data->border,
+ thread_data->imageSize,
+ thread_data->data);
GLCOMPRESSEDTEXIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glCompressedTexImage2D thread_param_local;
- Thread_Command_glCompressedTexImage2D *thread_param = &thread_param_local;
+ Evas_Thread_Command_glCompressedTexImage2D thread_data_local;
+ Evas_Thread_Command_glCompressedTexImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glCompressedTexImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glCompressedTexImage2D));
- if (thread_param_new)
+ Evas_Thread_Command_glCompressedTexImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glCompressedTexImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->border = border;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->border = border;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
GLCOMPRESSEDTEXIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glCompressedTexImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
+ * void
+ * glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
*/
typedef struct
int command_allocated;
GLCOMPRESSEDTEXSUBIMAGE2D_COPY_VARIABLE; /* TODO */
-} Thread_Command_glCompressedTexSubImage2D;
+} Evas_Thread_Command_glCompressedTexSubImage2D;
static void
_gl_thread_glCompressedTexSubImage2D(void *data)
{
- Thread_Command_glCompressedTexSubImage2D *thread_param =
- (Thread_Command_glCompressedTexSubImage2D *)data;
+ Evas_Thread_Command_glCompressedTexSubImage2D *thread_data =
+ (Evas_Thread_Command_glCompressedTexSubImage2D *)data;
- glCompressedTexSubImage2D(thread_param->target,
- thread_param->level,
- thread_param->xoffset,
- thread_param->yoffset,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->imageSize,
- thread_param->data);
+ glCompressedTexSubImage2D(thread_data->target,
+ thread_data->level,
+ thread_data->xoffset,
+ thread_data->yoffset,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->imageSize,
+ thread_data->data);
GLCOMPRESSEDTEXSUBIMAGE2D_COPY_VARIABLE_FREE; /* TODO */
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glCompressedTexSubImage2D thread_param_local;
- Thread_Command_glCompressedTexSubImage2D *thread_param = &thread_param_local;
+ Evas_Thread_Command_glCompressedTexSubImage2D thread_data_local;
+ Evas_Thread_Command_glCompressedTexSubImage2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glCompressedTexSubImage2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glCompressedTexSubImage2D));
- if (thread_param_new)
+ Evas_Thread_Command_glCompressedTexSubImage2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glCompressedTexSubImage2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->level = level;
- thread_param->xoffset = xoffset;
- thread_param->yoffset = yoffset;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->imageSize = imageSize;
- thread_param->data = data;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->xoffset = xoffset;
+ thread_data->yoffset = yoffset;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->imageSize = imageSize;
+ thread_data->data = data;
GLCOMPRESSEDTEXSUBIMAGE2D_COPY_VARIABLE_INIT; /* TODO */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glCompressedTexSubImage2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterf(GLenum target, GLenum pname, GLfloat param);
+ * void
+ * glTexParameterf(GLenum target, GLenum pname, GLfloat param);
*/
typedef struct
GLfloat param;
int command_allocated;
-} Thread_Command_glTexParameterf;
+} Evas_Thread_Command_glTexParameterf;
static void
_gl_thread_glTexParameterf(void *data)
{
- Thread_Command_glTexParameterf *thread_param =
- (Thread_Command_glTexParameterf *)data;
+ Evas_Thread_Command_glTexParameterf *thread_data =
+ (Evas_Thread_Command_glTexParameterf *)data;
- glTexParameterf(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ glTexParameterf(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glTexParameterf thread_param_local;
- Thread_Command_glTexParameterf *thread_param = &thread_param_local;
+ Evas_Thread_Command_glTexParameterf thread_data_local;
+ Evas_Thread_Command_glTexParameterf *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glTexParameterf *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glTexParameterf));
- if (thread_param_new)
+ Evas_Thread_Command_glTexParameterf *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glTexParameterf));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glTexParameterf,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params);
+ * void
+ * glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params);
*/
typedef struct
void *params_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glTexParameterfv;
+} Evas_Thread_Command_glTexParameterfv;
static void
_gl_thread_glTexParameterfv(void *data)
{
- Thread_Command_glTexParameterfv *thread_param =
- (Thread_Command_glTexParameterfv *)data;
+ Evas_Thread_Command_glTexParameterfv *thread_data =
+ (Evas_Thread_Command_glTexParameterfv *)data;
- glTexParameterfv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ glTexParameterfv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
- if (thread_param->params_copied)
- eina_mempool_free(_mp_default, thread_param->params_copied);
+ if (thread_data->params_copied)
+ eina_mempool_free(_mp_default, thread_data->params_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glTexParameterfv thread_param_local;
- Thread_Command_glTexParameterfv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glTexParameterfv thread_data_local;
+ Evas_Thread_Command_glTexParameterfv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glTexParameterfv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glTexParameterfv));
- if (thread_param_new)
+ Evas_Thread_Command_glTexParameterfv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glTexParameterfv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
- thread_param->params_copied = NULL;
+ thread_data->params_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->params_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->params_copied)
+ thread_data->params_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->params_copied)
{
- memcpy(thread_param->params_copied, params, copy_size);
+ memcpy(thread_data->params_copied, params, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->params = (const GLfloat *)thread_param->params_copied;
+ thread_data->params = (const GLfloat *)thread_data->params_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glTexParameterfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameteri(GLenum target, GLenum pname, GLint param);
+ * void
+ * glTexParameteri(GLenum target, GLenum pname, GLint param);
*/
typedef struct
GLint param;
int command_allocated;
-} Thread_Command_glTexParameteri;
+} Evas_Thread_Command_glTexParameteri;
static void
_gl_thread_glTexParameteri(void *data)
{
- Thread_Command_glTexParameteri *thread_param =
- (Thread_Command_glTexParameteri *)data;
+ Evas_Thread_Command_glTexParameteri *thread_data =
+ (Evas_Thread_Command_glTexParameteri *)data;
- glTexParameteri(thread_param->target,
- thread_param->pname,
- thread_param->param);
+ glTexParameteri(thread_data->target,
+ thread_data->pname,
+ thread_data->param);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glTexParameteri thread_param_local;
- Thread_Command_glTexParameteri *thread_param = &thread_param_local;
+ Evas_Thread_Command_glTexParameteri thread_data_local;
+ Evas_Thread_Command_glTexParameteri *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glTexParameteri *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glTexParameteri));
- if (thread_param_new)
+ Evas_Thread_Command_glTexParameteri *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glTexParameteri));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->param = param;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->param = param;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glTexParameteri,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glTexParameteriv(GLenum target, GLenum pname, const GLint *params);
+ * void
+ * glTexParameteriv(GLenum target, GLenum pname, const GLint *params);
*/
typedef struct
void *params_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glTexParameteriv;
+} Evas_Thread_Command_glTexParameteriv;
static void
_gl_thread_glTexParameteriv(void *data)
{
- Thread_Command_glTexParameteriv *thread_param =
- (Thread_Command_glTexParameteriv *)data;
+ Evas_Thread_Command_glTexParameteriv *thread_data =
+ (Evas_Thread_Command_glTexParameteriv *)data;
- glTexParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ glTexParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
- if (thread_param->params_copied)
- eina_mempool_free(_mp_default, thread_param->params_copied);
+ if (thread_data->params_copied)
+ eina_mempool_free(_mp_default, thread_data->params_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glTexParameteriv thread_param_local;
- Thread_Command_glTexParameteriv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glTexParameteriv thread_data_local;
+ Evas_Thread_Command_glTexParameteriv *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glTexParameteriv *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glTexParameteriv));
- if (thread_param_new)
+ Evas_Thread_Command_glTexParameteriv *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glTexParameteriv));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
- thread_param->params_copied = NULL;
+ thread_data->params_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->params_copied = eina_mempool_malloc(_mp_default, copy_size);
- if (thread_param->params_copied)
+ thread_data->params_copied = eina_mempool_malloc(_mp_default, copy_size);
+ if (thread_data->params_copied)
{
- memcpy(thread_param->params_copied, params, copy_size);
+ memcpy(thread_data->params_copied, params, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->params = (const GLint *)thread_param->params_copied;
+ thread_data->params = (const GLint *)thread_data->params_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glTexParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
+ * void
+ * glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
*/
typedef struct
GLsizei height;
int command_allocated;
-} Thread_Command_glScissor;
+} Evas_Thread_Command_glScissor;
static void
_gl_thread_glScissor(void *data)
{
- Thread_Command_glScissor *thread_param =
- (Thread_Command_glScissor *)data;
+ Evas_Thread_Command_glScissor *thread_data =
+ (Evas_Thread_Command_glScissor *)data;
- glScissor(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height);
+ glScissor(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glScissor thread_param_local;
- Thread_Command_glScissor *thread_param = &thread_param_local;
+ Evas_Thread_Command_glScissor thread_data_local;
+ Evas_Thread_Command_glScissor *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glScissor *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glScissor));
- if (thread_param_new)
+ Evas_Thread_Command_glScissor *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glScissor));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glScissor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendFunc(GLenum sfactor, GLenum dfactor);
+ * void
+ * glBlendFunc(GLenum sfactor, GLenum dfactor);
*/
typedef struct
GLenum dfactor;
int command_allocated;
-} Thread_Command_glBlendFunc;
+} Evas_Thread_Command_glBlendFunc;
static void
_gl_thread_glBlendFunc(void *data)
{
- Thread_Command_glBlendFunc *thread_param =
- (Thread_Command_glBlendFunc *)data;
+ Evas_Thread_Command_glBlendFunc *thread_data =
+ (Evas_Thread_Command_glBlendFunc *)data;
- glBlendFunc(thread_param->sfactor,
- thread_param->dfactor);
+ glBlendFunc(thread_data->sfactor,
+ thread_data->dfactor);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glBlendFunc thread_param_local;
- Thread_Command_glBlendFunc *thread_param = &thread_param_local;
+ Evas_Thread_Command_glBlendFunc thread_data_local;
+ Evas_Thread_Command_glBlendFunc *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glBlendFunc *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glBlendFunc));
- if (thread_param_new)
+ Evas_Thread_Command_glBlendFunc *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glBlendFunc));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->sfactor = sfactor;
- thread_param->dfactor = dfactor;
+ thread_data->sfactor = sfactor;
+ thread_data->dfactor = dfactor;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glBlendFunc,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+ * void
+ * glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
*/
typedef struct
GLfloat alpha;
int command_allocated;
-} Thread_Command_glBlendColor;
+} Evas_Thread_Command_glBlendColor;
static void
_gl_thread_glBlendColor(void *data)
{
- Thread_Command_glBlendColor *thread_param =
- (Thread_Command_glBlendColor *)data;
+ Evas_Thread_Command_glBlendColor *thread_data =
+ (Evas_Thread_Command_glBlendColor *)data;
- glBlendColor(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ glBlendColor(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glBlendColor thread_param_local;
- Thread_Command_glBlendColor *thread_param = &thread_param_local;
+ Evas_Thread_Command_glBlendColor thread_data_local;
+ Evas_Thread_Command_glBlendColor *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glBlendColor *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glBlendColor));
- if (thread_param_new)
+ Evas_Thread_Command_glBlendColor *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glBlendColor));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glBlendColor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDepthMask(GLboolean flag);
+ * void
+ * glDepthMask(GLboolean flag);
*/
typedef struct
GLboolean flag;
int command_allocated;
-} Thread_Command_glDepthMask;
+} Evas_Thread_Command_glDepthMask;
static void
_gl_thread_glDepthMask(void *data)
{
- Thread_Command_glDepthMask *thread_param =
- (Thread_Command_glDepthMask *)data;
+ Evas_Thread_Command_glDepthMask *thread_data =
+ (Evas_Thread_Command_glDepthMask *)data;
- glDepthMask(thread_param->flag);
+ glDepthMask(thread_data->flag);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDepthMask thread_param_local;
- Thread_Command_glDepthMask *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDepthMask thread_data_local;
+ Evas_Thread_Command_glDepthMask *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDepthMask *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDepthMask));
- if (thread_param_new)
+ Evas_Thread_Command_glDepthMask *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDepthMask));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->flag = flag;
+ thread_data->flag = flag;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDepthMask,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClear(GLbitfield mask);
+ * void
+ * glClear(GLbitfield mask);
*/
typedef struct
GLbitfield mask;
int command_allocated;
-} Thread_Command_glClear;
+} Evas_Thread_Command_glClear;
static void
_gl_thread_glClear(void *data)
{
- Thread_Command_glClear *thread_param =
- (Thread_Command_glClear *)data;
+ Evas_Thread_Command_glClear *thread_data =
+ (Evas_Thread_Command_glClear *)data;
- glClear(thread_param->mask);
+ glClear(thread_data->mask);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glClear thread_param_local;
- Thread_Command_glClear *thread_param = &thread_param_local;
+ Evas_Thread_Command_glClear thread_data_local;
+ Evas_Thread_Command_glClear *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glClear *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glClear));
- if (thread_param_new)
+ Evas_Thread_Command_glClear *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glClear));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->mask = mask;
+ thread_data->mask = mask;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glClear,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
+ * void
+ * glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
*/
typedef struct
GLfloat alpha;
int command_allocated;
-} Thread_Command_glClearColor;
+} Evas_Thread_Command_glClearColor;
static void
_gl_thread_glClearColor(void *data)
{
- Thread_Command_glClearColor *thread_param =
- (Thread_Command_glClearColor *)data;
+ Evas_Thread_Command_glClearColor *thread_data =
+ (Evas_Thread_Command_glClearColor *)data;
- glClearColor(thread_param->red,
- thread_param->green,
- thread_param->blue,
- thread_param->alpha);
+ glClearColor(thread_data->red,
+ thread_data->green,
+ thread_data->blue,
+ thread_data->alpha);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glClearColor thread_param_local;
- Thread_Command_glClearColor *thread_param = &thread_param_local;
+ Evas_Thread_Command_glClearColor thread_data_local;
+ Evas_Thread_Command_glClearColor *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glClearColor *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glClearColor));
- if (thread_param_new)
+ Evas_Thread_Command_glClearColor *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glClearColor));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->red = red;
- thread_param->green = green;
- thread_param->blue = blue;
- thread_param->alpha = alpha;
+ thread_data->red = red;
+ thread_data->green = green;
+ thread_data->blue = blue;
+ thread_data->alpha = alpha;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glClearColor,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
+ * void
+ * glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
*/
typedef struct
GLenum type;
void *pixels;
-} Thread_Command_glReadPixels;
+} Evas_Thread_Command_glReadPixels;
static void
_gl_thread_glReadPixels(void *data)
{
- Thread_Command_glReadPixels *thread_param =
- (Thread_Command_glReadPixels *)data;
+ Evas_Thread_Command_glReadPixels *thread_data =
+ (Evas_Thread_Command_glReadPixels *)data;
- glReadPixels(thread_param->x,
- thread_param->y,
- thread_param->width,
- thread_param->height,
- thread_param->format,
- thread_param->type,
- thread_param->pixels);
+ glReadPixels(thread_data->x,
+ thread_data->y,
+ thread_data->width,
+ thread_data->height,
+ thread_data->format,
+ thread_data->type,
+ thread_data->pixels);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glReadPixels thread_param_local;
- Thread_Command_glReadPixels *thread_param = &thread_param_local;
+ Evas_Thread_Command_glReadPixels thread_data_local;
+ Evas_Thread_Command_glReadPixels *thread_data = &thread_data_local;
- thread_param->x = x;
- thread_param->y = y;
- thread_param->width = width;
- thread_param->height = height;
- thread_param->format = format;
- thread_param->type = type;
- thread_param->pixels = pixels;
+ thread_data->x = x;
+ thread_data->y = y;
+ thread_data->width = width;
+ thread_data->height = height;
+ thread_data->format = format;
+ thread_data->type = type;
+ thread_data->pixels = pixels;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glReadPixels,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenFramebuffers(GLsizei n, GLuint *framebuffers);
+ * void
+ * glGenFramebuffers(GLsizei n, GLuint *framebuffers);
*/
typedef struct
GLsizei n;
GLuint *framebuffers;
-} Thread_Command_glGenFramebuffers;
+} Evas_Thread_Command_glGenFramebuffers;
void (*orig_evas_glGenFramebuffers)(GLsizei n, GLuint *framebuffers);
static void
_gl_thread_glGenFramebuffers(void *data)
{
- Thread_Command_glGenFramebuffers *thread_param =
- (Thread_Command_glGenFramebuffers *)data;
+ Evas_Thread_Command_glGenFramebuffers *thread_data =
+ (Evas_Thread_Command_glGenFramebuffers *)data;
- orig_evas_glGenFramebuffers(thread_param->n,
- thread_param->framebuffers);
+ orig_evas_glGenFramebuffers(thread_data->n,
+ thread_data->framebuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGenFramebuffers thread_param_local;
- Thread_Command_glGenFramebuffers *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGenFramebuffers thread_data_local;
+ Evas_Thread_Command_glGenFramebuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->framebuffers = framebuffers;
+ thread_data->n = n;
+ thread_data->framebuffers = framebuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGenFramebuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindFramebuffer(GLenum target, GLuint framebuffer);
+ * void
+ * glBindFramebuffer(GLenum target, GLuint framebuffer);
*/
typedef struct
GLuint framebuffer;
int command_allocated;
-} Thread_Command_glBindFramebuffer;
+} Evas_Thread_Command_glBindFramebuffer;
void (*orig_evas_glBindFramebuffer)(GLenum target, GLuint framebuffer);
static void
_gl_thread_glBindFramebuffer(void *data)
{
- Thread_Command_glBindFramebuffer *thread_param =
- (Thread_Command_glBindFramebuffer *)data;
+ Evas_Thread_Command_glBindFramebuffer *thread_data =
+ (Evas_Thread_Command_glBindFramebuffer *)data;
- orig_evas_glBindFramebuffer(thread_param->target,
- thread_param->framebuffer);
+ orig_evas_glBindFramebuffer(thread_data->target,
+ thread_data->framebuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glBindFramebuffer thread_param_local;
- Thread_Command_glBindFramebuffer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glBindFramebuffer thread_data_local;
+ Evas_Thread_Command_glBindFramebuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glBindFramebuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glBindFramebuffer));
- if (thread_param_new)
+ Evas_Thread_Command_glBindFramebuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glBindFramebuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->framebuffer = framebuffer;
+ thread_data->target = target;
+ thread_data->framebuffer = framebuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glBindFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers);
+ * void
+ * glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers);
*/
typedef struct
void *framebuffers_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glDeleteFramebuffers;
+} Evas_Thread_Command_glDeleteFramebuffers;
void (*orig_evas_glDeleteFramebuffers)(GLsizei n, const GLuint *framebuffers);
static void
_gl_thread_glDeleteFramebuffers(void *data)
{
- Thread_Command_glDeleteFramebuffers *thread_param =
- (Thread_Command_glDeleteFramebuffers *)data;
+ Evas_Thread_Command_glDeleteFramebuffers *thread_data =
+ (Evas_Thread_Command_glDeleteFramebuffers *)data;
- orig_evas_glDeleteFramebuffers(thread_param->n,
- thread_param->framebuffers);
+ orig_evas_glDeleteFramebuffers(thread_data->n,
+ thread_data->framebuffers);
- if (thread_param->framebuffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->framebuffers_copied);
+ if (thread_data->framebuffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->framebuffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDeleteFramebuffers thread_param_local;
- Thread_Command_glDeleteFramebuffers *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDeleteFramebuffers thread_data_local;
+ Evas_Thread_Command_glDeleteFramebuffers *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDeleteFramebuffers *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDeleteFramebuffers));
- if (thread_param_new)
+ Evas_Thread_Command_glDeleteFramebuffers *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDeleteFramebuffers));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->framebuffers = framebuffers;
+ thread_data->n = n;
+ thread_data->framebuffers = framebuffers;
- thread_param->framebuffers_copied = NULL;
+ thread_data->framebuffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->framebuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->framebuffers_copied)
+ thread_data->framebuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->framebuffers_copied)
{
- memcpy(thread_param->framebuffers_copied, framebuffers, copy_size);
+ memcpy(thread_data->framebuffers_copied, framebuffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->framebuffers = (const GLuint *)thread_param->framebuffers_copied;
+ thread_data->framebuffers = (const GLuint *)thread_data->framebuffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDeleteFramebuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGenRenderbuffers(GLsizei n, GLuint *renderbuffers);
+ * void
+ * glGenRenderbuffers(GLsizei n, GLuint *renderbuffers);
*/
typedef struct
GLsizei n;
GLuint *renderbuffers;
-} Thread_Command_glGenRenderbuffers;
+} Evas_Thread_Command_glGenRenderbuffers;
static void
_gl_thread_glGenRenderbuffers(void *data)
{
- Thread_Command_glGenRenderbuffers *thread_param =
- (Thread_Command_glGenRenderbuffers *)data;
+ Evas_Thread_Command_glGenRenderbuffers *thread_data =
+ (Evas_Thread_Command_glGenRenderbuffers *)data;
- glGenRenderbuffers(thread_param->n,
- thread_param->renderbuffers);
+ glGenRenderbuffers(thread_data->n,
+ thread_data->renderbuffers);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGenRenderbuffers thread_param_local;
- Thread_Command_glGenRenderbuffers *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGenRenderbuffers thread_data_local;
+ Evas_Thread_Command_glGenRenderbuffers *thread_data = &thread_data_local;
- thread_param->n = n;
- thread_param->renderbuffers = renderbuffers;
+ thread_data->n = n;
+ thread_data->renderbuffers = renderbuffers;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGenRenderbuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glBindRenderbuffer(GLenum target, GLuint renderbuffer);
+ * void
+ * glBindRenderbuffer(GLenum target, GLuint renderbuffer);
*/
typedef struct
GLuint renderbuffer;
int command_allocated;
-} Thread_Command_glBindRenderbuffer;
+} Evas_Thread_Command_glBindRenderbuffer;
static void
_gl_thread_glBindRenderbuffer(void *data)
{
- Thread_Command_glBindRenderbuffer *thread_param =
- (Thread_Command_glBindRenderbuffer *)data;
+ Evas_Thread_Command_glBindRenderbuffer *thread_data =
+ (Evas_Thread_Command_glBindRenderbuffer *)data;
- glBindRenderbuffer(thread_param->target,
- thread_param->renderbuffer);
+ glBindRenderbuffer(thread_data->target,
+ thread_data->renderbuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glBindRenderbuffer thread_param_local;
- Thread_Command_glBindRenderbuffer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glBindRenderbuffer thread_data_local;
+ Evas_Thread_Command_glBindRenderbuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glBindRenderbuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glBindRenderbuffer));
- if (thread_param_new)
+ Evas_Thread_Command_glBindRenderbuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glBindRenderbuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->target = target;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glBindRenderbuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers);
+ * void
+ * glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers);
*/
typedef struct
void *renderbuffers_copied; /* COPIED */
int command_allocated;
-} Thread_Command_glDeleteRenderbuffers;
+} Evas_Thread_Command_glDeleteRenderbuffers;
static void
_gl_thread_glDeleteRenderbuffers(void *data)
{
- Thread_Command_glDeleteRenderbuffers *thread_param =
- (Thread_Command_glDeleteRenderbuffers *)data;
+ Evas_Thread_Command_glDeleteRenderbuffers *thread_data =
+ (Evas_Thread_Command_glDeleteRenderbuffers *)data;
- glDeleteRenderbuffers(thread_param->n,
- thread_param->renderbuffers);
+ glDeleteRenderbuffers(thread_data->n,
+ thread_data->renderbuffers);
- if (thread_param->renderbuffers_copied)
- eina_mempool_free(_mp_delete_object, thread_param->renderbuffers_copied);
+ if (thread_data->renderbuffers_copied)
+ eina_mempool_free(_mp_delete_object, thread_data->renderbuffers_copied);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glDeleteRenderbuffers thread_param_local;
- Thread_Command_glDeleteRenderbuffers *thread_param = &thread_param_local;
+ Evas_Thread_Command_glDeleteRenderbuffers thread_data_local;
+ Evas_Thread_Command_glDeleteRenderbuffers *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glDeleteRenderbuffers *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glDeleteRenderbuffers));
- if (thread_param_new)
+ Evas_Thread_Command_glDeleteRenderbuffers *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glDeleteRenderbuffers));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->n = n;
- thread_param->renderbuffers = renderbuffers;
+ thread_data->n = n;
+ thread_data->renderbuffers = renderbuffers;
- thread_param->renderbuffers_copied = NULL;
+ thread_data->renderbuffers_copied = NULL;
if (thread_mode == EVAS_GL_THREAD_MODE_FINISH)
goto finish;
goto finish;
}
/* 2. malloc & copy */
- thread_param->renderbuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
- if (thread_param->renderbuffers_copied)
+ thread_data->renderbuffers_copied = eina_mempool_malloc(_mp_delete_object, copy_size);
+ if (thread_data->renderbuffers_copied)
{
- memcpy(thread_param->renderbuffers_copied, renderbuffers, copy_size);
+ memcpy(thread_data->renderbuffers_copied, renderbuffers, copy_size);
}
else
{
goto finish;
}
/* 3. replace */
- thread_param->renderbuffers = (const GLuint *)thread_param->renderbuffers_copied;
+ thread_data->renderbuffers = (const GLuint *)thread_data->renderbuffers_copied;
}
/* end of copy variable */
finish:
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glDeleteRenderbuffers,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
+ * void
+ * glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
*/
typedef struct
GLsizei height;
int command_allocated;
-} Thread_Command_glRenderbufferStorage;
+} Evas_Thread_Command_glRenderbufferStorage;
static void
_gl_thread_glRenderbufferStorage(void *data)
{
- Thread_Command_glRenderbufferStorage *thread_param =
- (Thread_Command_glRenderbufferStorage *)data;
+ Evas_Thread_Command_glRenderbufferStorage *thread_data =
+ (Evas_Thread_Command_glRenderbufferStorage *)data;
- glRenderbufferStorage(thread_param->target,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height);
+ glRenderbufferStorage(thread_data->target,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glRenderbufferStorage thread_param_local;
- Thread_Command_glRenderbufferStorage *thread_param = &thread_param_local;
+ Evas_Thread_Command_glRenderbufferStorage thread_data_local;
+ Evas_Thread_Command_glRenderbufferStorage *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glRenderbufferStorage *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glRenderbufferStorage));
- if (thread_param_new)
+ Evas_Thread_Command_glRenderbufferStorage *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glRenderbufferStorage));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glRenderbufferStorage,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
+ * void
+ * glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
*/
typedef struct
GLuint renderbuffer;
int command_allocated;
-} Thread_Command_glFramebufferRenderbuffer;
+} Evas_Thread_Command_glFramebufferRenderbuffer;
static void
_gl_thread_glFramebufferRenderbuffer(void *data)
{
- Thread_Command_glFramebufferRenderbuffer *thread_param =
- (Thread_Command_glFramebufferRenderbuffer *)data;
+ Evas_Thread_Command_glFramebufferRenderbuffer *thread_data =
+ (Evas_Thread_Command_glFramebufferRenderbuffer *)data;
- glFramebufferRenderbuffer(thread_param->target,
- thread_param->attachment,
- thread_param->renderbuffertarget,
- thread_param->renderbuffer);
+ glFramebufferRenderbuffer(thread_data->target,
+ thread_data->attachment,
+ thread_data->renderbuffertarget,
+ thread_data->renderbuffer);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glFramebufferRenderbuffer thread_param_local;
- Thread_Command_glFramebufferRenderbuffer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glFramebufferRenderbuffer thread_data_local;
+ Evas_Thread_Command_glFramebufferRenderbuffer *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glFramebufferRenderbuffer *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glFramebufferRenderbuffer));
- if (thread_param_new)
+ Evas_Thread_Command_glFramebufferRenderbuffer *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glFramebufferRenderbuffer));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->renderbuffertarget = renderbuffertarget;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->renderbuffertarget = renderbuffertarget;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glFramebufferRenderbuffer,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
+ * void
+ * glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
*/
typedef struct
GLint level;
int command_allocated;
-} Thread_Command_glFramebufferTexture2D;
+} Evas_Thread_Command_glFramebufferTexture2D;
void (*orig_evas_glFramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
static void
_gl_thread_glFramebufferTexture2D(void *data)
{
- Thread_Command_glFramebufferTexture2D *thread_param =
- (Thread_Command_glFramebufferTexture2D *)data;
+ Evas_Thread_Command_glFramebufferTexture2D *thread_data =
+ (Evas_Thread_Command_glFramebufferTexture2D *)data;
- orig_evas_glFramebufferTexture2D(thread_param->target,
- thread_param->attachment,
- thread_param->textarget,
- thread_param->texture,
- thread_param->level);
+ orig_evas_glFramebufferTexture2D(thread_data->target,
+ thread_data->attachment,
+ thread_data->textarget,
+ thread_data->texture,
+ thread_data->level);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glFramebufferTexture2D thread_param_local;
- Thread_Command_glFramebufferTexture2D *thread_param = &thread_param_local;
+ Evas_Thread_Command_glFramebufferTexture2D thread_data_local;
+ Evas_Thread_Command_glFramebufferTexture2D *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glFramebufferTexture2D *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glFramebufferTexture2D));
- if (thread_param_new)
+ Evas_Thread_Command_glFramebufferTexture2D *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glFramebufferTexture2D));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->textarget = textarget;
- thread_param->texture = texture;
- thread_param->level = level;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->textarget = textarget;
+ thread_data->texture = texture;
+ thread_data->level = level;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glFramebufferTexture2D,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glFramebufferTexture2DMultisample(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
+ * void
+ * glFramebufferTexture2DMultisample(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
*/
typedef struct
GLsizei samples;
int command_allocated;
-} Thread_Command_glFramebufferTexture2DMultisample;
+} Evas_Thread_Command_glFramebufferTexture2DMultisample;
void (*orig_evas_glFramebufferTexture2DMultisample)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
static void
_gl_thread_glFramebufferTexture2DMultisample(void *data)
{
- Thread_Command_glFramebufferTexture2DMultisample *thread_param =
- (Thread_Command_glFramebufferTexture2DMultisample *)data;
+ Evas_Thread_Command_glFramebufferTexture2DMultisample *thread_data =
+ (Evas_Thread_Command_glFramebufferTexture2DMultisample *)data;
- orig_evas_glFramebufferTexture2DMultisample(thread_param->target,
- thread_param->attachment,
- thread_param->textarget,
- thread_param->texture,
- thread_param->level,
- thread_param->samples);
+ orig_evas_glFramebufferTexture2DMultisample(thread_data->target,
+ thread_data->attachment,
+ thread_data->textarget,
+ thread_data->texture,
+ thread_data->level,
+ thread_data->samples);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glFramebufferTexture2DMultisample thread_param_local;
- Thread_Command_glFramebufferTexture2DMultisample *thread_param = &thread_param_local;
+ Evas_Thread_Command_glFramebufferTexture2DMultisample thread_data_local;
+ Evas_Thread_Command_glFramebufferTexture2DMultisample *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glFramebufferTexture2DMultisample *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glFramebufferTexture2DMultisample));
- if (thread_param_new)
+ Evas_Thread_Command_glFramebufferTexture2DMultisample *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glFramebufferTexture2DMultisample));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->attachment = attachment;
- thread_param->textarget = textarget;
- thread_param->texture = texture;
- thread_param->level = level;
- thread_param->samples = samples;
+ thread_data->target = target;
+ thread_data->attachment = attachment;
+ thread_data->textarget = textarget;
+ thread_data->texture = texture;
+ thread_data->level = level;
+ thread_data->samples = samples;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glFramebufferTexture2DMultisample,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLenum
- glCheckFramebufferStatus(GLenum target);
+ * GLenum
+ * glCheckFramebufferStatus(GLenum target);
*/
typedef struct
GLenum return_value;
GLenum target;
-} Thread_Command_glCheckFramebufferStatus;
+} Evas_Thread_Command_glCheckFramebufferStatus;
static void
_gl_thread_glCheckFramebufferStatus(void *data)
{
- Thread_Command_glCheckFramebufferStatus *thread_param =
- (Thread_Command_glCheckFramebufferStatus *)data;
+ Evas_Thread_Command_glCheckFramebufferStatus *thread_data =
+ (Evas_Thread_Command_glCheckFramebufferStatus *)data;
- thread_param->return_value = glCheckFramebufferStatus(thread_param->target);
+ thread_data->return_value = glCheckFramebufferStatus(thread_data->target);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glCheckFramebufferStatus thread_param_local;
- Thread_Command_glCheckFramebufferStatus *thread_param = &thread_param_local;
+ Evas_Thread_Command_glCheckFramebufferStatus thread_data_local;
+ Evas_Thread_Command_glCheckFramebufferStatus *thread_data = &thread_data_local;
- thread_param->target = target;
+ thread_data->target = target;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glCheckFramebufferStatus,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glFlush(void);
+ * void
+ * glFlush(void);
*/
static void
}
/*
- void
- glFinish(void);
+ * void
+ * glFinish(void);
*/
static void
}
/*
- void
- glHint(GLenum target, GLenum mode);
+ * void
+ * glHint(GLenum target, GLenum mode);
*/
typedef struct
GLenum mode;
int command_allocated;
-} Thread_Command_glHint;
+} Evas_Thread_Command_glHint;
static void
_gl_thread_glHint(void *data)
{
- Thread_Command_glHint *thread_param =
- (Thread_Command_glHint *)data;
+ Evas_Thread_Command_glHint *thread_data =
+ (Evas_Thread_Command_glHint *)data;
- glHint(thread_param->target,
- thread_param->mode);
+ glHint(thread_data->target,
+ thread_data->mode);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glHint thread_param_local;
- Thread_Command_glHint *thread_param = &thread_param_local;
+ Evas_Thread_Command_glHint thread_data_local;
+ Evas_Thread_Command_glHint *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glHint *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glHint));
- if (thread_param_new)
+ Evas_Thread_Command_glHint *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glHint));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->target = target;
- thread_param->mode = mode;
+ thread_data->target = target;
+ thread_data->mode = mode;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glHint,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- const GLubyte *
- glGetString(GLenum name);
+ * const GLubyte *
+ * glGetString(GLenum name);
*/
typedef struct
const GLubyte * return_value;
GLenum name;
-} Thread_Command_glGetString;
+} Evas_Thread_Command_glGetString;
static void
_gl_thread_glGetString(void *data)
{
- Thread_Command_glGetString *thread_param =
- (Thread_Command_glGetString *)data;
+ Evas_Thread_Command_glGetString *thread_data =
+ (Evas_Thread_Command_glGetString *)data;
- thread_param->return_value = glGetString(thread_param->name);
+ thread_data->return_value = glGetString(thread_data->name);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetString thread_param_local;
- Thread_Command_glGetString *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetString thread_data_local;
+ Evas_Thread_Command_glGetString *thread_data = &thread_data_local;
- thread_param->name = name;
+ thread_data->name = name;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetString,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetBooleanv(GLenum pname, GLboolean *data);
+ * void
+ * glGetBooleanv(GLenum pname, GLboolean *data);
*/
typedef struct
GLenum pname;
GLboolean *data;
-} Thread_Command_glGetBooleanv;
+} Evas_Thread_Command_glGetBooleanv;
static void
_gl_thread_glGetBooleanv(void *data)
{
- Thread_Command_glGetBooleanv *thread_param =
- (Thread_Command_glGetBooleanv *)data;
+ Evas_Thread_Command_glGetBooleanv *thread_data =
+ (Evas_Thread_Command_glGetBooleanv *)data;
- glGetBooleanv(thread_param->pname,
- thread_param->data);
+ glGetBooleanv(thread_data->pname,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetBooleanv thread_param_local;
- Thread_Command_glGetBooleanv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetBooleanv thread_data_local;
+ Evas_Thread_Command_glGetBooleanv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->data = data;
+ thread_data->pname = pname;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetBooleanv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetFloatv(GLenum pname, GLfloat *data);
+ * void
+ * glGetFloatv(GLenum pname, GLfloat *data);
*/
typedef struct
GLenum pname;
GLfloat *data;
-} Thread_Command_glGetFloatv;
+} Evas_Thread_Command_glGetFloatv;
static void
_gl_thread_glGetFloatv(void *data)
{
- Thread_Command_glGetFloatv *thread_param =
- (Thread_Command_glGetFloatv *)data;
+ Evas_Thread_Command_glGetFloatv *thread_data =
+ (Evas_Thread_Command_glGetFloatv *)data;
- glGetFloatv(thread_param->pname,
- thread_param->data);
+ glGetFloatv(thread_data->pname,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetFloatv thread_param_local;
- Thread_Command_glGetFloatv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetFloatv thread_data_local;
+ Evas_Thread_Command_glGetFloatv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->data = data;
+ thread_data->pname = pname;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetFloatv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetIntegerv(GLenum pname, GLint *data);
+ * void
+ * glGetIntegerv(GLenum pname, GLint *data);
*/
typedef struct
GLenum pname;
GLint *data;
-} Thread_Command_glGetIntegerv;
+} Evas_Thread_Command_glGetIntegerv;
static void
_gl_thread_glGetIntegerv(void *data)
{
- Thread_Command_glGetIntegerv *thread_param =
- (Thread_Command_glGetIntegerv *)data;
+ Evas_Thread_Command_glGetIntegerv *thread_data =
+ (Evas_Thread_Command_glGetIntegerv *)data;
- glGetIntegerv(thread_param->pname,
- thread_param->data);
+ glGetIntegerv(thread_data->pname,
+ thread_data->data);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetIntegerv thread_param_local;
- Thread_Command_glGetIntegerv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetIntegerv thread_data_local;
+ Evas_Thread_Command_glGetIntegerv *thread_data = &thread_data_local;
- thread_param->pname = pname;
- thread_param->data = data;
+ thread_data->pname = pname;
+ thread_data->data = data;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetIntegerv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsBuffer(GLint buffer);
+ * GLboolean
+ * glIsBuffer(GLint buffer);
*/
typedef struct
GLboolean return_value;
GLint buffer;
-} Thread_Command_glIsBuffer;
+} Evas_Thread_Command_glIsBuffer;
static void
_gl_thread_glIsBuffer(void *data)
{
- Thread_Command_glIsBuffer *thread_param =
- (Thread_Command_glIsBuffer *)data;
+ Evas_Thread_Command_glIsBuffer *thread_data =
+ (Evas_Thread_Command_glIsBuffer *)data;
- thread_param->return_value = glIsBuffer(thread_param->buffer);
+ thread_data->return_value = glIsBuffer(thread_data->buffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glIsBuffer thread_param_local;
- Thread_Command_glIsBuffer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glIsBuffer thread_data_local;
+ Evas_Thread_Command_glIsBuffer *thread_data = &thread_data_local;
- thread_param->buffer = buffer;
+ thread_data->buffer = buffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glIsBuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params);
+ * void
+ * glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params);
*/
typedef struct
GLenum pname;
GLint *params;
-} Thread_Command_glGetBufferParameteriv;
+} Evas_Thread_Command_glGetBufferParameteriv;
static void
_gl_thread_glGetBufferParameteriv(void *data)
{
- Thread_Command_glGetBufferParameteriv *thread_param =
- (Thread_Command_glGetBufferParameteriv *)data;
+ Evas_Thread_Command_glGetBufferParameteriv *thread_data =
+ (Evas_Thread_Command_glGetBufferParameteriv *)data;
- glGetBufferParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ glGetBufferParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetBufferParameteriv thread_param_local;
- Thread_Command_glGetBufferParameteriv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetBufferParameteriv thread_data_local;
+ Evas_Thread_Command_glGetBufferParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetBufferParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsShader(GLuint shader);
+ * GLboolean
+ * glIsShader(GLuint shader);
*/
typedef struct
GLboolean return_value;
GLuint shader;
-} Thread_Command_glIsShader;
+} Evas_Thread_Command_glIsShader;
static void
_gl_thread_glIsShader(void *data)
{
- Thread_Command_glIsShader *thread_param =
- (Thread_Command_glIsShader *)data;
+ Evas_Thread_Command_glIsShader *thread_data =
+ (Evas_Thread_Command_glIsShader *)data;
- thread_param->return_value = glIsShader(thread_param->shader);
+ thread_data->return_value = glIsShader(thread_data->shader);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glIsShader thread_param_local;
- Thread_Command_glIsShader *thread_param = &thread_param_local;
+ Evas_Thread_Command_glIsShader thread_data_local;
+ Evas_Thread_Command_glIsShader *thread_data = &thread_data_local;
- thread_param->shader = shader;
+ thread_data->shader = shader;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glIsShader,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
+ * void
+ * glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
*/
typedef struct
GLenum pname;
GLint *params;
-} Thread_Command_glGetShaderiv;
+} Evas_Thread_Command_glGetShaderiv;
static void
_gl_thread_glGetShaderiv(void *data)
{
- Thread_Command_glGetShaderiv *thread_param =
- (Thread_Command_glGetShaderiv *)data;
+ Evas_Thread_Command_glGetShaderiv *thread_data =
+ (Evas_Thread_Command_glGetShaderiv *)data;
- glGetShaderiv(thread_param->shader,
- thread_param->pname,
- thread_param->params);
+ glGetShaderiv(thread_data->shader,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetShaderiv thread_param_local;
- Thread_Command_glGetShaderiv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetShaderiv thread_data_local;
+ Evas_Thread_Command_glGetShaderiv *thread_data = &thread_data_local;
- thread_param->shader = shader;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->shader = shader;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetShaderiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
+ * void
+ * glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
*/
typedef struct
GLsizei *count;
GLuint *shaders;
-} Thread_Command_glGetAttachedShaders;
+} Evas_Thread_Command_glGetAttachedShaders;
static void
_gl_thread_glGetAttachedShaders(void *data)
{
- Thread_Command_glGetAttachedShaders *thread_param =
- (Thread_Command_glGetAttachedShaders *)data;
+ Evas_Thread_Command_glGetAttachedShaders *thread_data =
+ (Evas_Thread_Command_glGetAttachedShaders *)data;
- glGetAttachedShaders(thread_param->program,
- thread_param->maxCount,
- thread_param->count,
- thread_param->shaders);
+ glGetAttachedShaders(thread_data->program,
+ thread_data->maxCount,
+ thread_data->count,
+ thread_data->shaders);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetAttachedShaders thread_param_local;
- Thread_Command_glGetAttachedShaders *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetAttachedShaders thread_data_local;
+ Evas_Thread_Command_glGetAttachedShaders *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->maxCount = maxCount;
- thread_param->count = count;
- thread_param->shaders = shaders;
+ thread_data->program = program;
+ thread_data->maxCount = maxCount;
+ thread_data->count = count;
+ thread_data->shaders = shaders;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetAttachedShaders,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+ * void
+ * glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
*/
typedef struct
GLsizei *length;
GLchar *infoLog;
-} Thread_Command_glGetShaderInfoLog;
+} Evas_Thread_Command_glGetShaderInfoLog;
static void
_gl_thread_glGetShaderInfoLog(void *data)
{
- Thread_Command_glGetShaderInfoLog *thread_param =
- (Thread_Command_glGetShaderInfoLog *)data;
+ Evas_Thread_Command_glGetShaderInfoLog *thread_data =
+ (Evas_Thread_Command_glGetShaderInfoLog *)data;
- glGetShaderInfoLog(thread_param->shader,
- thread_param->bufSize,
- thread_param->length,
- thread_param->infoLog);
+ glGetShaderInfoLog(thread_data->shader,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->infoLog);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetShaderInfoLog thread_param_local;
- Thread_Command_glGetShaderInfoLog *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetShaderInfoLog thread_data_local;
+ Evas_Thread_Command_glGetShaderInfoLog *thread_data = &thread_data_local;
- thread_param->shader = shader;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->infoLog = infoLog;
+ thread_data->shader = shader;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->infoLog = infoLog;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetShaderInfoLog,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
+ * void
+ * glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
*/
typedef struct
GLsizei *length;
GLchar *source;
-} Thread_Command_glGetShaderSource;
+} Evas_Thread_Command_glGetShaderSource;
static void
_gl_thread_glGetShaderSource(void *data)
{
- Thread_Command_glGetShaderSource *thread_param =
- (Thread_Command_glGetShaderSource *)data;
+ Evas_Thread_Command_glGetShaderSource *thread_data =
+ (Evas_Thread_Command_glGetShaderSource *)data;
- glGetShaderSource(thread_param->shader,
- thread_param->bufSize,
- thread_param->length,
- thread_param->source);
+ glGetShaderSource(thread_data->shader,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->source);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetShaderSource thread_param_local;
- Thread_Command_glGetShaderSource *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetShaderSource thread_data_local;
+ Evas_Thread_Command_glGetShaderSource *thread_data = &thread_data_local;
- thread_param->shader = shader;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->source = source;
+ thread_data->shader = shader;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->source = source;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetShaderSource,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
+ * void
+ * glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
*/
typedef struct
GLint *range;
GLint *precision;
-} Thread_Command_glGetShaderPrecisionFormat;
+} Evas_Thread_Command_glGetShaderPrecisionFormat;
static void
_gl_thread_glGetShaderPrecisionFormat(void *data)
{
- Thread_Command_glGetShaderPrecisionFormat *thread_param =
- (Thread_Command_glGetShaderPrecisionFormat *)data;
+ Evas_Thread_Command_glGetShaderPrecisionFormat *thread_data =
+ (Evas_Thread_Command_glGetShaderPrecisionFormat *)data;
- glGetShaderPrecisionFormat(thread_param->shadertype,
- thread_param->precisiontype,
- thread_param->range,
- thread_param->precision);
+ glGetShaderPrecisionFormat(thread_data->shadertype,
+ thread_data->precisiontype,
+ thread_data->range,
+ thread_data->precision);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetShaderPrecisionFormat thread_param_local;
- Thread_Command_glGetShaderPrecisionFormat *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetShaderPrecisionFormat thread_data_local;
+ Evas_Thread_Command_glGetShaderPrecisionFormat *thread_data = &thread_data_local;
- thread_param->shadertype = shadertype;
- thread_param->precisiontype = precisiontype;
- thread_param->range = range;
- thread_param->precision = precision;
+ thread_data->shadertype = shadertype;
+ thread_data->precisiontype = precisiontype;
+ thread_data->range = range;
+ thread_data->precision = precision;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetShaderPrecisionFormat,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
+ * void
+ * glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
*/
typedef struct
GLenum pname;
GLfloat *params;
-} Thread_Command_glGetVertexAttribfv;
+} Evas_Thread_Command_glGetVertexAttribfv;
static void
_gl_thread_glGetVertexAttribfv(void *data)
{
- Thread_Command_glGetVertexAttribfv *thread_param =
- (Thread_Command_glGetVertexAttribfv *)data;
+ Evas_Thread_Command_glGetVertexAttribfv *thread_data =
+ (Evas_Thread_Command_glGetVertexAttribfv *)data;
- glGetVertexAttribfv(thread_param->index,
- thread_param->pname,
- thread_param->params);
+ glGetVertexAttribfv(thread_data->index,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetVertexAttribfv thread_param_local;
- Thread_Command_glGetVertexAttribfv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetVertexAttribfv thread_data_local;
+ Evas_Thread_Command_glGetVertexAttribfv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->index = index;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetVertexAttribfv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
+ * void
+ * glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
*/
typedef struct
GLenum pname;
GLint *params;
-} Thread_Command_glGetVertexAttribiv;
+} Evas_Thread_Command_glGetVertexAttribiv;
static void
_gl_thread_glGetVertexAttribiv(void *data)
{
- Thread_Command_glGetVertexAttribiv *thread_param =
- (Thread_Command_glGetVertexAttribiv *)data;
+ Evas_Thread_Command_glGetVertexAttribiv *thread_data =
+ (Evas_Thread_Command_glGetVertexAttribiv *)data;
- glGetVertexAttribiv(thread_param->index,
- thread_param->pname,
- thread_param->params);
+ glGetVertexAttribiv(thread_data->index,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetVertexAttribiv thread_param_local;
- Thread_Command_glGetVertexAttribiv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetVertexAttribiv thread_data_local;
+ Evas_Thread_Command_glGetVertexAttribiv *thread_data = &thread_data_local;
- thread_param->index = index;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->index = index;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetVertexAttribiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsProgram(GLuint program);
+ * GLboolean
+ * glIsProgram(GLuint program);
*/
typedef struct
GLboolean return_value;
GLuint program;
-} Thread_Command_glIsProgram;
+} Evas_Thread_Command_glIsProgram;
static void
_gl_thread_glIsProgram(void *data)
{
- Thread_Command_glIsProgram *thread_param =
- (Thread_Command_glIsProgram *)data;
+ Evas_Thread_Command_glIsProgram *thread_data =
+ (Evas_Thread_Command_glIsProgram *)data;
- thread_param->return_value = glIsProgram(thread_param->program);
+ thread_data->return_value = glIsProgram(thread_data->program);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glIsProgram thread_param_local;
- Thread_Command_glIsProgram *thread_param = &thread_param_local;
+ Evas_Thread_Command_glIsProgram thread_data_local;
+ Evas_Thread_Command_glIsProgram *thread_data = &thread_data_local;
- thread_param->program = program;
+ thread_data->program = program;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glIsProgram,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
+ * void
+ * glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
*/
typedef struct
GLsizei *length;
GLchar *infoLog;
-} Thread_Command_glGetProgramInfoLog;
+} Evas_Thread_Command_glGetProgramInfoLog;
static void
_gl_thread_glGetProgramInfoLog(void *data)
{
- Thread_Command_glGetProgramInfoLog *thread_param =
- (Thread_Command_glGetProgramInfoLog *)data;
+ Evas_Thread_Command_glGetProgramInfoLog *thread_data =
+ (Evas_Thread_Command_glGetProgramInfoLog *)data;
- glGetProgramInfoLog(thread_param->program,
- thread_param->bufSize,
- thread_param->length,
- thread_param->infoLog);
+ glGetProgramInfoLog(thread_data->program,
+ thread_data->bufSize,
+ thread_data->length,
+ thread_data->infoLog);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetProgramInfoLog thread_param_local;
- Thread_Command_glGetProgramInfoLog *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetProgramInfoLog thread_data_local;
+ Evas_Thread_Command_glGetProgramInfoLog *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->bufSize = bufSize;
- thread_param->length = length;
- thread_param->infoLog = infoLog;
+ thread_data->program = program;
+ thread_data->bufSize = bufSize;
+ thread_data->length = length;
+ thread_data->infoLog = infoLog;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetProgramInfoLog,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glGetProgramiv(GLuint program, GLenum pname, GLint *params);
+ * void
+ * glGetProgramiv(GLuint program, GLenum pname, GLint *params);
*/
typedef struct
GLenum pname;
GLint *params;
-} Thread_Command_glGetProgramiv;
+} Evas_Thread_Command_glGetProgramiv;
static void
_gl_thread_glGetProgramiv(void *data)
{
- Thread_Command_glGetProgramiv *thread_param =
- (Thread_Command_glGetProgramiv *)data;
+ Evas_Thread_Command_glGetProgramiv *thread_data =
+ (Evas_Thread_Command_glGetProgramiv *)data;
- glGetProgramiv(thread_param->program,
- thread_param->pname,
- thread_param->params);
+ glGetProgramiv(thread_data->program,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetProgramiv thread_param_local;
- Thread_Command_glGetProgramiv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetProgramiv thread_data_local;
+ Evas_Thread_Command_glGetProgramiv *thread_data = &thread_data_local;
- thread_param->program = program;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->program = program;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetProgramiv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsFramebuffer(GLint framebuffer);
+ * GLboolean
+ * glIsFramebuffer(GLint framebuffer);
*/
typedef struct
GLboolean return_value;
GLint framebuffer;
-} Thread_Command_glIsFramebuffer;
+} Evas_Thread_Command_glIsFramebuffer;
static void
_gl_thread_glIsFramebuffer(void *data)
{
- Thread_Command_glIsFramebuffer *thread_param =
- (Thread_Command_glIsFramebuffer *)data;
+ Evas_Thread_Command_glIsFramebuffer *thread_data =
+ (Evas_Thread_Command_glIsFramebuffer *)data;
- thread_param->return_value = glIsFramebuffer(thread_param->framebuffer);
+ thread_data->return_value = glIsFramebuffer(thread_data->framebuffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glIsFramebuffer thread_param_local;
- Thread_Command_glIsFramebuffer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glIsFramebuffer thread_data_local;
+ Evas_Thread_Command_glIsFramebuffer *thread_data = &thread_data_local;
- thread_param->framebuffer = framebuffer;
+ thread_data->framebuffer = framebuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glIsFramebuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params);
+ * void
+ * glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params);
*/
typedef struct
GLenum pname;
GLint *params;
-} Thread_Command_glGetFramebufferParameteriv;
+} Evas_Thread_Command_glGetFramebufferParameteriv;
void (*orig_evas_glGetFramebufferParameteriv)(GLenum target, GLenum pname, GLint *params);
static void
_gl_thread_glGetFramebufferParameteriv(void *data)
{
- Thread_Command_glGetFramebufferParameteriv *thread_param =
- (Thread_Command_glGetFramebufferParameteriv *)data;
+ Evas_Thread_Command_glGetFramebufferParameteriv *thread_data =
+ (Evas_Thread_Command_glGetFramebufferParameteriv *)data;
- orig_evas_glGetFramebufferParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ orig_evas_glGetFramebufferParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetFramebufferParameteriv thread_param_local;
- Thread_Command_glGetFramebufferParameteriv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetFramebufferParameteriv thread_data_local;
+ Evas_Thread_Command_glGetFramebufferParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetFramebufferParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsRenderbuffer(GLint renderbuffer);
+ * GLboolean
+ * glIsRenderbuffer(GLint renderbuffer);
*/
typedef struct
GLboolean return_value;
GLint renderbuffer;
-} Thread_Command_glIsRenderbuffer;
+} Evas_Thread_Command_glIsRenderbuffer;
static void
_gl_thread_glIsRenderbuffer(void *data)
{
- Thread_Command_glIsRenderbuffer *thread_param =
- (Thread_Command_glIsRenderbuffer *)data;
+ Evas_Thread_Command_glIsRenderbuffer *thread_data =
+ (Evas_Thread_Command_glIsRenderbuffer *)data;
- thread_param->return_value = glIsRenderbuffer(thread_param->renderbuffer);
+ thread_data->return_value = glIsRenderbuffer(thread_data->renderbuffer);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glIsRenderbuffer thread_param_local;
- Thread_Command_glIsRenderbuffer *thread_param = &thread_param_local;
+ Evas_Thread_Command_glIsRenderbuffer thread_data_local;
+ Evas_Thread_Command_glIsRenderbuffer *thread_data = &thread_data_local;
- thread_param->renderbuffer = renderbuffer;
+ thread_data->renderbuffer = renderbuffer;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glIsRenderbuffer,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params);
+ * void
+ * glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params);
*/
typedef struct
GLenum pname;
GLint *params;
-} Thread_Command_glGetRenderbufferParameteriv;
+} Evas_Thread_Command_glGetRenderbufferParameteriv;
static void
_gl_thread_glGetRenderbufferParameteriv(void *data)
{
- Thread_Command_glGetRenderbufferParameteriv *thread_param =
- (Thread_Command_glGetRenderbufferParameteriv *)data;
+ Evas_Thread_Command_glGetRenderbufferParameteriv *thread_data =
+ (Evas_Thread_Command_glGetRenderbufferParameteriv *)data;
- glGetRenderbufferParameteriv(thread_param->target,
- thread_param->pname,
- thread_param->params);
+ glGetRenderbufferParameteriv(thread_data->target,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetRenderbufferParameteriv thread_param_local;
- Thread_Command_glGetRenderbufferParameteriv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetRenderbufferParameteriv thread_data_local;
+ Evas_Thread_Command_glGetRenderbufferParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetRenderbufferParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- GLboolean
- glIsTexture(GLint texture);
+ * GLboolean
+ * glIsTexture(GLint texture);
*/
typedef struct
GLboolean return_value;
GLint texture;
-} Thread_Command_glIsTexture;
+} Evas_Thread_Command_glIsTexture;
static void
_gl_thread_glIsTexture(void *data)
{
- Thread_Command_glIsTexture *thread_param =
- (Thread_Command_glIsTexture *)data;
+ Evas_Thread_Command_glIsTexture *thread_data =
+ (Evas_Thread_Command_glIsTexture *)data;
- thread_param->return_value = glIsTexture(thread_param->texture);
+ thread_data->return_value = glIsTexture(thread_data->texture);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glIsTexture thread_param_local;
- Thread_Command_glIsTexture *thread_param = &thread_param_local;
+ Evas_Thread_Command_glIsTexture thread_data_local;
+ Evas_Thread_Command_glIsTexture *thread_data = &thread_data_local;
- thread_param->texture = texture;
+ thread_data->texture = texture;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glIsTexture,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}
/*
- void
- glStartTiling(GLuint a, GLuint b, GLuint c, GLuint d, GLuint e);
+ * void
+ * glStartTiling(GLuint a, GLuint b, GLuint c, GLuint d, GLuint e);
*/
typedef struct
GLuint e;
int command_allocated;
-} Thread_Command_glStartTiling;
+} Evas_Thread_Command_glStartTiling;
void (*orig_evas_glStartTiling)(GLuint a, GLuint b, GLuint c, GLuint d, GLuint e);
static void
_gl_thread_glStartTiling(void *data)
{
- Thread_Command_glStartTiling *thread_param =
- (Thread_Command_glStartTiling *)data;
+ Evas_Thread_Command_glStartTiling *thread_data =
+ (Evas_Thread_Command_glStartTiling *)data;
- orig_evas_glStartTiling(thread_param->a,
- thread_param->b,
- thread_param->c,
- thread_param->d,
- thread_param->e);
+ orig_evas_glStartTiling(thread_data->a,
+ thread_data->b,
+ thread_data->c,
+ thread_data->d,
+ thread_data->e);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glStartTiling thread_param_local;
- Thread_Command_glStartTiling *thread_param = &thread_param_local;
+ Evas_Thread_Command_glStartTiling thread_data_local;
+ Evas_Thread_Command_glStartTiling *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glStartTiling *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glStartTiling));
- if (thread_param_new)
+ Evas_Thread_Command_glStartTiling *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glStartTiling));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->a = a;
- thread_param->b = b;
- thread_param->c = c;
- thread_param->d = d;
- thread_param->e = e;
+ thread_data->a = a;
+ thread_data->b = b;
+ thread_data->c = c;
+ thread_data->d = d;
+ thread_data->e = e;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glStartTiling,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEndTiling(GLuint a);
+ * void
+ * glEndTiling(GLuint a);
*/
typedef struct
GLuint a;
int command_allocated;
-} Thread_Command_glEndTiling;
+} Evas_Thread_Command_glEndTiling;
void (*orig_evas_glEndTiling)(GLuint a);
static void
_gl_thread_glEndTiling(void *data)
{
- Thread_Command_glEndTiling *thread_param =
- (Thread_Command_glEndTiling *)data;
+ Evas_Thread_Command_glEndTiling *thread_data =
+ (Evas_Thread_Command_glEndTiling *)data;
- orig_evas_glEndTiling(thread_param->a);
+ orig_evas_glEndTiling(thread_data->a);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glEndTiling thread_param_local;
- Thread_Command_glEndTiling *thread_param = &thread_param_local;
+ Evas_Thread_Command_glEndTiling thread_data_local;
+ Evas_Thread_Command_glEndTiling *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glEndTiling *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glEndTiling));
- if (thread_param_new)
+ Evas_Thread_Command_glEndTiling *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glEndTiling));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->a = a;
+ thread_data->a = a;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glEndTiling,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glActivateTile(GLuint a, GLuint b, GLuint c, GLuint d, GLuint e);
+ * void
+ * glActivateTile(GLuint a, GLuint b, GLuint c, GLuint d, GLuint e);
*/
typedef struct
GLuint e;
int command_allocated;
-} Thread_Command_glActivateTile;
+} Evas_Thread_Command_glActivateTile;
void (*orig_evas_glActivateTile)(GLuint a, GLuint b, GLuint c, GLuint d, GLuint e);
static void
_gl_thread_glActivateTile(void *data)
{
- Thread_Command_glActivateTile *thread_param =
- (Thread_Command_glActivateTile *)data;
+ Evas_Thread_Command_glActivateTile *thread_data =
+ (Evas_Thread_Command_glActivateTile *)data;
- orig_evas_glActivateTile(thread_param->a,
- thread_param->b,
- thread_param->c,
- thread_param->d,
- thread_param->e);
+ orig_evas_glActivateTile(thread_data->a,
+ thread_data->b,
+ thread_data->c,
+ thread_data->d,
+ thread_data->e);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glActivateTile thread_param_local;
- Thread_Command_glActivateTile *thread_param = &thread_param_local;
+ Evas_Thread_Command_glActivateTile thread_data_local;
+ Evas_Thread_Command_glActivateTile *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glActivateTile *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glActivateTile));
- if (thread_param_new)
+ Evas_Thread_Command_glActivateTile *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glActivateTile));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->a = a;
- thread_param->b = b;
- thread_param->c = c;
- thread_param->d = d;
- thread_param->e = e;
+ thread_data->a = a;
+ thread_data->b = b;
+ thread_data->c = c;
+ thread_data->d = d;
+ thread_data->e = e;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glActivateTile,
- thread_param,
+ thread_data,
thread_mode);
}
/*
- void
- glEGLImageTargetTexture2DOES(GLenum target, void *image);
+ * void
+ * glEGLImageTargetTexture2DOES(GLenum target, void *image);
*/
typedef struct
GLenum target;
void *image;
-} Thread_Command_glEGLImageTargetTexture2DOES;
+} Evas_Thread_Command_glEGLImageTargetTexture2DOES;
void (*orig_evas_glEGLImageTargetTexture2DOES)(GLenum target, void *image);
static void
_gl_thread_glEGLImageTargetTexture2DOES(void *data)
{
- Thread_Command_glEGLImageTargetTexture2DOES *thread_param =
- (Thread_Command_glEGLImageTargetTexture2DOES *)data;
+ Evas_Thread_Command_glEGLImageTargetTexture2DOES *thread_data =
+ (Evas_Thread_Command_glEGLImageTargetTexture2DOES *)data;
- orig_evas_glEGLImageTargetTexture2DOES(thread_param->target,
- thread_param->image);
+ orig_evas_glEGLImageTargetTexture2DOES(thread_data->target,
+ thread_data->image);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glEGLImageTargetTexture2DOES thread_param_local;
- Thread_Command_glEGLImageTargetTexture2DOES *thread_param = &thread_param_local;
+ Evas_Thread_Command_glEGLImageTargetTexture2DOES thread_data_local;
+ Evas_Thread_Command_glEGLImageTargetTexture2DOES *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->image = image;
+ thread_data->target = target;
+ thread_data->image = image;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glEGLImageTargetTexture2DOES,
- thread_param,
+ thread_data,
thread_mode);
}
#ifndef GL_GLES
/*
- void
- glAlphaFunc(GLenum func, GLclampf ref);
+ * void
+ * glAlphaFunc(GLenum func, GLclampf ref);
*/
typedef struct
GLclampf ref;
int command_allocated;
-} Thread_Command_glAlphaFunc;
+} Evas_Thread_Command_glAlphaFunc;
static void
_gl_thread_glAlphaFunc(void *data)
{
- Thread_Command_glAlphaFunc *thread_param =
- (Thread_Command_glAlphaFunc *)data;
+ Evas_Thread_Command_glAlphaFunc *thread_data =
+ (Evas_Thread_Command_glAlphaFunc *)data;
- glAlphaFunc(thread_param->func,
- thread_param->ref);
+ glAlphaFunc(thread_data->func,
+ thread_data->ref);
- if (thread_param->command_allocated)
- eina_mempool_free(_mp_command, thread_param);
+ if (thread_data->command_allocated)
+ eina_mempool_free(_mp_command, thread_data);
}
EAPI void
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glAlphaFunc thread_param_local;
- Thread_Command_glAlphaFunc *thread_param = &thread_param_local;
+ Evas_Thread_Command_glAlphaFunc thread_data_local;
+ Evas_Thread_Command_glAlphaFunc *thread_data = &thread_data_local;
/* command_allocated flag init. */
- thread_param->command_allocated = 0;
+ thread_data->command_allocated = 0;
if (!evas_gl_thread_force_finish())
{ /* _flush */
- Thread_Command_glAlphaFunc *thread_param_new;
- thread_param_new = eina_mempool_malloc(_mp_command,
- sizeof(Thread_Command_glAlphaFunc));
- if (thread_param_new)
+ Evas_Thread_Command_glAlphaFunc *thread_data_new;
+ thread_data_new = eina_mempool_malloc(_mp_command,
+ sizeof(Evas_Thread_Command_glAlphaFunc));
+ if (thread_data_new)
{
- thread_param = thread_param_new;
- thread_param->command_allocated = 1;
+ thread_data = thread_data_new;
+ thread_data->command_allocated = 1;
thread_mode = EVAS_GL_THREAD_MODE_FLUSH;
}
}
- thread_param->func = func;
- thread_param->ref = ref;
+ thread_data->func = func;
+ thread_data->ref = ref;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glAlphaFunc,
- thread_param,
+ thread_data,
thread_mode);
}
#endif
#ifndef GL_GLES
/*
- void
- glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
+ * void
+ * glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
*/
typedef struct
GLenum pname;
GLint *params;
-} Thread_Command_glGetTexLevelParameteriv;
+} Evas_Thread_Command_glGetTexLevelParameteriv;
static void
_gl_thread_glGetTexLevelParameteriv(void *data)
{
- Thread_Command_glGetTexLevelParameteriv *thread_param =
- (Thread_Command_glGetTexLevelParameteriv *)data;
+ Evas_Thread_Command_glGetTexLevelParameteriv *thread_data =
+ (Evas_Thread_Command_glGetTexLevelParameteriv *)data;
- glGetTexLevelParameteriv(thread_param->target,
- thread_param->level,
- thread_param->pname,
- thread_param->params);
+ glGetTexLevelParameteriv(thread_data->target,
+ thread_data->level,
+ thread_data->pname,
+ thread_data->params);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetTexLevelParameteriv thread_param_local;
- Thread_Command_glGetTexLevelParameteriv *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetTexLevelParameteriv thread_data_local;
+ Evas_Thread_Command_glGetTexLevelParameteriv *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->level = level;
- thread_param->pname = pname;
- thread_param->params = params;
+ thread_data->target = target;
+ thread_data->level = level;
+ thread_data->pname = pname;
+ thread_data->params = params;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetTexLevelParameteriv,
- thread_param,
+ thread_data,
thread_mode);
}
#endif
#ifndef GL_GLES
/*
- void
- glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
+ * void
+ * glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
*/
typedef struct
GLsizei width;
GLsizei height;
-} Thread_Command_glRenderbufferStorageMultisample;
+} Evas_Thread_Command_glRenderbufferStorageMultisample;
void (*orig_evas_glRenderbufferStorageMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
static void
_gl_thread_glRenderbufferStorageMultisample(void *data)
{
- Thread_Command_glRenderbufferStorageMultisample *thread_param =
- (Thread_Command_glRenderbufferStorageMultisample *)data;
+ Evas_Thread_Command_glRenderbufferStorageMultisample *thread_data =
+ (Evas_Thread_Command_glRenderbufferStorageMultisample *)data;
- orig_evas_glRenderbufferStorageMultisample(thread_param->target,
- thread_param->samples,
- thread_param->internalformat,
- thread_param->width,
- thread_param->height);
+ orig_evas_glRenderbufferStorageMultisample(thread_data->target,
+ thread_data->samples,
+ thread_data->internalformat,
+ thread_data->width,
+ thread_data->height);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glRenderbufferStorageMultisample thread_param_local;
- Thread_Command_glRenderbufferStorageMultisample *thread_param = &thread_param_local;
+ Evas_Thread_Command_glRenderbufferStorageMultisample thread_data_local;
+ Evas_Thread_Command_glRenderbufferStorageMultisample *thread_data = &thread_data_local;
- thread_param->target = target;
- thread_param->samples = samples;
- thread_param->internalformat = internalformat;
- thread_param->width = width;
- thread_param->height = height;
+ thread_data->target = target;
+ thread_data->samples = samples;
+ thread_data->internalformat = internalformat;
+ thread_data->width = width;
+ thread_data->height = height;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glRenderbufferStorageMultisample,
- thread_param,
+ thread_data,
thread_mode);
}
#endif
/*
- const GLubyte *
- glGetStringi(GLenum name, GLuint index);
+ * const GLubyte *
+ * glGetStringi(GLenum name, GLuint index);
*/
typedef struct
GLenum name;
GLuint index;
-} Thread_Command_glGetStringi;
+} Evas_Thread_Command_glGetStringi;
const GLubyte * (*orig_evas_glGetStringi)(GLenum name, GLuint index);
static void
_gl_thread_glGetStringi(void *data)
{
- Thread_Command_glGetStringi *thread_param =
- (Thread_Command_glGetStringi *)data;
+ Evas_Thread_Command_glGetStringi *thread_data =
+ (Evas_Thread_Command_glGetStringi *)data;
- thread_param->return_value = orig_evas_glGetStringi(thread_param->name,
- thread_param->index);
+ thread_data->return_value = orig_evas_glGetStringi(thread_data->name,
+ thread_data->index);
}
int thread_mode = EVAS_GL_THREAD_MODE_FINISH;
- Thread_Command_glGetStringi thread_param_local;
- Thread_Command_glGetStringi *thread_param = &thread_param_local;
+ Evas_Thread_Command_glGetStringi thread_data_local;
+ Evas_Thread_Command_glGetStringi *thread_data = &thread_data_local;
- thread_param->name = name;
- thread_param->index = index;
+ thread_data->name = name;
+ thread_data->index = index;
evas_gl_thread_cmd_enqueue(EVAS_GL_THREAD_TYPE_GL,
_gl_thread_glGetStringi,
- thread_param,
+ thread_data,
thread_mode);
- return thread_param->return_value;
+ return thread_data->return_value;
}