aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/gfx
AgeCommit message (Collapse)Author
2019-06-27WINTERMUTE: Do not optimize out alpha blits on rotationlolbot-iichan
This fixes defect #10684: 1-pixel width sprite becomes a big rectangle if rotation is applied. Case was originally reproduced with FoxTail game for WME, then reduced to testcase https://github.com/tobiatesan/wme_testsuite/tree/master/time_test/packages
2019-06-25WINTERMUTE: Add workaround for sprite glitch at Rosemary gamelolbot-iichan
This kind of fixes https://bugs.scummvm.org/ticket/6572 WME: Rosemary - Sprite flaw on going upwards Some Rosemary sprites have non-fully transparent background pixels, sprites of walking up has LOTS of them. Testing Rosemary walking character in a test WME game demonstrates some glitches with original WME as well. However, character sprite is downscaled most of time, and with original WME it isn't that seen when sprite is downscaled. This pull request provides a workaround for this case instead of changing downscaling algorithms: * if game ID is "rosemary" * if loaded sprite is from "actors" folder * if bytesPerPixel is 4 * if some pixel's alpha is between 1 and 15 * set this pixel's alpha to 0
2019-05-18WINTERMUTE: Fix fill rect area on endSaveLoad()lolbot-iichan
2018-04-19JANITORIAL: Fix whitespaceAdrian Frühwirth
2018-04-15JANITORIAL: Indent GFXTransaction code blocksAdrian Frühwirth
2016-12-26WINTERMUTE: Fix references to TransparentSurface templatesEugene Sandulenko
2016-12-26WINTERMUTE: Call BILINEAR/NEAREST rotoscale and scale according to game optionTobia Tesan
2015-10-24WINTERMUTE: Remove unused functionWillem Jan Palenstijn
It calls itself, and is declared pure virtual. Thanks salty-horse.
2014-08-29ENGINES: Fix some Doxygen comments that seem wrong.Einar Johan Trøan Sømåen
2014-06-15WINTERMUTE: Switch to use of moved to OSystem TransparentSurfaceEugene Sandulenko
2014-02-28IMAGE: Move all ImageDecoders to image/Matthew Hoops
2014-02-19WINTERMUTE: Some British to American EnglishStrangerke
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)
2014-01-21WINTERMUTE: Special-case FMV-handling to not fill the screen with background ↵Einar Johan Trøan Sømåen
color. If we have only one thing being drawn, and that is opaque, we can skip filling the render surface with background color. This shaves another few wasted cycles of the FMV playback. (Since we now don’t have to write the entire render surface TWICE). This reduces the time spent in drawTickets() to ~60% of what it was before.
2013-11-05WINTERMUTE: Transfer Common::Strings explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-11-05WINTERMUTE: Transfer Sint32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-29WINTERMUTE: Remove BasePlatform::setRect (replace with member-call)Einar Johan Trøan Sømåen
2013-10-29WINTERMUTE: Remove BasePlatform::setRectEmpty (replace with member-call)Einar Johan Trøan Sømåen
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-07WINTERMUTE: Call updateScreen() every frame, even without updates.Willem Jan Palenstijn
This fixes expose events with the opengl backend.
2013-10-06WINTERMUTE: Fix typo causing tiled image corruptionWillem Jan Palenstijn
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-10-03WINTERMUTE: Update full screen on ScreenChangedWillem Jan Palenstijn
This fixes the screen not updating after e.g., scaler changes. Bug #3594245.
2013-10-02WINTERMUTE: Remove unused _drawNumWillem Jan Palenstijn
2013-10-02WINTERMUTE: Fix regression with _skipThisFrameWillem Jan Palenstijn
This broke loading in Broken Circle demo. We now reset the queue state when skipping a frame, and re-use lastFrameIter instead of keeping track of lastAddedTicket separately.
2013-10-02WINTERMUTE: Fix regression in ticketingWillem Jan Palenstijn
This caused a crash when pressing 'New Game' in the Black Circle demo. Regression from 544e4a2f49630cecbf06fe5b1e11bdbab1bdb281.
2013-10-01WINTERMUTE: Fix up doxygen commentWillem Jan Palenstijn
2013-09-30Merge branch 'master' into wme_renderingWillem Jan Palenstijn
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-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: Remove almost unused _colorMod fieldWillem Jan Palenstijn
The one actual use of this left-over variable was a bug breaking at least menu text color in Chivalry when dirty rects were disabled.
2013-09-26WINTERMUTE: CleanupWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove ticket->_drawNumWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove left-over assertsWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove unnecessary loopWillem Jan Palenstijn
2013-09-26WINTERMUTE: No longer update ticket->_drawNumWillem Jan Palenstijn
2013-09-26WINTERMUTE: No longer use ticket->_drawNumWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove unnecessary re-iterationWillem Jan Palenstijn
2013-09-26WINTERMUTE: Mirror _drawNum with an iteratorWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove _tempDisableDirtyRectsWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove ticket batchingWillem Jan Palenstijn
2013-09-23WINTERMUTE: Pass blendMode to blit() in RenderTicket.Tobia Tesan
2013-09-21WINTERMUTE: Keep _alphaMode private in TransparentSurfaceTobia Tesan