Commit Graph

340 Commits

Author SHA1 Message Date
Bas Schouten
918838eb37 Bug 553852: D2D backend should destroy image surfaces when done with them. r=jrmuizel 2010-03-24 15:51:15 +01:00
Bas Schouten
9085adb235 Bug 548942: Addition: Add comments as agreed. r=jrmuizel 2010-03-20 18:33:30 +01:00
Bas Schouten
0c122e81fd Bug 548942: Draw in device pixels and not in DIPs. 1 device pixel per DIP always. r=jrmuizel 2010-03-20 18:25:40 +01:00
Doug Turner
4655d34ca9 Bug 553508 - Remove the define Q_WS_X11. It overlaps with existing defines that we have and is not always set by sdk. r=oleg 2010-03-18 21:48:35 -07:00
Bas Schouten
63b12a7696 Bug 550723: Properly support the CLEAR operator for D2D surfaces. r=jrmuizel 2010-03-10 13:38:21 +01:00
Bas Schouten
2fe46f4c56 Bug 550911: Properly tell cairo which part of the image has been passed. r=jrmuizel 2010-03-09 00:53:50 +01:00
Ginn Chen
f7cd5098d6 Bug 526976: SIGFPE [@ _moz_cairo_format_stride_for_width] on BGR frame buffer r=jrmuizel 2010-03-08 17:37:58 +08:00
Hanspeter Niederstrasser
1aa988def9 Bug 516029 - flags (XCFLAGS) for including fontconfig/fontconfig.h are not added to compiler command (gfx/cairo); adds XCFLAGS to OS_INCLUDES.
r=benjamin.
2010-03-05 22:00:51 +01:00
Julian Seward
98da85a059 Bug 548793. Initialize XRender version fields if XRender isn't available. r=jrmuizel 2010-03-05 13:10:42 +13:00
Bas Schouten
b2de77e13d Bug 549911: Acquire and release no longer use ->surface to store the temporary surface, release the correct object now. r=jrmuizel 2010-03-04 20:49:04 +01:00
Bas Schouten
9ba05c4318 Bug 549911: Scroll needs to make sure the clip rectangle is confined to the surface. r=jrmuizel 2010-03-04 20:49:01 +01:00
Bas Schouten
e35f7796fd Bug 549652: Fix a potential leak. r=jrmuizel 2010-03-04 20:30:10 +01:00
Bas Schouten
f6a6cbe7bb Bug 549652: Optimize SOURCE operator where possible. r=jrmuizel 2010-03-04 20:30:08 +01:00
Bas Schouten
bd3c8c2f83 Bug 549652: Properly support clearing surfaces. r=jrmuizel 2010-03-04 20:30:05 +01:00
Bas Schouten
07ee37b338 Bug 549171: Check if there's support for sufficient D3D hardware for the D2D backend to work. r=jrmuizel 2010-03-02 02:04:27 +01:00
Jeff Muizelaar
8668ef9bd2 Bug 544697. pixman: Reenable NEON support. r=vlad,bsmedberg
3f91dcac71c4 turned off NEON because of build breakage. This
turns it back on.

We also need to add a SSRCS target so that .S files get built
with gcc.
2010-02-08 23:13:12 -05:00
Jeff Muizelaar
e52c2af98f Revert 3f91dcac71c4 for breaking 'make check'. 2010-02-09 00:07:00 -05:00
Jeff Muizelaar
c631d2fce6 Bug 544697. pixman: Reenable NEON support. r=vlad,bsmedberg
3f91dcac71c4 turned off NEON because of build breakage. This
turns it back on.

We also need to add a SSRCS target so that .S files get built
with gcc.
2010-02-08 23:13:12 -05:00
Roy Frostig
84fba3ea8c Bug 536765 - Cairo Qt surface backend save()/restore() inconsistencies. r=jrmuizel 2010-02-03 23:29:30 -08:00
Bas Schouten
3ac80af6e5 Bug 543892. cairo: Fix DirectWrite backend transformations. r=jrmuizel
The DirectWrite cairo backend was incorrectly dealing with transformations. And
inconsistently dealing with them for D2D and GDI. I added a patch that fixes
that, it properly deals with the font matrix, and cleans up some of how the
matrices are treated. It also properly transforms D2D brushes on text to make
sure the pattern is correctly overlaid on the text. It also fixes the mask
handling in the transformed fallback path to look much better.

