Commit Graph

25 Commits

Author SHA1 Message Date
svenhoefer
8991ed60f4 - pick mipsbox code from DDT, TangoCash and max10
Conflicts:
	src/gui/cam_menu.cpp
	src/gui/update.cpp
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-05-05 14:11:39 +02:00
Stefan Seyfried
d2e80adff0 fb_accel_td: do not use directfb for blitting
it is in most cases slower than the naive software implementation :-(
2018-02-26 16:08:59 +01:00
TangoCash
2d11e017a0 start implementing hardware acceleration for armbox
you have to compile neutrino with "--enable-reschange" to use FullHD-OSD
2017-10-29 18:31:34 +01:00
M. Liebmann
3c1f2bfe05 fb_accel hd1/hd2: Add fb_accel_cs_hdx.cpp for common functions
- Add 'class CFbAccelCSHDx' to fb_accel.h
 - Some small code updates
2017-03-28 23:56:57 +02:00
M. Liebmann
d76c9c536c Merge branch 'master' into pu/fb-setmode 2017-02-20 00:11:48 +01:00
M. Liebmann
cc5a1b3b31 framebuffer: Add fbCopyArea function
- Copies areas within the frame buffer
 - Hardware accelerated function for cs hd2
 - Copying overlapping areas does not always work correctly
   without hardware acceleration
2017-02-20 00:09:46 +01:00
svenhoefer
e631c3e3c0 - framebuffer: rename scaleFont() to scale2Res() 2017-02-19 23:22:12 +01:00
M. Liebmann
aa5f8e9a65 Merge branch 'master' into pu/fb-setmode 2017-02-15 18:40:47 +01:00
M. Liebmann
84edb25f3f fb_accel_cs_hd2: add missing getBackBufferPointer() 2017-02-15 18:39:02 +01:00
Stefan Seyfried
20a85c3874 fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems
2017-02-15 18:38:03 +01:00
M. Liebmann
65f81b146d Merge branch 'master' into pu/fb-setmode
Fix merge conflict
2017-02-14 20:11:08 +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
M. Liebmann
7b158903f8 neutrino: Add switch osd resolution when supported from hardware
- At the moment supported hardware: CS HD2

  Currently known problems:
  -------------------------
  - Display menus after changing resolution (Reboot required)
  - Display headers after changing resolution hd => fullhd (Reboot required)
  - Display infobar after changing resolution hd => fullhd (Reboot required)
  - Screenshot broken (With new driver and set resolution to 1280x720)
2017-02-13 12:51:14 +01:00
M. Liebmann
88c834221b CFbAccelCSHD2: Add scaleFont()function for font upscaling when fullhd is aktiv 2017-02-13 12:51:14 +01:00
Stefan Seyfried
67387a13c6 fb_accel_td: implement setBlendMode/Level 2017-02-12 22:49:14 +01:00
Stefan Seyfried
b04b1d7f8c fb_accel: add TripleDragon framebuffer code 2017-02-09 12:57:18 +01:00
M. Liebmann
a4afe1e8e0 fb_accel: Rename CFbAccelCSApollo class => CFbAccelCSHD2
Rename fb_accel_cs_apollo.cpp => fb_accel_cs_hd2.cpp
2017-02-08 12:52:26 +01:00
M. Liebmann
58bd8a4a63 fb_accel: Rename CFbAccelCSNevis class => CFbAccelCSHD1
Rename fb_accel_cs_nevis.cpp => fb_accel_cs_hd1.cpp
2017-02-08 12:52:25 +01:00
M. Liebmann
35b48372f8 CFbAccelCSApollo: Add paintHLineRel() & paintVLineRel() functions
- Remove unused debug output
2017-02-08 09:32:17 +01:00
M. Liebmann
10e82c0ece CFbAccelCSNevis: Add paintHLineRel() & paintVLineRel() functions
- Remove unused debug output
2017-02-08 09:32: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
2498ebb314 fb_accel: add backend for GL framebuffer 2017-02-07 17:23:42 +01:00
M. Liebmann
6ff9ff695b fb_accel: add accelerated framebuffer for Apollo graphic chips 2017-02-07 17:23:42 +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
9fe5dfbe50 framebuffer: add accelerator for STi framebuffer
also add a generic helper class for other accelerated
framebuffer implementations
2017-02-07 17:23:42 +01:00