Bas Schouten
c6425a3e67
Bug 581089: Part 1: Fix radial gradient pattern handling when not using EXTEND_PAD. r=jrmuizel a=blocking-betaN
2010-07-28 18:53:20 +02:00
Bas Schouten
79b907273a
Bug 581083: Use Direct2D geometry to inverse transform which will preserve the required precision. r=jrmuizel a=blocking-betaN
2010-07-28 18:53:17 +02:00
Karl Tomlinson
44ee4169cd
b=562574 fixes for cairo_copy_clip_rectangle_list and empty cairo_clip_extents r=jrmuizel
...
--HG--
extra : rebase_source : 7559cb07311c0328d62a625c631a6ab822934b0d
2010-07-23 10:22:51 +12:00
Jeff Muizelaar
9fc42c3101
Bug 578124. D2D: Don't create an A8 surface with GDI compatible flags. r=bas
...
CreateTexture2D doesn't support creating FORMAT_A8 textures with GDI_COMPATIBLE
so we avoid doing so.
2010-07-21 16:37:24 -04:00
Bas Schouten
fe90876f5f
Whitespace fix from changeset 2f270a9da778.
2010-07-19 18:53:47 +02:00
Bas Schouten
34290715c4
Bug 579215: Direct2D does not know how to deal with self-copy. Fallback. r=jrmuizel
2010-07-19 18:48:02 +02:00
Oleg Romashin
571ff20b60
Bug 550673 - Fix glyphs rendering for cairo-qpainter-surface. r=jmuizelaar
...
--HG--
extra : rebase_source : efbaa01f0716eafb3cf53a2e21eed49c9e88e54a
2010-07-17 09:52:35 +03:00
Bas Schouten
7b063ed632
Bug 577200. Part 1: Add cairo API to set up a Win32 surface for an HDC with an alpha channel. r=jrmuizel
2010-07-16 09:07:44 +12:00
Daniel Holbert
0a2d04e6df
Bug 503279: disable spammy 'missing initializer' warning in imported code within gfx. r=jrmuizel
2010-07-13 11:50:18 -07:00
Vladimir Vukicevic
4cd467403f
b=?; fix make-makefile and cairo-features.h.in hack; r=ted
2010-07-02 11:20:29 -07:00
Oleg Romashin
9f4fd5ba19
Bug 567065 - Try to create offscreen Xlib surface from existing visual if possible. r=jmuizelaar.
2010-06-16 04:32:26 -04:00
jrmuizel@ironman.ca.mozilla.com
e1a193f8d7
Bug 567295. d2d: Support antialiased clipping. r=bas
...
This switches from using CombineGeometry() to accumulate
clip paths to using a stack of Layers each with a
geometric mask. This avoids any imprecision that occurs
when using CombineGeometry().
There maybe some performance regressions but we need the
correctness and may be able to get some of the performance
back.
2010-06-30 14:55:21 -04:00
Bas Schouten
7aca9947fd
Bug 558467: Expose the image surface cache memory usage for Direct2D. r=jrmuizel
2010-06-30 15:52:00 +02:00
Jacek Caban
83597e8444
Bug 508905 - /Zc:wchar_t- is no longer required (cairo-dwrite part) r=jmuizelaar
...
--HG--
extra : rebase_source : 2a283b99932cb9891e63f56670e8ce8762514385
2010-06-27 01:31:01 +02:00
Benjamin Otte
e7991868dc
b=571448 In the XCopyArea region code, don't modify src_x/y when they are later used in the unbounded fixup code r=jrmuizel
2010-06-27 20:03:16 +12:00
Oleg Romashin
691d4249e9
Backout changeset 850ff2cf2868, ba88e35da4e7 due to crash on SVG test
2010-06-22 21:44:03 -04:00
Oleg Romashin
434cbae70d
Bug 567065 - Try to create offscreen Xlib surface from existing visual if possible. r=jmuizelaar.
...
--HG--
extra : rebase_source : 8dce785274ca66f36c46f960ca29bde0d3faff18
2010-06-22 19:59:42 -04:00
Bas Schouten
9990d5a369
Bug 573506: Expose GetDC/ReleaseDC on D2D surfaces. r=jrmuizel
2010-06-22 03:10:34 +02:00
Bas Schouten
fee8140b17
Bug 565120: Deal with the case where a source lies outside of a destination surface. r=jrmuizel
2010-06-19 16:32:50 +02:00
Bas Schouten
fdc01fa365
Bug 565120: Do not upload partially when not required. r=jrmuizel
2010-06-19 16:32:48 +02:00
Robert O'Callahan
8c0f73eb30
Bug 572912. Fix surface type passed to cairo_quartz_surface_create during fallback for CGLayers. r=jrmuizel
2010-06-18 21:24:15 +12:00
Oleg Romashin
d6ff5034c5
Backed out changeset 598c5f8d295c, due Gdk-CRITICAL **: gdk_x11_visual_get_xvisual
2010-06-18 07:14:57 -04:00
Oleg Romashin
67dfc086ac
Bug 567065 - Try to create offscreen Xlib surface from existing visual if possible. r=jmuizelaar.
...
--HG--
extra : rebase_source : 6f5c766cab5a4f552c8e9911f80da560205d5ab2
2010-06-16 04:32:26 -04:00
Bas Schouten
0013def21c
Bug 557372: Don't create a SharedBitmap for A8_UNORM surfaces. This will fail. r=jrmuizel
2010-06-16 01:08:26 +02:00
Jeff Muizelaar
8c323b55b2
Bug 563255. cairo: PDF-operators: ensure text operations flushed before emitting clip
2010-06-15 15:34:09 -04:00
Jeff Muizelaar
a75006878d
Bug 563255. cairo: PS: Add missing 'q' when resetting clip path
2010-06-15 15:15:01 -04:00
Oleg Romashin
24c1ccd37c
Bug 545632 - Add 16bpp format support for cairo image surface type. r=jmuizelaar
2010-06-11 04:23:59 -04:00
Oleg Romashin
fcdfc8be57
Backed out changeset 85335f212ac3, attempt to fix oranges
2010-06-11 08:36:08 -04:00
Oleg Romashin
6b0371fa82
Bug 545632 - Add 16bpp format support for cairo image surface type. r=jmuizelaar
...
--HG--
extra : rebase_source : b1d605a29da2e965cd480e51fa72e1bc10ed4d11
2010-06-11 04:23:59 -04:00
Jonathan Kew
81697b7f24
bug 568191 followup - add patch file to gfx/cairo directory, and note in README. (NPOTB)
2010-06-10 19:20:37 +01:00
Jonathan Kew
ef07dca7a9
bug 568191 - add padding to glyph extents in cairo dwrite backend to allow for antialiasing. r=bas
2010-06-10 19:19:51 +01:00
Justin Wood
7404e635db
Bug 467051 - Introduce GLOBAL_DEPS to build system (gfx/cairo) r=vlad, feedback+=ted
...
--HG--
extra : rebase_source : 3dee9c67387cb9b72dd81da6d52ad996afa2bfae
2010-05-30 22:49:32 -04:00
Bas Schouten
8e5fc45701
Some whitespace fixes.
2010-06-09 17:50:05 +02:00
Bas Schouten
ddffa23d17
Bug 568495: Do not push cleartype for transparent window surfaces. r=jrmuizel
2010-06-09 17:50:03 +02:00
Benoit Girard
79f2567099
Replace float by CGFloat to fix BoxShadows on 64-bit OS X + added reftest. b=562616 r=jmuizelaar
2010-06-09 00:11:38 -04:00
Brad Lassey
c1ec9bcb32
[android] read /proc/cpuinfo for cpu info
2010-05-07 16:48:33 -04:00
Robert O'Callahan
002224fae6
Bug 568189. Add patches to list.
2010-06-01 14:09:44 +12:00
Robert O'Callahan
6eb537adf9
Bug 552537. Add patch to list.
2010-06-01 14:05:55 +12:00
Robert O'Callahan
6e3efde342
Bug 568189. Implement CGLayer-backed cairo-quartz surfaces. r=jrmuizel
2010-06-01 11:33:23 +12:00
Robert O'Callahan
8409392d05
Bug 568189. Part 3: Remove snapshot backend function since it doesn't work and we may as well just fall back. r=jrmuizel
2010-06-01 11:33:05 +12:00
Robert O'Callahan
bdc8fa4076
Bug 552537. Cache the CGImageRef that we create for a CGBitmapContext so that we can take advantage of Quartz caching optimizations. r=jrmuizel
2010-06-01 11:19:45 +12:00
Bas Schouten
3add880ead
Bug 568719: Clear D2D surfaces before use to clear any re-used VRAM. r=jrmuizel
2010-05-29 03:16:24 +02:00
Michael Wu
dc3db854dc
Bug 565089 - Allow cairo to build on Android. r=jmuizelaar,ted
2010-05-25 15:21:18 -07:00
Robert O'Callahan
021650f32f
Bug 552859. Fix cairo patch to relfect what I actually landed. Not part of the build.
2010-05-21 20:48:55 +12:00
Robert O'Callahan
5c52a93154
Bug 522859. Refactor cairo-quartz-surface so that state local to a drawing operation is stored in a cairo_quartz_drawing_state_t instead of the surface. r=jrmuizel
2010-05-19 15:04:33 +12:00
Robert O'Callahan
e38c7ebe25
Backed out changeset b50002597112
...
--HG--
extra : rebase_source : f22f069a398bc8b3071fe8faaeb4770b0eb7847b
2010-05-19 17:44:58 +12:00
Robert O'Callahan
15295424fd
Bug 522859. Refactor cairo-quartz-surface so that state local to a drawing operation is stored in a cairo_quartz_drawing_state_t instead of the surface. r=jrmuizel
2010-05-19 15:04:33 +12:00
Makoto Kato
f2f0dd1545
Bug 540999 - Enable SSE2 for pixman on Windows x64 build. r=jmuizelaar
2010-05-12 17:07:19 +09:00
Bas Schouten
3edb2022a7
Bug 551350: Part 2: Remove no longer used multiple-run code from D2D backend. r=jrmuizel a=Mossop
2010-05-11 01:16:39 +02:00
Bas Schouten
48dbf06561
Bug 551350: Part 1: Add proper handling of large image surfaces. r=jrmuizel a=Mossop
2010-05-11 01:16:35 +02:00
Bas Schouten
6f9f453435
Bug 555388: Part 1: Make sure we flush before clearing surfaces. r=jrmuizel
2010-05-06 23:56:34 +02:00
Jeff Muizelaar
900ce1a92b
Bug 563807: cairo: avoid unnecessary QueryInterface in cairo_d2d_surface_create_for_hwnd. r=bas
...
We can just use backBuf directly instead of QueryInterface()ing newSurf->surf.
This has the side effect of making firefox mostly work in PIX.
2010-05-05 12:11:33 -04:00
Jeff Muizelaar
4c9f01242c
Bug 562087: Update pixman to 2f4f2fb4859931bf6dc5632d8c919e7296736427
...
Should give some performance improvements
2010-05-05 11:23:54 -04:00
Oleg Romashin
49da3f5fd6
Bug 562710 - Disable -pedantic for cairo-qt code. r=jmuizelaar
2010-05-01 08:22:42 -04:00
Jeff Muizelaar
c1e8abd08d
Bug 562334. cairo: Fix checking in the broken version of 4efebc9638e7
...
I swapped these lines when trying to build a test case and checked in the broken version.
2010-04-30 14:10:19 -04:00
Jeff Muizelaar
c6adb55bed
Bug 562334. cairo: Fix cairo_quartz_get_cg_context_with_clip. r=vlad
...
A problem happens when clip->all_clipped is set and we go to get a clipped
context. Normally backends don't see operations with clip->all_clipped and so
_cairo_surface_clipper_set_clip is designed with the assumption that
clip->all_clipped is never true. I added a work-around by manually setting the
CGContextClip with an empty rectangle, however this caused cairo to be confused
about what the actual clip was.
This patch fixes the problem by adding a new function
cairo_quartz_finish_cg_context_with_clip that is called after we're done with
the native context. It moves the CGContextSave/RestoreGState calls out of
gfxNativeDrawing into cairo and uses them to ensure that the clip remains
consistent with cairo's model of them.
2010-04-29 23:19:08 -04:00
Oleg Romashin
b150d375c8
Bug 561891 - QPainter is is busted after last cairo merge. r=jmuizelaar.
2010-04-29 06:25:02 -04:00
Jeff Muizelaar
fdd42ea0c2
pixman: remove unused pixman-neon.patch. r=joe
...
This patch is obsoleted by upstream.
2010-04-27 11:08:57 -04:00
Jeff Muizelaar
e034e858a4
Bug 542605. Fix empty clips with show_glyphs, DWrite and GDI. r=bas
...
This brings the dwrite code inline with the existing win32 code.
2010-04-26 23:54:53 -04:00
Jeff Muizelaar
031624fd56
Bug 561827 - Clear the clip before doing a fallback blit. r=bas
...
--HG--
extra : rebase_source : e70d5280da10972ffd2a9da3c31b904727f3fccf
2010-04-26 23:38:21 -04:00
Jeff Muizelaar
d49e64c791
Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
...
Reland after fixing quartz related clipping bug and a bunch of other ones
2010-04-05 22:28:54 -04:00
Bas Schouten
f931ccc5a1
Bug 558934: Cache extended and none-extended surfaces separately. r=jrmuizel a=dholbert
2010-04-24 01:16:50 +02:00
Siddharth Agarwal
7490702f1e
Bug 558907 - VC10: pixman.h defines intN_t even though stdint.h is available. r=jrmuizel
2010-04-13 14:19:46 +05:30
Bas Schouten
ad507ecf2d
Bug 557390: Deal with paths consisting of a single move and a close. r=jrmuizel
2010-04-12 14:44:36 +02:00
Bas Schouten
471bcfaf75
Bug 553603: Do not let DXGI handle window changes for us. r=jrmuizel
2010-04-12 14:44:33 +02:00
Bas Schouten
7cbf4c2131
Bug 558557: Use a RefPtr here so that sourceBitmap creation references will be released. r=jrmuizel
2010-04-11 01:56:25 +02:00
Bas Schouten
a0ccb694f5
Bug 550475 - Part 2: Use new RefPtr class in D2D backend. r=jrmuizel
2010-04-09 23:41:48 +02:00
Bas Schouten
92357da7cb
Bug 550475 - Part 1: Add a RefPtr template class to Cairo. r=jrmuizel
2010-04-09 23:41:46 +02:00
Bas Schouten
6847004f63
Bug 558161: Set bitmaps !dirty after their current contents has been updated. r=jrmuizel
2010-04-09 23:41:43 +02:00
Jeff Muizelaar
9a26138ae4
Backed out changeset 9480726de986
...
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00
Jeff Muizelaar
a6ac7bede6
Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
...
Reland after fixing quartz related clipping bug.
2010-04-05 22:28:54 -04:00
Jeff Muizelaar
208a821de1
Bug 542605. Backed out changeset 2b9a4c865737
...
Reftest failures that showed up at the last minute.
2010-04-06 00:14:30 -04:00
Jeff Muizelaar
46e4fa2d5a
Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
2010-04-05 22:28:54 -04:00
Bas Schouten
b3ea7e8d58
Bug 553852: D2D backend should destroy image surfaces when done with them. r=jrmuizel
2010-03-24 15:51:15 +01:00
Bas Schouten
106f010172
Bug 548942: Addition: Add comments as agreed. r=jrmuizel
2010-03-20 18:33:30 +01:00
Bas Schouten
a7c58234d7
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
c36d5ea27d
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
c8f8bd30e6
Bug 550723: Properly support the CLEAR operator for D2D surfaces. r=jrmuizel
2010-03-10 13:38:21 +01:00
Bas Schouten
6b0b9783ec
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
4ebbd2bd03
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
eaba789900
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
22aee9c460
Bug 548793. Initialize XRender version fields if XRender isn't available. r=jrmuizel
2010-03-05 13:10:42 +13:00
Bas Schouten
e5b4c3d9df
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
14c3996022
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
9d12e48a85
Bug 549652: Fix a potential leak. r=jrmuizel
2010-03-04 20:30:10 +01:00
Bas Schouten
47f7718049
Bug 549652: Optimize SOURCE operator where possible. r=jrmuizel
2010-03-04 20:30:08 +01:00
Bas Schouten
28ef613184
Bug 549652: Properly support clearing surfaces. r=jrmuizel
2010-03-04 20:30:05 +01:00
Bas Schouten
3734f540df
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
1ba8851c67
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
654903b9ea
Revert 3f91dcac71c4 for breaking 'make check'.
2010-02-09 00:07:00 -05:00
Jeff Muizelaar
f3a650563d
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
6689c25b48
Bug 536765 - Cairo Qt surface backend save()/restore() inconsistencies. r=jrmuizel
2010-02-03 23:29:30 -08:00
Bas Schouten
4f49aefd7d
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
ae94615170
Bug 527707. Cairo DirectWrite and Direct2D Backends. r=jrmuizel
2010-01-22 15:38:31 -05:00
Jeff Muizelaar
361e631de2
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
e687ca2971
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
f0593f27a4
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
308dbbc556
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
810b56202f
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
cfb7b9b70c
Backed out changeset 4b725bb53baa from bug 539165 due to reftest failure
2010-01-12 16:27:48 -08:00
Jeff Muizelaar
084db3bb0a
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
46bf05a490
Add patch file to Cairo directory for bug 534260. (NPOTB)
2009-12-24 07:23:28 +00:00
Jonathan Kew
5c7066ce42
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
80ae9b3620
Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv.
2009-12-21 21:50:30 +00:00
Karl Tomlinson
5492f67440
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
894942d61e
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
6028d14806
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
be6f02b857
Bug 518585 - Fix the cairo Qt backend to build. r=pavlov
2009-09-26 17:51:08 +02:00
Phil Ringnalda
6fce97e58d
Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted
2009-09-18 19:59:53 -07:00
Jeff Muizelaar
62429fc2c2
Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de
...
This time without:
c0e01d9cd71bd958e1b31a03cea4c08a1bdf4926 (Improve GC caching efficacy)
2009-09-14 22:43:09 -04:00
Steffen Imhof
11a2f53d32
Bug 498243. Make clipping reset explicit. r=vlad
...
--HG--
extra : rebase_source : b055dd091f5f4d8d3219d66863c71aec91e60ad3
2009-09-11 10:32:32 +12:00
Robert O'Callahan
fef577d20c
Add cairo patches for Quartz gradient fixes
...
--HG--
extra : rebase_source : 7b50d07ec411410c7fda7b8fba423610018fd6cc
2009-08-26 10:05:44 -07:00
Jeff Muizelaar
c9f45bc3f1
Backed out changeset 3d7b55f16ec5
2009-09-09 14:30:44 -04:00
Jeff Muizelaar
b051e5a8e1
Bug 515192. Update cairo to 655a4dbc36d95ce4a82cbc13aa9e2002b41fa4de
2009-09-09 12:11:46 -04:00
Benjamin Smedberg
667f63d102
Bug 513032 - remove empty conditionals in our makefiles, r=ted
2009-08-27 10:48:18 -07:00
Robert O'Callahan
dd972e0387
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
867c8af74d
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
71cc2f1bf7
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
cf45ccb56a
Backed out changeset 875c4ba4cbc8
2009-08-25 15:46:20 -07:00
Robert O'Callahan
1cce75acac
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
ba372f3a4c
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
99d3fa9a53
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
47e3115671
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
Tobias Hunger
10017843fb
Bug 498871 - Remove use of unnecessary QBrush pointer. r+sr=pavlov
2009-06-17 11:08:26 +02:00
Tobias Hunger
cbf6875757
Bug 498873 - Remove use of unnecessary QPen pointer. r=pavlov
2009-06-17 13:21:04 +02:00
Vladimir Vukicevic
ccc387da9b
b=494438; add optional OpenGL acceleration to ddraw surface for CE: enable composite accel; r=vlad
2009-07-08 16:34:02 -07:00
Vladimir Vukicevic
e28dc66b80
b=494438; add optional OpenGL acceleration to ddraw surface for CE: make context current as appropriate; r=vlad
2009-07-08 16:34:02 -07:00
Vladimir Vukicevic
f8cddfdbb6
b=494438; add optional OpenGL acceleration to ddraw surface for CE: core code; r=vlad
2009-07-08 16:34:02 -07:00
Jeff Muizelaar
23f8f1476f
Bug 498428. Try the rest of the cairo update. r=joe
...
This time with the suspect patch to see if we hit tSVG.
2009-06-30 11:54:50 -04:00
Steffen Imhof
e79913a333
Bug 500196: cairo/qt fails to build -- yet again, r=mfinkle
2009-06-30 09:58:29 -04:00
Jeff Muizelaar
f436ac4b7e
Bug 498428. Try to updating cairo again. r=joe
...
Try the update without a patch suspected of causing the Tsvg regression.
2009-06-26 15:03:00 -04:00
Tobias Hunger
16d0e009ff
Bug 498843. Cleanup whitespace. r+sr=pavlov
...
--HG--
extra : rebase_source : ee45a9fc21a466c832f70ae43e7f77a126e4c762
2009-06-17 09:56:36 +02:00
Ginn Chen
af456e92b3
Bug 499929 cairo-image-surface.c line 1253: void function cannot return value r=vladimir
2009-06-24 14:00:02 +08:00
Jeff Muizelaar
e2e22d0c3d
Bug 498517. pixman: fix incorrect arm decompilation. r=vlad
...
The disassembler was producing:
strh r4, [r0, #2 ]
instead of
strh r4, [r0], #2
which was causing the alignment and index to go all wrong causing crashes.
Tested-by: dougt
2009-06-22 19:26:38 -04:00
Tobias Hunger
ed3354017b
Bug 498910: Add method to flush qpainter, r=mfinkle
2009-06-22 15:19:43 -04:00
Tobias Hunger
fd838775eb
Bug 498917: Fix some warnings in cairo-qpainter-surface.cpp, r=mfinkle
2009-06-22 15:19:43 -04:00
Tobias Hunger
f49e087e76
Bug 498880: Reduce padding in cairo_qpainter_surface_t, r=mfinkle
2009-06-22 15:19:43 -04:00
Tobias Hunger
8dd8347ec2
Bug 499135: Cairo/Qt fails to build -- yet again, r=mfinkle
2009-06-22 15:19:43 -04:00
Jeff Muizelaar
7f006b04cb
Bug 498689. Use scanline rasterizer on win32. r=joedrew, r=zweinberg
2009-06-22 15:01:50 -04:00
Jeff Muizelaar
c8743d61f0
Bug 498428. Reverting f2ef72fbe01c because of tSVG regression
2009-06-18 16:44:02 -04:00
Jeff Muizelaar
559b72947b
Update cairo to b71b019fe50a9188ddbecd1945606da8ba3bad53
...
Adrian Johnson (3):
Fix win32 build breakage
Ensure win32 font index_to_ucs4() sets ucs4 to -1 if lookup fails
Correct the comment for the index_to_ucs4 font backend function
Behdad Esfahbod (2):
Err, make gtk-doc happy again
[user-font] Add CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED
Chris Wilson (37):
[build] Enable shave support
[build] Add lcov-1.7 to known list
[image] Return FORMAT_INVALID for an error surface.
[image] Make _cairo_image_analayze_transparency() more format agnostic
[image] Treat A1 image surfaces as BILEVEL_ALPHA
[test] Create a new fallback surface to exercise 16-bit paths.
[png] Coerce FORMAT_INVALID to a known image format
[surface] Convert FORMAT_INVALID during snapshots
[xlib] Use a similar content surface for cloning images
[build] Report status of gtk-doc in summary
[build] Fix gtk-doc interoperation with shave
[check] Quieten output during checking headers-standalone
[cairo] Fix errors reported by check-doc
[cairo] Convert C99 comments to /* ... */
[cairo] Remove stray semi-colon
[cairo] Protect typeof against -ansi
[skiplist] Missing include for ffs()
[script] Missing include for INT32_MAX
[script] Pedantic violations
[path] Define _BSD_SOURCE to enable hypot()
[doc] Update identifiers
[ft] Restore the ability to lazily resolve patterns.
[xlib] Use minimal depth for similar clones.
[test] Fix typos that excluded backend test sources
[test] Add a note to "Getting the elusive zero failures"
[test] Relax APPROX_EQUALS condition
[test] Check text->path with user-fonts (twin)
[test] Clear expected floating point exceptions
[test] Stress the ft from-face cache
[memfault] Update macros to avoid namescape collision with memcheck
[debug] Check image contents using memcheck.
[win32] Typo
[win32] Wrap win32-font usage with CAIRO_HAS_WIN32_FONT
[surface] Provide nil-surface for INVALID_SIZE
[surface] Early return if the backend cannot clone an image
[xlib] Handle too-large images gracefully.
[in-fill] Treat on-edge queries as inside.
Jeff Muizelaar (1):
Only include <strings.h> for ffs() when we HAVE_FFS
Karl Tomlinson (1):
[ft] Resolve mutual referencing problems with zombie faces
2009-06-17 10:57:16 -04:00
Tobias Hunger
c93f49c9fd
Bug 493726. Fix build problems with the cairo Qt backend. r=jrmuizel
2009-06-12 14:00:42 -04:00
Jeff Muizelaar
f6f5141019
Bug 485426. Add arm fast path for 565 to x888 conversion. r=vlad
2009-06-11 14:26:39 -04:00
Peter Weilbacher
a49e32128d
Bug 493834: fix OS/2 build break in widget/src/os2 and make sure that all
...
cairo headers are installed to dist/include/cairo, r=bsmedberg
2009-05-20 08:47:08 +03:00
Hiroyuki Ikezoe
fc566cabc7
bug 493426 - unresolved cairo symbols related to cairo_ddraw_surface r=vlad
2009-05-19 22:27:50 -04:00
Benjamin Smedberg
6df221580d
Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
...
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Karl Tomlinson
b92cdd8365
b=486974 zombie ft_font_face / ft_unscaled_font mutual referencing problems. r=jdaggett
...
--HG--
extra : rebase_source : 8f2e3d477bbad5177a228681b9650735ec9d6817
2009-05-18 19:35:16 +12:00
Makoto Kato
f3efa0500b
Backed out changeset c4b8a7e21ec9
2009-05-16 00:39:54 +09:00
Makoto Kato
ed5dd519a5
Bug 488851 - Enable SSE2 for pixman. r=jmuizelaar
2009-05-15 23:15:24 +09:00
Brad Lassey
14352e6712
fixing gfx build bustage in wince r=joe
2009-05-14 22:47:51 -04:00
Jeff Muizelaar
b30669d3f7
Bug 493079 - Update cairo to 1ae2ddc1dd4c90d50b8c57c4de677f8ab96b1fa2 r=joe
2009-05-14 22:03:26 -04:00
Jeff Muizelaar
94b6dbbe61
Bug 484954 - Fix a typo in the previous rgba text patch. r=vlad
2009-05-14 22:02:18 -04:00
Robert O'Callahan
e10b98574d
Followup to bustage fix for bug 491595
2009-05-14 11:19:51 +12:00
Robert O'Callahan
c8d6568a33
Fixing bustage for bug 491595.
...
--HG--
extra : rebase_source : 36bf9b2a1cc8dabd0ef82d71ca1a04ae88587894
2009-05-14 11:10:40 +12:00
Robert O'Callahan
bf982f14fd
Bug 491595. Use path filling instead of platform glyph rasterization at a smaller size threshold of 256 device pixels, if the backend supports native filling (which we assume will be fast). r=vlad
...
--HG--
extra : rebase_source : 65728f993e0db12ec699203c5d3f711a6b51fb6e
2009-05-13 21:39:19 +12:00
Jeff Muizelaar
41eee95506
Bug 484954 - Propogate the component alpha flag when wrapping image surfaces to fix RGBA text on win32. r=vlad
2009-05-07 15:15:34 -04:00
Doug Turner
5bbb8e9d6b
bug 489594 - fix for unaligned read in fbCompositeSrcAdd_8000x8000arm. r=blassey
2009-04-28 09:46:28 -07:00
Kenneth Waters
699fe1c9fa
b=488910,b=484864; fix directdraw path for aliased windows that aren't within screen bounds; r=vlad
2009-04-24 12:00:13 -07:00
Vladimir Vukicevic
6047b94178
b=488910, cairo ddraw backend for wince (configure bits); r=vlad
2009-04-22 17:48:30 -07:00
cmills@nvidia.com
98d436b376
b=484864, b=488910 - cairo ddraw backend for wince; r=vlad
2009-04-22 17:48:30 -07:00
Vladimir Vukicevic
e3fa4c27c4
b=482676; fix build bustage with NEON explicitly disabled or not available; r=me
2009-04-07 19:03:48 -07:00
Vladimir Vukicevic
8b39b9f6dc
mobile only; temporarily disable building NEON pixman bits to see if it fixes build breakage
2009-04-07 18:44:22 -07:00
Vladimir Vukicevic
8f6c5b65be
b=482676; add pixman NEON optimizations; r=jeff
2009-04-07 12:12:31 -07:00
Tobias Hunger
2f5a14c65e
Bug 485156 - cairo-qt fails to build; r=vladimir
2009-03-27 00:49:22 +01:00
Joe Drew
f0457535f8
Bug 484076 - Shrink the glyph cache to fix tp_Rss regression. r=me
2009-03-23 21:53:40 -04:00
Brad Lassey
f675ff163f
bug 484076 - hypot depricated on windows and non-existant on windows ce r=vlad
2009-03-21 14:58:42 -04:00
Jeff Muizelaar
699138bfb1
Bug 484076 - Fix Windows CE build.
2009-03-20 16:46:52 -04:00
Joe Drew
1df9d9d65c
Bug 484076 - Update pixman and cairo. This upgrades Cairo to git revision c932a809d6484503d7ee267d934bbc87c8d44092. r=vlad
2009-03-20 16:02:45 -04:00
Jeff Muizelaar
9524f81b71
Bug 484076 - Update pixman and cairo to newer upstream versions. r=vlad
...
Pixman revision is 072d848f592530973f1f0a0066a320ec5965625c
Cairo revision is 3ec94f9b5917b8f71304c982bd153e5a810f3b12
2009-03-19 13:34:17 -04:00
Vladimir Vukicevic
c5a3636d82
b=481138; no, really fix pixman_have_arm_simd; r=vlad
2009-03-03 00:00:33 -08:00
Hiroyuki Ikezoe
3ae363b853
b=481138; initialize not set in pixman_have_arm_simd; r=vlad
2009-03-02 23:58:29 -08:00
Jeff Muizelaar
d7acca7d90
b=468883; port pixman arm opts to Windows CE; r=jrmuizel,vlad
2009-02-26 12:03:51 -08:00
Jonathan Kew
1f1f9c6f35
Bug 445087; add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels; r=(roc + vladimir) sr=roc
2009-02-24 17:53:31 +01:00
Jonathan Kew
703bd47e05
Bug 475092. Fix horizontal offsets for vertically-offset glyphs on Windows. r=vlad,r+sr=roc
2009-02-10 21:34:51 +13:00
Gavin Sharp
6b6551ba05
Add bug 474886 to cairo README
2009-02-06 17:33:13 -05:00
Peter Van der Beken
7f4fa9f3fc
Backed out changeset d679ac3a8de0 (Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad) to fix orange.
2009-02-05 15:34:12 +01:00
Jonathan Kew
ae69de7018
Bug 445087. Add extra pixel on each side of the glyph's black box returned by GetGlyphOutlineW, to avoid clipping ClearType pixels. r=vlad
2009-02-05 21:06:14 +13:00
Jeff Muizelaar
420953734e
Bug 474886 - Allow rank 0 matrices when setting the font matrix. r=vlad p=jrmuizel
...
cairo_scaled_font_init() allows rank 0 matrics so cairo_set_font_matrix
should too. This keeps us from accidentally breaking our cairo context
and causing things to draw wrong.
2009-02-04 14:07:59 -05:00
Robert O'Callahan
a695ce320f
Backed out changeset c7385f0a0168
2009-01-30 23:21:53 +13:00
Jonathan Kew
cf8da0937f
Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad
...
--HG--
extra : rebase_source : 30a3730fd3db418854462cc31dc0ee06c7f56ae0
2009-01-30 20:15:08 +13:00
Doug Turner
21bba21b2c
Bug 474825 - honor mozilla.widget.disable-native-theme preference on windows. r/sr=stuart
2009-01-28 15:39:13 -08:00
Robert O'Callahan
9ea5fbf6e6
Backed out changeset 360b4a2d0aa8
2009-01-29 00:55:19 +13:00
Jonathan Kew
13f1371d97
Bug 475092. Fix incorrect positioning on Windows when glyph run includes vertically-offset glyphs is drawn to canvas. r=vlad
2009-01-28 22:41:34 +13:00
Jonathan Kew
59ebf9faaa
Bug 454098. Fix signs for baseline offsets for glyphs on Windows. r+sr=roc
2009-01-28 22:39:35 +13:00
Behdad Esfahod
b39f6d346b
Bug 460023. Change the glyph dropping safety margin from 2em to 10em. r=vlad
2009-01-28 22:36:23 +13:00
Brad Lassey
8e2f79ad8d
bug 462908 - Follow up to fix indentation and include patch in gfx/cairo
2009-01-23 02:59:24 -05:00
Brad Lassey
598810b6ec
bug 462908 - Implement Freetype font backend for windows ce r=karlt, jdagget sr=stuart, vlad
2009-01-23 01:24:29 -05:00
Jeff Muizelaar
58fe6d8f74
Bug 467423 - Painting stops in this case, using -moz-transform: scale, rotate and video; r=vladimir
2008-12-20 01:59:17 +01:00
Robert O'Callahan
941d69d39a
Bug 466268. Fix cairo-win32 bug that needed MOD but was using the C % operator. r=jmuizelaar
2008-12-08 13:54:10 +13:00
Karl Tomlinson
ad81efd1c3
b=467874 only destroy FT_Faces created by cairo. r=vlad
2008-12-06 12:08:45 +13:00
Jeff Muizelaar
9f34302a49
Bug 461202 - Turn on SSE2 pixman optimizations; on MsVC only; (no review)
2008-12-05 07:15:28 +01:00
Makoto Kato
3d25e34871
Bug 447982 - Disable MMX on x86-64 and ARM when using MSVC. r/sr=vladimir
2008-12-04 22:44:55 +09:00
Doug Turner
958c994fd3
Bug 461860 - windows mobile fixes in gfx r+sr=vlad
2008-12-03 08:42:03 -05:00
Oleg Romashin
e6db64756b
Bug 463872 - Cairo-qpainter build is broken after latest cairo update. missing part. r=vladimir.
2008-12-02 22:11:04 -05:00
Peter Weilbacher
21b290f70d
[OS/2] cairo-os2 build fix that was already applied in upstream cairo
2008-11-28 00:06:22 +01:00
Jeff Muizelaar
707c8cc829
pixman doesn't support 0x0 images so ensure we don't ever create them.
...
b=463301 p=jrmuizel r=vlad a=blocking191
2008-11-13 16:25:37 -05:00
Vladimir Vukicevic
ad77640a1e
b=463872; fix qt backend cairo build; r=me
2008-11-09 15:43:39 -08:00
Vladimir Vukicevic
2bfaffb3eb
b=455513; add optional flag to allow converting a DDB to a DIB internally, if the surface is every used as a source; r=jmuizelaar
...
If a DDB is used as a source for an operation that can't be handled
natively by GDI, we end up needing to take a really slow path (creating a
temporary surface for acquire_source) for each operation. If we convert
the DDB to a DIB, we then end up having a real image buffer and can hand
things off to pixman directly.
This isn't the default mode because I'm not sure if there are cases where a
DDB is explicitly needed (e.g. for printing), and it would change
current cairo behaviour. It might become the default at some point in the
future.
2008-11-09 15:40:55 -08:00
Vladimir Vukicevic
b22735849c
b=462938, Upgrade cairo to 1.8.2 and pixman to 0.12.0 [cairo piece]
2008-11-05 23:48:23 -08:00
Vladimir Vukicevic
ad77c191d9
b=462938, Upgrade cairo to 1.8.2 and pixman to 0.12.0 [pixman piece]
...
--HG--
rename : gfx/cairo/libpixman/src/pixman-arm.c => gfx/cairo/libpixman/src/pixman-arm-simd.c
rename : gfx/cairo/libpixman/src/pixman-arm.h => gfx/cairo/libpixman/src/pixman-arm-simd.h
2008-11-05 23:48:20 -08:00
Doug Turner
cfac364626
WinCE only. Adding a -D to our define list on windows mobile. r=vlad
2008-11-04 12:37:27 -08:00
Doug Turner
7756724d4a
Fix build bustage in 462911. We need to either build printing or define CAIRO_OMIT_WIN32_PRINTING
2008-11-04 08:58:42 -08:00
Doug Turner
7383e91d08
Bug 462911 - support NS_PRINTING in gfx / cairo. r=vlad
2008-11-04 07:43:45 -08:00
Vladimir Vukicevic
b373e706d0
b=434602; win32 create_similar should fall back to dib to avoid exausting vram; r=stuart
2008-10-09 14:49:15 -07:00
Vladimir Vukicevic
495043bb85
b=308917, fix quartz SurfacePatternDrawFunc; r=joe
2008-10-09 14:49:15 -07:00
blassey@mozilla.com
b4cf4549f8
Bug 458946 - Reduce narrow windows API calls in cairo win32 surface. r=vlad
2008-10-08 20:41:11 -07:00
Arpad Borsos
02e588847d
bug 445321 - remove --enable-glitz and related defines. r=vlad,ted
2008-09-30 13:53:38 -04:00
Doug Turner
e18150d9af
Bug 456644 - WinCE gfx cairo _cairo_win32_tmpfile does not compile. r=vlad
2008-09-26 15:30:51 -07:00
Vladimir Vukicevic
4087cd71d8
b=456467; revisit cairo xlib buggy repeat handling; r=roc
2008-09-25 13:07:11 -07:00
Jeff Muizelaar
35aa89f44e
b=x; Fix misc compilation issues in pixman buildconfig; r=vlad
2008-09-25 12:47:21 -07:00
Vladimir Vukicevic
3e6c793e30
b=451621; push new pixman with arm fast-paths; r=me
2008-09-17 14:15:01 -07:00
John Wolfe
950f0ddd75
Bug 454797 - WinCE GFX Cairo No MMX Support in ARM; r=vladimir
2008-09-16 14:39:29 +02:00
Ginn Chen
61f1976cbb
Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin
2008-09-08 14:21:07 +08:00
Oleg Romashin
7436441c8c
Bug 454060 - Cairo-qpainter build is broken after cairo update. r+sr=vladimir.
2008-09-07 22:28:20 +03:00
Vladimir Vukicevic
850e9f7d39
18829 6014c4fca4a1 2008-09-04 21:44 -0700 vladimir
...
b=453765; Upgrade cairo to 1.7.4-136-g5ea2555; r=me
--HG--
rename : gfx/cairo/libpixman/src/pixman-sse.c => gfx/cairo/libpixman/src/pixman-sse2.c
rename : gfx/cairo/libpixman/src/pixman-sse.h => gfx/cairo/libpixman/src/pixman-sse2.h
2008-09-06 14:29:16 -07:00
Vladimir Vukicevic
81c55e7a54
Backed out changeset 6014c4fca4a1 (Cairo upgrade to 1.7.4-136)
2008-09-05 00:14:16 -07:00
Vladimir Vukicevic
fb36f5d923
b=453765; Upgrade cairo to 1.7.4-136-g5ea2555; r=me
...
--HG--
rename : gfx/cairo/libpixman/src/pixman-sse.c => gfx/cairo/libpixman/src/pixman-sse2.c
rename : gfx/cairo/libpixman/src/pixman-sse.h => gfx/cairo/libpixman/src/pixman-sse2.h
2008-09-04 21:44:42 -07:00
Reed Loden
af3d9a7614
Backed out changeset 59a60321d0d6 since it doesn't include everything
...
vlad wanted.
2008-08-19 23:01:03 -05:00
John Wolfe
0fa9268767
Bug 444492 - "Cairo _get_system_quality() function stubbed out in WinCE" (_get_system_quality() Returns DEFAULT_QUALITY on WinCE) [r=vlad]
2008-08-19 22:58:28 -05:00
Oleg Romashin
3b63e6ae70
dotted/dashed borders rendering with Qpainter surface very slow - bug 432453. r=vladimir
2008-08-19 04:29:25 +03:00
Oleg Romashin
a9dd77b4e9
Fixed bug 449566 cairo-qpainter-surface.cpp fails to compile with gcc 4.3.x, r=pavlov
2008-08-16 03:06:39 -04:00
Oleg Romashin
75fc2387ae
mozilla-central merge
2008-08-08 13:05:00 +03:00
Peter Weilbacher
cf8f6376a5
[OS/2] Bug 448250: OS/2 broken since cairo upgrade
...
This just commits the fix of upstream cairo fix into mozilla-central to unbreak the OS/2 build. The relevant cairo commit is d560a3d96563d681f5c0d8ebea0d255ac35bbc99 (see http://gitweb.freedesktop.org/?p=cairo;a=commit;h=d560a3d96563d681f5c0d8ebea0d255ac35bbc99 ).
2008-08-06 18:53:36 +02:00
Oleg Romashin
492d037f9b
Fixed show_glyphs build error according to latest cairo 1.6.4 update
2008-08-04 02:30:08 +03:00
Oleg Romashin
766f462cea
Fixed bug 448961 - error: comma at end of enumerator list
2008-08-04 00:12:04 +03:00
Oleg Romashin
e8436023c1
Removed some not required changes which can break trunk build
...
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Oleg Romashin
427aa3fb16
Merging mozilla-central to mozilla-qt.
2008-08-03 20:30:10 +03:00
Ginn Chen
8def903e39
Backout bug 440714, it failed on Mac OS X
2008-07-29 23:51:49 +08:00
Ginn Chen
e782ce7de2
Bug 440714 Firefox 3 failed to start on Solaris, r=vladimir
2008-07-29 23:41:41 +08:00
Vladimir Vukicevic
87718e129a
b=446323, Upgrade cairo to 1.6.4-350-g1a9809b; r=vlad
2008-07-20 14:15:22 -07:00
Vladimir Vukicevic
3651538cb6
Backed out changeset 20534cf9abf5
2008-07-20 15:35:51 -07:00
Vladimir Vukicevic
f477c5b702
b=446323, Upgrade cairo to 1.6.4-348-g96c9e2a; r=vlad
2008-07-20 14:15:22 -07:00
John Daggett
d4c50db758
Bug 433997. Catch null ptrs returned by CGFontGetHMetrics in cairo mac font code to prevent top crasher. r+sr=vlad
2008-07-01 09:02:21 +09:00
gavin@gavinsharp.com
02925defb1
Bug 432071: Type 1 fonts don't print correctly, patch by Adrian Johnson <ajohnson@redneon.com>, r=stuart, a=schrep
2008-05-08 09:48:15 -07:00
Vladimir Vukicevic
820030d6b2
[qpainter] Create QImages directly from image surfaces used as source
2008-05-04 11:51:37 -07:00
Vladimir Vukicevic
4928d8c045
[qpainter] Use drawTiledPixmap if possible; abstract fast filling code from paint() and fill()
2008-05-04 11:17:52 -07:00
Vladimir Vukicevic
70b4a79836
[qpainter] Use drawImage/drawPixmap in fill() for non-repeating sources
2008-05-01 11:54:35 -07:00
Vladimir Vukicevic
61d5de4912
Branch merge.
2008-05-01 09:23:23 -07:00
Oleg Romashin
82edc89756
Fixed optimized cairo_surface_fill for image surface
...
Enable OptimizeImage for X11 QSurface
2008-05-01 14:50:24 +03:00
Vladimir Vukicevic
71d470b9e7
Merging mozilla-central to mozilla-qt.
2008-04-30 16:00:19 -07:00
vladimir@pobox.com
d85df75a6e
b=431391; printing pages with type1 fonts on win32 prints garbage; patch from upstream; r+a=me
2008-04-30 09:45:24 -07:00
Vladimir Vukicevic
10e2cf8a01
[cairo-qpainter] Create QPixmaps with an alpha channel if required
2008-04-28 18:15:30 -07:00
vladimir@pobox.com
1c80f5912a
b=430979, CGFont leaks -- patch from upstream; r=me, a=damon
2008-04-28 14:27:35 -07:00
vladimir@pobox.com
3f4bd5bd50
b=429678, crash with failed printing of outset border with transparency; patch from upstream; a=me
2008-04-25 09:35:24 -07:00
Vladimir Vukicevic
465c78866e
[qpainter] take redirected device offsets into account in acquire_source_surface
2008-04-20 06:50:50 -07:00
Vladimir Vukicevic
6730c8db21
[qpainter] Correctly convert QMatrix -> cairo_matrix_t
2008-04-20 01:41:51 -07:00
Vladimir Vukicevic
984e004918
[qpainter] Implement gradients in qpainter cairo backend; cleanup ben/brush conversion
2008-04-20 01:41:25 -07:00
Vladimir Vukicevic
cc32b20298
[qpainter] Add getters for QImage; also make OptimizeImages a noop
...
The QPainter back end knows how to create a QImage from an image surface
while painting, so no need to copy the image.
2008-04-20 01:40:10 -07:00
Vladimir Vukicevic
1c8aa2e6aa
[qpainter] Set a clip on the xlib surface when drawing glyphs; correct redir offsets
...
Also create an xlib surface correctly for widgets, taking into account
redirected device offsets (such as when double buffering)
2008-04-20 01:35:51 -07:00
vlad
8f40269565
Qt: widget/gfx work (gfx part)
...
- Fix crash on window close
- Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
- Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver
- Fix screen <-> widget coordinate translation
- Fixes popup menu positioning
- Honor mayWait in nsAppShell::ProcessNextNativeEvent
- Prevents massive busy-waiting
- Don't pretend to support translucent windows
- Fix embedding widget build failure
- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())
- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-20 11:27:17 +03:00