mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
fbaccel: implement support for SPARK target
this should obsolete framebuffer_spark.cpp
This commit is contained in:
@@ -490,6 +490,13 @@ fprintf(stderr, "CFrameBuffer::setMode avail: %d active: %d\n", available, activ
|
||||
screeninfo.xres, screeninfo.yres, screeninfo.bits_per_pixel);
|
||||
}
|
||||
#endif
|
||||
#if HAVE_SPARK_HARDWARE
|
||||
/* it's all fake... :-) */
|
||||
screeninfo.xres = screeninfo.xres_virtual = DEFAULT_XRES;
|
||||
screeninfo.yres = screeninfo.yres_virtual = DEFAULT_YRES;
|
||||
screeninfo.bits_per_pixel = DEFAULT_BPP;
|
||||
stride = screeninfo.xres * screeninfo.bits_per_pixel / 8;
|
||||
#else
|
||||
#ifndef USE_OPENGL
|
||||
fb_fix_screeninfo _fix;
|
||||
|
||||
@@ -498,6 +505,7 @@ fprintf(stderr, "CFrameBuffer::setMode avail: %d active: %d\n", available, activ
|
||||
return -1;
|
||||
}
|
||||
stride = _fix.line_length;
|
||||
#endif
|
||||
#endif
|
||||
xRes = screeninfo.xres;
|
||||
yRes = screeninfo.yres;
|
||||
|
Reference in New Issue
Block a user