summaryrefslogtreecommitdiff
path: root/src/cairo-boxes.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-19Split cairo-box-privates into struct+inlinesChris Wilson1-1/+1
References: https://bugs.freedesktop.org/show_bug.cgi?id=48577 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-03-04traps: First attempt to convert curvy unantialiased polygon to scanlinesChris Wilson1-0/+59
If we have a curvy polygon, we can expect to generate lots of short trapezoids. However, we may be able to reduce the transport size by converting them into a set of boxes instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-09-12Introduce a new compositor architectureChris Wilson1-27/+50
Having spent the last dev cycle looking at how we could specialize the compositors for various backends, we once again look for the commonalities in order to reduce the duplication. In part this is motivated by the idea that spans is a good interface for both the existent GL backend and pixman, and so they deserve a dedicated compositor. xcb/xlib target an identical rendering system and so they should be using the same compositor, and it should be possible to run that same compositor locally against pixman to generate reference tests. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> P.S. This brings massive upheaval (read breakage) I've tried delaying in order to fix as many things as possible but now this one patch does far, far, far too much. Apologies in advance for breaking your favourite backend, but trust me in that the end result will be much better. :)
2011-07-19clip: Rudimentary support for clip-polygon extractionChris Wilson1-0/+78
Step 1, fix the failings sighted recently by tracking clip-boxes as an explicit property of the clipping and of composition. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-05-12drm: code dump, sorry.Chris Wilson1-0/+31
Lots upon lots of tiny fixes mixed in with experimental code. :(
2010-04-27Update FSF addressAndrea Canciani1-1/+1
I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
2010-04-07Actually check for memory allocation failureAndrea Canciani1-1/+1
Clang static analyzer signals "Dereference of null pointer" in case the malloc returns NULL, as the code is checking the wrong pointer.
2010-01-22boxes: Efficient storage for an array of cairo_box_t.Chris Wilson1-0/+269
Currently we use cairo_traps_t to also pass around arrays of boxes. This is woefully inefficient in terms of storage, but also means that we repeatedly have to verify that the traps are a set of boxes. By explicitly passing around a cairo_boxes_t we avoid the semantic loss. This will be heavily used in pending commits.