aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
AgeCommit message (Collapse)Author
2014-02-18WINTERMUTE: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-16WINTERMUTE: Janitorial - Remove trailing spacesStrangerke
2014-02-05WINTERMUTE: Change the copyFrom-simplifications to depend on pitch instead ↵Einar Johan Trøan Sømåen
of width. (Fix bug #6157)
2014-01-22WINTERMUTE: Two minor formatting fixes.Johannes Schickel
2014-01-21WINTERMUTE: Avoid using Graphics::copyFrom to copy FMV-frames.Einar Johan Trøan Sømåen
copyFrom frees and reallocates the surface for every update, as long as the dimensions and format stay the same, we can do with just a memcpy. This gives a tiny improvement in the update-part of the Theora-player (on the order of a bit more than 1 second saved total in the 1:28 long J.U.L.I.A.-intro)
2013-10-09WINTERMUTE: Remove superfluous assignmentsWillem Jan Palenstijn
2013-10-08WINTERMUTE: Fix displayTransOffsetWillem Jan Palenstijn
Regression from 14cb1f09c0bc2cace830eaa793227f195acb06bc. This fixes font border drawing.
2013-10-06WINTERMUTE: Partially fix rotoscale coordinate confusionWillem Jan Palenstijn
This fixes two issues: * The rendering rectangle was not rotated, causing garbage to be drawn if the rotated rectangle did not fully cover the unrotated rectangle, or sprites to be clipped in the opposite case. * The order of mirror/scale/rotation operations was inconsistent. This commit does scaling first, followed by rotation. (This is only an issue because scaling is specified separately in X and Y directions.) For now only FIXMEs are added for mirroring.
2013-10-06WINTERMUTE: Remove outdated commentWillem Jan Palenstijn
2013-10-06WINTERMUTE: Remove presumably outdated off-by-one correctionWillem Jan Palenstijn
This correction no longer seems to be necessary, and removes an off-by-one in the J.U.L.I.A. Demo main menu screen.
2013-09-30WINTERMUTE: Add displayTiled function to replace repeatLastDrawWillem Jan Palenstijn
This avoids queueing many tickets for a UITiledImage, replacing them by a single tiled ticket.
2013-09-18WINTERMUTE: Cast zoom inside display(Trans?)ZoomTobia Tesan
2013-08-27WINTERMUTE: Remove duplicate codeWillem Jan Palenstijn
2013-08-27WINTERMUTE: Simplify string matchingWillem Jan Palenstijn
2013-08-26WINTERMUTE: Fix and clean up BaseSurfaceOSystem::finishLoad()Willem Jan Palenstijn
This fixes a couple of cases which fell through the cracks of the previous chain of conditions, including 16bpp images and 32bpp images without alpha. The latter partially fixes bug #3600667.
2013-08-24WINTERMUTE: Fix warningWillem Jan Palenstijn
2013-08-20WINTERMUTE: Add binary alpha-blitting.Einar Johan Trøan Sømåen
For now, no RLE, or anything, but the infrastructure for it is put in place here.
2013-08-20WINTERMUTE: Avoid doing alpha-blits when image doesn't have alpha.Einar Johan Trøan Sømåen
Also detect images with only binary alpha.
2013-08-07Merge pull request #365 from lordhoto/protected-pixelsJohannes Schickel
Make Graphics::Surface::pixels protected.
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2013-08-03WINTERMUTE: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-08-01Merge pull request #354 from tobiatesan/wintermute_rotozoom_3Einar Johan Trøan Sømåen
WINTERMUTE: Wintermute rotozoom 3
2013-08-01WINTERMUTE: zoom parameter in display*** is now integerTobia Tesan
2013-08-01WINTERMUTE: Fix type-related warnings in base_surface_osystem.cppTobia Tesan
2013-08-01WINTERMUTE: #define to const for TransformStruct defaultsTobia Tesan
2013-08-01WINTERMUTE: Remove single-argument zoom, rename mirrorX => getMirrorX() in ↵Tobia Tesan
transform_struct.h
2013-08-01WINTERMUTE: Use Rect::width() and height() in base_surface_osystem.cppTobia Tesan
2013-08-01WINTERMUTE: Pass structs by const referenceTobia Tesan
2013-08-01WINTERMUTE: ConstantsTobia Tesan
2013-08-01WINTERMUTE: Deprecate setAlphaMod, setColorModTobia Tesan
2013-08-01WINTERMUTE: Fix alpha bug in ↵Tobia Tesan
engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp This fixes the "TV static" bug in J.U.L.I.A.
2013-08-01WINTERMUTE: Add rotationTobia Tesan
Add actual rotation code, make ticket-system transformStruct-aware
2013-07-31WINTERMUTE: Refactor some bits to use TransformStructTobia Tesan
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-04-15WINTERMUTE: Fix leak on incomplete image load.Einar Johan Trøan Sømåen
2013-02-01WINTERMUTE: Avoid applying color-keys to ALL images with bpp >= 3.Einar Johan Trøan Sømåen
2013-02-01WINTERMUTE: Apply color-key if no alpha-channel is presentEinar Johan Trøan Sømåen
(Instead of using the bpp to detect it).
2013-01-26WINTERMUTE: Replace all NULLs with nullptr.Einar Johan Trøan Sømåen
2013-01-24WINTERMUTE: Return something from repeatLastDisplayOpEinar Johan Trøan Sømåen
2013-01-24WINTERMUTE: Further improve UITiledImage-drawing.Einar Johan Trøan Sømåen
2012-09-11WINTERMUTE: Remove unneccessary includes of base_file.hEinar Johan Trøan Sømåen
2012-09-04WINTERMUTE: Convert CRLF to LFWillem Jan Palenstijn
2012-09-01WINTERMUTE: Fix various comments.Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Fix some of the clang++ warnings listed by LordHotoEinar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Update to use new TGA-decoder and new Video-systemEinar Johan Trøan Sømåen
2012-08-13WINTERMUTE: WinterMute -> WintermuteEinar Johan Trøan Sømåen
2012-08-13WINTERMUTE: Apply color-key to RGB-images, and upconvert them to RGBA.Einar Johan Trøan Sømåen
2012-08-07WINTERMUTE: Optimize blitting (Do opaque blits for opaque images, and do ↵Einar Johan Trøan Sømåen
fill with memcpy)
2012-07-30WINTERMUTE: Fix a few memory-leaksEinar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Introduce a Singleton-class for holding registry/filemanager.Einar Johan Trøan Sømåen