Commit Graph

715 Commits

Author SHA1 Message Date
Bas Schouten
2893f57b8d 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
432fc1dea6 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
f3587ade9b Bug 555388: Part 1: Make sure we flush before clearing surfaces. r=jrmuizel 2010-05-06 23:56:34 +02:00
Jeff Muizelaar
68d76e69c6 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
38c2106acc Bug 562087: Update pixman to 2f4f2fb4859931bf6dc5632d8c919e7296736427
Should give some performance improvements
2010-05-05 11:23:54 -04:00
Oleg Romashin
71d93b5308 Bug 562710 - Disable -pedantic for cairo-qt code. r=jmuizelaar 2010-05-01 08:22:42 -04:00
Jeff Muizelaar
fdc5eaac33 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
347084e968 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
ef8be4ebf8 Bug 561891 - QPainter is is busted after last cairo merge. r=jmuizelaar. 2010-04-29 06:25:02 -04:00
Jeff Muizelaar
86e9f22ebc pixman: remove unused pixman-neon.patch. r=joe
This patch is obsoleted by upstream.
2010-04-27 11:08:57 -04:00
Jeff Muizelaar
2661339be3 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
b539ee4a49 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
1ff50fe646 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
a3b2b8eed4 Bug 558934: Cache extended and none-extended surfaces separately. r=jrmuizel a=dholbert 2010-04-24 01:16:50 +02:00
Siddharth Agarwal
6e91448d6a 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
2cba11e996 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
63c94e8d32 Bug 553603: Do not let DXGI handle window changes for us. r=jrmuizel 2010-04-12 14:44:33 +02:00
Bas Schouten
0277200ab7 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
083f212a9c Bug 550475 - Part 2: Use new RefPtr class in D2D backend. r=jrmuizel 2010-04-09 23:41:48 +02:00
Bas Schouten
9a46bc65e7 Bug 550475 - Part 1: Add a RefPtr template class to Cairo. r=jrmuizel 2010-04-09 23:41:46 +02:00
Bas Schouten
c87fd6c0e9 Bug 558161: Set bitmaps !dirty after their current contents has been updated. r=jrmuizel 2010-04-09 23:41:43 +02:00
Jeff Muizelaar
d751aaf9e3 Backed out changeset 9480726de986
Rendering/Invalidation problems showed up.
2010-04-08 09:44:28 -04:00
Jeff Muizelaar
aff371e5cb 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
a7d2620943 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
6db34ced75 Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas 2010-04-05 22:28:54 -04:00
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
Tobias Hunger
e8ade3ab9b Bug 498871 - Remove use of unnecessary QBrush pointer. r+sr=pavlov 2009-06-17 11:08:26 +02:00
Tobias Hunger
2b04096923 Bug 498873 - Remove use of unnecessary QPen pointer. r=pavlov 2009-06-17 13:21:04 +02:00
Vladimir Vukicevic
ef7dde313c 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
1499c311a9 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
990145193e 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
591639a8a3 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
2b751e300c Bug 500196: cairo/qt fails to build -- yet again, r=mfinkle 2009-06-30 09:58:29 -04:00
Jeff Muizelaar
16a322033e 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
183415ffd9 Bug 498843. Cleanup whitespace. r+sr=pavlov
--HG--
extra : rebase_source : ee45a9fc21a466c832f70ae43e7f77a126e4c762
2009-06-17 09:56:36 +02:00
Ginn Chen
28a4d143b9 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
9ab4d687c1 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
6e93a35747 Bug 498910: Add method to flush qpainter, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger
8c5980c615 Bug 498917: Fix some warnings in cairo-qpainter-surface.cpp, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger
0c05c84a6c Bug 498880: Reduce padding in cairo_qpainter_surface_t, r=mfinkle 2009-06-22 15:19:43 -04:00
Tobias Hunger
a777487dfa Bug 499135: Cairo/Qt fails to build -- yet again, r=mfinkle 2009-06-22 15:19:43 -04:00
Jeff Muizelaar
7a11cbc4a7 Bug 498689. Use scanline rasterizer on win32. r=joedrew, r=zweinberg 2009-06-22 15:01:50 -04:00
Jeff Muizelaar
019a8c6015 Bug 498428. Reverting f2ef72fbe01c because of tSVG regression 2009-06-18 16:44:02 -04:00
Jeff Muizelaar
2d221ae725 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
6c0cafef4a Bug 493726. Fix build problems with the cairo Qt backend. r=jrmuizel 2009-06-12 14:00:42 -04:00
Jeff Muizelaar
5aa1c3f88e Bug 485426. Add arm fast path for 565 to x888 conversion. r=vlad 2009-06-11 14:26:39 -04:00
Peter Weilbacher
500564266f 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
231a1be60c bug 493426 - unresolved cairo symbols related to cairo_ddraw_surface r=vlad 2009-05-19 22:27:50 -04:00
Benjamin Smedberg
bb1c33c4ea 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
d447d2ec7d 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
334f4485f0 Backed out changeset c4b8a7e21ec9 2009-05-16 00:39:54 +09:00
Makoto Kato
01bcf5a9cd Bug 488851 - Enable SSE2 for pixman. r=jmuizelaar 2009-05-15 23:15:24 +09:00
Brad Lassey
dbde09dac9 fixing gfx build bustage in wince r=joe 2009-05-14 22:47:51 -04:00
Jeff Muizelaar
8c08543e10 Bug 493079 - Update cairo to 1ae2ddc1dd4c90d50b8c57c4de677f8ab96b1fa2 r=joe 2009-05-14 22:03:26 -04:00
Jeff Muizelaar
08e5b94411 Bug 484954 - Fix a typo in the previous rgba text patch. r=vlad 2009-05-14 22:02:18 -04:00
Robert O'Callahan
d3a525774a Followup to bustage fix for bug 491595 2009-05-14 11:19:51 +12:00
Robert O'Callahan
ddebd425c7 Fixing bustage for bug 491595.
--HG--
extra : rebase_source : 36bf9b2a1cc8dabd0ef82d71ca1a04ae88587894
2009-05-14 11:10:40 +12:00
Robert O'Callahan
87d8c00f07 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
3c5462bff7 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
a9f76bee6d bug 489594 - fix for unaligned read in fbCompositeSrcAdd_8000x8000arm. r=blassey 2009-04-28 09:46:28 -07:00
Kenneth Waters
518ee9b649 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
8d3ecbe8b5 b=488910, cairo ddraw backend for wince (configure bits); r=vlad 2009-04-22 17:48:30 -07:00
cmills@nvidia.com
10eebb0922 b=484864, b=488910 - cairo ddraw backend for wince; r=vlad 2009-04-22 17:48:30 -07:00
Vladimir Vukicevic
5986bb5a42 b=482676; fix build bustage with NEON explicitly disabled or not available; r=me 2009-04-07 19:03:48 -07:00
Vladimir Vukicevic
9351544f8f 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
e9ed6adcad b=482676; add pixman NEON optimizations; r=jeff 2009-04-07 12:12:31 -07:00
Tobias Hunger
8e3eaf819f Bug 485156 - cairo-qt fails to build; r=vladimir 2009-03-27 00:49:22 +01:00
Joe Drew
ee95bbe143 Bug 484076 - Shrink the glyph cache to fix tp_Rss regression. r=me 2009-03-23 21:53:40 -04:00
Brad Lassey
f3bac9a079 bug 484076 - hypot depricated on windows and non-existant on windows ce r=vlad 2009-03-21 14:58:42 -04:00
Jeff Muizelaar
5f2479036b Bug 484076 - Fix Windows CE build. 2009-03-20 16:46:52 -04:00
Joe Drew
8fb1293b2a 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
687a288853 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
8bd28d0be6 b=481138; no, really fix pixman_have_arm_simd; r=vlad 2009-03-03 00:00:33 -08:00
Hiroyuki Ikezoe
18b2c3c2c9 b=481138; initialize not set in pixman_have_arm_simd; r=vlad 2009-03-02 23:58:29 -08:00
Jeff Muizelaar
5662166154 b=468883; port pixman arm opts to Windows CE; r=jrmuizel,vlad 2009-02-26 12:03:51 -08:00
Jonathan Kew
fd2275af79 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
0f7bed9806 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
4a266abf3a Add bug 474886 to cairo README 2009-02-06 17:33:13 -05:00
Peter Van der Beken
92a04a1aa2 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
377a2dbc2b 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
02e67c8924 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
4be9b53e45 Backed out changeset c7385f0a0168 2009-01-30 23:21:53 +13:00
Jonathan Kew
deb175c5fe 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
258e5fb771 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
22f6e75208 Backed out changeset 360b4a2d0aa8 2009-01-29 00:55:19 +13:00
Jonathan Kew
60f93b5c99 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
32f03bfe64 Bug 454098. Fix signs for baseline offsets for glyphs on Windows. r+sr=roc 2009-01-28 22:39:35 +13:00
Behdad Esfahod
4c0f61c5b8 Bug 460023. Change the glyph dropping safety margin from 2em to 10em. r=vlad 2009-01-28 22:36:23 +13:00
Brad Lassey
20580be9af bug 462908 - Follow up to fix indentation and include patch in gfx/cairo 2009-01-23 02:59:24 -05:00
Brad Lassey
2f6351583f 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
b584a627ba 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
10f2d6de05 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
d6b71782c0 b=467874 only destroy FT_Faces created by cairo. r=vlad 2008-12-06 12:08:45 +13:00
Jeff Muizelaar
c7a141b60d Bug 461202 - Turn on SSE2 pixman optimizations; on MsVC only; (no review) 2008-12-05 07:15:28 +01:00
Makoto Kato
f7acc6c08f 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
3bd692715b Bug 461860 - windows mobile fixes in gfx r+sr=vlad 2008-12-03 08:42:03 -05:00
Oleg Romashin
1157f3f93b 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
07829fa6d0 [OS/2] cairo-os2 build fix that was already applied in upstream cairo 2008-11-28 00:06:22 +01:00
Jeff Muizelaar
679549b8b6 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
57d028fd89 b=463872; fix qt backend cairo build; r=me 2008-11-09 15:43:39 -08:00
Vladimir Vukicevic
874c9f49d5 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
2d70839dd0 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
01a74357fd 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
d3da9fb1a3 WinCE only. Adding a -D to our define list on windows mobile. r=vlad 2008-11-04 12:37:27 -08:00
Doug Turner
24883a0c29 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
76f1b81b27 Bug 462911 - support NS_PRINTING in gfx / cairo. r=vlad 2008-11-04 07:43:45 -08:00
Vladimir Vukicevic
209719af58 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
7ee79e0b94 b=308917, fix quartz SurfacePatternDrawFunc; r=joe 2008-10-09 14:49:15 -07:00
blassey@mozilla.com
34d2ae88fc Bug 458946 - Reduce narrow windows API calls in cairo win32 surface. r=vlad 2008-10-08 20:41:11 -07:00
Arpad Borsos
3da6ac3d8d bug 445321 - remove --enable-glitz and related defines. r=vlad,ted 2008-09-30 13:53:38 -04:00
Doug Turner
ae8db696dd Bug 456644 - WinCE gfx cairo _cairo_win32_tmpfile does not compile. r=vlad 2008-09-26 15:30:51 -07:00
Vladimir Vukicevic
33105ca61f b=456467; revisit cairo xlib buggy repeat handling; r=roc 2008-09-25 13:07:11 -07:00
Jeff Muizelaar
eabad639f6 b=x; Fix misc compilation issues in pixman buildconfig; r=vlad 2008-09-25 12:47:21 -07:00
Vladimir Vukicevic
6e6bf3a103 b=451621; push new pixman with arm fast-paths; r=me 2008-09-17 14:15:01 -07:00
John Wolfe
15cc6a4e38 Bug 454797 - WinCE GFX Cairo No MMX Support in ARM; r=vladimir 2008-09-16 14:39:29 +02:00
Ginn Chen
b807ca4816 Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin 2008-09-08 14:21:07 +08:00
Oleg Romashin
92246e89b7 Bug 454060 - Cairo-qpainter build is broken after cairo update. r+sr=vladimir. 2008-09-07 22:28:20 +03:00
Vladimir Vukicevic
bcc97e0618 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
f87ccb0afe Backed out changeset 6014c4fca4a1 (Cairo upgrade to 1.7.4-136) 2008-09-05 00:14:16 -07:00
Vladimir Vukicevic
2843975354 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
cc0f39ef5e Backed out changeset 59a60321d0d6 since it doesn't include everything
vlad wanted.
2008-08-19 23:01:03 -05:00
John Wolfe
b69efd4d02 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
6a59eaa59b dotted/dashed borders rendering with Qpainter surface very slow - bug 432453. r=vladimir 2008-08-19 04:29:25 +03:00
Oleg Romashin
1038376d68 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
12059d0133 mozilla-central merge 2008-08-08 13:05:00 +03:00
Peter Weilbacher
a48dcbdf88 [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
7c82d23645 Fixed show_glyphs build error according to latest cairo 1.6.4 update 2008-08-04 02:30:08 +03:00
Oleg Romashin
6df73fd09d Fixed bug 448961 - error: comma at end of enumerator list 2008-08-04 00:12:04 +03:00
Oleg Romashin
dbbb2a81ec Removed some not required changes which can break trunk build
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Oleg Romashin
bc6cd35488 Merging mozilla-central to mozilla-qt. 2008-08-03 20:30:10 +03:00
Ginn Chen
e4428cafe9 Backout bug 440714, it failed on Mac OS X 2008-07-29 23:51:49 +08:00
Ginn Chen
54cdd01353 Bug 440714 Firefox 3 failed to start on Solaris, r=vladimir 2008-07-29 23:41:41 +08:00
Vladimir Vukicevic
64fb32b518 b=446323, Upgrade cairo to 1.6.4-350-g1a9809b; r=vlad 2008-07-20 14:15:22 -07:00
Vladimir Vukicevic
7b7cfbab99 Backed out changeset 20534cf9abf5 2008-07-20 15:35:51 -07:00
Vladimir Vukicevic
b25dd7a8bf b=446323, Upgrade cairo to 1.6.4-348-g96c9e2a; r=vlad 2008-07-20 14:15:22 -07:00
John Daggett
c89140eb33 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
77623d122c 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
2638e3dc51 [qpainter] Create QImages directly from image surfaces used as source 2008-05-04 11:51:37 -07:00
Vladimir Vukicevic
61173d504c [qpainter] Use drawTiledPixmap if possible; abstract fast filling code from paint() and fill() 2008-05-04 11:17:52 -07:00
Vladimir Vukicevic
a3f57ae957 [qpainter] Use drawImage/drawPixmap in fill() for non-repeating sources 2008-05-01 11:54:35 -07:00
Vladimir Vukicevic
2de5a08c00 Branch merge. 2008-05-01 09:23:23 -07:00
Oleg Romashin
25d501d465 Fixed optimized cairo_surface_fill for image surface
Enable OptimizeImage for X11 QSurface
2008-05-01 14:50:24 +03:00
Vladimir Vukicevic
861b6a8679 Merging mozilla-central to mozilla-qt. 2008-04-30 16:00:19 -07:00
vladimir@pobox.com
89790e741b 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
b8dc499b49 [cairo-qpainter] Create QPixmaps with an alpha channel if required 2008-04-28 18:15:30 -07:00
vladimir@pobox.com
4b5e5cb7f8 b=430979, CGFont leaks -- patch from upstream; r=me, a=damon 2008-04-28 14:27:35 -07:00
vladimir@pobox.com
cf8ffd14c5 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
6e1b75baa7 [qpainter] take redirected device offsets into account in acquire_source_surface 2008-04-20 06:50:50 -07:00
Vladimir Vukicevic
fe62d13caf [qpainter] Correctly convert QMatrix -> cairo_matrix_t 2008-04-20 01:41:51 -07:00
Vladimir Vukicevic
750f140f1d [qpainter] Implement gradients in qpainter cairo backend; cleanup ben/brush conversion 2008-04-20 01:41:25 -07:00
Vladimir Vukicevic
ed0e67d29f [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
a144ca692a [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
e7ce5b00f4 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
romashin
40e2385b88 Fixed compilation problems with sb-QT arm 2008-04-19 18:53:37 +03:00
romashin
70e531b8b4 Still some indent fixes 2008-04-19 18:43:27 +03:00
romashin
7831d65b1a Added new cairo-qt surface from Vlad's patch
New created files moved in sandbox/qt_port.. cairo and gfxQPainterSurface
Changes for existing files applyed from 100_qt-qpainter-cairo.diff
Fixed building non deb mozilla with build_non_deb.sh script
Fixed tab-spaces in new created file cairo-qpainter-surface.cpp
2008-04-19 18:43:23 +03:00
romaxa@romaxa.research.nokia.com
6c3e325d4b Add new cairo-qpainter backend for building in cairo-qt configuration 2008-04-19 16:34:30 +03:00
roc+@cs.cmu.edu
153c4bfed0 Bug 409227. _cairo_clip_init_deep_copy should pass 0,0 as the starting coordinates when it clones the clip surface, because we just want an exact copy of the surface. r=vlad,a=beltzner 2008-04-17 01:22:31 -07:00
vladimir@pobox.com
253308a219 b=428563, minor upgrade to cairo 1.6.4, really this time; r=me,a=beltzner 2008-04-16 05:44:28 -07:00
vladimir@pobox.com
caa7ec4ebe backout? 2008-04-11 13:08:04 -07:00
vladimir@pobox.com
e3f40cc890 forgot to update README file 2008-04-11 12:45:28 -07:00
vladimir@pobox.com
8339071796 b=428563, Upgrade Cairo to 1.6.2; r=me,a=beltzer 2008-04-11 12:38:41 -07:00
vladimir@pobox.com
7e9ef5c071 b=419715, minor cairo upgrade to un-roll-back regressions and add fixes from upstream ; r=me 2008-04-08 13:11:21 -07:00
vladimir@pobox.com
50e6dca1da roll back cairo commit c1062bf to fix assertion failures 2008-04-07 02:17:14 -07:00
vladimir@pobox.com
b768ba704e b=419715, upgrade cairo to 1.6 or as-close-as-possible -- add patch to fix cairo bustage ; r=me 2008-04-06 22:09:53 -07:00
vladimir@pobox.com
7439270a65 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade-more.patch ; r=me 2008-04-06 22:09:44 -07:00
vladimir@pobox.com
06c698810e b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 22:08:30 -07:00
vladimir@pobox.com
29dafd8255 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch pixman-upgrade.patch ; r=me 2008-04-06 22:07:38 -07:00
vladimir@pobox.com
3f56db9279 backout [mq]: cairo-rollback.patch 2008-04-06 16:34:08 -07:00
vladimir@pobox.com
15fb35ff66 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade-more.patch ; r=me 2008-04-06 15:14:31 -07:00
vladimir@pobox.com
2d82be0e34 b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch cairo-upgrade.patch ; r=me 2008-04-06 15:14:09 -07:00
vladimir@pobox.com
66ca70eb2d b=419715, upgrade cairo to 1.6 or as-close-as-possible -- imported patch pixman-upgrade.patch ; r=me 2008-04-06 15:13:57 -07:00
vladimir@pobox.com
30ffae6ef2 b=423524, CGContextGetType warnings showing up in console, r=stuart 2008-03-18 13:36:40 -07:00
mozilla@weilbacher.org
89161426b2 [OS/2] Bug 423115: OS/2 build break about GCC parameters in libpixman, r=vlad 2008-03-15 11:45:30 -07:00
vladimir@pobox.com
a8e39d6a63 b=421422, cairo upgrade followup, fixing subpixel AA on OSX 2008-03-14 23:20:21 -07:00
vladimir@pobox.com
4bdbafdc90 b=421422, cairo upgrade ; r=me 2008-03-14 20:45:12 -07:00
vladimir@pobox.com
cf1fc3fd9a b=421422, cairo upgrade ; r=me 2008-03-14 20:44:23 -07:00
roc+@cs.cmu.edu
11aa232422 Bug 403181. Pass the desired source rectangle for background images down into nsThebesImage and ensure we don't sample outside it. Back out a bad pixman patch that caused regressions, and adjust image encoding tests so they don't depend on the regression. Also switchs some reftests to quirks mode so that the 1-appunit width of <br>s doesn't bite us. r=vlad,sr=dbaron 2008-03-09 14:55:05 -07:00
roc+@cs.cmu.edu
72bddc7c36 Backing out Bug 403181. JPEG encoding test failure :-( 2008-03-07 01:28:34 -08:00
roc+@cs.cmu.edu
18b5f6db55 Bug 403181. Various fixes to image rendering. Most importantly, we track the desired subimage of a CSS background image and ensure we don't sample outside it. r=vlad,sr=dbaron 2008-03-07 00:34:12 -08:00
vladimir@pobox.com
3a604831df b=421017; upgrade cairo to 1.5.12-14-gd89edde -- additional fixes ; r=me 2008-03-04 21:45:09 -08:00
vladimir@pobox.com
c12016b91e b=421017; upgrade cairo to 1.5.12-11-g2f93504 ; r=me 2008-03-04 21:44:55 -08:00
vladimir@pobox.com
b75557232a b=418353, sync up cairo to 1.5.8-87-g21049a9 imported patch 418353-cairo-upgrade.patch 2008-02-19 14:52:57 -08:00
vladimir@pobox.com
8f0d8b3d02 b=416018, upgrade cairo to 1.5.8-30-g80e11a8 ; r=me 2008-02-13 22:54:26 -08:00
vladimir@pobox.com
6f5a262267 b=416181, animated image used as repeated background broken ; r=stuart 2008-02-13 22:51:58 -08:00
reed@reedloden.com
48057599e5 Bug 415867 - "AIX Compilation error for trunk build source cairo-gstate.c : line 45.43: 1506-294 (S) Syntax error in expression on #if directive." [p=shailen.n.jain@gmail.com (Shailen) r+sr=roc a1.9=schrep] 2008-02-13 03:31:00 -08:00
vladimir@pobox.com
ebe7dd1924 Add missing patch file (npotb) 2008-02-07 12:02:40 -08:00
vladimir@pobox.com
95e9d58680 b=414685, optimize mac image decoding and rendering ; r=stuart 2008-02-05 22:48:47 -08:00
vladimir@pobox.com
708bf474be b=367618, initial win32 8bpp bits, r=stuart 2008-01-29 11:00:57 -08:00
vladimir@pobox.com
24f4d64937 b=513583, bandaid for X repeat bug, r=stuart 2008-01-29 10:45:08 -08:00
vladimir@pobox.com
d7f4f31ade re-landing; b=412396, speed up mac image rendering while images are being loaded, r=stuart 2008-01-28 11:05:44 -08:00
vladimir@pobox.com
1afbefd8e2 backing out 412396 in an attempt to fix linux orange 2008-01-27 19:04:40 -08:00
vladimir@pobox.com
b81f25fe5d b=413989, bad lines drawn over background images while zoomed (osx), r=roc 2008-01-27 16:49:23 -08:00
vladimir@pobox.com
7bf8a75184 b=412396, jpeg decoding/painting slower on trunk vs. branch while loading; r=stuart 2008-01-27 15:53:24 -08:00
vladimir@pobox.com
b74a21da6f b=414092, crash at _moz_pixman_image_fill_rectangles on x86-64, r=karlt 2008-01-27 14:52:18 -08:00
vladimir@pobox.com
7beacd273e b=414095, serious win32 repaint/clipping issues, r=sleepy 2008-01-26 02:09:21 -08:00
vladimir@pobox.com
94616ca91d b=413878, even more cairo upgrades 2008-01-25 16:25:22 -08:00
vladimir@pobox.com
9f68225ef5 b=413878, upgrade cairo/pixman to latest git 2008-01-25 16:25:15 -08:00
mozilla@weilbacher.org
be1d05c95c [OS/2] Bug 404407: improve memory consumption on OS/2. Part 2, activate OS/2 API calls in cairo, r=wuno@lsvw.de 2008-01-22 15:00:03 -08:00
mats.palmgren@bredband.net
8195bb9cea Make _cairo_scaled_font_glyph_device_extents() take an cairo_rectangle_int_t out param instead of cairo_rectangle_int16_t fixing an UMR in the process. b=413169 r+sr=vladimir a=mtschrep 2008-01-20 17:06:38 -08:00
martijn.martijn@gmail.com
6949a58852 Bug 399453 - Mingw build error in cairo-win32-surface.c - error: conflicting types for '_cairo_win32_surface_get_extents', r=pavlov, a=mtschrep 2008-01-20 04:12:09 -08:00
sayrer@gmail.com
3ed75c14b1 Bug 411369. Crash while trying to print. r=ted.mielczarek 2008-01-18 17:09:36 -08:00
vladimir@pobox.com
a8fa36054a b=411224, r=vlad: 411224-cairo-upgrade-fixes.patch 2008-01-18 13:46:33 -08:00
vladimir@pobox.com
22522fc3eb b=411224, r=vlad: 411224-cairo-upgrade-1.5.5 2008-01-18 13:46:26 -08:00
vladimir@pobox.com
6d340e5582 b=407099, crash loading SVG page in cairo-quartz code, patch from upstream cairo, r/a=me 2008-01-07 11:57:32 -08:00
reed@reedloden.com
047f15c4e0 Bug 409976 - "Cairo in trunk gives SIGBUS on SPARC" [p=armin76@gentoo.org (Raúl Porcel) r+a1.9=vlad] 2008-01-04 23:34:27 -08:00
mozilla@weilbacher.org
24ec805ac5 [OS/2] Bug 407524: Enable PDF surface on OS/2, r=ted.mielczarek 2007-12-11 13:49:27 -08:00
pavlov@pavlov.net
d45f68fb12 pdfs are too big. re-landing 375750 which was accidentily backed out by 407427. r=vlad 2007-12-07 23:09:15 -08:00
vladimir@pobox.com
2dfebb2e83 b=404092, solaris compilation fix followup, r=me 2007-11-30 11:58:15 -08:00
vladimir@pobox.com
c06f0dc4e3 b=404092, upgrade cairo to 1.5.2-55 2007-11-29 12:06:56 -08:00
philringnalda@gmail.com
b051ca90f6 Bug 400188 - remove XP_MAC deadcode in cairo-platform.h, r=vlad, a=stuart 2007-11-12 19:23:59 -08:00
pavlov@pavlov.net
81a003c93d bug 375750. don't recreate CGFontRefs every time we draw -- cache them. fixes multiple embeddings of fonts when drawing to a quartz print surface. r=vlad a=schrep 2007-11-01 19:08:31 -07:00
pavlov@pavlov.net
1ef66b82b8 bug 390898. fix crash on 64bit machines when dragging and dropping. patch from Martin Stransky <stransky@redhat.com>. r=vlad a=beltzner 2007-10-30 17:58:44 -07:00
mats.palmgren@bredband.net
59e6298aff * make cairo_quartz_surface_to_quartz() return NULL if it's not a valid quartz surface and add null-check at call sites. * fix a couple of leaks under OOM * fix a warning about missing initializers for cairo_quartz_surface_backend b=397293 r+sr+a=vladimir 2007-10-25 08:49:25 -07:00
longsonr@gmail.com
18e83e393c Bug 400025 - stroke on text is too big on Windows after landing of bug 384681. r+sr+a+aM9=vladimir 2007-10-25 04:55:19 -07:00
ginn.chen@sun.com
6b4976641b Bug 387399 Asian fonts are not rendered in web page on BIG ENDIAN machine r+sr+a=vladimir 2007-10-24 23:49:10 -07:00
jdaggett@mozilla.com
9061c61d0a Bug 328258. Prevent images larger than 32K pixels in height from loading to workaround Quartz bug. r=pavlov,vlad, a=beltzner 2007-10-23 23:01:16 -07:00
vladimir@pobox.com
26a5b75ebf b=384681, switch cairo into 24.8 fixed-point mode. r+sr+a=roc 2007-10-09 16:03:24 -07:00
vladimir@pobox.com
51c2b1c2b4 b=366548, increased GDI usage leading to repainting problems, r/a=stuart 2007-10-03 14:27:42 -07:00
joshmoz@gmail.com
6ea83c78e0 fix major font problem when using the Mac OS X 10.5 SDK. Patch by John Daggett. b=397454 r=roc/vlad sr=roc a=pav 2007-09-28 09:51:11 -07:00
roc+@cs.cmu.edu
737c2306c1 Bug 96041. Adding win32 glyph extents patch to cairo so it doesn't get lost. 2007-09-24 18:00:24 -07:00
vladimir@pobox.com
96a878f5a9 b=377336, win32 printing page results in excessive data spooled to printer, for real this time, r=stuart 2007-09-24 15:50:44 -07:00
roc+@cs.cmu.edu
bfd939088e Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
roc+@cs.cmu.edu
c11d00e32d Backing out due to test bustage 2007-09-22 06:28:16 -07:00
roc+@cs.cmu.edu
d72a839c93 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
vladimir@pobox.com
44c6413c55 b=391184, accidentally blew away this patch with cairo update 2007-09-20 15:34:31 -07:00
vladimir@pobox.com
77096b4031 b=838960, ugprade cairo to 1.5.x; and b=377336, printing page from win32 results in hung app, r=stuart 2007-09-20 12:24:47 -07:00
pavlov@pavlov.net
ba97302f0b backing out 362682 due to linux tinderboxen not being upgraded... (396805, 389426) 2007-09-19 16:53:09 -07:00
pavlov@pavlov.net
7ce9ed1741 bug 362682. fix missing glyphs on linux. patch by myself and Behdad Esfahbod <mozilla@behdad.org>. r=vlad 2007-09-19 15:18:42 -07:00
sayrer@gmail.com
1f479a44ac Bug 391890. leaks from pixman_rect_alloc within _cairo_gstate_clip drawing borders. Patch by Vladimir Vukicevic. r/sr=stuart, a=mconnor 2007-09-11 13:15:14 -07:00
sayrer@gmail.com
a8aae62a4c Bug 393324. cairo leak in nsNativeThemeGTK::DrawWidgetBackground. r/sr=stuart, a=mconnor 2007-09-11 13:11:12 -07:00
mats.palmgren@bredband.net
2c8d132bca Free resources more sensibly when _cairo_scaled_font_init() fails. Use true NOOP mutex macros to avoid similar deadlocks in the future. b=378716 r+sr=vladimir a=vladimir 2007-08-31 00:53:53 -07:00
ginn.chen@sun.com
6166df71f7 Bug 391184 Firefox crashed [@ _get_bitmap_surface] div zero in _cairo_malloc_ab macro r+a=vladimir 2007-08-15 20:53:19 -07:00
mats.palmgren@bredband.net
354e680d1b Backing out last change since it caused crashes on Windows (bug 392214). b=390898 2007-08-14 12:03:57 -07:00
mats.palmgren@bredband.net
366ef443ee Bandaid for a Cairo crash. b=390898 r+sr=vladimir 2007-08-14 02:48:49 -07:00
vladimir@pobox.com
6d5c29bde2 b=390668, crash in gfxASurface::GetType (_moz_cairo_scaled_font_status and others), often using drawWindow 2007-08-09 11:54:17 -07:00
vladimir@pobox.com
79033ece2f b=390912, odd black bars with stroked rounded rects outside of view bounds, r=shaver, rs=k&r (checking back in, linux failure seemed transient yay) 2007-08-06 20:56:16 -07:00
vladimir@pobox.com
e1124283e2 backing out 390912, not sure what's wrong with linux 2007-08-06 18:52:15 -07:00
vladimir@pobox.com
eb7c87258e b=367036, the bug that won't die, forgot to reapply this patch when I upgraded cairo (background of images shows as black when printed) 2007-08-06 18:15:56 -07:00
vladimir@pobox.com
8445b79997 b=390912, odd black bars with stroked rounded rects outside of view bounds, r=shaver, rs=k&r 2007-08-06 18:14:47 -07:00
vladimir@pobox.com
d07a557af0 b=390798, animated gifs shrunk to favicon size; also b=390622, yahoo mail beta misrendered; r=stuart 2007-08-05 21:14:14 -07:00
ginn.chen@sun.com
1946aef202 Bug 390113 mozilla should not be compiled with -fast on Solaris r=benjamin 2007-08-02 23:32:33 -07:00
ginn.chen@sun.com
6b4f380cdc Bug 390749 Fix build on Solaris r+a=vladimir 2007-08-02 23:29:31 -07:00
vladimir@pobox.com
0ec5d02125 avoid divide-by-zero in allocating 0x0 surface 2007-08-02 06:04:39 -07:00
vladimir@pobox.com
7a4a17d1c1 avoid divide-by-zero resulting from push_group 2007-08-02 05:48:30 -07:00
vladimir@pobox.com
8faf0c0219 linux tinderbox fix, thought I fixed this a different way, guess not 2007-08-02 00:11:27 -07:00
vladimir@pobox.com
ee3f91837a b=383960, moz cairo: win32/msvc fixes, disable MMX util it's fixed 2007-08-02 00:02:41 -07:00
vladimir@pobox.com
c93279ad8c b=383960, moz cairo: new cairo-rename.h 2007-08-02 00:02:18 -07:00
vladimir@pobox.com
468916b9a7 b=383960, moz cairo: fix up compilation with in-tree pixman 2007-08-02 00:01:57 -07:00
vladimir@pobox.com
5d3b866bdf b=383960, moz cairo: nonfatal-assertions.patch 2007-08-02 00:01:36 -07:00
vladimir@pobox.com
9d55b98abf b=383960, moz cairo: win32-no-printer-bitblt.patch 2007-08-02 00:01:14 -07:00
vladimir@pobox.com
4611c948ad b=383960, moz cairo: win32-logical-font-scale.patch 2007-08-02 00:00:53 -07:00
vladimir@pobox.com
23b1098ddb b=383960, moz cairo: win32-scaled-font-size.patch 2007-08-02 00:00:32 -07:00
vladimir@pobox.com
bf5d6cb2b6 b=383960, moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-08-02 00:00:10 -07:00
vladimir@pobox.com
a678a5bbd1 b=383960, moz cairo: no longer needed: fbcompose-bandaid.patch 2007-08-01 23:59:49 -07:00
vladimir@pobox.com
594ffc2fe1 b=383960, moz cairo: max-font-size.patch 2007-08-01 23:59:30 -07:00
vladimir@pobox.com
935decd7ff b=383960, Cairo 1.5.x: fix XLIB_XRENDER feature 2007-08-01 23:59:07 -07:00
vladimir@pobox.com
eda0b3d22a b=383960, Cairo 1.5.x: Cairo 2007-08-01 23:58:46 -07:00
vladimir@pobox.com
9002f999f0 b=383960, Cairo 1.5.x: pixman mozilla fixes 2007-08-01 23:57:51 -07:00
vladimir@pobox.com
92f300e644 b=383960, Cairo 1.5.x: pixman 2007-08-01 23:54:40 -07:00
vladimir@pobox.com
7bffc1996e cairo backout 2007-07-24 12:26:01 -07:00
vladimir@pobox.com
c1191c99ae backing out cairo update, again 2007-07-24 12:24:26 -07:00
vladimir@pobox.com
43945fe5db b=383960, moz cairo: new cairo-rename.h 2007-07-24 10:46:07 -07:00
vladimir@pobox.com
0c2e8ee9a7 b=383960, moz cairo: MSVC compilation fixes 2007-07-24 10:45:51 -07:00
vladimir@pobox.com
6870aa70dc b=383960, moz cairo: fix up compilation with in-tree pixman 2007-07-24 10:43:30 -07:00
vladimir@pobox.com
e6da053270 b=383960, moz cairo: nonfatal-assertions.patch 2007-07-24 10:43:10 -07:00
vladimir@pobox.com
922b98010b b=383960, moz cairo: win32-no-printer-bitblt.patch 2007-07-24 10:38:48 -07:00
vladimir@pobox.com
f3398db74d b=383960, moz cairo: win32-logical-font-scale.patch 2007-07-24 10:38:29 -07:00
vladimir@pobox.com
6ee5757328 b=383960, moz cairo: win32-scaled-font-size.patch 2007-07-24 10:38:12 -07:00
vladimir@pobox.com
391acff9d5 b=383960, moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-07-24 10:36:53 -07:00
vladimir@pobox.com
451a46fe7f b=383960, moz cairo: no longer needed: fbcompose-bandaid.patch 2007-07-24 10:36:36 -07:00
vladimir@pobox.com
f190e46451 b=383960, moz cairo: max-font-size.patch 2007-07-24 10:36:18 -07:00
vladimir@pobox.com
a860149c89 b=383960, Cairo 1.5.x: fix XLIB_XRENDER feature 2007-07-24 10:33:26 -07:00
vladimir@pobox.com
4d5d21aae6 b=383960, Cairo 1.5.x: Cairo 2007-07-24 10:29:35 -07:00
vladimir@pobox.com
0cc39b0da6 b=383960, Cairo 1.5.x: pixman mozilla fixes 2007-07-24 10:11:07 -07:00
vladimir@pobox.com
42010377a3 b=383960, Cairo 1.5.x: pixman 2007-07-24 10:08:21 -07:00
vladimir@pobox.com
350aabc65d b=386897, compile cairo/pixman with full speed optimization, r=roc,sr=stuart 2007-07-17 16:08:32 -07:00
ginn.chen@sun.com
33f5ece160 Bug 387399 Asian fonts are not rendered in web page on BIG ENDIAN machine
r=vladimir
2007-07-10 23:40:38 -07:00
vladimir@pobox.com
27a42cc105 backing out but 383960, upgrade to cairo 1.4.10, due to bug 384035 (again) 2007-06-30 03:45:11 -07:00
vladimir@pobox.com
e6e29267c5 b=383960: Upgrade cairo to 1.4.10: moz cairo: nonfatal-assertions.patch 2007-06-30 00:50:54 -07:00
vladimir@pobox.com
e708567179 b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-no-printer-bitblt.patch 2007-06-30 00:50:09 -07:00
vladimir@pobox.com
e01ea9a349 b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-logical-font-scale.patch 2007-06-30 00:49:36 -07:00
vladimir@pobox.com
4be2e7ed2e b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-scaled-font-size.patch 2007-06-30 00:48:59 -07:00
vladimir@pobox.com
df1af9e6a0 b=383960: Upgrade cairo to 1.4.10: moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-06-30 00:48:18 -07:00
vladimir@pobox.com
8a87c4af84 b=383960: Upgrade cairo to 1.4.10: moz cairo: fbcompose-bandaid.patch 2007-06-30 00:47:44 -07:00
vladimir@pobox.com
7d82c1c6ba b=383960: Upgrade cairo to 1.4.10: moz cairo: max-font-size.patch 2007-06-30 00:46:18 -07:00
vladimir@pobox.com
7a982ad66e b=383960: Upgrade cairo to 1.4.10: Cairo 1.4.10 2007-06-30 00:45:16 -07:00
roc+@cs.cmu.edu
702c09b987 Bug 382741. Updating cairo patch list. 2007-06-13 15:49:19 -07:00
roc+@cs.cmu.edu
0a8d95d074 Bug 382741. Make cairo asserts non-fatal. May fix tinderbox issues with crashing with new-textframe. r=vlad 2007-06-13 15:10:23 -07:00
gavin@gavinsharp.com
797c9d1bd2 Bustage fix: Vlad apparently forgot to back out the changes to this file 2007-06-10 21:39:03 -07:00
vladimir@pobox.com
f669e74548 backing out cairo 1.4.8 due to qm-rhel02 stupidity 2007-06-10 20:53:49 -07:00
vladimir@pobox.com
00c026bd8a more linux reftest debugging; force a cairo crash on error 2007-06-10 20:17:24 -07:00
vladimir@pobox.com
5ba8a26ca3 b=383960, Upgrade cairo to 1.4.8, r=me -- cairo 1.4.8: missed removing cairo-font.c 2007-06-10 17:09:00 -07:00
vladimir@pobox.com
a52dab8bae b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: avoid-region-extract.patch 2007-06-10 17:08:00 -07:00
vladimir@pobox.com
a979824423 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: win32-no-printer-bitblt.patch 2007-06-10 17:07:36 -07:00
vladimir@pobox.com
7e19eeb82a b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: misc fixes 2007-06-10 17:07:13 -07:00
vladimir@pobox.com
77748b7005 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: win32-scaled-font-size.patch 2007-06-10 17:06:47 -07:00
vladimir@pobox.com
a0123fabd4 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: no longer needed: quartz-glyph-rounding.patch 2007-06-10 17:06:24 -07:00
vladimir@pobox.com
ffe0973543 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: fbcompose-bandaid.patch 2007-06-10 17:05:59 -07:00
vladimir@pobox.com
44a7a8cc53 b=383960, Upgrade cairo to 1.4.8, r=me -- moz cairo: max-font-size.patch 2007-06-10 17:02:13 -07:00
vladimir@pobox.com
1f24b50ccb b=383960, Upgrade cairo to 1.4.8, r=me -- cairo 1.4.8 2007-06-10 17:01:29 -07:00
vladimir@pobox.com
7f4dbf2200 b=379834, scrolling with large dashed border extremely slow, r+sr=roc 2007-05-30 17:38:41 -07:00
vladimir@pobox.com
6e9085af39 b=375042, cairo symbol exposed, potentially conflicting with system cairo, r=stuart 2007-05-30 01:34:28 -07:00
roc+@cs.cmu.edu
59d2c4c0f6 Bug 372838. Make win32 fonts scale properly in cairo, and make gfxWindowsFont always use the identity matrix for measuring. r=pavlov 2007-04-20 17:53:00 -07:00
vladimir@pobox.com
08cecdf0a8 b=367036, transparent background of images shows up as black when printed, r=stuart 2007-04-19 14:51:35 -07:00
roc+@cs.cmu.edu
546fe57bb6 Bug 374006. Fix to Quartz glyph position rounding lost during cairo update, probably my fault. Pushing it back with the right documentation this time. patch r=vlad 2007-04-05 01:08:23 -07:00
masayuki@d-toybox.com
140e8b3eda b=333126 backing-out the previous checkin 2007-04-03 22:42:44 -07:00
masayuki@d-toybox.com
c5990628bd Bug 333126 Bold/Italic text isn't displayed as bold/italic with cairo-gtk2 build if the font is synthesis font. (only enable enbolden flag in cairo) r=vlad 2007-04-03 22:10:56 -07:00
vladimir@pobox.com
07b69ab209 b=376440, cairo crash on shutdown on nye 2007-04-03 19:59:42 -07:00
vladimir@pobox.com
8ec66d82be b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 18:09:15 -07:00
vladimir@pobox.com
ff7edc8d96 more backouts 2007-04-03 12:57:47 -07:00
vladimir@pobox.com
8698e07eca more backouts 2007-04-03 12:43:13 -07:00
vladimir@pobox.com
d6052c8a4c backing out 374462 2007-04-03 12:21:53 -07:00
vladimir@pobox.com
28cdc199c2 b=374462, update cairo to 1.4.2 -- missing file 2007-04-03 12:11:18 -07:00
vladimir@pobox.com
b227ab7f94 b=374462, update cairo to 1.4.2, r=stuart 2007-04-03 11:59:47 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00