ecore_drm_display_fb_hal_buffer_destroy(fb);
free(fb);
}
+ (void)bo;
#else
Ecore_Drm_Fb *fb;
static void
_evas_outbuf_cb_pageflip(void *data)
{
- Outbuf *ob, *last=NULL;
+ Outbuf *ob;
Ecore_Drm_Fb *fb;
- struct gbm_bo *bo;
+ struct gbm_bo *bo, *last=NULL;
if (!(ob = data)) return;
{
Ecore_Drm_Device *dev;
Ecore_Drm_Output *output;
- Eina_List *devs = ecore_drm_devices_get();
+ Eina_List *devs = (Eina_List*)ecore_drm_devices_get();
Eina_List *l, *ll;
EINA_LIST_FOREACH(devs, l, dev)
Evas_Public_Data *epd;
Evas_Engine_Info_GL_Drm *einfo;
Render_Engine *re;
- struct gbm_surface *osurface;
Outbuf *nob;
if (depth == OUTBUF_DEPTH_INHERIT) depth = ob->depth;
EINA_SAFETY_ON_NULL_RETURN(re);
einfo = ob->info;
- osurface = ob->surface;
if ((ob->rotation == 0) || (ob->rotation == 180))
nob = evas_outbuf_new(einfo, w, h, ob->swap_mode);
int sx EINA_UNUSED, int sy EINA_UNUSED, int sw EINA_UNUSED, int sh EINA_UNUSED,
int dx EINA_UNUSED, int dy EINA_UNUSED, int dw EINA_UNUSED, int dh EINA_UNUSED)
{
- Ecore_Drm_Output *output;
void *data, *src, *dst;
struct drm_mode_map_dumb arg = {0,};
int fd = -1;
for (i = 0; i < height ; i++)
{
memcpy (dst, src, stride);
- src += fb->stride;
- dst += stride;
+ src = (void*)((unsigned int)src + fb->stride);
+ dst = (void*)((unsigned int)dst + stride);
}
munmap(data, fb->stride * fb->h);