Commit Graph

545 Commits

Author SHA1 Message Date
Jeff Muizelaar
e741cc4d8a Bug 671428. cairo: try to crash earlier and record some stuff about the crash. r=joe. 2011-08-04 16:30:51 -04:00
Steven Michaud
d922d20572 Bug 671064 - Work around bug in Cairo 1.10 that causes Print Preview to crash. r=jmuizelaar 2011-08-02 12:30:42 +02:00
Mike Hommey
d1ce73f80c Bug 654049 - Use global optimization flags for jemalloc, cairo, pixman and sqlite. r=ted 2011-07-21 08:32:23 +02:00
Scott Ruff
a1835137c8 Bug 649525 - WebGL layer compositing through the BasicCanvasLayer is very slow (desktop version). r=jmuizelaar 2011-07-27 13:00:17 +02:00
Daniel Holbert
452e2996ff backout 36b64e9837f5 (Bug 668764) due to reftest orange on Win7 2011-07-11 18:24:03 -07:00
Bas Schouten
b4f2c613de Bug 668764: Properly specify stroke offset in Direct2D cairo backend. r=jrmuizel 2011-07-11 16:37:01 +02:00
Ed Morley
3bd1c95cf1 Bug 631155 - undefined return value in function '_cairo_surface_wrapper_flush'; r=jrmuizel 2011-07-11 09:14:12 -04:00
Makoto Kato
09ff6f5746 Bug 413019 - Remove PGO workaround for some modules. r=ted 2011-07-01 12:46:02 +09:00
Bas Schouten
1c08a19bd8 Bug 651858 - Part 2: Add glue code in gfx for thebes-azure interop. r=jrmuizel 2011-06-24 19:41:18 +02:00
Jeff Muizelaar
5db1ac6018 Bug 661658. Fix pointer as int size problem on Win64. r=joedrew
The glyph cache uses a pointer for a hash value, and uses
that hash value as a pointer. We need to ensure that the
hash type is large enough to fit a pointer.
2011-06-22 14:38:25 -04:00
Ed Morley
c8157ac7e6 Bug 664311 - Remove WinCE code from gfx/; r=jmuizelaar 2011-06-18 11:04:30 +02:00
Jonathan Kew
4e89d25c0d bug 647560 followup - put the color components in the right order. a=test-bustage 2011-06-17 09:14:09 +01:00
Robert O'Callahan
3c21113890 Bug 647560. Implement non-fallbacky behavior for _cairo_win32_surface_fill_rectangles on an ARGB surface, using StretchDIBits. r=jrmuizel 2011-06-17 15:36:37 +12:00
Joe Drew
638fc56959 Bug 660448 - look up FT_Library_SetLcdFilter via dlsym at runtime to fix terrible subpixel rendering on up-to-date Linux systems. r=karlt,bjacob
This will need to be reverted once our build systems are upgraded to a newer
version of FreeType. In the long run, we need to increase our runtime
dependency to this newer version.
2011-06-10 21:06:23 -04:00
Matheus Kerschbaum
5a7b295546 Bug 614721 - Remove some DirectDraw left overs. r=joedrew,jrmuizel 2011-06-10 18:27:01 +02:00
Bas Schouten
9c51d7683c Bug 655836: Flush surface A when B changes and A has a pending drawing command depending on B. r=jrmuizel 2011-06-09 17:28:12 -04:00
Jonathan Kew
4ce8038dca Bug 661471. Part 7: Only force GDI_CLASSIC rendering for specified fonts if a rendering mode has not been explicitly chosen in prefs. r=roc 2011-06-09 08:17:20 +01:00
Jonathan Kew
37cc5bd232 Bug 661471. Part 6.3: Only force DW to use specific ClearType modes if ClearType is actually enabled. r=roc 2011-06-09 08:13:13 +01:00
Robert O'Callahan
d7aa0ae8f6 Bug 661471. Part 6.1: Expose cairo_win32_get_system_text_quality. r=jfkthame 2011-06-09 08:13:02 +01:00
Robert O'Callahan
0e9af9395b Bug 661471. Part 1: Create preference to force particular font families to use 'GDI Classic' rendering with DirectWrite. r=jdaggett,jfkthame 2011-06-03 16:31:07 +12:00
Jeff Muizelaar
e9dec64aff Bug 659676 - remove debugging code that snuck in. r=khuey 2011-05-26 09:29:25 +02:00
Jeff Muizelaar
8f912ae15e Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Neil Rashbrook
a823051c1e Fix DOS line endings rs=joedrew!
DONTBUILD
2011-05-26 20:41:33 +01:00
Ehsan Akhgari
bfd552d30a Backout bug 562746 (Cairo update to version 1.10) because of the possible Dromaeo regression on Mac OS X 10.5) 2011-05-26 14:57:50 -04:00
Ehsan Akhgari
d463f51425 Backout changeset ecbe9bb3433f (bug 659676) because of the backout of bug 562746, which introduced the removed line here 2011-05-26 14:52:54 -04:00
Jeff Muizelaar
f49a520423 Bug 659676 - remove debugging code that snuck in. r=khuey 2011-05-26 09:29:25 +02:00
Jeff Muizelaar
f9513e5a85 Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Jeff Muizelaar
0ffb2687b5 Bug 658249. Update pixman to 0f6a4d45886d64b244d57403609f0377b58cc7fb.
Andrea Canciani (1):
      test: Fix compilation on win32