Also corrected inconsistent newlines in the license plate.
2010-02-03 13:32:49 -05:00
Bas Schouten
1cdb3dcbee Bug 527707. Cairo DirectWrite and Direct2D Backends. r=jrmuizel 2010-01-22 15:38:31 -05:00
Jeff Muizelaar
027bedcc63 Bug 530550. pixman: Fix arm gcc build.
The pixman-arm-simd-asm.c was just a copy of pixman-arm-simd.c instead
of the file it was supposed to be.
2010-01-21 11:30:07 -05:00
Jeff Muizelaar
ef56830e01 Bug 530550. Fix non-libxul build breakage caused by 0af6ca3135ca. r=ehsan
Non-libxul builds include pixman.h directly instead of having it included
by pixman-private.h which defines PIXMAN_USE_INTERNAL_API. So we ensure
PIXMAN_USE_INTERNAL_API is defined before including pixman.h
2010-01-20 20:01:00 -05:00
Jeff Muizelaar
e20cd75bd7 Bug 540464. pixman: update to 7862f9b96e8e8456cc60852790c7f244a5e3425e
This is a substantial cleanup of pixman and could break things.
2010-01-20 15:08:05 -05:00
Jeff Muizelaar
ca2d8beb78 Bug 539165. Fix single and multi-stop solid gradients by multiplying by the alpha component. r=roc
This cairo commit that caused the problem: 2d790daa957471670f4ae0d3b22da89e4ee7111f.
It was merged into mozilla-central with 1effb72d30cf
2010-01-18 10:36:43 -05:00
Benoit Girard
0ad9b22ba5 Bug 537032. cairo-quartz: Replace float pointer types with CGFloat. r=jrmuizel
CoreGraphics uses CGFloat which are float for 32-bits and double for 64-bits.
2010-01-15 11:12:31 -05:00
Dave Townsend
3f5f6023c5 Backed out changeset 4b725bb53baa from bug 539165 due to reftest failure 2010-01-12 16:27:48 -08:00
Jeff Muizelaar
5562b46b91 Bug 539165. Fix single and multi-stop solid gradients by multiplying by the alpha component. r=roc
This cairo commit that caused the problem: 2d790daa957471670f4ae0d3b22da89e4ee7111f.
It was merged into mozilla-central with 1effb72d30cf
2010-01-12 17:04:00 -05:00
Jonathan Kew
bdfe9682ba Add patch file to Cairo directory for bug 534260. (NPOTB) 2009-12-24 07:23:28 +00:00
Jonathan Kew
906e7cf4f3 Bug 534260: work around bad glyph extents returned by Core Graphics for empty glyphs in Al Bayan font. r=jmuizelaar 2009-12-23 20:45:00 +00:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Karl Tomlinson
a527c04bef b=518506 make public pixman symbols available in --disable-libxul and --enable-system-cairo builds r=bsmedberg 2009-12-14 10:00:31 +13:00
Robert O'Callahan
0da6995ce3 Bug 513395: Make sure the Cairo/Quartz backend returns the first stop for negative positions on the gradient line of a nonrepeating linear gradient. r=jrmuizel
--HG--
extra : rebase_source : 2b4fbf1602dbaac5f3bba2ac0c8465236546bfe7
2009-11-02 09:20:40 -08:00
Jeff Muizelaar
abe4c1f753 Bug 500200. cairo-ddraw: Fallback if the source surface is larger than the maximum texture size. r=vlad
If the source surface is larger than the maximum texture size we fallback to software compositing
instead of drawing the wrong things.
2009-10-21 12:49:20 -04:00
Tobias Hunger
28c24755b6 Bug 518585 - Fix the cairo Qt backend to build. r=pavlov 2009-09-26 17:51:08 +02:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Jeff Muizelaar
7f0b0c4ec7 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de
This time without:
c0e01d9cd71bd958e1b31a03cea4c08a1bdf4926 (Improve GC caching efficacy)
2009-09-14 22:43:09 -04:00
Steffen Imhof
76bf54e530 Bug 498243. Make clipping reset explicit. r=vlad
--HG--
extra : rebase_source : b055dd091f5f4d8d3219d66863c71aec91e60ad3
2009-09-11 10:32:32 +12:00
Robert O'Callahan
f64d147ce2 Add cairo patches for Quartz gradient fixes
--HG--
extra : rebase_source : 7b50d07ec411410c7fda7b8fba423610018fd6cc
2009-08-26 10:05:44 -07:00
Jeff Muizelaar
15aecb7830 Backed out changeset 3d7b55f16ec5 2009-09-09 14:30:44 -04:00
Jeff Muizelaar
9106c6fb06 Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de 2009-09-09 12:11:46 -04:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Robert O'Callahan
70eeaa8a7f Bug 508730. Don't repeat a Quartz gradient more times than necessary, to avoid Quartz quality problems when there are lots of repeated color stops. r=jmuizelaar
--HG--
extra : rebase_source : fb288f0d08fecc39f69df6157fa89ada95decb4c
2009-08-06 23:43:09 +12:00
Robert O'Callahan
782f6cc454 Bug 508730. Clean up Quartz gradient code by moving some local variables to static const globals. r=jmuizelaar
--HG--
extra : rebase_source : c853b6ab035fd80d4565438311163771bbc6fa59
2009-08-06 23:37:06 +12:00
Robert O'Callahan
7b54d43bbb Bug 508227. Don't fallback to Quartz for repeating radial gradients. r=jmuizelaar
--HG--
extra : rebase_source : 8ad7452fe67f9e67f0dd6eda02d0f0afcd4f5e00
2009-08-06 23:29:16 +12:00
Robert O'Callahan
ad0d3ca554 Backed out changeset 875c4ba4cbc8 2009-08-25 15:46:20 -07:00
Robert O'Callahan
0580caa913 Bug 508227. Don't fallback to Quartz for repeating radial gradients. r=jmuizelaar
--HG--
extra : rebase_source : fd5f578f728b0b2149ca4fcf84e1be6706cfc9d9
2009-08-06 23:29:16 +12:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Robert O'Callahan
f45ce76b76 Bug 507939 - Remove erroneous clip rect fixup which caused repainting errors with repeating radial gradients on Mac. r=jmuizelaar
--HG--
extra : rebase_source : 24123ab8a6c676fa5e53e26820ac72cc575cc734
2009-08-14 11:07:37 +12:00
Jeff Muizelaar
a27974ef72 Bug 504920. Use cairo_set_can_convert_to_dib(TRUE) when creating optimized DDB image surfaces. r=vlad
This lets cairo convert and keep a DDB image into a DIB section when we paint
it to a canvas.  Avoiding the continuous conversion to an image surface
improves the performance of drawImage on to a canvas on Win32, in particular
the peacekeeper experimentalMovie benchmark.
2009-08-12 10:44:53 -04:00