Commit Graph

556 Commits

Author SHA1 Message Date
Bas Schouten
a241b46057 Bug 597950 - Part 1: Add API to create a D2D surface from a D3D10 Texture. r=vlad 2010-10-01 00:53:40 +02:00
Bas Schouten
6a3ef1e796 Bug 599658: Properly deal with matrices with negative scale values. r=vlad a=blocking-beta7 2010-09-28 21:52:13 +02:00
Bas Schouten
724406b207 Bug 599675: Break out of device waiting loop when device is removed. r=vlad a=blocking-beta7 2010-09-27 04:47:40 +00:00
Bas Schouten
329239d1ca Bug 599118 - Followup: Respect source pattern filter when using fastblit. r=joe a=test-bustage 2010-09-24 19:55:55 +02:00
Bas Schouten
629da0db2c Bug 599118 - Part 2: Try to use our fastblit path for solid alpha masks. r=vlad a=blocking-beta7 2010-09-24 18:58:03 +02:00
Bas Schouten
3d834e66a3 Bug 599118 - Part 1: Generalize our fastblit path for boxes to use DrawBitmap where it can. r=vlad a=blocking-beta7 2010-09-24 18:58:00 +02:00
Bas Schouten
8e7da059e3 Bug 598686: Properly count VRAM for interop surfaces. r=jdrew a=blocking-beta7 2010-09-22 20:00:08 +02:00
Doug Turner
9178000989 Bug 567750 - Build option to use the system Pixman. r=khuey. a=dougt 2010-09-20 21:16:37 -07:00
Bas Schouten
088d08f18a Bug 596494 - Part 1: Expose method to get the D3D10 device for cairo d2d device. r=jrmuizel 2010-09-15 22:16:06 +00:00
KUROSAWA, Takeshi
caacfe8928 Bug 422179 - Part 2: Honor Cairo version in tree; r=jmuizelaar a=blocking-final+ try: --build do --p linux,linux64 --m none --u all --t all 2010-09-09 16:27:12 -04:00
Oleg Romashin
a3a0931e4a Bug 589845 - Link error in cairo-qt-surface qt_draw_glyphs. r=jmuizelaar, a=stuart 2010-09-05 08:17:58 -07:00
Bas Schouten
37b1df3df1 Bug 592024 - Don't clear shared D3D9/D2D surfaces in cairo_d2d_create_for_handle because D3D9 and D2D need a lot of synchronization points. Instead, put a clear in DrawRegion, which already has synchronization points. r=jrmuizel a=blocking 2010-09-02 15:07:26 -04:00
Bas Schouten
f72e7d2c0d Bug 574976: Follow-up, process one more review comment. r=jrmuizel a=blocking-beta5 2010-08-27 22:24:42 +00:00
Bas Schouten
6684d88514 Bug 574976: Read the system cleartype pref an adhere to the expected behavior. r=jrmuizel a=blocking-beta5 2010-08-27 22:12:06 +00:00
Bas Schouten
a67e91641e Bug 573013: Report more appropriate errors from acquire_source_image. r=jrmuizel a=blocking-beta5 2010-08-27 22:12:03 +00:00
Makoto Kato
f5bd2bc6da Bug 488851 - Enable SSE2 for pixman r=jmuizelaar, a=joe 2010-08-26 15:54:10 +09:00
Loïc Yhuel
b6ed504f4c Bug 589809. D2D: Fix running with PIX. r=bas
When we do "newSurf->backBuf->QueryInterface(&newSurf->surface);", PIX returns
the original interface instead of the hooked one, so I swapped newSurf->backBuf
and newSurf->surface, to get the two interfaces in the reverse order. In this
case PIX returns hooked interfaces which will work when used as argument of
hooked methods.
2010-08-24 13:46:34 -04:00
Loïc Yhuel
9b46c88361 Bug 589809. D2D: Fix surface leak. r=bas
We were using a raw pointer and not releasing it.
Switch to a RefPtr.
2010-08-24 13:46:03 -04:00
Vladimir Vukicevic
a0c291f145 Bug 589891 - d2d 0-sized surfaces shouldn't cause a Cxx exception. r=jmuizelaar, a2.0=blocking-beta5 2010-08-23 20:12:11 -07:00
Rich Walsh
420a678bbd Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 2 - MozCairo and Thebes. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:50:32 -07:00
Rich Walsh
b78cd74449 Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 1 - Cairo. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:47:43 -07:00
Rob Arnold
422de2253b Bug 587566 - Enable Depth/Clip to allow D2D for non DX10 devices; r=bas.schouten approval2.0=joe 2010-08-19 09:28:14 +01:00
Bas Schouten
66f29f398d Bug 587856 - Part 1: Expose D2D surface VRAM usage from cairo device. r=jrmuizel 2010-08-18 05:43:49 +02:00
Jeff Muizelaar
5e9ef56af6 cairo: Fix a clip test to test the right coordinate. r=ehsan,a=gavin
Fixed upstream by 498c10032ea3f8631a928cd7df96766f2c8ddca4
2010-08-17 20:08:57 -04:00
Bas Schouten
40822a9053 Bug 587342: Use the correct content type for fallback surfaces. r=jrmuizel 2010-08-16 09:15:03 +02:00
Bas Schouten
8e08f7907f Bug 587318: Only pad horizontal glyph metrics. r=jdaggett 2010-08-16 09:15:03 +02:00
Bas Schouten
45503c0935 Bug 587316 - Part 4: Support CAIRO_EXTEND_NONE for D2D source surfaces. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
048318af5c Bug 587316 - Part 3: Allow custom operators when doing masking. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
d84bbb3709 Bug 586316 - Part 1: Use MITER_OR_BEVEL to adhere to cairo expected behavior. r=jrmuizel 2010-08-16 09:15:01 +02:00
Bas Schouten
bb134293b4 Bug 587289: Unload D3D10_1.dll at the right place. r=joe a=blocking-beta4+ 2010-08-14 10:18:05 +02:00
Bas Schouten
37823092aa Bug 573229: Part 1 - Allow creating a d2d device from an existing d3d10 device. r=jrmuizel 2010-08-14 08:34:16 +02:00
Robert O'Callahan
052fa3ca37 Bug 522859. Handle unbounded cairo operators properly in the Quartz backend. r=jrmuizel,a=joe 2010-08-13 22:02:47 +12:00
Jeff Muizelaar
12954a0e6e Bug 586348 - [d2d] Device creation has shadow variables that cause problems, r=Bas,joe a=blocking2.0 2010-08-11 18:29:14 -07:00
Bas Schouten
7d11db71da Bug 584539: Part 1 - Allow creating a D2D surface from a DirectX SharedHandle. r=jrmuizel 2010-08-11 02:36:01 +02:00
Bas Schouten
7432b914e6 Bug 580765: Support different compositing operations with D2D. Add cairo_d2d_device_t to make handling this easier. r=jrmuizel 2010-08-11 01:59:51 +02:00
Bas Schouten
07a4b6a535 Bug 580765: Allow const dereferencing for our cairo ref ptr. r=jrmuizel 2010-08-11 01:57:11 +02:00
Bas Schouten
aff9f5a0c8 Bug 580109: Optimize operations that can be executed as a GPU memcpy. r=jrmuizel a=dougt 2010-08-11 01:39:49 +02:00
Jeff Muizelaar
ff12cb537d Bug 584400. cairo: Fix dash arrays with D2D
D2D unexpectedly uses dash lengths with
units of the line width.
2010-08-04 15:00:52 -04:00
Karl Tomlinson
ac5a6eaab0 b=583115 use XCopyArea for operator SOURCE with compatible COLOR_ALPHA surfaces to support simple overlapping self-copies r=jrmuizel
--HG--
extra : rebase_source : 201d9032b9dca80f71e154c68f0724e6826162eb
2010-08-03 13:26:27 +12:00
Jeff Muizelaar
3ba06c07be Bug 518172. cairo: Disable the previous_scaled_font cache. r=karlt
Rotated text was sometimes broken because there was a mismatch of
assumptions between cairo and Gecko about how important it was
for the ctm of a scaled_font to match the ctm of a context. This
temporarily fixes the problem by disabling the previous_scaled_font
cache with bug #583035 tracking a more permanent fix.
2010-08-02 10:00:21 -04:00
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Bas Schouten
97a635578c Bug 583033: We should allow the function to continue for OPERATOR_CLEAR. r=jrmuizel a=blocking-betaN 2010-07-29 21:26:32 +02:00
Bas Schouten
580c850c94 Bug 581089: Make linear gradients work properly for zero length and different extend modes. r=jrmuizel a=blocking-betaN 2010-07-29 18:18:36 +02:00
Bas Schouten
0e9fa1266a 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
7645073e09 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
fd17ad7b52 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
3040b6eb5c 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
2d80e04931 Whitespace fix from changeset 2f270a9da778. 2010-07-19 18:53:47 +02:00
Bas Schouten
d8a0fd4515 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
adbbd32f76 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
6449f02198 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
f535a780b9 Bug 503279: disable spammy 'missing initializer' warning in imported code within gfx. r=jrmuizel 2010-07-13 11:50:18 -07:00
Vladimir Vukicevic
836d2f6c3a b=?; fix make-makefile and cairo-features.h.in hack; r=ted 2010-07-02 11:20:29 -07:00
Oleg Romashin
459e0bf49c 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
fd471e0e0a 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
98338885bc Bug 558467: Expose the image surface cache memory usage for Direct2D. r=jrmuizel 2010-06-30 15:52:00 +02:00
Jacek Caban
f33f058fc4 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
5710ee0da8 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
3baacdf6ed Backout changeset 850ff2cf2868, ba88e35da4e7 due to crash on SVG test 2010-06-22 21:44:03 -04:00
Oleg Romashin
6076bb7e64 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
c91eede928 Bug 573506: Expose GetDC/ReleaseDC on D2D surfaces. r=jrmuizel 2010-06-22 03:10:34 +02:00
Bas Schouten
eef9f8187d 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
8600c06954 Bug 565120: Do not upload partially when not required. r=jrmuizel 2010-06-19 16:32:48 +02:00
Robert O'Callahan
56c8d0b82f 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
73bb827f5f Backed out changeset 598c5f8d295c, due Gdk-CRITICAL **: gdk_x11_visual_get_xvisual 2010-06-18 07:14:57 -04:00
Oleg Romashin
0e69160329 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
de9e7f2d59 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
7c9f77af68 Bug 563255. cairo: PDF-operators: ensure text operations flushed before emitting clip 2010-06-15 15:34:09 -04:00
Jeff Muizelaar
feeba174a7 Bug 563255. cairo: PS: Add missing 'q' when resetting clip path 2010-06-15 15:15:01 -04:00
Oleg Romashin
b502607b06 Bug 545632 - Add 16bpp format support for cairo image surface type. r=jmuizelaar 2010-06-11 04:23:59 -04:00
Oleg Romashin
6ffba3fcd6 Backed out changeset 85335f212ac3, attempt to fix oranges 2010-06-11 08:36:08 -04:00
Oleg Romashin
de03fe6f2e 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
7a2911241a 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
50942e04a9 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
ce097ec76a 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
0ecde635a1 Some whitespace fixes. 2010-06-09 17:50:05 +02:00
Bas Schouten
bf92a528d3 Bug 568495: Do not push cleartype for transparent window surfaces. r=jrmuizel 2010-06-09 17:50:03 +02:00
Benoit Girard
59f7614d8b 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
76a20dbcfd [android] read /proc/cpuinfo for cpu info 2010-05-07 16:48:33 -04:00
Robert O'Callahan
f5015af2c5 Bug 568189. Add patches to list. 2010-06-01 14:09:44 +12:00
Robert O'Callahan
b07718f813 Bug 552537. Add patch to list. 2010-06-01 14:05:55 +12:00
Robert O'Callahan
1c33c7c444 Bug 568189. Implement CGLayer-backed cairo-quartz surfaces. r=jrmuizel 2010-06-01 11:33:23 +12:00
Robert O'Callahan
ca0167498f 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
5454ad4517 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
d36d00181b 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
311d35a5ce Bug 565089 - Allow cairo to build on Android. r=jmuizelaar,ted 2010-05-25 15:21:18 -07:00
Robert O'Callahan
37e523e737 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
d8ed4fd71e 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
f326559331 Backed out changeset b50002597112
--HG--
extra : rebase_source : f22f069a398bc8b3071fe8faaeb4770b0eb7847b
2010-05-19 17:44:58 +12:00
Robert O'Callahan
aa44f33453 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
66128e542c Bug 540999 - Enable SSE2 for pixman on Windows x64 build. r=jmuizelaar 2010-05-12 17:07:19 +09:00
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