Commit Graph

11254 Commits

Author SHA1 Message Date
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
Stefan Seyfried
9b8524b37b rcinput: remove unused/unimplemented click functions 2017-02-20 20:36:45 +01:00
Stefan Seyfried
63c3157dd8 rcinput: remove now unused (and broken) getFileHandle() 2017-02-20 20:26:39 +01:00
Stefan Seyfried
f308ca649a keybind_setup: use rcinput->setKeyRepeatDelay() 2017-02-20 20:25:57 +01:00
Stefan Seyfried
57fa882b81 rcinput: fix set_rc_hw() after dynamic devices patch
...this could use some tests... :-)
2017-02-20 20:22:32 +01:00
Stefan Seyfried
7a6dd0c46e rcinput: add setKeyRepeatDelay() function
this allows to get rid of the broken getFileHandle function later
2017-02-20 20:20:54 +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
Stefan Seyfried
98557462ef 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-19 23:16:09 +01:00
Stefan Seyfried
50cf26441f tuxtxt: remove dead code, unnecessary header includes 2017-02-19 18:14:57 +01:00
Stefan Seyfried
98b7904a47 tuxtxt: remove old, unused input code 2017-02-19 18:04:50 +01:00
Stefan Seyfried
dce9f53654 fb_accel_glfb: fix color palette setting 2017-02-19 17:57:59 +01:00
Stefan Seyfried
39bb1c5cad tuxtxt: remove old framebuffer device code 2017-02-19 14:34:44 +01:00
Stefan Seyfried
e906fc70e3 tuxtxt: remove unused dmx variable 2017-02-19 12:09:03 +01:00
Stefan Seyfried
eb3fa7f2af libtuxtxt: remove unused fd parameter from tuxtx_main() 2017-02-19 11:52:37 +01:00
Stefan Seyfried
b10cd6a973 acinclude: move AC_SYS_LARGEFILE after AC_CANONICAL_*
no idea why, but detection of 64bit largefile flags fails otherwise in
some setups
2017-02-19 11:30:11 +01:00
Stefan Seyfried
73dc5eea71 fb_generic: use 32bit pointers instead of 8bit 2017-02-19 11:29:20 +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
Stefan Seyfried
a6fc59ad6c 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-15 20:30:52 +01:00
Stefan Seyfried
1d9d81d448 Merge remote-tracking branch 'tuxbox/master' 2017-02-15 20:26:44 +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
Stefan Seyfried
f51278b094 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 00:31:26 +01:00
Stefan Seyfried
3413af4236 fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems
2017-02-15 00:10:59 +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
Stefan Seyfried
9ed6cfe859 lcdd (tripledragon): remove bogus warning message 2017-02-14 00:17:03 +01:00
Stefan Seyfried
c95601630a system/helpers: disable GetWidth4FB_HW_ACC()
...will be removed later
2017-02-14 00:15:11 +01:00
Stefan Seyfried
a5333b4ec1 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 00:14:30 +01:00
Stefan Seyfried
05d1732cea 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 00:09:33 +01:00
Stefan Seyfried
bedee6b4c3 fb_generic: remove hardware specific #ifdef 2017-02-14 00:06:47 +01:00
svenhoefer
145c0d41b4 - set new osd-presets closer to old values; auto-calc screenEnd-values 2017-02-13 22:50:48 +01:00