mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
fbaccel: implement support for SPARK target
this should obsolete framebuffer_spark.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: bc062dca05
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-01-13 (Sun, 13 Jan 2013)
------------------
This commit was generated by Migit
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