Commit Graph

1619 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
9385bd8bd9 fb_accel_glfb: fix color palette setting 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
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
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
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
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
dce9f53654 fb_accel_glfb: fix color palette setting 2017-02-19 17:57:59 +01:00
Stefan Seyfried
73dc5eea71 fb_generic: use 32bit pointers instead of 8bit 2017-02-19 11:29:20 +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
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
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
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
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
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
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
Stefan Seyfried
ec40cf7986 fb_generic: add sanity check and missing mark() to painIcon8 2017-02-12 22:59:11 +01:00
Stefan Seyfried
ff0d98bcc3 streamts: don't overflow receive buffer, better diag message 2017-02-12 22:58:58 +01:00
Stefan Seyfried
6604178485 remove spurious newlines from debug output 2017-02-12 22:57:32 +01:00
Stefan Seyfried
5188f721c4 set useful thread names for all spawned threads 2017-02-12 22:55:36 +01:00
Stefan Seyfried
1dd47e00c0 fb_generic: initialization and deinitialization fixes
* initialize variables locked and cache_size in constructor
* set lfb pointer to NULL after munmap(), fd to -1 after close
* remove unused tty fd close()
2017-02-12 22:49:30 +01:00
Stefan Seyfried
67387a13c6 fb_accel_td: implement setBlendMode/Level 2017-02-12 22:49:14 +01:00
Stefan Seyfried
0aa871e2f9 remove fb_accel_cs.cpp after merge 2017-02-12 21:30:44 +01:00
Stefan Seyfried
2819e651c3 Merge remote-tracking branch 'tuxbox/pu/fb-modules'
only compile tested ;-)
2017-02-12 21:29:10 +01:00
Stefan Seyfried
c266891a71 fb_generic: add sanity check and missing mark() to painIcon8 2017-02-12 18:10:11 +01:00
Stefan Seyfried
ec3201ab04 streamts: don't overflow receive buffer, better diag message 2017-02-12 16:56:10 +01:00
Stefan Seyfried
1fa91ad136 remove spurious newlines from debug output 2017-02-12 15:18:35 +01:00
Stefan Seyfried
b9da7f01bf set useful thread names for all spawned threads 2017-02-12 15:17:32 +01:00
M. Liebmann
987dbe7f1d pu/fb-modules: Rename hardware defined macros for coolstream stb
BOXMODEL_NEVIS => BOXMODEL_CS_HD1
  BOXMODEL_APOLLO => BOXMODEL_CS_HD2
2017-02-12 09:24:51 +01:00
M. Liebmann
0cb26e6e98 Merge branch 'master' into pu/fb-modules 2017-02-12 09:24:08 +01:00
M. Liebmann
0d66899cbd neutrino: Rename hardware defined macros for coolstream stb
BOXMODEL_NEVIS  => BOXMODEL_CS_HD1
  BOXMODEL_APOLLO => BOXMODEL_CS_HD2
2017-02-12 09:21:04 +01:00