Commit Graph

9418 Commits

Author SHA1 Message Date
M. Liebmann
8bee8b4c6d fb_generic: use more swidth variables in fbCopyArea() 2017-02-21 06:38:48 +01:00
Stefan Seyfried
cdc9935b83 tuxtxt: remove dead code, unnecessary header includes 2017-02-21 06:38:48 +01:00
Stefan Seyfried
291eaa0450 tuxtxt: remove old, unused input code 2017-02-21 06:38:48 +01:00
Stefan Seyfried
9385bd8bd9 fb_accel_glfb: fix color palette setting 2017-02-21 06:38:48 +01:00
Stefan Seyfried
b3a79a3a33 tuxtxt: remove old framebuffer device code 2017-02-21 06:38:48 +01:00
Stefan Seyfried
dfddc62d0c tuxtxt: remove unused dmx variable 2017-02-21 06:38:48 +01:00
Stefan Seyfried
418819e261 libtuxtxt: remove unused fd parameter from tuxtx_main() 2017-02-21 06:38:48 +01:00
Stefan Seyfried
f94f960e85 acinclude: move AC_SYS_LARGEFILE after AC_CANONICAL_*
no idea why, but detection of 64bit largefile flags fails otherwise in
some setups
2017-02-21 06:38:48 +01:00
Stefan Seyfried
dd653288d8 fb_generic: use 32bit pointers instead of 8bit 2017-02-21 06:38:48 +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
b7110faaf6 tuxtxt: Use hw blitting with fbCopyArea() for cs hd2 2017-02-20 00:09:46 +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
726302f945 - settings.h: scale RADIUS- and OFFSET-defines 2017-02-19 23:22:12 +01:00
svenhoefer
e631c3e3c0 - framebuffer: rename scaleFont() to scale2Res() 2017-02-19 23:22:12 +01:00
Jacek Jendrzej
e908858c19 try to fix segfault with --enable-cleanup 2017-02-17 12:11:03 +01:00
Jacek Jendrzej
4bfe34bf5d src/driver/scanepg.cpp avoid possible segfault 2017-02-17 11:09:53 +01:00
M. Liebmann
979bac14f0 tuxtxt: Fix display in 1280x720 mode 2017-02-15 20:24:41 +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
c977c98217 tuxtxt: convert to int-pointer arithmetic, work with all framebuffers
This converts the drawing code from byte-pointer to fb_pixel_t-pointer
arithmetic, making the calculations more obvious and probably more
efficient.
Additionally, the color tables are now generated in a way that it should
work regardless of the frame buffer color format. Allows to remove a few
hardware specific #ifdefs.
2017-02-15 18:38:03 +01:00
M. Liebmann
5612baaff7 libtuxtxt: Transfer from neutrino-mp for better compatibility 2017-02-15 18:38:03 +01:00
Stefan Seyfried
20a85c3874 fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems
2017-02-15 18:38:03 +01:00
svenhoefer
d457cc8ef5 - neutrino: small code cosmetics in loadSetup() 2017-02-15 08:48:38 +01:00
svenhoefer
56b99e0b47 - disable strange try-to-detect-bad-config-file if-statement 2017-02-15 08:48:38 +01:00
M. Liebmann
65f81b146d Merge branch 'master' into pu/fb-setmode
Fix merge conflict
2017-02-14 20:11:08 +01:00
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
e1e2052edb system/helpers: disable GetWidth4FB_HW_ACC()
...will be removed later
2017-02-14 20:01:55 +01:00
Stefan Seyfried
c9e1072b94 remove hardware specific code from gui
Use the framebuffer's getWidth4FB_HW_ACC() instead of system/helpers.
The use in cc_item_picture was guarded by a hardware #ifdef, use
needAlign4Blit() instead.

This needs testing on the affected hardware, which I do not have :-)
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
Stefan Seyfried
62ee5185b5 acinclude: only set default model to hd1 if boxtype=coolstream 2017-02-14 20:01:55 +01:00
M. Liebmann
56446c358f screenshot: Workaround for broken osd screenshot with new fb driver...
...and 1280x720 resolution.
2017-02-14 16:21:37 +01:00
svenhoefer
145c0d41b4 - set new osd-presets closer to old values; auto-calc screenEnd-values 2017-02-13 22:50:48 +01:00
svenhoefer
6964b62c6f - fix keywords in strange try-to-detect-bad-config-file if-statement 2017-02-13 21:34:01 +01:00
svenhoefer
9792b47666 - migrate users settings; screen_StartX_crt/lcd -> screen_StartX_crt/lcd_0 2017-02-13 21:21:11 +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
13a7358e64 neutrino: Upscaling fonts, infoclock and volumebar for full hd 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
M. Liebmann
9497a3c43a configure: Add macro ENABLE_CHANGE_OSD_RESOLUTION
- macro is default for hd2
  - macro can activated for other hardware by
    configure option --enable-reschange
2017-02-13 12:51:14 +01:00
Thilo Graf
690ac7c428 CMovieBrowser: vizualize progress for loading of youtube vidoes 2017-02-13 10:05:34 +01:00
Thilo Graf
0aa261d911 cYTFeedParser: add signal OnLoadVideoInfo
Required for visualized progress display.
2017-02-13 10:03:38 +01:00
Thilo Graf
2727e3f7f0 CImageInfo: fix y position of infotext
Minitv was not considered.
When font size very small, infotext could be overlapping
with minitv window. This should fix this.
2017-02-13 09:09:46 +01:00
Thilo Graf
a907afdc7c CMovieBrowser: visualize progress during load movies
TODO: youtube load
2017-02-13 09:02:43 +01:00
Thilo Graf
45e77707f0 CProgressWindow: add documentation for Doxygen 2017-02-13 09:02:43 +01:00
Thilo Graf
a3c93f4236 CProgressWindow: use using namespace for std and sigc
Makes more clearly
2017-02-13 09:02:43 +01:00
Thilo Graf
842c8e79bb CProgressWindow: add possibility to show progress via signal 2017-02-13 09:02:43 +01:00