- Sep 06, 2010
-
-
Chris Wilson authored
/me faints with excitement.
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
Currently it is complaining about having documentation for unconfigured sections, ignore it for now.
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
This should help clarify the documentation by not mentioning non-existent devices and prevent any assumed coupling between surface-type values and devices.
-
Chris Wilson authored
-
- Sep 02, 2010
-
-
M. Pihlaja authored
The cairo-freelist-private.h header has a number of static inline functions which call hidden functions in libcairo. This poses a problem on Solaris where the native compiler compiles inline functions whether they are used or not, thereby adding the link time requirements on hidden functions from whatever code that includes cairo-freelist-private.h. Unfortunately the boilerplate code includes cairo-private headers and indirectly the freelist header, so linking the boilerplate helper library fails on Solaris. This patch separates the structure definitions from the function prototypes and static inlines in cairo-freelist-private.h by moving the datatypes to a new cairo-freelist-type-private.h.
-
M. Pihlaja authored
A stray backslash bwetween two assignment lines apparently invokes a GNU make extension for conditional assignments. This patch fixes the build when using the native Solaris make.
-
- Sep 01, 2010
-
-
Benjamin Otte authored
-
Benjamin Otte authored
This is a somewhat crude hack to ensure that GOBJECT_CFLAGS/LIBS are properly cached.
-
Benjamin Otte authored
I confused % and $. I blame it on spec files.
-
Benjamin Otte authored
See subsurface-outside-target test.
-
Benjamin Otte authored
This test defines the behavior of subsurfaces when they are created to be bigger than their target.
-
- Aug 29, 2010
-
-
Also move libpng to the front of the list, so that the default version of the system is first checked.
-
- Aug 28, 2010
-
-
M. Pihlaja authored
The exact semantics of the device API can't be spelled out out in the device API docs since the effects are so tied to the specific backend. To use a particular device in practice the user should refer to the backend docs.
-
M. Pihlaja authored
Make our assumptions about constructed subsurfaces explicit while we work out the correct semantics for the edge cases.
-
Benjamin Otte authored
Use source/mask instead of their copies. The copies only get initialized if we actually need to translate things.
-
- Aug 27, 2010
-
-
M. Pihlaja authored
The code is passing in the extra info received from the target surface's acquire_source() method to _cairo_surface_get_extents() rather than the acquired source surface itself.
-
- Aug 26, 2010
-
-
Andrea Canciani authored
72644c6d was using the wrong (inverted) condition to check if the subsurface extents are contained in the target extents.
-
Andrea Canciani authored
Whenever subsurface extents are not contained in the target extents, using the source image given by the target (with origin corrected by using an appropriate offset in the data pointer) is not a valid operation. Fallback to cloning in that case.
-
Andrea Canciani authored
Commit d1c35f5e introduced two unused variable warnings.
-
Benjamin Otte authored
This clipping would modify the origin of the subsurface and then the creator has no easy way to figure this out.
-
Benjamin Otte authored
-
Benjamin Otte authored
-
Benjamin Otte authored
Apply the transform before rounding to integer coordinates, so we can handle doubles easily.
-
Benjamin Otte authored
Do not try to hide being a subsurface. This would cause confusion when users where calling surface-type specific getters on subsurfaces. FIXME: We still need public API to access a subsurface's target though.
-
Benjamin Otte authored
-
- Aug 11, 2010
-
-
Chris Wilson authored
We initialise the context to a non-error state upon creation, but after destroy there is a window of opportunity where the object is kept alive inside the context pool and the user could mistakenly keep on passing the zombie context into cairo functions. As all entry points need to check error status, flagging the context as an error object upon the final unreference prevents such misuse (until such as time as the context is reallocated).
-
- Aug 10, 2010
-
-
Andrea Canciani authored
Make linear-gradient-large ref image match xlib gradients (both on nvidia and on macosx) and pixman gradients (when patched to compute the linear gradients using floating point math).
-
Krzysztof Kosiński authored
Shows large rounding errors in Pixman when computing gradients. Added as a test to Cairo to catch similar issues in other backends. https://bugs.freedesktop.org/show_bug.cgi?id=29470
-
Andrea Canciani authored
Insertion sort can take up to O(n^2), mergesort is guaranteed to run in O(n*log(n)). An example showing bad performance for insertion sort is: https://bugs.freedesktop.org/show_bug.cgi?id=28067 The mergesort has been engineered to be fast even when working on cases where the insertion sort would have performed well and as expected it shows no changes in the benchmark cairo traces.
-
Vertical RGB mapping previously forced opaque pixels. To be consistent with horizontal RGB/BGR and vertical BGR it should use an alpha equal to the mid channel (green).
-
David Schleef authored
-
- Aug 09, 2010
-
-
Benjamin Otte authored
Add NONPKGCONFIG_EXTRA_LIBS that are only put into the generated pc file but not used when linking. This is now used to add -lcairo-gobject to the cairo-gobject.pc file.
-
Benjamin Otte authored
-
M. Pihlaja authored
The flight data recorders were missing an include of cairo-tee.h ever since cairo-tee.h became an optional backend.
-
Andrea Canciani authored
Make the loops count depend on the actual calibration_loops/calibration_time instead of calibration_loops/calibration_max_time. This avoids having some tests take much less/more than the wanted time per iteration (I was having some tests taking about 1 second, other taking about 7 seconds when the ms_per_iteration was 2000) Spend 0.5-1 times the time wanted for each iteration in calibration, increase the accuracy of loops count. Just making the loops count be the correct ratio doesn't guarantee that the iteration time is accurate. By actually measuring iteration times until it gets greater than 1/4 of the wanted time, the total sum is bound to be <= the wanted iteration time and last calibration time is between 1/4 and 1/2 of the wanted time, so it should give a very accurate loop count.
-