Stefan Seyfried
3256978c58
start modularizing framebuffer acceleration architecture
...
This is just copied framebuffer.{h,cpp} => fb_generic.{h,cpp}
The idea is to implement CFrameBuffer as generic framebuffer class that
does work on almost every hardware without acceleration and / or
hardware dependencies.
CFbAccel will be a derived class (and different on many architectures)
which implements the accelerated functions.
This does not yet compile, verbatim copies to track development history.
2017-02-05 14:49:41 +01:00
Stefan Seyfried
13ab1ebc8a
Merge remote-tracking branch 'tuxbox/master'
...
* needs compile fixes
* needs additional tests, of course :-)
2016-10-22 11:37:40 +02:00
Thilo Graf
97343d1190
CFrameBuffer: outsource code for icon path detecting
...
Unified handling and makes it possible to use in other objects.
2016-03-17 10:25:26 +01:00
M. Liebmann
95f11ce7af
CFrameBuffer::paintBoxRel2Buf(): Align buffer at 4 byte boundary...
...
...for hw blit on apollo/kronos hardware
2016-01-26 09:51:48 +01:00
Stefan Seyfried
b837d8697b
Merge remote-tracking branch 'uncool/cst-next'
2015-12-28 16:15:14 +01:00
Thilo Graf
0146511f38
components: rework classes
...
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
enable/disable clock with external timer events,
tryed to fix some display issues related with infoclock and
time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)
... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
Stefan Seyfried
eeee5bacab
Merge remote-tracking branch 'uncool/cst-next'
...
This need buildfixes and some functional updates...
2015-12-13 17:41:55 +01:00
svenhoefer
edc8527379
- framebuffer: revival of showFrame() function to allow ...
...
... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons
2015-05-05 12:01:04 +02:00
Stefan Seyfried
69c4dbbdba
Merge remote-tracking branch 'check/cst-next'
...
needs build- and functional fixes
Conflicts:
configure.ac
data/icons/shutdown.jpg
data/icons/start.jpg
data/locale/deutsch.locale
data/locale/english.locale
lib/libmd5sum/md5.c
src/driver/scanepg.cpp
src/driver/streamts.cpp
src/driver/vfd.cpp
src/driver/vfd.h
src/driver/volume.cpp
src/eitd/dmx.cpp
src/eitd/xmlutil.cpp
src/gui/Makefile.am
src/gui/audiomute.cpp
src/gui/channellist.cpp
src/gui/dboxinfo.cpp
src/gui/epgview.cpp
src/gui/eventlist.cpp
src/gui/filebrowser.cpp
src/gui/hdd_menu.cpp
src/gui/infoviewer.cpp
src/gui/infoviewer_bb.cpp
src/gui/infoviewer_bb.h
src/gui/keybind_setup.cpp
src/gui/luainstance.cpp
src/gui/luainstance.h
src/gui/miscsettings_menu.cpp
src/gui/moviebrowser.cpp
src/gui/movieplayer.cpp
src/gui/osd_progressbar_setup.cpp
src/gui/osd_progressbar_setup.h
src/gui/osd_setup.cpp
src/gui/osdlang_setup.cpp
src/gui/personalize.cpp
src/gui/plugins.cpp
src/gui/plugins.h
src/gui/scan.cpp
src/gui/scan_setup.cpp
src/gui/update_settings.cpp
src/gui/user_menue.cpp
src/gui/user_menue_setup.cpp
src/gui/videosettings.cpp
src/gui/widget/buttons.cpp
src/gui/widget/menue.cpp
src/gui/widget/menue.h
src/gui/widget/progresswindow.cpp
src/neutrino.cpp
src/neutrino_menue.cpp
src/nhttpd/yhttpd.cpp
src/system/helpers.cpp
src/system/locals.h
src/system/locals_intern.h
src/system/setting_helpers.cpp
src/zapit/lib/zapitclient.cpp
src/zapit/src/fastscan.cpp
src/zapit/src/frontend.cpp
src/zapit/src/getservices.cpp
src/zapit/src/scan.cpp
src/zapit/src/scannit.cpp
src/zapit/src/scanpmt.cpp
src/zapit/src/transponder.cpp
src/zapit/src/zapit.cpp
2014-12-25 18:03:08 +01:00
svenhoefer
46b4d9e866
- framebuffer.h: define CORNER_NONE
2014-10-11 11:07:14 +02:00
Thilo Graf
f9147d185a
CComponents: add setColBodyGradient() to set gradient properties
...
This provides possibility to set relevant gradiant properties in cc sub classes
2014-09-25 11:08:08 +04:00
M. Liebmann
a428a1f583
CFrameBuffer: Add functions to draw color gradients
2014-09-25 11:05:46 +04:00
[CST] Focus
aa0c780dbf
driver/framebuffer.h: increase fade time, with 1750 there is no visible fade effect at all
2014-07-17 17:02:56 +04:00
Thilo Graf
c41b4fd015
CFrameBuffer: reduce fade time
...
10000 seems to bee too much for nice handling
2014-06-23 18:43:47 +02:00
Thilo Graf
06a5f568a9
CFrameBuffer: add function to get icon base path
2014-05-16 09:08:24 +02:00
Stefan Seyfried
b93a372b54
Merge branch 'check/next-cc'
...
Compiles on most platforms, starts. Not really tested.
2013-11-10 16:55:53 +01:00
[CST] Focus
0dc92e99f9
driver/framebuffer.cpp: switch from window_size to window width/height,
...
allow 50% min window size
2013-11-07 17:25:15 +04:00
Stefan Seyfried
50977ef2f5
Merge branch 'check/next-cc'
2013-09-03 09:36:49 +02:00
svenhoefer
6ed30528f9
- osd_setup: introduce g_settings.window_size to scale some windows
...
* remove g_settings.big_windows
* add setup window (use up/down to change size)
2013-09-02 20:59:26 +02:00
Stefan Seyfried
32de6beef0
Merge remote-tracking branch 'check/next-cc'
...
needs buildfixing...
Conflicts:
src/eitd/sectionsd.cpp
src/gui/audioplayer.cpp
src/gui/bedit/bouqueteditor_channels.cpp
src/gui/infoclock.cpp
src/gui/infoviewer.cpp
src/gui/motorcontrol.cpp
src/gui/osd_setup.cpp
src/gui/scan.cpp
src/gui/scan_setup.cpp
src/gui/streaminfo2.cpp
src/gui/update.cpp
src/gui/widget/progresswindow.cpp
src/gui/widget/textbox.cpp
src/neutrino.cpp
src/zapit/include/zapit/femanager.h
2013-09-01 19:46:10 +02:00
Michael Liebmann
677a3ba116
Activate reworked mute icon handling for apollo hardware
2013-08-24 15:51:29 +02:00
[CST] Focus
cd8ee4a1c8
driver/framebuffer.h: add empty blit for neutrino-mp patches
2013-07-18 14:51:58 +04:00
Stefan Seyfried
d5d5a60261
Merge branch 'check/next-cc'
...
it compiles, but is not really tested...
Conflicts:
src/driver/netfile.cpp
src/driver/volume.cpp
src/eitd/sectionsd.cpp
src/gui/audioplayer.cpp
src/gui/bedit/bouqueteditor_bouquets.cpp
src/gui/bedit/bouqueteditor_channels.cpp
src/gui/bookmarkmanager.cpp
src/gui/bouquetlist.cpp
src/gui/eventlist.cpp
src/gui/movieplayer.cpp
src/gui/pictureviewer.cpp
src/gui/scan.cpp
src/gui/test_menu.h
src/gui/timerlist.cpp
src/gui/update.cpp
src/gui/widget/listbox.cpp
src/neutrino.cpp
src/system/flashtool.cpp
src/zapit/src/Makefile.am
src/zapit/src/femanager.cpp
2013-06-16 21:22:14 +02:00
Michael Liebmann
2b03fd0ddc
* Fix compile neutrino don't use USE_NEVIS_GXA
2013-05-28 20:49:24 +02:00
Stefan Seyfried
a7f1e0e25e
Merge remote-tracking branch 'check/next-cc'
...
needs buildfixing in framebuffer class...
Conflicts:
data/locale/deutsch.locale
data/locale/english.locale
src/driver/fontrenderer.cpp
src/driver/volume.cpp
src/gui/audiomute.cpp
src/gui/audioplayer.cpp
src/gui/osd_setup.cpp
src/gui/widget/stringinput.cpp
src/neutrino.cpp
2013-05-24 20:24:39 +02:00
Michael Liebmann
d460c50bd5
* CFrameBuffer::waitForIdle: Added a parameter
...
to identify the execution at Debug Output
- For example: name of the calling function
2013-05-18 14:44:20 +01:00
Michael Liebmann
b089d9bf20
* CFrameBuffer: Rework paintBoxFrame()
...
- Rounded corners can be displayed individually
- Improved rendering of circular arcs
- Remove duplicate code in paintBoxRel()
2013-05-16 11:01:41 +01:00
Michael Liebmann
1049b337bb
* Rework handling muteicon
...
- Integrated for monitoring the mute icon into the frame buffer class.
If the icon is overwritten by an element, it is restored from the
framebuffer.
Signed-off-by: Thilo Graf <dbt@novatux.de >
2013-05-16 11:01:41 +01:00
svenhoefer
742cc81f46
- framebuffer: add possibility to force small windows
2013-05-10 10:31:46 +02:00
Stefan Seyfried
8253c4d67c
Merge remote-tracking branch 'check/next-cc'
...
needs some build-fixing and merge errors are likely :-(
Conflicts:
configure.ac
data/icons/start.jpg
data/locale/deutsch.locale
data/locale/unmaintained/dutch.locale
lib/libdvbsub/Makefile.am
lib/libdvbsub/dvbsubtitle.cpp
lib/libtuxtxt/Makefile.am
src/Makefile.am
src/daemonc/Makefile.am
src/driver/audiodec/Makefile.am
src/driver/framebuffer.cpp
src/driver/framebuffer.h
src/driver/pictureviewer/Makefile.am
src/driver/rcinput.cpp
src/driver/streamts.cpp
src/driver/volume.cpp
src/eitd/Makefile.am
src/gui/Makefile.am
src/gui/audioplayer.cpp
src/gui/bedit/Makefile.am
src/gui/bedit/bouqueteditor_chanselect.cpp
src/gui/bouquetlist.cpp
src/gui/channellist.cpp
src/gui/components/Makefile.am
src/gui/epgview.cpp
src/gui/eventlist.cpp
src/gui/infoviewer.cpp
src/gui/infoviewer_bb.cpp
src/gui/keybind_setup.cpp
src/gui/moviebrowser.cpp
src/gui/movieplayer.cpp
src/gui/scan.cpp
src/gui/scan_setup.cpp
src/gui/test_menu.cpp
src/gui/test_menu.h
src/gui/update.cpp
src/gui/videosettings.cpp
src/gui/widget/Makefile.am
src/gui/widget/buttons.cpp
src/gui/widget/stringinput.cpp
src/neutrino.cpp
src/nhttpd/tuxboxapi/coolstream/Makefile.am
src/system/Makefile.am
src/system/setting_helpers.cpp
src/system/settings.h
src/zapit/include/zapit/client/zapitclient.h
src/zapit/include/zapit/femanager.h
src/zapit/include/zapit/getservices.h
src/zapit/lib/zapitclient.cpp
src/zapit/src/Makefile.am
src/zapit/src/capmt.cpp
src/zapit/src/femanager.cpp
src/zapit/src/frontend.cpp
src/zapit/src/getservices.cpp
2013-05-10 10:06:47 +02:00
Thilo Graf
8baec6d62a
CVolumeBar: rework volumebar handling
...
Use CComponenets and separates the gui part from driver part
- add new class CVolumeBar as CComponentsForm
- Various changes for reworked volume bar handling in some classes
- Move AudioMute() from CVolume to new class CAudioMute
- Use CComponentsPicture to paint muteicon
2013-05-08 05:11:24 +01:00
Stefan Seyfried
5ad0b6b6dc
Merge branch 'check/pu-cc' into master
...
needs buildfixing...
Conflicts:
data/Makefile.am
src/driver/framebuffer.h
src/driver/volume.cpp
src/gui/bedit/bouqueteditor_bouquets.cpp
src/gui/bedit/bouqueteditor_channels.cpp
src/gui/bouquetlist.cpp
src/gui/channellist.cpp
src/gui/filebrowser.cpp
src/gui/imageinfo.cpp
src/gui/infoviewer.cpp
src/gui/streaminfo2.cpp
src/gui/widget/textbox.cpp
2013-04-06 11:21:55 +02:00
svenhoefer
4714a30f83
- strech most windows to full screen
...
* switchable with existing switch for 'big_windows'
* 'big_windows' default is on
Conflicts:
src/gui/bedit/bouqueteditor_bouquets.cpp
src/gui/bedit/bouqueteditor_channels.cpp
src/gui/bedit/bouqueteditor_chanselect.cpp
2013-04-01 15:42:38 +04:00
svenhoefer
759966f935
- strech most windows to full screen
...
* switchable with existing switch for 'big_windows'
* 'big_windows' default is on
2013-03-25 09:45:22 +01:00
[CST] Bas
e7833b099f
merge neutrino-apollo
2013-01-18 10:59:27 +04:00
[CST] Focus
6e41c65fad
merge public git changes
2013-01-09 19:30:07 +04:00
Stefan Seyfried
21e27d463f
framebuffer: start cleanup / refactoring
...
in order to not clash with upstream all the time, copy the files
over to framebuffer_ng.{cpp,h} and include this from old include file.
2013-01-05 14:41:50 +01:00
Stefan Seyfried
8d69036be5
Merge branch 'uncool/dvbsi++' commit 3bbaddec39
...
Conflicts:
src/driver/framebuffer.cpp
2013-01-03 09:46:11 +01:00
satbaby
3bbaddec39
src/driver/framebuffer.cpp: fix fb for Threads use
2013-01-02 15:55:19 +01:00
[CST] Focus
418890957d
driver/framebuffer.cpp: cleanup, add ioctls to blit/fill rect using FB
2012-12-26 12:20:10 +04:00
Stefan Seyfried
e0c80399d6
add openGL based framebuffer implementation for testing on PC
...
this is based on Carsten Juttner's previous work, but without
any video decoding.
2012-10-08 17:01:45 +02:00
Stefan Seyfried
2541edc918
neutrino: first preliminary support for AZbox ME
...
this is very experimental and depends on more fixes in
libstb-hal, but audio / video / OSD are basically working
2012-06-27 21:18:19 +02:00
Stefan Seyfried
ca873b609f
spark: use blitter to scale to non-720p framebuffer resolutions
...
Let everyone render in an offscreen buffer of 1280x720 pixels,
then blit to primary, scaling to target resolution.
This will need some calls to ->blit() sprinkled all over neutrino
which will come in a follow-up commit.
2012-04-17 19:33:57 +02:00
Stefan Seyfried
7fcd36ed66
spark: revert framebuffer scaling commits
...
we're going to use the STFB blitter instead of manually
scaling everything if the videomode is not 720p, so more
or less revert all commits regarding FB scaling:
Revert "fontrenderer: scale fonts for nonstandard FB resolutions"
Revert "neutrino: resize framebuffer on videomode change"
Revert "fontrenderer: fix issue with epgwindow font when FB is scaling"
Revert "neutrino: fix artefacts with scaling framebuffer and 1080i"
Revert "spark: draw lines 2px wide instead of 1 in full-HD mode"
Revert "spark: do not scale framebuffer for PAL mode"
Revert "spark: fix framebuffer glitches"
Revert "spark: do not sync blitter after every rectangle (improves performance)"
2012-04-17 19:33:57 +02:00
Stefan Seyfried
47f09004d8
framebuffer: make blit2FB usable for tuxtxt
2012-04-17 19:33:55 +02:00
Stefan Seyfried
26f85435a8
framebuffer,loadSetup: fix TD build
2012-04-17 19:33:55 +02:00
Stefan Seyfried
3eb307d296
add a CFrameBuffer implementation for SPARK
...
instead of clobbering up the code with lots of #ifdefs, create a
separate file for SPARK
2012-04-17 19:33:53 +02:00
Stefan Seyfried
9fc1d89563
libtriple/framebuffer: use DirectFB acceleration
...
Use a hack, almost as ugly as the original Coolstream code ;),
to accelerate drawing of boxes and blitting with DirectFB functions.
2012-04-17 19:33:43 +02:00
micha-bbg
5fee27085d
* Moviebrowser: disabled 'pseudo' transparency for display screenshot
...
- Global setting for picture / icon transparency can be made
in framebuffer constuctor
- Default is old standard (transparency when Black Content)
- Individual transparency with CFrameBuffer::SetTransparent()
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2155 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-03-19 21:40:03 +00:00
micha-bbg
cece80cc6f
* neutrino: GUI Painting of Vol. Mute and Clock (Part2)
...
- Move painting of muteicon to framebuffer
- Background removed for MuteIcon (switchable)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2152 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-03-18 18:46:40 +00:00