Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-21 | GRAPHICS: Skip empty rects in VectorRendererSpec::drawSquareAlg. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Skip empty rects in VectorRender*'s drawTabAlg. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Make VectorRendererAA::drawLineAlg never divide by zero. | Johannes Schickel | |
It won't crash any longer in the case dx = dy = 0. | |||
2016-02-21 | GRAPHICS: Let drawLineAlg in VectorRenderer code take unsigned dx, dy. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Skip empty rects in VectorRendererSpec::drawTriangleVertAlg. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Add comments about safe divisions in VectorRendererSpec.cpp. | Johannes Schickel | |
2014-10-28 | GRAPHICS: Remove trailing whitespace | Filippos Karapetis | |
2014-05-27 | GRAPHICS: colour -> color in VectorRendererSpec code. | Johannes Schickel | |
2014-01-10 | GRAPHICS: Fix dest alpha formula in blendPixelPtr | Marcus Comstedt | |
The original alpha computation formula had a problem: If something was drawn on top of a pixel that was already fully opaque, there would be an overflow in the computed alpha, and the destination alpha would be truncated to 0 (fully transparent). In commit 264ba4a9 this formula was replaced with another one, which did not have overflows but also was not correct. This commits introduces a new formula, where the rounding errors have been turned in another direction; drawing a fully opaque pixel on top of a transparent one would result in a pixel which is almost, but not fully, opaque. However, this is no problem in practice, since drawing fully opaque pixels can be achieved with much less code as a special case, so add that (also improves rendering speed). | |||
2014-01-10 | GRAPHICS: Fix computation of addA in darkenFill() | Marcus Comstedt | |
The old computation had rounding issues, causing alpha to leak into the red (usually) component. There's a much easier way to compute it that does not lead to such problems: What should really happen is that the two top bits of the A component should be set to 1 (thus adding 75% alpha). So compute it that way for speed and precision. | |||
2013-12-13 | GRAPHICS: Minor readability fixes to drawBevelSquareAlg method. | D G Turner | |
No functional change. | |||
2013-08-22 | Merge pull request #361 from rundfunk47/guiimprovements | Eugene Sandulenko | |
GUI: Various GUI Improvements | |||
2013-08-22 | GRAPHICS: Increase robustness of VectorRendererSpec::drawString. | Johannes Schickel | |
2013-08-22 | GRAPHICS: Unify drawing paths in VectorRendererSpec::drawString. | Johannes Schickel | |
Formerly, the behavior between when a drawable area was specified and when not was different in a sense which is not expected. For example, when an empty textDrawableArea was passed and the text could be drawn outside the 'area' specified. While when a textDrawableArea covering the whole screen was passed the text was clipped inside 'area'. Now, the code does follow the latter logic in both cases. I am not sure whether this will cause any issues, but a quick check of the launcher and options menu didn't reveal anything... | |||
2013-08-22 | GRAPHICS: Simplify VectorRendererSpec::drawString. | Johannes Schickel | |
This removes the two additional copy steps for rendering when a drawable text area is specified. Instead it uses Surface::getSubArea to draw directly onto _activeSurface. | |||
2013-08-19 | GRAPHICS: Add missing "break"s in switch, CID 1063214 | Torbjörn Andersson | |
This won't actually make any difference, since the fall through would do nothing and then reach the break in the default case. But I think it's less error-prone this way if the code is ever modified. | |||
2013-08-16 | GRAPHICS: Gradient blending on borders of rounded squares | Narek Mailian | |
2013-08-16 | GRAPHICS: Change soft-shadow calculation to not use doubles | Narek Mailian | |
2013-08-16 | GRAPHICS: Shadows on tabs | Narek Mailian | |
2013-08-16 | GRAPHICS: Add support for Soft Shadows with rounded squares | Narek Mailian | |
2013-08-16 | GRAPHICS: Added changes and improved code from inisider/scummvm (partial text) | Narek Mailian | |
Includes code from https://github.com/inisider/scummvm/ , which has been squashed and bugfixed | |||
2013-08-12 | GRAPHICS: Fix warnings about mismatching format arguments. | Johannes Schickel | |
2013-08-08 | GRAPHICS: Allow VectorRenderer and ThemeEngine to init with 4BPP | Narek Mailian | |
2013-08-08 | GUI: Change name of GUI-renderers to remove "16-bit" | Narek Mailian | |
2013-08-08 | GRAPHICS: Add error-checking in blendPixelPtr for invalid BPPs | Narek Mailian | |
2013-08-08 | GRAPHICS: Fix VectorRendererSpec for RGBA8888. | Johannes Schickel | |
Formerly values in the gradient and blending code overflowed and thus caused incorrect colors. Now there's some special case for 32bpp modes, which needs slightly more operations but assures a correct output. | |||
2013-08-03 | GRAPHICS: Take advantage of Surface::getPixels. | Johannes Schickel | |
2012-09-26 | JANITORIAL: Remove trailing whitespaces. | Johannes Schickel | |
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//' | |||
2012-06-16 | ALL: Let overlay related methods in OSystem take a void * and use a proper ↵ | Johannes Schickel | |
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support. | |||
2012-02-20 | GUI: Fix mingw-w64 build errors | Willem Jan Palenstijn | |
2012-02-20 | GUI: Implement AAed tabs | Willem Jan Palenstijn | |
The stroke effect isn't properly implemented yet since it isn't used in the modern theme. There are slight bleeding colours around the corners of the tab_background when its corners overlap with the corners of the underlying dialog. These are hard to avoid because the underlying dialog destroys the background that we should be blending these corners with. | |||
2012-02-20 | GUI: Add AA dialog corners on alpha overlays | Willem Jan Palenstijn | |
2012-02-20 | GUI: Minor cleanup | Willem Jan Palenstijn | |
2012-02-20 | GUI: Speed up alpha blending with black for classic dialog backgrounds | Willem Jan Palenstijn | |
2012-02-20 | GUI: Keep dst alpha unchanged when blending colours | Willem Jan Palenstijn | |
2012-02-20 | GUI: Rewrite AA rounded square renderer | Willem Jan Palenstijn | |
This fixes bleeding of colours between different regions. It also turns 'bevel' into an option that turns the stroke into a bevel, and implements antialiased gradient-fills. | |||
2011-12-29 | GRAPHICS: Crash fix for bug #3466536 ("Assertion on MIDI gain slider"). | D G Turner | |
This fixes the crash, but the Midi Gain slider (and probably any other slider bar in modern theme) still distorts the left corner shape when the slider thumb is at very small values... | |||
2011-12-14 | GUI: Implement dithering for tabs and round squares | Eugene Sandulenko | |
2011-12-10 | GRAPHICS: Fix compiler warnings. | Alyssa Milburn | |
2011-12-10 | GUI: Refactor gradient calculation into separate method | Eugene Sandulenko | |
2011-12-10 | GUI: Move _gradientBytes to VectorRendererSpec | Eugene Sandulenko | |
2011-12-10 | GUI: Implemented color dithering for background | Eugene Sandulenko | |
2011-12-07 | GUI: Improved pop up and scrollbar arrows look | MaximRussia | |
Previous triangle drawing was all wrong, rewrote it from the scratch. Added padding to drawsteps in stx files | |||
2011-11-16 | COMMON: Rename Common::set_to to Common::fill. | Johannes Schickel | |
This makes the name match with the name of the STL function with the same behavior. | |||
2011-11-14 | COMMON: Remove some double-underscore defines (reserved) | Willem Jan Palenstijn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-01 | Merge pull request #16 "Add a PixelFormat to Graphics::Surface.". | Johannes Schickel | |
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp | |||
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-17 | GRPAHICS: Do not access Surface::bytesPerPixel anymore. | Johannes Schickel | |
2010-10-12 | JANITORIAL: Cleanup (mostly whitespace) | Torbjörn Andersson | |
svn-id: r53161 |