Dave Yeo (1):
      Check for working mmap()

Gilles Espinasse (2):
      Fix missing AC_MSG_RESULT value from Werror test
      Fix OpenMP not supported case

Siarhei Siamashka (7):
      ARM: tweaked horizontal weights update in NEON bilinear scaling code
      ARM: use aligned memory writes in NEON bilinear scaling code
      ARM: support for software pipelining in bilinear macros
      ARM: use less ARM instructions in NEON bilinear scaling code
      ARM: support different levels of loop unrolling in bilinear scaler
      ARM: pipelined NEON implementation of bilinear scaled 'src_8888_8888'
      ARM: pipelined NEON implementation of bilinear scaled 'src_8888_0565'

Søren Sandmann Pedersen (8):
      Makefile.am: Put development releases in "snapshots" directory
      ARM: Tiny improvement in over_n_8888_8888_ca_process_pixblock_head
      ARM: Add 'neon_composite_over_n_8888_0565_ca' fast path
      Offset rendering in pixman_composite_trapezoids() by (x_dst, y_dst)
      Pre-release version bump to 0.21.8
      Post-release version bump to 0.21.9
      Pre-release version bump to 0.22.0
      Post-release version bump to 0.23.1

Taekyun Kim (3):
      ARM: Common macro for scaled bilinear scanline function with A8 mask
      ARM: NEON scanline functions for bilinear scaling
      ARM: Enable bilinear fast paths using scanline functions in pixman-arm-neon-asm-bilinear.S

--HG--
extra : rebase_source : aff729718af3e7d25577603241d204bf02ecfb90
2011-05-18 13:43:30 -04:00
Bas Schouten
de12263c7f Bug 657141: Avoid excessive clipping by only popping to the common ancestor. r=jrmuizel 2011-05-17 21:27:05 +02:00
Siarhei Siamashka
45f3e58d85 Bug 656782 - Runtime CPU features detection does not work for pixman in Android [r=jmuizelaar]
Pixman upgrade from bug 640250 resulted in ARM cpu features
not being detected properly in Android. As a result, NEON
optimizations were not used at all.
2011-05-12 15:26:00 -04:00
Jonathan Kew
8e92dd97a6 bug 642589 - expose prefs for tweaking DirectWrite/D2D antialiasing behavior. r=jdaggett 2011-04-21 07:29:50 +01:00
Bas Schouten
9f51158443 Bug 600760: Optimize mask with rectangular clip. r=jrmuizel 2011-04-11 16:42:05 -07:00
Jonathan Kew
5b310ec5f3 bug 638764 - followup, fix a bunch of compilation warnings in cairo build. r=bas 2011-04-11 13:02:51 +01:00
Jonathan Kew
97dc391126 bug 638764 - print DirectWrite text via ExtTextOut using a GDI font, to get decent PDF output. r=bas 2011-04-11 13:02:31 +01:00
Jeff Muizelaar
bbf0b70e51 Update pixman to ad3cbfb073fc325e1b3152898ca71b8255675957
Alan Coopersmith (1):
      Sun's copyrights belong to Oracle now

