aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
AgeCommit message (Collapse)Author
2018-04-15JANITORIAL: Indent GFXTransaction code blocksAdrian Frühwirth
2014-06-15WINTERMUTE: Switch to use of moved to OSystem TransparentSurfaceEugene Sandulenko
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-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-10-07WINTERMUTE: Call updateScreen() every frame, even without updates.Willem Jan Palenstijn
This fixes expose events with the opengl backend.
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-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-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 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-12Merge pull request #387 from tobiatesan/trim_argumentsEugene Sandulenko
WINTERMUTE: Remove useless Rect extra argument from fadeToColor.
2013-08-29WINTERMUTE: Remove useless Rect extra argument from fadeToColor.Tobia Tesan
It is not used anywhere, and Mnemonic has confirmed that the original engine does NOT support anything but full screen fades.
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 computation of _renderRect.Tobia Tesan
This reverts the changes in 4cf1d671. Fixes the "notebook bug" - i.e. the notebook being only partially drawn - in Dirty Split.
2013-08-16WINTERMUTE: Fix (still disabled) modTargetRect logicWillem Jan Palenstijn
Width and height were computed incorrectly. Also, the shift by _renderRect is not necessary since that was to compensate for the coordinate translation done by the original SDL_RenderSetViewport, which we don't perform.
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: Take advantage of Surface::getPixels.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: s/255,255,255,255/kDefaultMod/Tobia Tesan
2013-08-01WINTERMUTE: FActor out TransformStruc initialization in repeatLastDraw loopTobia Tesan
2013-08-01WINTERMUTE: TransformStruct by reference in ↵Tobia Tesan
engines/wintermute/base/gfx/osystem/base_render_osystem.h
2013-08-01WINTERMUTE: Fix alpha bug in BaseRenderOSystem::fadeToColorTobia Tesan
Introduced in 37b1ff3, broke fade-in/fade-outs
2013-08-01WINTERMUTE: Remove set[Color|Alpha]Mod altogetherTobia Tesan
2013-08-01WINTERMUTE: Reinstate rgbaMod comparisons for compare-ticketsTobia Tesan
2013-08-01WINTERMUTE: Deprecate setAlphaMod, setColorModTobia Tesan
2013-08-01WINTERMUTE: Add rotationTobia Tesan
Add actual rotation code, make ticket-system transformStruct-aware
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-04-23WINTERMUTE: Cap the renderqueue to 800.Einar Johan Trøan Sømåen
2013-04-23WINTERMUTE: Fix non-dirty-rect render-path.Einar Johan Trøan Sømåen
2013-04-15WINTERMUTE: Fix side effect of assertWillem Jan Palenstijn
2013-03-24WINTERMUTE: Fix random crash after save/load.Einar Johan Trøan Sømåen
2013-02-01WINTERMUTE: Force the screen to black after loading/saving.Einar Johan Trøan Sømåen
2013-01-26WINTERMUTE: Replace all NULLs with nullptr.Einar Johan Trøan Sømåen
2013-01-26WINTERMUTE: Replace a few NULLs with nullptr.Einar Johan Trøan Sømåen