Matthew Hoops
b2de2cf855
GRAPHICS: Improve the YUV410 conversion code speed some more
2012-04-16 21:34:13 -04:00
Matthew Hoops
473a09786d
GRAPHICS: Make YUV410 conversion code use bilinear interpolation
...
SVQ1 no longer looks blocky and now looks a lot closer to what QuickTime outputs
2012-04-14 17:06:31 -04:00
Matthew Hoops
db52618833
GRAPHICS: Add comments on which engines use the decoders
2012-04-08 08:58:42 -04:00
D G Turner
e1f9598392
GRAPHICS: Add YUV410 to RGB Conversion Functions, required for SVQ1.
...
Thanks to clone2727 for these.
2012-04-08 03:28:58 +01:00
Pawel Kolodziejski
78bacb47bb
ALL: synced with scummvm
2012-04-07 17:58:15 +02:00
Joel Teichroeb
ab16233318
GRAPHICS: Fix casting away const
2012-04-03 16:54:05 -07:00
Alyssa Milburn
b470c9af28
BASE: Free TTFLibrary singleton on shutdown.
...
This uses a helper function because TTFLibrary is internal.
2012-03-28 19:17:53 +02:00
Alyssa Milburn
6d3927cd7a
GRAPHICS: Take ownership of fonts passed to FontManager.
2012-03-28 19:17:13 +02:00
Alyssa Milburn
fdee01bf04
GRAPHICS: Don't try to delete static BDF data.
2012-03-28 19:16:52 +02:00
Paweł Kołodziejski
522885137f
ALL: fix compile
2012-03-25 11:44:40 +02:00
Pawel Kolodziejski
8e2ab87455
ALL: synced with scummvm
2012-03-25 11:41:48 +02:00
Matthew Hoops
71756bdf4e
Merge remote branch 'upstream/master' into pegasus
2012-03-20 14:49:16 -04:00
Matthew Hoops
e79f0bf717
GRAPHICS: Fix regression caused by a bad rebase
2012-03-19 23:29:58 -04:00
Matthew Hoops
fce0e8c45b
GRAPHICS: Fix PICT 16bpp
2012-03-19 21:54:37 -04:00
Matthew Hoops
a7740fb6de
GRAPHICS: Add support for converting surfaces from 24bpp
2012-03-20 01:06:48 +01:00
Matthew Hoops
a658fc660e
GRAPHICS: Move PNG to the ImageDecoder interface
2012-03-20 01:06:48 +01:00
Matthew Hoops
dd9790c1c8
GRAPHICS: Make PNG signature more readable
2012-03-20 01:06:48 +01:00
Matthew Hoops
b6d2a11432
GRAPHICS: Make the JPEG code use the new YUV to RGB converter
2012-03-20 01:06:48 +01:00
Matthew Hoops
765a870445
GRAPHICS: Convert JPEG to the ImageDecoder API
2012-03-20 01:06:48 +01:00
Matthew Hoops
4516b5ea24
GRAPHICS: Convert PictDecoder to the ImageDecoder API
2012-03-20 01:06:48 +01:00
Matthew Hoops
426c81a7a7
GRAPHICS: Rewrite ImageDecoder to have an improved API
...
The new bitmap decoder class is based off the Mohawk one, and now has 8bpp decoding capability.
2012-03-20 01:06:47 +01:00
Matthew Hoops
a004897252
GRAPHICS: Add a convertTo() function to Surface
2012-03-20 01:06:47 +01:00
Alyssa Milburn
92327c7991
GRAPHICS: Render TTF glyphs at the right locations.
...
Or at least using the fields used by the FreeType examples.
2012-03-19 23:00:14 +01:00
Alyssa Milburn
9a13b34549
GRAPHICS: Fix TTF glyph drawing at negative Y positions.
2012-03-19 22:57:48 +01:00
Christoph Mallon
e618e6794d
JANITORIAL: Remove unnecessary empty default constructors/destructors.
2012-03-13 15:42:30 +01:00
Max Horn
367131ef0e
COMMON: Move Language and Platform functionality into separate files
2012-02-26 15:21:36 +01:00
Pawel Kolodziejski
fae032743d
ALL: synced with scummvm
2012-02-24 12:15:44 +01:00
Pawel Kolodziejski
fad0b5b331
ALL: decrease diffs with scummvm
2012-02-22 23:26:36 +01:00
Johannes Schickel
442bcb7d3e
ALL: Fix some signed/unsigned comparison warnings.
2012-02-22 20:20:55 +01:00
Pawel Kolodziejski
bc71f3f583
synced with scummvm
2012-02-22 17:21:09 +01:00
Willem Jan Palenstijn
9ffe3e11d9
Merge pull request #182 from fingolfin/forbid-ctype
...
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Willem Jan Palenstijn
d0c655f1fa
GUI: Fix mingw-w64 build errors
2012-02-20 22:38:35 +01:00
Willem Jan Palenstijn
66d3def0e5
GUI: Implement AAed tabs
...
The stroke effect isn't properly implemented yet since it isn't used
in the modern theme.
There are slight bleeding colours around the corners of the
tab_background when its corners overlap with the corners of the
underlying dialog. These are hard to avoid because the underlying dialog
destroys the background that we should be blending these corners with.
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
19cb2dc7e7
GUI: Add AA dialog corners on alpha overlays
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
c6ac4cc7ea
GUI: Minor cleanup
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
905f9591ab
GUI: Speed up alpha blending with black for classic dialog backgrounds
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
264ba4a9ec
GUI: Keep dst alpha unchanged when blending colours
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
2957321903
GUI: Rewrite AA rounded square renderer
...
This fixes bleeding of colours between different regions.
It also turns 'bevel' into an option that turns the stroke into a bevel,
and implements antialiased gradient-fills.
2012-02-20 22:17:28 +01:00
Max Horn
4f8665fc83
COMMON: Move isFoo functions to namespace Common, add doxygen comments
2012-02-20 16:18:27 +01:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Max Horn
658080deed
ALL: Avoid using is* macros from ctype.h
...
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Giulio Camuffo
2b29820241
TinyGL: Try to not blit the clean buffer if empty.
2012-02-13 21:28:19 +01:00
Giulio Camuffo
8156e3a9a3
TinyGL: Remove the double zbuffer. Just use the 32bit one.
2012-02-13 19:21:37 +01:00
Giulio Camuffo
2c527f3993
TinyGL: Add an offscreen buffer, used to draw once and blit many times.
2012-02-13 17:59:48 +01:00
Willem Jan Palenstijn
4182bdbd52
GRAPHICS: Remove unused variable
2012-02-11 22:54:36 +01:00
Paweł Kołodziejski
fce6b64e5e
fixed compilation
2012-02-10 07:58:05 +01:00
Pawel Kolodziejski
5fc7ac39ee
synced with scummvm
2012-02-10 07:51:41 +01:00
Bastien Bouclet
02f19276b5
GRAPHICS: Switch to integer based JPEG IDCT
...
Based on public domain code, and explanations from :
http://halicery.com/jpeg/idct.html
Thanks.
2012-02-09 16:34:08 +01:00
Bastien Bouclet
6717059c91
GRAPHICS: Add support for JPEG files using a restart interval
...
Patch by Scott and clone2727
2012-02-09 16:34:07 +01:00
Bastien Bouclet
3becde4d1a
GRAPHICS: Switch to integer based JPEG IDCT
...
Based on public domain code, and explanations from :
http://halicery.com/jpeg/idct.html
Thanks.
2012-02-09 16:10:51 +01:00