Alexandros Frantzis (2):
      Add simple support for the r8g8b8a8 and r8g8b8x8 formats.
      Add support for the r8g8b8a8 and r8g8b8x8 formats to the tests.

Andrea Canciani (14):
      Improve precision of linear gradients
      Make classification consistent with rasterization
      Remove unused enum value
      Fix an overflow in the new radial gradient code
      Remove unused stop_range field
      Fix opacity check
      Improve conical gradients opacity check
      Improve handling of tangent circles
      Add a test for radial gradients
      Fix compilation on Win32
      test: Fix tests for compilation on Windows
      test: Add Makefile for Win32
      Do not include unused headers
      test: Silence MSVC warnings

Cyril Brulebois (2):
      Fix argument quoting for AC_INIT.
      Fix linking issues when HAVE_FEENABLEEXCEPT is set.

Jon TURNEY (2):
      Plug another leak in alphamap test
      Remove stray #include <fenv.h>

Rolland Dudemaine (4):
      test: Fix for mismatched 'fence_malloc' prototype/implementation
      Correct the initialization of 'max_vx'
      test: Use the right enum types instead of int to fix warnings
      Fix "variable was set but never used" warnings

Scott McCreary (1):
      Added check to find pthread on Haiku.

Siarhei Siamashka (62):
      Fixed broken configure check for __thread support
      Do CPU features detection from 'constructor' function when compiled with gcc
      ARM: fix 'vld1.8'->'vld1.32' typo in add_8888_8888 NEON fast path
      ARM: NEON: source image pixel fetcher can be overrided now
      ARM: nearest scaling support for NEON scanline compositing functions
      ARM: macro template in C code to simplify using scaled fast paths
      ARM: performance tuning of NEON nearest scaled pixel fetcher
      ARM: NEON optimization for scaled over_8888_8888 with nearest filter
      ARM: NEON optimization for scaled over_8888_0565 with nearest filter
      ARM: NEON optimization for scaled src_8888_0565 with nearest filter
      ARM: NEON optimization for scaled src_0565_8888 with nearest filter
      ARM: optimization for scaled src_0565_0565 with nearest filter
      C fast path for a1 fill operation
      ARM: added 'neon_composite_over_n_8_8' fast path
      ARM: introduced 'fetch_mask_pixblock' macro to simplify code
      ARM: better NEON instructions scheduling for over_n_8_0565
      ARM: added 'neon_composite_over_8888_n_0565' fast path
      ARM: reuse common NEON code for over_{n_8|8888_n|8888_8}_0565
      ARM: added 'neon_composite_over_0565_n_0565' fast path
      ARM: added 'neon_composite_add_8888_8_8888' fast path
      ARM: better NEON instructions scheduling for add_8888_8888_8888
      ARM: added 'neon_composite_add_n_8_8888' fast path
      ARM: added 'neon_composite_add_8888_n_8888' fast path
      ARM: added flags parameter to some asm fast path wrapper macros
      ARM: added 'neon_composite_in_n_8' fast path
      ARM: added 'neon_src_rpixbuf_8888' fast path
      Fix for potential unaligned memory accesses
      COPYING: added Nokia to the list of copyright holders
      Revert "Fix "syntax error: empty declaration" warnings."
      Fix for "syntax error: empty declaration" Solaris Studio warnings
      Workaround for a preprocessor issue in old Sun Studio
      Bugfix for a corner case in 'pixman_transform_is_inverse'
      Make 'fast_composite_scaled_nearest_*' less suspicious
      A new configure option --enable-static-testprogs
      ARM: do /proc/self/auxv based cpu features detection only in linux
      The code in 'bitmap_addrect' already assumes non-null 'reg->data'
      test: affine-test updated to stress 90/180/270 degrees rotation more
      New flags for 90/180/270 rotation
      C fast paths for a simple 90/270 degrees rotation
      Use const modifiers for source buffers in nearest scaling fast paths
      test: Extend scaling-test to support a8/solid mask and ADD operation
      Support for a8 and solid mask in nearest scaling main loop template
      Better support for NONE repeat in nearest scaling main loop template
      ARM: new macro template for using scaled fast paths with a8 mask
      ARM: NEON optimization for nearest scaled over_8888_8_0565
      ARM: NEON optimization for nearest scaled over_0565_8_0565
      SSE2 optimization for nearest scaled over_8888_n_8888
      Ensure that tests run as the last step of a build for 'make check'
      Main loop template for fast single pass bilinear scaling
      test: check correctness of 'bilinear_pad_repeat_get_scanline_bounds'
      SSE2 optimization for bilinear scaled 'src_8888_8888'
      ARM: NEON optimization for bilinear scaled 'src_8888_8888'
      ARM: use prefetch in nearest scaled 'src_0565_0565'
      ARM: common macro for nearest scaling fast paths
      ARM: assembly optimized nearest scaled 'src_8888_8888'
      ARM: new bilinear fast path template macro in 'pixman-arm-common.h'
      ARM: NEON: common macro template for bilinear scanline scalers
      ARM: use common macro template for bilinear scaled 'src_8888_8888'
      ARM: NEON optimization for bilinear scaled 'src_8888_0565'
      ARM: NEON optimization for bilinear scaled 'src_0565_x888'
      ARM: NEON optimization for bilinear scaled 'src_0565_0565'
      ARM: a bit faster NEON bilinear scaling for r5g6b5 source images

