Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2016-02-19 | GRAPHICS: Silence some false positive MSVC warnings | Filippos Karapetis | |
2016-02-15 | Merge pull request #667 from a-detiste/master | Eugene Sandulenko | |
JANITORIAL: Typos detected with lintian & grep | |||
2016-02-15 | JANITORIAL: Typos detected with lintian & grep | Alexandre Detiste | |
2016-02-14 | GRAPHICS: Fully fix compilation under MSVC | Martin Kiewitz | |
2016-02-14 | GRAPHICS: Fix compilation under MSVC | Eugene Sandulenko | |
2016-02-14 | Merge pull request #658 from sev-/wage | Eugene Sandulenko | |
WAGE: New Engine | |||
2016-02-14 | GRAPHICS: Fix regression in polygon drawing | Eugene Sandulenko | |
2016-02-14 | GRAPHICS: Use our own sort instead of bubble | Eugene Sandulenko | |
2016-02-14 | GRAPHICS: Move generic primitives from WAGE engine | Eugene Sandulenko | |
2016-01-08 | GRAPHICS: Silence an MSVC warning | Filippos Karapetis | |
2015-12-21 | GRAPHICS: Introduce a size mode for TrueType fonts | Bastien Bouclet | |
Allows to match Windows font size selection by converting font heights to point sizes using the TrueType tables. | |||
2015-12-14 | GRAPHICS: Add function to query TransparentSurface's builtin PixelFormat. | Johannes Schickel | |
2015-12-14 | GRAPHICS: Use tabs for indentation. | Johannes Schickel | |
2015-12-14 | GRAPHICS: Fix fast ALPHA_BINARY blitting with TransparentSurface. | Johannes Schickel | |
This is a regression from 5d0f38d747e7583d0ca5959cd642468ba67cd04c and caused color glitches in Wintermute. | |||
2015-11-17 | GRAPHICS: Fix rendering in some corner cases | Eugene Sandulenko | |
2015-11-16 | GRAPHICS: Remove unused header include. | Johannes Schickel | |
2015-11-16 | GRAPHICS: Rewrite PixelFormat::toString to be easier to understand. | Johannes Schickel | |
2015-11-16 | GRAPHICS: Fix component order in PixelFormat::toString output. | Johannes Schickel | |
Formerly components were printed from bottom to top, common notation is from top to bottom. For reference check how we name formats, like in for example: backends/graphics/openglsdl/openglsdl-graphics.cpp:190-230 backends/graphics/surfacesdl/surfacesdl-graphics.cpp:409-490 sherlock/scalpel/scalpel.cpp:207 | |||
2015-11-16 | GRAPHICS: Make PixelFormat::toString const. | Johannes Schickel | |
2015-11-16 | GRAPHICS: Implemented utility function to print PixelFormat | Eugene Sandulenko | |
2015-04-11 | GRAPHICS: Force a cast to int to avoid gcc warnings | Matthew Hoops | |
2015-03-02 | GRAPHICS: Fix GCC signed/unsigned warnings. | Torbjörn Andersson | |
2014-10-28 | GRAPHICS: Remove trailing whitespace | Filippos Karapetis | |
2014-10-28 | GRAPHICS: Remove some trailing whitespace in surface.h | Fedor | |
2014-10-19 | GRAPHICS: Silence an MSVC warning | Filippos Karapetis | |
2014-09-07 | Merge pull request #500 from lordhoto/ttf-improvements | Johannes Schickel | |
Improve TTF Rendering (includes Font API changes). | |||
2014-09-03 | GRAPHICS: Allow negative xOffset in TTF. | Johannes Schickel | |
This should improve the visual looks of many fonts. However, it might result in the first line of the glyph to be drawn left of the position specified in drawChar. | |||
2014-09-03 | GRAPHICS: Allow to query the bounding box of chars/strings drawn with Font API. | Johannes Schickel | |
2014-08-29 | GRAPHICS: Fix some Doxygen comments that seem wrong. | Einar Johan Trøan Sømåen | |
2014-08-17 | GRAPHICS: Improve color bit depth conversion | Matthew Hoops | |
Data is no longer truncated it so should be more accurate. See pull request #486 for more info. | |||
2014-06-23 | GRAPHICS: Added BE/LE to TS_ macros | Eugene Sandulenko | |
2014-06-17 | GRAPHICS: Rename BS_ to TS_ (for TransparentSurface) | Eugene Sandulenko | |
2014-06-15 | GRAPHICS: Fix compilation for Amiga | Eugene Sandulenko | |
2014-06-15 | Merge pull request #466 from sev-/transparent-surface | Eugene Sandulenko | |
COMMON: Move TransparentSurface to common code | |||
2014-06-15 | COMMON: Copy TransparentSurface from Wintermute engine to common code | Eugene Sandulenko | |
2014-06-09 | GRAPHICS: Allow client code to specify TTF render mode. | Johannes Schickel | |
This allows clients to use the default FreeType2 render mode instead of light. We really only use light as default because that's what looks best with the font we use in our GUI right now (which is the same reason why formerly light was always used in non-monochrome mode). | |||
2014-05-27 | GRAPHICS: colour -> color in VectorRendererSpec code. | Johannes Schickel | |
2014-03-06 | GRAPHICS: Manually specify function alignment in ARM assembly. | Johannes Schickel | |
2014-02-28 | IMAGE: Move all ImageDecoders to image/ | Matthew Hoops | |
2014-02-18 | GRAPHICS: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-01-15 | ALL: Remove optimization unstable code on checking for null after new. | D G Turner | |
These issues were identified by the STACK tool. By default, the C++ new operator will throw an exception on allocation failure, rather than returning a null pointer. The result is that testing the returned pointer for null is redundant and _may_ be removed by the compiler. This is thus optimization unstable and may result in incorrect behaviour at runtime. However, we do not use exceptions as they are not supported by all compilers and may be disabled. To make this stable without removing the null check, you could qualify the new operator call with std::nothrow to indicate that this should return a null, rather than throwing an exception. However, using (std::nothrow) was not desirable due to the Symbian toolchain lacking a <new> header. A global solution to this was also not easy by redefining "new" as "new (std::nothrow)" due to custom constructors in NDS toolchain and various common classes. Also, this would then need explicit checks for OOM adding to all new usages as per C malloc which is untidy. For now to remove this optimisation unstable code is best as it is likely to not be present anyway, and OOM will cause a system library exception instead, even without exceptions enabled in the application code. | |||
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-12-08 | GRAPHICS: Document loadTTFFont a bit. | Johannes Schickel | |
2013-12-01 | GRAPHICS: Initialize variable. CID 1133708 | Eugene Sandulenko | |
2013-11-27 | GRAPHICS: Fix SharedPtrSurfaceDeleter for nullptr inputs. | Johannes Schickel | |
2013-11-23 | GRAPHICS: Allow Font to accept U32String as strings. | Johannes Schickel | |