Commit Graph

564 Commits

Author SHA1 Message Date
Matt Woodrow
1c5137fd7e Bug 928727 - Don't clear before drawing with OPERATOR_SOURCE in DrawTargetCairo, since we know all required pixels will be clear already. r=jrmuizel 2013-10-22 12:11:30 +02:00
Matt Woodrow
5f2c6517be Bug 928727 - Share code for getting the user-space clip bounds in DrawTargetCairo. r=jrmuizel 2013-10-22 12:11:30 +02:00
Benoit Girard
282410c103 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Benoit Girard
b1ecf84f9d Bug 928123 - Avoid PushGroup during simple FillRect. r=Bas
--HG--
extra : rebase_source : f1beea7a8281ed78ab6eb22373913b0484a5430e
2013-10-17 19:08:20 -04:00
Ryan VanderMeulen
41a335c516 Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE. 2013-10-18 10:21:38 -04:00
Benoit Girard
b48817b2a7 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Matt Woodrow
8a32a82431 Bug 922942 - Update BufferTextureClients using Azure. r=nical 2013-10-16 14:00:30 +13:00
Matt Woodrow
ed0fc0853f Bug 926258 - Implement a Moz2D version of gfxPath. r=Bas 2013-10-15 16:23:21 +13:00
Matt Woodrow
162edd0647 Bug 740598 - Add optimized version of CopyRect for the cairo backend. r=Bas 2013-10-15 14:55:16 +13:00
Matt Woodrow
8660947862 Bug 740598 - Add CopyRect API to Moz2D. r=Bas 2013-10-15 14:55:15 +13:00
Daniel Holbert
3fd31dfa40 Bug 924749: Make loop variable signed-ness match the type they're compared against, to fix signed/unsigned warnings in PathCairo.cpp. r=Bas 2013-10-11 08:55:03 -07:00
Markus Stange
5b20ac846a Bug 902591 - Choose the number of linear gradient repetitions in such a way that the whole extents rect is filled. Substantial parts of the code in this patch were written by roc in bug 508730. r=mattwoodrow
--HG--
extra : rebase_source : d7f99adc56ef4d81e14bf3ece6761dd8d5c476ed
2013-10-11 10:26:40 -04:00
Daniel Holbert
e596753730 Bug 925140: Remove nsAlgorithm.h #includes from gfx/2d. r=tn 2013-10-10 15:18:42 -07:00
Matt Woodrow
a175167f8d Bug 923309 - Don't flush CGContext drawing to the window when we're only meant to be completing any pending drawing. r=Bas 2013-10-10 17:44:09 +13:00
Daniel Holbert
b922a25b2e Backout e67dad88f860 and assertion-count-tweak followups (bug 914919), since including nsDebug.h in gfx/2d causes issues with some skia headers. 2013-10-09 17:03:35 -07:00
Josh Aas
9a290b9f9f Bug 924444: Fix various integer comparison warnings in QuartzSupport.mm. r=mstange 2013-10-09 00:42:26 -05:00
George Wright
3e594cd47b Bug 915145 - Always use soft clipping with Skia r=snorp 2013-10-08 15:05:57 -04:00
Josh Aas
2b83c40b9d Bug 923945: Fix a memory leak when fetching OS X system color space. Also move system color space retrieval code from deprecated Color Manager APIs to Core Graphics. r=mstange 2013-10-07 16:03:19 -05:00
Ms2ger
f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Matt Woodrow
015b0221be Bug 920571 - Followup to copy all the pixel on the last line. r=bustage 2013-09-30 17:14:30 +13:00
Matt Woodrow
67946c1e49 Bug 920571 - Don't read from the trailing stride on the last row of pixels when copying image data in SourceSurfaceCG. r=jrmuizel 2013-09-30 14:42:45 +13:00
Bas Schouten
6e12ca6e4b Bug 918613: Convert cairo path code to use cairo_path_t. r=jrmuizel 2013-09-28 16:20:24 +02:00
Markus Stange
617936ff06 Bug 921132 - Make CopyDataToCairoSurface respect stride. r=ncameron 2013-09-27 17:21:09 +02:00
Markus Stange
73ed2ff64e Bug 912945 - Use aligned data storage for DrawTargetCG. r=jrmuizel 2013-09-27 17:20:28 +02:00
Markus Stange
2af6757ee1 Bug 912944 - Handle different surface formats in Azure CG source surfaces. r=jrmuizel 2013-09-27 17:19:33 +02:00
Markus Stange
33a1835db6 Bug 921501 - Call CGBitmapContextGetHeight when getting the height for Cairo Quartz surfaces. r=Bas 2013-09-27 17:18:05 +02:00
Anthony Jones
65fa5df03c Bug 920847 - Remove gfxSize reference from Azure; r=kats 2013-09-27 14:24:46 +12:00
Anthony Jones
e8c48e7df8 Bug 918138 - Move Borrowed*Context to a separate header file; r=mattwoodrow 2013-09-23 15:28:16 +12:00
Steven Michaud
e2fcdb5476 Bug 884014 - Can't build QuartzSupport with 10.9 SDK. r=bgirard 2013-09-20 10:56:45 -05:00
Anthony Jones
ecaa863490 Bug 740200 - BorrowedContext support for cairo; r=mattwoodrow 2013-09-20 14:00:35 +12:00
Rik Cabanier
67dc12428e Bug 917943 - Fix color-burn and color-dodge blend modes for Direct2D. r=Bas 2013-09-19 14:48:30 -04:00
Phil Ringnalda
2de877323b Backed out 10 changesets (bug 907926, bug 911393, bug 740200, bug 917703) for b2g build bustage
CLOSED TREE

