Searched +hist:1 +hist:a7fc527 (Results 1 - 1 of 1) sorted by relevance

/haiku/src/servers/app/drawing/Painter/
H A DPainter.cppdiff 1f357f79 Fri Feb 04 12:29:23 MST 2022 Máximo Castañeda <antiswen@yahoo.es> Painter: sync renderer color

SetDrawState sets the pattern directly and then calls the member
functions to update colors. As SetHighColor does not update the renderers
if color does not change, that means we lose sync in some corner cases.

Change-Id: I5f8771baa58643c559df243dcc1603983941faee
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4930
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
diff 0ccd1db1 Wed Jan 13 15:50:31 MST 2016 Julian Harnath <julian.harnath@rwth-aachen.de> app_server: fix lines which are pixel dots, in layers

* Painter::StrokeLine() has an optimization for lines which are
single pixel dots, i.e. identical start and end point and pen
size 1: it sets the pixel directly in the buffer, completely
bypassing the AGG base renderer.

This is a problem when inside a layer since this also bypasses
the low-level offset in the base renderer (which moves drawing
coordinates into the layer bitmap), causing an out-of-bounds
access.

* Fixes #12587
diff 1e625a2b Tue Mar 11 15:11:08 MDT 2014 Stephan Aßmus <superstippi@gmx.de> app_server: Removed duplicate line of code...

for setting the filling rule. There are only two different rasterizers.
diff 63a30a47 Tue Feb 04 15:52:32 MST 2014 Stephan Aßmus <superstippi@gmx.de> Implemented using the transformation in Painter (incomplete)

* Also removed wonky BeOS rendering of stroked round rects and ellipses.
Nobody would expect it to work like this. This affects stroked round rects
and ellipsis with a pensize greater than 1.
* Refactored common code from _StrokePath() and _FillPath().
* _StrokePath() returned a curious bounding box that didn't take into
acount the miter width. Now the bounding box is computed from the actual
stroke conversion of the path.
diff 1bc7045f Sun Dec 15 19:58:43 MST 2013 Pawel Dziepak <pdziepak@quarnos.org> kernel, libroot: Introduce new API for obtaining system info
diff a17be100 Sat Jun 03 08:14:59 MDT 2006 Axel Dörfler <axeld@pinc-software.de> * "divisions" could be lower than 1. This fixes bug #510.
* Moved expensive computation out of the max_c() macro.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17709 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 1fce337f Fri Dec 30 16:41:57 MST 2005 Stephan Aßmus <superstippi@gmx.de> cleaned up the code using templates and added optimized version for CMAP8 bitmaps and B_OP_OVER (to benefit Tracker)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15760 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 1f0a4ee8 Tue Dec 20 15:39:54 MST 2005 Stephan Aßmus <superstippi@gmx.de> removed unused stuff from Painter and DrawingEngine, fixed the deadlock when trying to use the (20 times faster) DrawingEngine version of StringWidth, the font is now usually ignored when taking on a DrawState in Painter... should add a little speed overall

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15628 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff ac167e6e Sat May 21 18:12:56 MDT 2005 Stephan Aßmus <superstippi@gmx.de> Various fixes and efficiency improvements to the drawing backend. Among other stuff, stroked lines with a width greater than 1 have anti-aliased butts now. There are some bugs left regarding text rendering.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12761 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 1a7fc527 Mon Mar 28 18:43:04 MST 2005 Stephan Aßmus <superstippi@gmx.de> added some functions with optimized implementation, optimizes most frequent usage

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12113 a95241bf-73f2-0310-859d-f6bbb57e9c96
diff 1a7fc527 Mon Mar 28 18:43:04 MST 2005 Stephan Aßmus <superstippi@gmx.de> added some functions with optimized implementation, optimizes most frequent usage

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12113 a95241bf-73f2-0310-859d-f6bbb57e9c96

Completed in 156 milliseconds