Commit Graph

22 Commits

Author SHA1 Message Date
Stefan Seyfried
b8379ebbc6 fontrenderer: mark only the really used FB area dirty 2012-04-17 19:33:59 +02:00
Stefan Seyfried
f44dcf26a9 fontrenderer: mark used region, so that blitting works 2012-04-17 19:33:58 +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
dd025e6622 fontrenderer: fix issue with epgwindow font when FB is scaling 2012-04-17 19:33:54 +02:00
Stefan Seyfried
b34e7205b9 neutrino: resize framebuffer on videomode change
this is needed on spark because the framebuffer has the same resolution
as the video plane...
2012-04-17 19:33:53 +02:00
Stefan Seyfried
7e6a49e8b8 fontrenderer: scale fonts for nonstandard FB resolutions 2012-04-17 19:33:53 +02:00
micha-bbg
0aeeb601bd * neutrino: GUI Painting of Vol. Mute and Clock (Part1)
- Added getDigitHeight() and getDigitOffset() to fontrenderer (better numerics display)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2151 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-03-18 18:46:36 +00:00
focus
0b32b39bdf Experimental option for non-transparent fonts, to make them readable with high transparency levels. Looking a bit ugly, must be improved
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1858 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-17 10:53:53 +00:00
seife
f0d56fe6e7 fontrenderer: bring RenderString() and getRenderWidth() in line
both functions had slightly different ideas on how wide a string
would render, leading to occational off-by-ones and eventually
stripped characters

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1264 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-06 18:08:23 +00:00
seife
b666fab10b fontrenderer: remove '\n' handling
'\n' in a text was not working correctly - it did not reset the
X position correctly and it did jump out of the assigned box.
Visible errors were e.g. on epgplus, 13.0E SF1, where the short
description often contains '\n' and thus garbage was painted
below the epgplus window (and did not get cleared afterwards).
For now we replace '\n' with '¶' (0x00b6). Later, if no offenders
are found, it should simply be removed.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@872 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-10-31 10:04:39 +00:00
focus
253324226e Windows fade emulation. Some main windows at the moment only. New drivers needed.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@644 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-06-27 13:06:12 +00:00
satbaby
f548d2e3c0 -add: getWidth()
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@255 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-04 11:45:37 +00:00
seife
6b4f0ad178 fontrenderer: do not paint background color
do not paint the background color, making the font "transparent"
this works around display problems in e.g. streaminfo, because the
"wrong" background color is used

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@224 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-30 14:09:10 +00:00
satbaby
45f9fc1e75 #ifndef
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@206 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-24 08:57:44 +00:00
satbaby
ceb4bdf7f9 fix segfault
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@205 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-24 08:50:37 +00:00
seife
230a966e7d neutrino: speed up the fontrenderer
Speed up the fontrenderer by *not* using the GXA accelerator. To
prevent artifacts, add a routine to framebuffer class to sync on
the GXA engine being ready with drawing.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@196 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-20 19:21:35 +00:00
mws
00353cf75d fix initializers and shadows
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@123 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-29 13:24:33 +00:00
seife
c77b7f37c8 fontrenderer.cpp: stuff allocated with strdup must be free()'d, not deleted
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@107 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-22 12:15:01 +00:00
seife
732ffb18be fix more "type qualifiers ignored on function return type" warnings
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@105 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-21 17:26:15 +00:00
mws
1b13da2617 Mark unused vars as comment
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@104 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-21 16:23:09 +00:00
seife
5345573e5e fontrenderer: improve freetype error handling
* freetype errors are != 0, not < 0, fix that to avoid segfaults in
  case of invalid fonts
* unlock the render mutex in case of an error

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@42 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-13 12:25:33 +00:00
mrcolor
bc5bd4154e our current experimental Neutrino branch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@27 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-08 11:05:11 +00:00