if (ENFN->gl_direct_override_get)
ENFN->gl_direct_override_get(engine, &direct_override, &direct_force_off);
if (ENFN->gl_surface_direct_renderable_get)
- direct_renderable = ENFN->gl_surface_direct_renderable_get(engine, ns, &direct_override, surface);
+ direct_renderable = ENFN->gl_surface_direct_renderable_get(engine, output, ns, &direct_override, surface);
if (((direct_override) ||
((direct_renderable) &&
if (ENFN->gl_direct_override_get)
ENFN->gl_direct_override_get(engine, &direct_override, &direct_force_off);
if (ENFN->gl_surface_direct_renderable_get)
- ENFN->gl_surface_direct_renderable_get(engine, ns, &direct_override, surface);
+ ENFN->gl_surface_direct_renderable_get(engine, output, ns, &direct_override, surface);
if (direct_override && !direct_force_off)
{
void *(*gl_current_surface_get) (void *engine);
int (*gl_rotation_angle_get) (void *engine);
Eina_Bool (*gl_surface_query) (void *engine, void *surface, int attr, void *value);
- Eina_Bool (*gl_surface_direct_renderable_get) (void *engine, Evas_Native_Surface *ns, Eina_Bool *override, void *surface);
+ Eina_Bool (*gl_surface_direct_renderable_get) (void *engine, void *output, Evas_Native_Surface *ns, Eina_Bool *override, void *surface);
void (*gl_image_direct_set) (void *engine, void *image, Eina_Bool direct);
int (*gl_image_direct_get) (void *engine, void *image);
void (*gl_get_pixels_pre) (void *engine);
{
Evas_Engine_GL_Context *gl_context;
- gl_context = gl_generic_context_get(engine);
+ gl_context = gl_generic_context_find(engine);
if ((gl_context->havestuff) ||
(gl_context->master_clip.used))
{
Evas_Engine_GL_Context *gl_context;
EVGLINIT(engine, NULL);
- gl_context = gl_generic_context_get(engine);
+ gl_context = gl_generic_context_find(engine);
if (!gl_context)
{
ERR("Invalid context!");
}
static Eina_Bool
-eng_gl_surface_direct_renderable_get(void *engine, Evas_Native_Surface *ns, Eina_Bool *override, void *surface)
+eng_gl_surface_direct_renderable_get(void *engine, void *output, Evas_Native_Surface *ns, Eina_Bool *override, void *surface)
{
- Render_Output_GL_Generic *re = engine;
+ Render_Output_GL_Generic *re = output;
Eina_Bool direct_render, client_side_rotation;
Evas_Engine_GL_Context *gl_context;
Evas_GL_Image *sfc = surface;