Commit Graph

14 Commits

Author SHA1 Message Date
M. Liebmann
e8ec4540ca fb_generic: make blitBox2FB virtual 2017-02-14 20:01:55 +01:00
M. Liebmann
de80748cac fb_generic.h: Add missing function add_gxa_sync_marker()
- is required for cs hd1
2017-02-14 20:01:55 +01:00
Stefan Seyfried
b6909fb815 implement getWidth4FB_HW_ACC in fb_accel class
This helper to determine alignment for hardware blitting is now in
system/helpers.h, where it does not really belong. Put it into the
framebuffer class instead. Framebuffers that don't need it will just
get a dummy function, the cs_hd2 framebuffer gets the real thing.
Also add a bool function that indicates the need for alignment.
2017-02-14 20:01:55 +01:00
Stefan Seyfried
7fdc4c7178 fb_generic: remove hardware specific #ifdef 2017-02-14 20:01:55 +01:00
M. Liebmann
987dbe7f1d pu/fb-modules: Rename hardware defined macros for coolstream stb
BOXMODEL_NEVIS => BOXMODEL_CS_HD1
  BOXMODEL_APOLLO => BOXMODEL_CS_HD2
2017-02-12 09:24:51 +01:00
Stefan Seyfried
d498917594 fb_generic: remove unused VT switching / restoring code 2017-02-09 12:57:18 +01:00
Stefan Seyfried
1500716fcf fb_generic: make paintLine virtual 2017-02-09 12:57:17 +01:00
M. Liebmann
02d85f2ff2 neutrino: Replace USE_NEVIS_GXA with hardware-specific macros
- Existing USE_NEVIS_GXA definitions in the build system
  (neutrino configure) can be removed.
2017-02-08 06:06:24 +01:00
Stefan Seyfried
0e63e5df3d fb_accel: add accelerated framebuffer for Nevis GXA chips
Signed-off-by: M. Liebmann <git@tuxcode.de>
2017-02-07 17:23:42 +01:00
Stefan Seyfried
a58193dd56 fb_generic: add fb_name member to identify fb implementation 2017-02-07 17:23:42 +01:00
Stefan Seyfried
9ba84a629a fb_generic: add pointer for double-buffered fb 2017-02-07 17:23:42 +01:00
Stefan Seyfried
3f63080454 fb_generic: remove all hardware specific code 2017-02-07 17:23:42 +01:00
Stefan Seyfried
3c381cd53b fb_generic: add stuff needed for compilation 2017-02-07 17:23:42 +01:00
Stefan Seyfried
5c2ee5e137 start modularizing framebuffer acceleration architecture
This is just copied framebuffer.{h,cpp} => fb_generic.{h,cpp}
The idea is to implement CFrameBuffer as generic framebuffer class that
does work on almost every hardware without acceleration and / or
hardware dependencies.
CFbAccel will be a derived class (and different on many architectures)
which implements the accelerated functions.
This does not yet compile, verbatim copies to track development history.
2017-02-07 17:23:42 +01:00