Ian Osgood
968ceeec1d
XCB: find_standard_format using wrong enumeration.
...
Requires latest xcb/util/renderutil library from git.
2006-10-18 08:14:55 -07:00
Ian Osgood
e2a0c57c1f
XCB: glyph rendering support
...
todo: get_font_options, testing
2006-10-17 08:09:29 -07:00
Jamey Sharp
25353fdb57
XCB: Move slim_hidden_def to cairo-xcb-surface.c, not cairo-xcb-xrender.h.
...
I didn't understand that the _def does not need to be public any more
than the _proto does.
2006-10-16 11:44:08 -07:00
Ian Osgood
aa017161a5
Move XCB sections next to XLIB sections.
2006-10-16 11:24:25 -07:00
Jamey Sharp
8dabfc7ffe
XCB: Add the have_clip_rects field to cairo_xcb_surface, to match the Xlib surface.
...
Correction to my previous commit. *sigh*
2006-10-16 11:23:38 -07:00
Ian Osgood
7988f2cc6a
XCB: Remove unnecessary differences with the Xlib surface.
2006-10-16 11:10:29 -07:00
Carl Worth
b62710d4f8
Bug #7497 : Change _cairo_color_compute_shorts to not rely on any particular floating-point epsilon value.
2006-10-16 09:10:07 -07:00
Carl Worth
71037f3612
Rename wait_for_rendering to syncrhonize
...
We're not using this call both before and after rendering
so the old name just didn't make sense anymore.
2006-10-16 09:07:47 -07:00
Christian Biesinger
6c95083406
Fix win32 build when pthreads are available
...
_cairo_win32_initialize always needs a definition.
2006-10-16 17:51:41 +02:00
Christian Biesinger
7d13686438
[win32] Add missing void
...
This fixes a GCC compile warning
2006-10-16 17:30:30 +02:00
Jamey Sharp
445251cc79
[slim] hide cairo_version_string()
...
Adrian's recent commits broke PLT hiding by calling cairo_version_string
from inside cairo. Add slim_hidden_def and slim_hidden_proto for it.
2006-10-15 17:24:25 -07:00
Adrian Johnson
830804c7ae
PDF: Add cairo version to document info dictionary
2006-10-15 23:11:30 +09:30
Adrian Johnson
5aaa1988c7
PS: Add cairo version to PS header
2006-10-15 23:11:01 +09:30
Adrian Johnson
753763ff25
Type1 subsetting: Don't put .notdef in Encoding when there are 256 glyphs
...
Type1 subsetting adds the .notdef glyph to the subset because the Type 1
spec requires that it be defined. However if the subset already has
256 glyphs, this will cause the Encoding vector to have 257 entries
which ghostscript does not like.
2006-10-15 23:09:35 +09:30
Adrian Johnson
216c759d46
Type 1 fallback fonts - use binary encoding in PDF files
...
PDF files require that embedded Type 1 fonts have the encrypted
portion of the font encoded in binary.
2006-10-15 23:07:38 +09:30
Adrian Johnson
d1fb02b5b9
Correct an unsigned to signed conversion problem in truetype subsetting bbox
2006-10-15 23:02:20 +09:30
Adrian Johnson
9ee0c15941
cairo-type1-fallback.c: return correct error status
2006-10-15 22:48:43 +09:30
Jamey Sharp
f7068de7f7
Update .gitignore in boilerplate and test.
2006-10-12 23:47:37 -07:00
Jamey Sharp
2d30e58ccd
XCB: update cairo-boilerplate to test for an error connection rather than NULL.
2006-10-12 23:47:37 -07:00
Michael Emmel
02e7b892bc
Merge branch 'master' of ssh+git://git.cairographics.org/git/cairo
2006-10-12 20:40:11 -07:00
Michael Emmel
151e29d807
Fixed test to compile
2006-10-12 20:39:26 -07:00
Michael Emmel
29f483326f
Fixed test to compile
2006-10-12 20:39:16 -07:00
Michael Emmel
e521562ebf
Fixed directfb test code
2006-10-12 20:38:47 -07:00
Carl Worth
648f4bc830
perf: Make iterations adaptive (bailing as soon as std. deviation is <= 3% for 5 consecutive iterations
...
This makes the entire performance test suite about 10 times faster
on my system. And I don't think that the results are significantly
worse, (many tests are stable after only 5 iterations while some
still run to 100 iterations without reaching our stability criteria).
2006-10-12 15:12:01 -07:00
Carl Worth
78ad834d81
Fix typo of , instead of || which was causing a test to be ignored
...
Thanks to a gcc warning for catching this one, (statement with
no effect, or similar).
2006-10-12 14:21:55 -07:00
Jamey Sharp
20375d5cef
XCB: add slim_hidden_proto and slim_hidden_def for cairo_xcb_surface_create_with_xrender_format.
2006-10-11 22:20:27 -07:00
Ian Osgood
339fe5c7b0
Replace static fn with xcb-renderutil library fn.
2006-10-11 21:52:49 -07:00
Ian Osgood
7d0ff885df
Update XCB names for XCB 1.0 RC2 release.
...
New names are in line with cairo naming standards.
XIDs are now typedefs not structs.
xcb_generate_id replaces *_new functions.
Also fixed all warnings (one const, new enums in switch statements).
2006-10-11 21:52:49 -07:00
Christian Biesinger
38dcddd79e
fix comment: pixman_private needs to be before the type of a variable
...
Makes the documentation match the code.
Compare also commit 34d11aa3c4
2006-10-10 12:38:33 -07:00
Behdad Esfahbod
f6a2811c87
[slim] hide cairo_glitz_surface_create() ( #8551 )
2006-10-08 17:07:17 -04:00
Behdad Esfahbod
a13d58ff3a
[slim] hide cairo_pattern_status() #8551
2006-10-08 17:06:44 -04:00
Carl Worth
d7c2f7e2d7
perf: Rename finalize to synchronize as it is used in both start() and stop() now
2006-10-05 15:14:14 -07:00
Carl Worth
8af5e14fd8
perf: Do backend synchronization in cairo_perf_timer_start as well as cairo_perf_timer_stop
2006-10-05 15:10:45 -07:00
Carl Worth
5412343a77
perf: Add subimage_copy test to demonstrate performance bug found by monty
2006-10-05 12:31:50 -07:00
Carl Worth
9285a1f7fe
perf: Add text test
2006-10-05 12:31:50 -07:00
Carl Worth
f1db013547
Fix typo that was resulting in device glyph_extents of INT16_MAX in some cases.
2006-10-05 12:31:50 -07:00
Behdad Esfahbod
2041db9196
[Makefile.am] Pass srcdir down to the tests
2006-10-05 11:53:06 -04:00
Carl Worth
bda77f505c
perf: Bail if cairo_status returns non-success at the end of a test.
2006-10-04 17:14:12 -07:00
Carl Worth
d15b8f2d6e
perf: Add linear and radial gradients to the coverage
2006-10-04 17:14:12 -07:00
Carl Worth
933d845728
Shorten test names in output (drop unneeded _source and _surface)
2006-10-04 17:14:12 -07:00
Carl Worth
fb61fe82d3
perf: Add stroke and fill tests
2006-10-04 17:14:12 -07:00
Carl Worth
d52256df7c
perf: Move iteration over sources and operators from paint to new cairo-perf-cover
...
This will finally allow us to very easily add lots of other
tests that will similarly involve iterating over the various
sources and operators of interest.
2006-10-04 17:14:12 -07:00
Carl Worth
ad02773e9b
Remove unused variable
2006-10-04 17:14:12 -07:00
Carl Worth
783b69a8d3
Rename the create_for_status pattern to create_in_error.
2006-10-04 17:14:12 -07:00
Carl Worth
01502471e3
Add new _cairo_pattern_create_for_status so that patterns properly propagate errors.
...
In particular, many possible error values on a surface provided
to cairo_pattern_create_for_surface were previously being swallowed
and a nil pattern was returned that erroneously reported
CAIRO_STATUS_NO_MEMORY.
2006-10-04 17:14:12 -07:00
Carl Worth
c9c259903d
Cast to squelch warning message
2006-10-04 17:14:12 -07:00
Carl Worth
4d2b54a271
Fix cairo_image_surface_create to report INVALID_FORMAT errors.
...
This adds a new nil cairo_image_surface to hold CAIRO_STATUS_INVALID_FORMAT.
Previously the detected error was being lost and a nil surface was
returned that erroneously reported CAIRO_STATUS_NO_MEMORY.
2006-10-04 17:14:12 -07:00
Carl Worth
7d5fb687af
perf/paint: Test image surface as well as similar surface sources
2006-10-04 17:14:12 -07:00
Carl Worth
94759a14da
perf/paint: Use loops for sources and operators rather than open coding.
...
This looks a bit more complicated for now, but will
scaled much better to provide complete coverage as
we extend the cases covered.
2006-10-04 17:14:11 -07:00
Carl Worth
37bc39d82c
perf/paint: Dramatically simplify now that we don't need one callback per run.
...
This commit begins to show the benefits of the reorganization
from the last few commits. Specifically, we don't need a callback
for every run anymore, and now that the cairo_t* is available to
the paint entry function and the size changes only on the outer
loop, (rather than inside cairo_perf_run), there's no need for
the ugly, static cache for the source surface.
2006-10-04 17:14:11 -07:00