Søren Sandmann Pedersen (79):
      Remove the class field from source_image_t
      Pre-release version bump to 0.19.6
      Post-release version bump to 0.19.7
      Pre-release version bump to 0.20.0
      Post-release version bump to 0.20.1
      Version bump 0.21.1.
      COPYING: Stop saying that a modification is currently under discussion.
      Remove workaround for a bug in the 1.6 X server.
      [mmx] Mark some of the output variables as early-clobber.
      Delete the source_image_t struct.
      Generate {a,x}8r8g8b8, a8, 565 fetchers for nearest/affine images
      Pre-release version bump
      Post-release version bump to 0.21.3
      test: Make composite test use some existing macros instead of defining its own
      Add enable_fp_exceptions() function in utils.[ch]
      Extend gradient-crash-test
      test: Move palette initialization to utils.[ch]
      test/utils.c: Initialize palette->rgba to 0.
      Make the argument to fence_malloc() an int64_t
      Add a stress-test program.
      Add a test compositing with the various PDF operators.
      Fix divide-by-zero in set_lum().
      sse2: Skip src pixels that are zero in sse2_composite_over_8888_n_8888()
      Add iterators in the general implementation
      Move initialization of iterators for bits images to pixman-bits-image.c
      Eliminate the _pixman_image_store_scanline_32/64 functions
      Move iterator initialization to the respective image files
      Virtualize iterator initialization
      Use an iterator in pixman_image_get_solid()
      Move get_scanline_32/64 to the bits part of the image struct
      Allow NULL property_changed function
      Consolidate the various get_scanline_32() into get_scanline_narrow()
      Linear: Optimize for horizontal gradients
      Get rid of the classify methods
      Add direct-write optimization back
      Skip fetching pixels when possible
      Turn on testing for destination transformation
      Fix destination fetching
      Fix dangling-pointer bug in bits_image_fetch_bilinear_no_repeat_8888().
      Pre-release version bump to 0.21.4
      Post-release version bump to 0.21.5
      Print a warning when a development snapshot is being configured.
      Move fallback decisions from implementations into pixman-cpu.c.
      Add a test for over_x888_8_0565 in lowlevel_blt_bench().
      Add SSE2 fetcher for x8r8g8b8
      Add SSE2 fetcher for a8
      Improve performance of sse2_combine_over_u()
      Add SSE2 fetcher for 0565
      Add pixman-conical-gradient.c to Makefile.win32.
      Move all the GTK+ based test programs to a new subdir, "demos"
      Add @TESTPROGS_EXTRA_LDFLAGS@ to AM_LDFLAGS
      test/Makefile.am: Move all the TEST_LDADD into a new global LDADD.
      Add pixman_composite_trapezoids().
      Add a test program for pixman_composite_trapezoids().
      Add support for triangles to pixman.
      Add a test program, tri-test
      Optimize adding opaque trapezoids onto a8 destination.
      Add new public function pixman_add_triangles()
      Avoid marking images dirty when properties are reset
      In pixman_image_set_transform() allow NULL for transform
      Coding style:  core_combine_in_u_pixelsse2 -> core_combine_in_u_pixel_sse2
      sse2: Convert all uses of MMX registers to use SSE2 registers instead.
      sse2: Delete unused MMX functions and constants and all _mm_empty()s
      sse2: Don't compile pixman-sse2.c with -mmmx anymore
      sse2: Remove all the core_combine_* functions
      sse2: Delete obsolete or redundant comments
      sse2: Remove pixman-x64-mmx-emulation.h
      sse2: Minor coding style cleanups.
      Delete pixman-x64-mmx-emulation.h from pixman/Makefile.am
      Minor fix to the RELEASING file
      Pre-release version bump to 0.21.6
      Post-release version bump to 0.21.7
      test: In image_endian_swap() use pixman_image_get_format() to get the bpp.
      test: Do endian swapping of the source and destination images.
      In delegate_{src,dest}_iter_init() call delegate directly.
      Fill out parts of iters in _pixman_implementation_{src,dest}_iter_init()
      Simplify the prototype for iterator initializers.
      test: Randomize some tests if PIXMAN_RANDOMIZE_TESTS is set
      test: Fix infinite loop in composite
