aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/graphics/transparent_surface.cpp
AgeCommit message (Collapse)Author
2013-10-05WINTERMUTE: Let pixel blending functions be inlinedWillem Jan Palenstijn
2013-10-05WINTERMUTE: Speed up scale()Willem Jan Palenstijn
This is a tweaked version of a patch from eriktorbjorn.
2013-09-30Merge branch 'refac'Einar Johan Trøan Sømåen
Conflicts: engines/wintermute/graphics/transparent_surface.cpp engines/wintermute/graphics/transparent_surface.h
2013-09-30WINTERMUTE: Formatting with Astyle (UIButton, UIEdit, UIObject, UIWindow, ↵Einar Johan Trøan Sømåen
TransparentSurface)
2013-09-30WINTERMUTE: Constify some getters in TransparentSurface, UIObject and UIWindowEinar Johan Trøan Sømåen
2013-09-23WINTERMUTE: Remove asserts in Blend-functions in TransparentSurface.Einar Johan Trøan Sømåen
2013-09-23WINTERMUTE: Add support for additive/subtractive blending in TransparentSurfaceTobia Tesan
2013-09-21WINTERMUTE: Keep _alphaMode private in TransparentSurfaceTobia Tesan
2013-08-25WINTERMUTE: Fix colormod with alpha blendingWillem Jan Palenstijn
Now apply colormod only to the src color instead of to the dst. The original code did this inconsistently depending on if the colormod was 0 or not.
2013-08-25WINTERMUTE: Fix alpha blending with colormodWillem Jan Palenstijn
This fixes numerous transparency effects in J.U.L.I.A.
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: Change pixel-format to RGBA.Einar Johan Trøan Sømåen
2013-08-19WINTERMUTE: Don't use a lookup table for alphaWillem Jan Palenstijn
This gives a drawTickets() speed increase of about 10% in the JULIA demo (on a core i7 920).
2013-08-16WINTERMUTE: Fix offset calculation with partial rects when sprites are mirrored.Tobia Tesan
This fixes the dress bug, aka Rosemary appearing "jigsawed" when passing over her with the cursor when she is facing east. See bug #3592907
2013-08-07Merge pull request #365 from lordhoto/protected-pixelsJohannes Schickel
Make Graphics::Surface::pixels protected.
2013-08-06WINTERMUTE: Fix incorrect parameter order for getBasePtr.Johannes Schickel
This is a regression from 19fa89b8f58df702c5cb16d03a9cb51c1acce7ab. Thanks to fuzzie for noticing.
2013-08-05WINTERMUTE: Fix formatting.Einar Johan Trøan Sømåen
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2013-08-03WINTERMUTE: Do not set Surface::pixels directly anymore.Johannes Schickel
2013-08-03WINTERMUTE: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03WINTERMUTE: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-08-01WINTERMUTE: #ifdef ENABLE_BILINEAR -> #if ENBABLE_BILINEARTobia Tesan
2013-08-01WINTERMUTE: FormattingTobia Tesan
2013-08-01WINTERMUTE: Fix #ifdef in transparent_surface.[h|cpp]Tobia Tesan
2013-08-01WINTERMUTE: Compile bilinear copy only if neededTobia Tesan
2013-08-01WINTERMUTE: Various explicit castsTobia Tesan
* for floor/ceil output in transform_tools.cpp * for projX/Y in transparent_surface.cpp * in transpaprent_surface.cpp
2013-08-01WINTERMUTE: Remove unused variable in transparent_surface.cppTobia Tesan
2013-08-01WINTERMUTE: FormattingTobia Tesan
2013-08-01WINTERMUTE: Fix operator precedence in scale()Tobia Tesan
2013-08-01WINTERMUTE: Fix calculation of inverse anglesTobia Tesan
2013-08-01WINTERMUTE: s/*transform/const &transform/Tobia Tesan
2013-08-01WINTERMUTE: Rename rotate() -> rotoscale() for consistencyTobia Tesan
2013-08-01WINTERMUTE: *transform as pointer in transform_toolsTobia Tesan
2013-08-01WINTERMUTE: Swap flip bitsTobia Tesan
2013-08-01WINTERMUTE: Rename pixel copy functionsTobia Tesan
2013-08-01WINTERMUTE: Move if() outside transform loopTobia Tesan
2013-08-01WINTERMUTE: Removed useless argument from rotate()Tobia Tesan
2013-08-01WINTERMUTE: Add rotationTobia Tesan
Add actual rotation code, make ticket-system transformStruct-aware
2013-07-31WINTERMUTE: Bilinear scaling.Tobia Tesan
Refactor scale(), factor out actual mapping algorithm, add bilinear scaling
2013-04-17WINTERMUTE: Avoid dereferncing null-pointer in TransparentSurfaceEinar Johan Trøan Sømåen
2013-01-26WINTERMUTE: Replace all NULLs with nullptr.Einar Johan Trøan Sømåen
2013-01-24WINTERMUTE: Don't scale 2Bpp images with code aimed at 4BppEinar Johan Trøan Sømåen
2013-01-22WINTERMUTE: Correct a delete/delete[]-mismatch pointed out by valgrindEinar Johan Trøan Sømåen
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-31WINTERMUTE: Fix g++ warnings listed by LordHotoEinar Johan Trøan Sømåen
2012-08-13WINTERMUTE: WinterMute -> WintermuteEinar Johan Trøan Sømåen
2012-08-13WINTERMUTE: Cleanup in TransparentSurface.Einar Johan Trøan Sømåen
2012-08-13WINTERMUTE: Use 64k-tables for alpha-blitting.Einar Johan Trøan Sømåen
2012-08-07WINTERMUTE: Use only one scaler for blitting, the faster one.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)