Commit Graph

8936 Commits

Author SHA1 Message Date
M. Liebmann
6a2fe8dd92 Merge branch 'master' into pu/fb-setmode 2017-02-22 12:05:18 +01:00
M. Liebmann
383af04cb7 CRCInput::setKeyRepeatDelay: Change hardware dependency,
HD2 driver is not so very ugly. ;)
2017-02-22 12:04:58 +01:00
svenhoefer
1eec78ccfd - rc_input: we have d_printf, so let's use it 2017-02-22 11:50:09 +01:00
svenhoefer
d7ed439e53 - rc_input: just cosmetics to satisfy syntax-highlighters 2017-02-22 08:59:56 +01:00
svenhoefer
0e435bb389 - rc_input: rename checkLnkDev() to checkdev_lnk(); ...
just to align form-style to latest changes
2017-02-22 08:59:56 +01:00
M. Liebmann
9209326a1b Merge branch 'master' into pu/fb-setmode 2017-02-22 06:25:45 +01:00
M. Liebmann
5cac45ccb8 CRCInput::set_rc_hw: Fix device check for cs hd2 2017-02-22 06:24:48 +01:00
Stefan Seyfried
f45456d7a8 rcinput: remove unused/unimplemented click functions 2017-02-22 06:24:48 +01:00
Stefan Seyfried
dceb6989a8 rcinput: remove now unused (and broken) getFileHandle() 2017-02-22 06:24:48 +01:00
Stefan Seyfried
8b8b4ce0e2 keybind_setup: use rcinput->setKeyRepeatDelay() 2017-02-22 06:24:48 +01:00
Stefan Seyfried
41958cc029 rcinput: fix set_rc_hw() after dynamic devices patch
...this could use some tests... :-)
2017-02-22 06:24:48 +01:00
Stefan Seyfried
0df5a8df7f rcinput: add setKeyRepeatDelay() function
this allows to get rid of the broken getFileHandle function later
2017-02-22 06:24:48 +01:00
M. Liebmann
1b79faff78 rcinput: Add exception handling for cs hd2
- Supplement to previous commit
2017-02-22 06:24:48 +01:00
Stefan Seyfried
7b3aa2b181 rcinput: use a dynamic list of input devices
Instead of the fixed, static list of input devices, scan /dev/input/ for
proper event devices. A "good" input device is one that supports the
EVIOCGBIT ioctl and at least the EV_KEY event type.
This probably needs further fixes, e.g. in repeat rate setting code.
2017-02-22 06:24:48 +01:00
M. Liebmann
e35969afe2 Fix compiler format warnings 2017-02-22 06:24:48 +01:00
M. Liebmann
d932a1a326 rcinput: Transfer from neutrino-mp for better compatibility 2017-02-22 06:24:48 +01:00
M. Liebmann
0c182785e2 src/system/helpers.cpp: Add function readLink() 2017-02-22 06:24:48 +01:00
M. Liebmann
eb0d7afa95 Merge branch 'master' into pu/fb-setmode 2017-02-21 06:39:24 +01:00
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