Commit Graph

23 Commits

Author SHA1 Message Date
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
40a4ec4262 CFbAccelCSHD[1|2]::setMode(): Insert cVideo::updateOsdScreenInfo() 2017-03-28 23:56:56 +02:00
M. Liebmann
515ab1fe59 CFbAccelCSHD2::setMode: Fix if ENABLE_CHANGE_OSD_RESOLUTION is not defined 2017-03-23 21:32:48 +01:00
M. Liebmann
53460e54da CFbAccelCSHD2::setMode: Fix value for screeninfo.yres_virtual 2017-03-05 19:54:09 +01:00
M. Liebmann
653e574937 osd resolution: Add 'mode' to osd_resolution_struct_t
- Use COsdSetup::OSDMODE_XXX enums to identify various resolutions
2017-02-28 15:04:09 +01:00
M. Liebmann
1dccb68ad1 Merge branch 'master' into pu/fb-setmode 2017-02-23 15:14:54 +01:00
Stefan Seyfried
41e420d35d fb_accel: move hd2 specific parts from fader to fb_accel 2017-02-23 15:14:27 +01:00
M. Liebmann
eb0d7afa95 Merge branch 'master' into pu/fb-setmode 2017-02-21 06:39:24 +01:00
Stefan Seyfried
7c7d5f08dd fb_generic: add swidth variable, "stride in fb_pixel_t units"
this should allow to use fb_pixel_t pointer arithmetics more often
instead of byte pointers
2017-02-21 06:38:48 +01: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
43dbfed1ba - move ENABLE_CHANGE_OSD_RESOLUTION to scale2Res() function 2017-02-19 23:31: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
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
M. Liebmann
33125aed06 CFbAccelCSHD2::setMode: Update for new framebuffer driver (full hd) 2017-02-13 12:51:14 +01:00
Thilo Graf
8fe7504007 fb_accel_cs_hdx: remove dub includes, add includes into common header file 2017-02-08 20:16:07 +01:00
M. Liebmann
f94afc1593 fb_accel: Some renaming nevis => hd1 & apollo => hd2 2017-02-08 13:32:46 +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