Commit Graph

60 Commits

Author SHA1 Message Date
redblue-pkt
1b6f4fedf5 update glcd
Conflicts:
	src/gui/movieplayer.h
	src/gui/weather_locations.h
	src/neutrino.cpp
2020-06-29 17:34:24 +02:00
Thilo Graf
b42bf6109b fb_generic: add possibility to handle with unscaled images in showFrame() 2020-02-05 22:03:12 +01:00
Jacek Jendrzej
5f6bcadb0d partial revert:pictureviewer: fix move resized pic with pictureviewer 2020-02-02 17:25:06 +01:00
Jacek Jendrzej
a2c70af4d6 fix move resized pic with pictureviewer 2020-02-02 14:48:00 +01:00
Jacek Jendrzej
098438a5ff fb_generic: fix compil warning 2020-01-29 22:50:46 +01:00
J. Krieg
5f51ee491b fb_generic: fix compile with '-Werror'
error caused by commit ca9c47b - fb_generic: use parameters as const ref, catch possible dimension error:
  /home/bellum/neutrino/bbs/source/gui-neutrino/src/driver/fb_generic.cpp: In member function ‘void CFrameBuffer::RestoreScreen(const int&, const int&, const int&, const int&, uint32_t*)’:
  /home/bellum/neutrino/bbs/source/gui-neutrino/src/driver/fb_generic.cpp:1536:9: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
    if (dx > xRes || dy > yRes)
           ^
  /home/bellum/neutrino/bbs-test/source/gui-neutrino/src/driver/fb_generic.cpp:1536:22: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
    if (dx > xRes || dy > yRes)
                        ^
  cc1plus: all warnings being treated as errors
2019-12-29 16:12:12 +01:00
Thilo Graf
ca9c47b106 fb_generic: use parameters as const ref, catch possible dimension error 2019-11-09 11:05:06 +01:00
Thilo Graf
15a310be47 fb_generic: use const int by ref for more safety 2019-10-27 16:24:47 +01:00
Thilo Graf
600230c1c2 fb_generic: avoid possible crash on shutdown
Observed on generic platform.
2019-10-27 16:24:47 +01:00
svenhoefer
8991ed60f4 - pick mipsbox code from DDT, TangoCash and max10
Conflicts:
	src/gui/cam_menu.cpp
	src/gui/update.cpp
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-05-05 14:11:39 +02:00
Thilo Graf
d51474c6c8 src/driver/fb_generic.cpp: fix typo
cs build was broken
2019-03-12 13:10:44 +01:00
Thilo Graf
e10cd928ed framebuffer: add optional fallback handlings for showFrame() methode 2019-03-12 10:49:42 +01:00
Jacek Jendrzej
41963aca29 fix stack buffer overflow if icon pic is broken 2019-03-09 20:09:28 +01:00
GetAway
c14b34fe54 fb_generic.cpp: fix build for CST hardware...
was broken with commit 8b7de5f
2019-01-22 21:37:38 +01:00
GetAway
84693c62e6 cleanup last commit 2019-01-13 11:32:33 +01:00
GetAway
8b7de5fc8f screensaver.cpp: use fallback if video decoder is busy 2019-01-13 11:13:24 +01:00
svenhoefer
5c413dce45 - move compatibility headers to /lib/hardware
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
Thilo Graf
19c6f76056 src/driver/fb_generic.cpp/h: use methode showFrame() as bool function
Allows the evaluation of this function for conditions if needed.
2018-10-02 22:11:06 +02:00
Thilo Graf
8c145de053 src/driver/fb_generic.cpp: unifiy path search in showFrame()
This allows to use same paths for images like for icons.

Was a request, because images inside theme directories were not found.
Thanks bellum for this hint.
2018-08-31 20:48:31 +02:00
Thilo Graf
082b4bea2e src/driver/fb_generic.cpp: add possibility to use images with full name
Keep parameter file_type empty to use filenames with file name extension.
2018-08-31 10:26:33 +02:00
Thilo Graf
ae9be1be31 CFrameBuffer: add more possible icon paths in order of priority
This gives possibility to use theme relevant icon sets.

scheme:
	/path/to/theme/icons/file.png

example:
	/usr/share/tuxbox/neutrino/themes/Neutrino-3.0/icons/file.png
2018-04-11 16:12:58 +02:00
Stefan Seyfried
0b9a3a44c9 fb_generic: blit2FB: implement "transp" parameter
also try to document the calling convention of this function
2018-02-26 16:07:26 +01:00
Stefan Seyfried
dae2539f9c fb_generic: fix blit2FB for big endian processors 2018-02-26 16:07:08 +01:00
svenhoefer
3b65251e00 - framebuffer: better name for getWindowWidth/Height() functions
getScreenWidth/HeightRel() was confusing because it depends on users window settings.
Replace names in old unused framebuffer code too.

Signed-off-by: Thilo Graf <dbt@novatux.de>

 Conflicts:
	gui/channellist.cpp
2018-01-22 19:19:08 +01:00
TangoCash
2d11e017a0 start implementing hardware acceleration for armbox
you have to compile neutrino with "--enable-reschange" to use FullHD-OSD
2017-10-29 18:31:34 +01:00
Jacek Jendrzej
1763bb9e64 Merge branch 'master' into pu/mp 2017-08-08 20:06:40 +02:00
Thilo Graf
4e66739ff5 CFrameBuffer: fb-generic.cpp - add methode for clean up icon cache
This could be required eg. on changed resoulutions or
changed iconsets on runtime.
2017-08-08 14:25:12 +02:00
Jacek Jendrzej
ca83324763 Merge branch 'master' into pu/mp 2017-06-07 16:20:47 +02:00
Jacek Jendrzej
66ea57d710 src/driver/fb_generic.cpp fix possible memleak and possible double free 2017-03-17 15:04:11 +01:00
M. Liebmann
2677543cc4 Merge branch 'master' into pu/fb-setmode 2017-03-13 21:55:50 +01:00
svenhoefer
5b0faeab8c - unify DetailsLine-names; move define to settings.h 2017-03-13 12:40:04 +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
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
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
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
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
Stefan Seyfried
ec40cf7986 fb_generic: add sanity check and missing mark() to painIcon8 2017-02-12 22:59:11 +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
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
Stefan Seyfried
d498917594 fb_generic: remove unused VT switching / restoring code 2017-02-09 12:57:18 +01:00
Stefan Seyfried
b04b1d7f8c fb_accel: add TripleDragon framebuffer code 2017-02-09 12:57:18 +01:00
Stefan Seyfried
8441a719cb fb_generic: open device O_CLOEXEC, better diagnostic output 2017-02-09 12:57:18 +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
M. Liebmann
58bd8a4a63 fb_accel: Rename CFbAccelCSNevis class => CFbAccelCSHD1
Rename fb_accel_cs_nevis.cpp => fb_accel_cs_hd1.cpp
2017-02-08 12:52:25 +01:00
Stefan Seyfried
2498ebb314 fb_accel: add backend for GL framebuffer 2017-02-07 17:23:42 +01:00