2011-03-28 13:52:09 -04:00
Mitchell Field
a7b458884e Merge mozilla-central to build-system. 2011-03-11 11:05:04 +11:00
Jeff Muizelaar
8a7f7e69e4 Bug 637828. Reset the transform on the dest image. r=joe a=blocking-fennec 2011-03-07 19:17:37 -05:00
Jonathan Kew
a66e635a6c bug 633342 - allow subpixel AA but not the manual show_glyphs path when Asian font has embedded bitmaps. r=bas a=joe 2011-02-15 20:55:01 +00:00
Jonathan Kew
c821b99718 bug 633342 - get rid of windows newlines in cairo files. r=bas a=joe 2011-02-15 20:55:01 +00:00
Jeff Muizelaar
0c1bf6ec9d Bug 626994. Improve debug logging. r=ehsan,a=b
This fixes the type problem and adds a bit more debugging info.

--HG--
extra : rebase_source : 01f96675c523a2329c337262c6e8533940c85964
2011-02-09 10:32:13 -05:00
Makoto Kato
7518d2a843 Bug 627606 - Remove PGO hack on Win64. r=ted a=bsmedberg 2011-02-09 15:51:25 +09:00
Mike Hommey
6ef83c9db5 Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Kyle Huey
58c3564241 Fix bustage 2011-02-21 10:01:48 -05:00
Jeff Muizelaar
5ed1ac7d88 Bug 626994. Fix the depth counting. r=ehsan a=joe
Previously we missed a decrement at the end of the recursion.
This caused us to accumulate over time, causing us to misreport.

--HG--
extra : rebase_source : 4129933528b3c40aaefad7f8f8a4c5a76f35a9b1
2011-02-02 13:47:12 -05:00
Jeff Muizelaar
b9df73a94f Bug 626994. Add debugging for infinite recursion in spline flattening. r=ehsan,a=b
Hopefully this gives us some idea about what's going wrong.

--HG--
extra : rebase_source : 05ebbe86f38ec73c4bd5c475f8a6ba930e61d316
2011-02-01 17:49:29 -05:00
Bas Schouten
d1ce4d637c Bug 630096: Fix cairo_d2d_finish destruction order. r=jrmuizel a=joedrew 2011-01-31 17:18:28 +01:00
Matt Woodrow
8be445ca2f Bug 612846 - Part 2: Make cairo_tee_surface support flush. r=roc a=blocking-betan 2011-01-28 06:34:27 +01:00
Mats Palmgren
d182933121 Bug 624198 - Don't use fwprintf with char* format. Flush stderr so that all error messages appears before exit. r=vlad a=jst 2011-01-21 04:26:39 +01:00
Mats Palmgren
3b5c54ab1f Bug 624198 - Crash due to missing cairo_clip_init call in cairo_gstate_show_text_glyphs. r=vlad a=jst 2011-01-21 04:26:39 +01:00