Commit Graph

627 Commits

Author SHA1 Message Date
Oleg Romashin
99eaec58fd Bug 598561 - Don't rename pixman functions when system pixman is in use. r=jmuizelaar a=approval2.0
--HG--
extra : rebase_source : 7b5b80f59973a5d5fb55ae49170776f80284c9ec
2010-10-07 10:49:43 +03:00
Bas Schouten
afde1b864a 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
730f1be9d9 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
d2abe7bc5d 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
c6bbc7508a 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
ebc25954e2 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
81dc3455ad 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
e3ee5915bd Bug 598686: Properly count VRAM for interop surfaces. r=jdrew a=blocking-beta7 2010-09-22 20:00:08 +02:00
Doug Turner
c2a24b4eeb Bug 567750 - Build option to use the system Pixman. r=khuey. a=dougt 2010-09-20 21:16:37 -07:00
Bas Schouten
582d2c590d 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
3d34b91118 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
249569f2dc 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
8ae2d33728 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
8120d23a45 Bug 574976: Follow-up, process one more review comment. r=jrmuizel a=blocking-beta5 2010-08-27 22:24:42 +00:00
Bas Schouten
8382ce93aa 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
5257eb8592 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
af46f7c45f Bug 488851 - Enable SSE2 for pixman r=jmuizelaar, a=joe 2010-08-26 15:54:10 +09:00
Loïc Yhuel
e2ebc7dee3 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
dfcd5d8362 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
fc3a7c6d8b 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
d0a138305c 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
e832974a3e 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
832394c514 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
859fbab273 Bug 587856 - Part 1: Expose D2D surface VRAM usage from cairo device. r=jrmuizel 2010-08-18 05:43:49 +02:00
Jeff Muizelaar
7ed56960b2 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
be04bb141a Bug 587342: Use the correct content type for fallback surfaces. r=jrmuizel 2010-08-16 09:15:03 +02:00
Bas Schouten
7d7234561e Bug 587318: Only pad horizontal glyph metrics. r=jdaggett 2010-08-16 09:15:03 +02:00
Bas Schouten
0e90af301e Bug 587316 - Part 4: Support CAIRO_EXTEND_NONE for D2D source surfaces. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
c1a47676c3 Bug 587316 - Part 3: Allow custom operators when doing masking. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
a0f71a230a 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
cfae18edb4 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
c2dc430b37 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
b77ef45783 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
8f9365bc6e 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
dcd0ee87d8 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
d39a572aa8 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
9c925ac105 Bug 580765: Allow const dereferencing for our cairo ref ptr. r=jrmuizel 2010-08-11 01:57:11 +02:00
Bas Schouten
6d53e198b0 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
73cbe59a21 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
4be01c9897 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
47eafd52d1 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
ef8a1429c9 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
c763b37157 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
d9fafdc2c7 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
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