aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2009-02-16Cleanup.Johannes Schickel
svn-id: r38381
2009-02-16Removed obsolete FIXME.Johannes Schickel
svn-id: r38380
2009-02-16Fixed VectorRenderSpec for no fancy theme!Lars Persson
svn-id: r38377
2009-02-15Attempt to fix compilation problems on MSVC 7 (I wonder why it compiled ↵Max Horn
elsewhere, actually ;) svn-id: r38314
2009-02-15- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.Johannes Schickel
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304
2009-02-15Applied my patch for the BS1/2 video playerFilippos Karapetis
- Support for the MPEG2 videos in BS1/2 has been dropped. The MPEG2 videos were lossy, and support for them complicated the code a lot. - Support for the non-existing enhanced MPEG cutscene packs for BS1 has been dropped. As a consequence, the credits player and the splitted audio stream players used for these packs has been removed - The original Smacker videos for both games are now supported, using our Smacker player (which is based off publically available specs and FFMPEG) - The animations now use the common video player code. Both the Smacker videos and our DXA video packs are supported svn-id: r38236
2009-02-14add assert(g_system) for backends that call InitScalers() from their OSystem ↵Joost Peters
ctor (at which point g_system is still NULL) svn-id: r36332
2009-02-13GUI: Fixed long-standing bug in calcGradient (gradients look a bit better now)Max Horn
svn-id: r36311
2009-02-13Changed DotMatrix to use pixelformat instead of bitformat/colormasksMax Horn
svn-id: r36310
2009-02-13cleanupMax Horn
svn-id: r36309
2009-02-13cleanupMax Horn
svn-id: r36289
2009-02-13Rewrote VectorRendererSpec & VectorRendererAA to use a ↵Max Horn
Graphics::PixelFormat, instead of relying on color masks -> should fix bug #2537212, possibly at a slow down on low-end systems (a regression which we certainly could resolve, though). Note: I left the PixelType template param in on purpose, in case we want one day to compile in both 16 and 32 bit pixel support simultaneously svn-id: r36288
2009-02-12GUI renderer: some cleanup; added comment on sqrt implementation (on my ↵Max Horn
system, plain sqrt is 50x faster -- on highest optimization levels, otherwise it is something like 200x) svn-id: r36277
2009-02-101555 is ABGR (not ARGB)Joost Peters
svn-id: r36257
2009-02-01Silenced MSVC warning (MSVC is being silly here...)Filippos Karapetis
svn-id: r36185
2009-02-01Merged r36175 from branch-0-13-0:Marcus Comstedt
Fixed alpha blending in the UI dialogs by adding alpha computation to the blendPixelPtr() function. To minimize impact, pre-multiplied alpha is assumed, meaning that the blending of the R, G and B components is the same both with and without hardware alpha. svn-id: r36177
2009-01-30Got rid of VectorRenderer::surfacePitch() & ↵Max Horn
VectorRenderer::bytesPerPixel(): the latter was not used, for the former it is silly to go through a virtual method to compute that value; all in all, this code performs too many unnecessary divisions ;) svn-id: r36151
2009-01-30Removed unused area convolution code from VectorRendererMax Horn
svn-id: r36148
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-27Fixed hq2x ASM scalerMax Horn
svn-id: r36115
2009-01-27Re-enabled ASM versions of HQx scalers (oops)Max Horn
svn-id: r36099
2009-01-27Added new interpolate16_1_1_1_1 func, got rid of interpolate32_1_1_1_1Max Horn
svn-id: r36090
2009-01-27Replaced small lookup table in 2xsai by direct computationMax Horn
svn-id: r36089
2009-01-27Removed interpolate16_2 and interpolate16_3Max Horn
svn-id: r36088
2009-01-27Speed up HQ2x/HQ3x C++ version a bit (about 20% faster with -O3 on my system)Max Horn
svn-id: r36087
2009-01-27New code for interpolate32_1_1 overflowed in 565 mode, so reverting to the ↵Max Horn
old code (with some variable name changes to match the other interpolators) svn-id: r36086
2009-01-26Removed use of LUT16to32 in HQx asm versions, replacing some MMX code with ↵Max Horn
'plain' x86 code. Advantage: got rid of a 256kb table (reduces cache load, so over here the code is about as fast as before; in particular, since the affected interpolators are not used that often, it seems). Moreover, the new code is more accurate than the old ASM code, which actually differed from what our C++ HQx did (sacrificing precision for speed, i.e., cheating ;-) svn-id: r36078
2009-01-26Slightly improved interpolate32_1_1Max Horn
svn-id: r36075
2009-01-26error out when no renderer was created due to unknown/unsupported PixelFormatJoost Peters
svn-id: r36074
2009-01-25TUCKER: modified flic playback to make use of dirtyrectsGregory Montoir
svn-id: r36060
2009-01-25Fixed compilationFilippos Karapetis
svn-id: r36054
2009-01-25Renamed lowBits -> kLowBitsMask and highBits -> kHighBitsMaskMax Horn
svn-id: r36049
2009-01-24HQX: Removed some more branches (like in my previous commit) from ↵Max Horn
interpolation macros (they are meant to speed up things, but in reality cause a slowdown -- branches are expensive on modern CPUs) svn-id: r36047
2009-01-24Turned two vars of the HQ2x/HQ3x ASM implementation into global vars, to ↵Max Horn
make it possible to adjust them for 555 vs. 565 mode (555 mode is still a bit buggy, due to the interpolation code they use) svn-id: r36046
2009-01-24Moved 565 mode specific bits of HQ2x/HQ3x asm to 'variables'Max Horn
svn-id: r36034
2009-01-23Changed Graphics::ImageDecoder to allow custom PixelFormatsMax Horn
svn-id: r36026
2009-01-23Remark that the HQnx ASM code only works in 565 modeMax Horn
svn-id: r36025
2009-01-23Added some comments to hq2x/hq3x asm codeMax Horn
svn-id: r36024
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2009-01-23Made InitLUT use a PixelFormat instead of a ColorMaskMax Horn
svn-id: r36008
2009-01-22Added an '!=' operator to PixelFormat.Johannes Schickel
svn-id: r35998
2009-01-22Speed up HQ2x/HQ3x C versions by reordering tests in diffYUV: most likeliest ↵Max Horn
to be taken now is first, least likely is last svn-id: r35996
2009-01-22Got rid of several occurrences of gBitFormatMax Horn
svn-id: r35995
2009-01-22Got rid of gBitFormat in thumbnail scaler code (and even simplified it in ↵Max Horn
the process) svn-id: r35994
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2009-01-20Moved Surface::blit to backends/vkeybd/virtual-keyboard-gui.cppMax Horn
svn-id: r35965
2009-01-20merge SurfaceKeyColored into SurfaceAndre Heider
svn-id: r35951
2009-01-11Stop recalculating the x and y coordinates for every frame in playVideo()Filippos Karapetis
svn-id: r35819
2009-01-11Oops... *really* fixed compilationFilippos Karapetis
svn-id: r35818