Backed out changeset ae02054863f7 (bug 907926)
Backed out changeset 8fcdbbc2dac2 (bug 917703)
Backed out changeset aa253a1fd7e5 (bug 911393)
Backed out changeset ec63e6d6d874 (bug 907926)
Backed out changeset 0042a2722aab (bug 907926)
Backed out changeset dc8bddfca5f1 (bug 740200)
Backed out changeset 439ff7e64d35 (bug 740200)
Backed out changeset d871c0d61510 (bug 740200)
Backed out changeset 3b248c5a0dc2 (bug 740200)
Backed out changeset 3466e81d3a41 (bug 740200)
2013-09-18 23:08:41 -07:00
Anthony Jones
16051488eb Bug 740200 - BorrowedContext support for cairo; r=mattwoodrow 2013-09-19 16:29:51 +12:00
Ehsan Akhgari
e80a31247c Bug 915735 - Part 0: Stop pulling in all of jsapi.h into gkmedias.dll; rs=bjacob 2013-09-18 16:07:56 -04:00
David Zbarsky
335b06601b [Bug 914955] Fix build warnings in Moz2D r=bas 2013-09-15 14:23:51 -04:00
Corey Ford
f17aaa5a04 Bug 914919 - Downgrade BaseRect::Set*Edge assertions to be non-fatal. r=dholbert 2013-09-11 16:27:14 -07:00
Nathan Froyd
192bc00d31 Bug 913640 - sprinkle MOZ_CONSTEXPR on gfx's typed units to reduce static constructors; r=kats 2013-09-13 12:34:20 -04:00
Corey Ford
bcbedb574b Bug 897105 - Part 1: Add RectTyped::operator== to allow use in IPDL structs. r=roc 2013-09-11 21:09:43 -07:00
Matt Woodrow
5c0ccaac57 Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas 2013-09-11 17:08:53 +12:00
Matt Woodrow
7790f9d502 Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas 2013-09-11 17:08:52 +12:00
Vladan Djeric
dfb99ebe18 Backed out changeset 78f1f02b6b36 (bug 907926) for TART regressions 2013-09-11 13:32:23 -04:00
Vladan Djeric
ea6835bffd Backed out changeset b5d9ee3b3538 (bug 907926) for TART regressions 2013-09-11 13:31:24 -04:00
Kartikaya Gupta
1b7a51767f Bug 909281 - Add some strongly-typed conversion functions for margins and use them in RecordFrameMetrics. r=BenWa 2013-09-11 13:20:43 -04:00
Matt Woodrow
a0360873d9 Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas 2013-09-11 17:08:53 +12:00
Matt Woodrow
7a686f2aeb Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas 2013-09-11 17:08:52 +12:00
Milan Sreckovic
b4d9d2a9b0 Bug 913614 - When the input is invalid, skip the work as we won't get anything useful anyway. r=jmuizelaar 2013-09-06 12:22:20 -07:00
David Zbarsky
07f06dd411 Fix an include guard in gfx/2d, no bug, r=me 2013-09-05 16:50:52 -04:00
Jeff Muizelaar
3a9bb5a9df Bug 897007. Implement ScaledFontMac::GetFontFileData. r=bas
This implements GetFontFileData by reconstructing a truetype font from the
table data.

--HG--
extra : rebase_source : 02a7c5af079854cce02c1e9794a4da6f1fc8bce1
2013-07-24 16:23:57 -04:00
Brian Birtles
d4fe19b1a7 Bug 912305 - Fix documentation of RadialGradientPattern constructor; r=bas, DONTBUILD (comment-only) 2013-09-05 09:59:54 +09:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00