rsc->direct.enabled = EINA_FALSE;
}
-/*
-void
-evgl_direct_img_obj_set(Evas_Object *img, int rot)
-{
- EVGL_Resource *rsc;
-
- if (!(rsc=_evgl_tls_resource_get())) return;
-
- // Normally direct rendering isn't allowed if alpha is on and
- // rotation is not 0. BUT, if override is on, allow it.
- if (rot!=0)
- {
- if (evgl_engine->direct_override)
- rsc->direct.img = img;
- else
- rsc->direct.img = NULL;
- }
- else
- rsc->direct.img = img;
-}
-
-Evas_Object *
-evgl_direct_img_obj_get()
-{
- EVGL_Resource *rsc;
-
- if (!(rsc=_evgl_tls_resource_get())) return NULL;
-
- return rsc->direct.img;
-}
-*/
-
Evas_GL_API *
evgl_api_get()
{
return &gl_funcs;
}
-
-/*
-void
-evgl_direct_img_clip_set(int c, int x, int y, int w, int h)
-{
- EVGL_Resource *rsc;
-
- if (!(rsc=_evgl_tls_resource_get())) return;
-
- rsc->master_clip = c;
- rsc->clip[0] = x;
- rsc->clip[1] = y;
- rsc->clip[2] = w;
- rsc->clip[3] = h;
-
-}
-*/
-
void
evgl_direct_override_get(int *override, int *force_off)
{
Evas_GL_API *evgl_api_get();
int evgl_direct_rendered();
-
-/*
-extern void evgl_direct_img_obj_set(Evas_Object *img, int rot);
-extern Evas_Object *evgl_direct_img_obj_get();
-*/
-
void evgl_direct_info_set(int win_w, int win_h, int rot, int img_x, int img_y, int img_w, int img_h, int clip_x, int clip_y, int clip_w, int clip_h);
void evgl_direct_info_clear();
-//extern void evgl_direct_img_clip_set(int c, int x, int y, int w, int h);
void evgl_direct_override_get(int *override, int *force_off);
#endif //_EVAS_GL_CORE_H