Commit Graph

5360 Commits

Author SHA1 Message Date
Benoit Girard
d38270d473 Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
Nicholas Cameron
db90500fee Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron
cacd72e824 Bug 779001. Falling back to Cairo for large canvases. r=roc 2012-07-31 13:46:05 +12:00
Nicholas Cameron
12480ec1e9 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Nicholas Cameron
d8993b1756 Bug 718849; patch to keep Skia up to date. r=gw280 2012-07-31 12:58:14 +12:00
Matt Woodrow
d8981c966e Bug 718849; fix radial gradients in Skia. r=Bas 2012-06-18 15:06:22 +12:00
David Zbarsky
1e9fefd64e Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones 2012-07-30 19:20:00 -07:00
David Zbarsky
06ea1f66f2 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Ryan VanderMeulen
ed3645f4ca Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Mark Finkle
70a01196ec Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580) 2012-07-30 14:36:12 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
a656d3adfe Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc 2012-07-29 18:59:26 -07:00
Nicholas Cameron
e2b2783492 Backout bug 718849 2012-07-30 11:40:42 +12:00
Nicholas Cameron
6d2208c3ad Bug 718849; patch to keep Skia up to date. r=gw280 2012-07-30 10:35:54 +12:00
Aryeh Gregor
9ee902c3ed Bug 777292 - gfx/, widget/: Remove conversions to nsresult that will always result in NS_SUCCEEDED; r=roc 2012-07-27 16:52:43 +03:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Vladimir Vukicevic
bf0ee680e1 b=773071; more incorrect merge fixup for KHR_fence_sync; r=vlad 2012-07-30 11:07:23 -04:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
14f9145bbf Bug 777292 - Switch incorrect nsresult to nsrefcnt; r=ehsan 2012-07-27 17:03:25 +03:00
Matt Woodrow
a4e32aaab0 Bug 718849; fix radial gradients to the spec. r=Bas 2012-06-18 15:06:22 +12:00
Bas Schouten
58584f2ceb Bug 777700 - Part 2: Verify if a cached SourceSurface is still valid. r=jrmuizel 2012-07-28 02:33:08 +02:00
Bas Schouten
69cb6d9312 Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel 2012-07-28 02:33:08 +02:00
Benjamin Peterson
5cf420dd36 Backout 22eea4925efc for windows failures 2012-07-27 21:47:06 -07:00
Benjamin Peterson
627bc81505 Backout 46b27e913ac9 for windows failures 2012-07-27 21:46:51 -07:00
Doug Sherk
4b06950c82 Bug 775463: Recognize double tap gestures while still supporting single taps r=cjones 2012-07-27 19:24:24 -07:00
Ryan VanderMeulen
0a6e3c1d9a Backout e0e33c1c7c17 and 3d0fb7ac961a (bug 775463) due to bustage. 2012-07-27 20:46:49 -04:00
Bas Schouten
6f26f9c15f Bug 777700 - Part 2: Verify if a cached SourceSurface is still valid. r=jrmuizel 2012-07-28 02:33:08 +02:00
Bas Schouten
561e8409f6 Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel 2012-07-28 02:33:08 +02:00
Doug Sherk
4e801b42e1 Bug 775463: Fix a mistake in a comment r=none DONTBUILD 2012-07-27 17:26:14 -07:00
Doug Sherk
42ecca33c0 Bug 775463: Recognize double tap gestures while still supporting single taps 2012-07-27 17:23:51 -07:00
Oleg Romashin
5fcecd68ea Bug 778195 - Add string.h to cover memcpy include and fix build error. r=nrc 2012-07-27 17:51:53 -04:00
Jeff Gilbert
a7225d7ed8 Bug 736298 - Remove unused CreateForNativePixmapSurface - r=bjacob 2012-07-27 14:30:38 -07:00
David Zbarsky
9bf8a70491 Bug 706179 Part 2: Add a BaseTransform to layers r=roc 2012-07-27 13:23:45 -07:00
David Zbarsky
7dcf199c9c Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron 2012-07-27 13:23:45 -07:00
David Zbarsky
12752872fe Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-27 13:23:44 -07:00
Nicolas Silva
062884e98d Bug 775226 - Support CreateDrawTargetForData with Azure's CoreGraphics backend, r=jrmuizel 2012-07-26 14:06:23 -04:00
George Wright
2a90ed1ba7 Bug 778202 - Filter out -pedantic for the Skia subdirectory. r=jrmuizel 2012-07-27 14:10:36 -04:00
Doug Sherk
a178e53bd6 Bug 777264: Remove timer-based repaint throttling r=cjones 2012-07-27 00:33:57 -07:00
Doug Sherk
c1d2060973 Bug 777264: Fix AsyncPanZoomController and Axis to use CSS pixels for dimension checking r=cjones 2012-07-27 00:33:53 -07:00
Doug Sherk
b6a7422619 Bug 777264: Throttle repaint requests in Gecko panning/zooming r=cjones 2012-07-27 00:33:48 -07:00
David Zbarsky
87e7b8b42a [Bug 777657] Fix some opt build warnings r=cjones 2012-07-26 21:02:05 -07:00
Vladimir Vukicevic
9eaaa81dc3 b=773071; use KHR_fence_sync instead of GuaranteeResolve, fixup; r=jgilbert 2012-07-26 21:31:42 -04:00
Kan-Ru Chen
3687e6bf7a Bug 777495 - Fallback to TexImage2D if unable to allocate gralloc buffer. r=cjones 2012-07-27 08:47:14 +08:00
Nicholas Cameron
d11aac3e65 Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow 2012-07-26 14:30:20 +12:00
Nicholas Cameron
7aa563c2b9 Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
97d6423dfa Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas 2012-07-25 12:45:58 +12:00
Nicholas Cameron
f8c9e7b40f Bug 748116; refactor DrawTargetCairo::GfxPatternForPattern. r=roc 2012-07-24 22:18:40 +12:00
Nicholas Cameron
7431825d6f Bug 748116; Make DrawTargetCairo::DrawSurface work with non-Cairo source surfaces. r=roc 2012-07-24 22:18:39 +12:00
Nicholas Cameron
954df98aec Bug 746883; tidying up some nits I found along the way; r=gw280 2012-04-26 10:04:35 +12:00
Anthony Jones
261a342f09 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Anthony Jones
794a22c4b6 Bug 764125; fixed crash test fail on gtk caused by null. r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones
311cf8b3d7 Bug 764125; pretty sure this inverted logic will break something on windows; r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones
dad0321ea6 Bug 764125; Fix canvas 2d.drawImage.5arg and 2d.drawImage.9arg surface scaling tests. r=karl 2012-07-24 22:18:38 +12:00
Nicholas Cameron
bf79e5be56 Bug 764125; Fix a bug where a path with a transform is re-used. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
eb3741be70 Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel 2012-07-24 22:18:38 +12:00
Nicholas Cameron
07975bdcdb Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
a49759020b Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
5bf405f496 Bug 764125; small Windows Cairo text fix. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
bd97a63e70 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Anthony Jones
3671742e95 Bug 764125; implement DrawTargetCairo::CopySurface; r=Bas 2012-07-24 22:18:37 +12:00
Brian R. Bondy
e51fe56eda Bug 770694 - Fix for snapped view windows size. r=bas 2012-07-04 20:36:37 -04:00
James Willcox
93ef7eba01 Bug 776331 - Avoid crash when trying to redraw a destroyed plugin on Android r=josh 2012-07-26 09:39:21 -04:00
Nicholas Cameron
34ba57113f Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Nicholas Cameron
19a20aa645 Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow 2012-07-26 14:30:20 +12:00
Nicholas Cameron
f371c79e75 Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
ffbb6350b0 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas 2012-07-25 12:45:58 +12:00
Nicholas Cameron
eebed30e10 Bug 748116; refactor DrawTargetCairo::GfxPatternForPattern. r=roc 2012-07-24 22:18:40 +12:00
Nicholas Cameron
3d56c18a45 Bug 748116; Make DrawTargetCairo::DrawSurface work with non-Cairo source surfaces. r=roc 2012-07-24 22:18:39 +12:00
Nicholas Cameron
fcb7df5c02 Bug 746883; tidying up some nits I found along the way; r=gw280 2012-04-26 10:04:35 +12:00
Anthony Jones
b155e44e9a Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Anthony Jones
f6ab349a9a Bug 764125; fixed crash test fail on gtk caused by null. r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones
6b3ab9ec43 Bug 764125; pretty sure this inverted logic will break something on windows; r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones
664ebc17a4 Bug 764125; Fix canvas 2d.drawImage.5arg and 2d.drawImage.9arg surface scaling tests. r=karl 2012-07-24 22:18:38 +12:00
Nicholas Cameron
89502e5fd1 Bug 764125; Fix a bug where a path with a transform is re-used. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
ab429c266e Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel 2012-07-24 22:18:38 +12:00
Nicholas Cameron
8a6c2893df Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
8c14bcf660 Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
9805be7dce Bug 764125; small Windows Cairo text fix. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
20c50817cb Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Anthony Jones
e6cdf6cdfe Bug 764125; implement DrawTargetCairo::CopySurface; r=Bas 2012-07-24 22:18:37 +12:00
George Wright
03132e7beb Bug 774728 - Do a null pointer check before using any gradient shaders in DrawTargetSkia r=mattwoodrow
--HG--
extra : rebase_source : 7db2d28692a3cd9cccbd542ca752950f5df90511
2012-07-25 20:11:17 -04:00
Oleg Romashin
d4547e7d36 Bug 776550 - Provide API to start Compositor Parent with external thread/messageloop. r=cjones 2012-07-25 12:47:01 -07:00
Chris Jones
ec5933ed72 Bug 776940: Fix shutdown protocol of shadow OGL layers. r=vlad 2012-07-24 19:46:32 -07:00
Benoit Jacob
566edf06f2 Bug 774755 - 7/8 - ANGLE r1242: update README and local patches - no review 2012-07-25 12:13:45 -04:00
Benoit Jacob
1b6d0f8b86 Bug 774755 - 6/8 - ANGLE r1242: flip y-axis when using ANGLE share handles in D3D10 layers - r=jgilbert
This new ANGLE version reverses the y-axis.
2012-07-25 12:13:45 -04:00
Benoit Jacob
04cc06db27 Bug 774755 - 5/8 - ANGLE r1242: rename one of the two DirectiveHandler.cpp to avoid conflict - r=jgilbert
--HG--
rename : gfx/angle/src/compiler/preprocessor/new/DirectiveHandler.cpp => gfx/angle/src/compiler/preprocessor/new/PreprocessorDirectiveHandler.cpp
2012-07-25 12:13:45 -04:00
Benoit Jacob
952ea36ea4 Bug 774755 - 4/8 - ANGLE r1242: rename one of the two Diagnostics.cpp to avoid conflict - r=jgilbert
--HG--
rename : gfx/angle/src/compiler/preprocessor/new/Diagnostics.cpp => gfx/angle/src/compiler/preprocessor/new/PreprocessorDiagnostics.cpp
2012-07-25 12:13:45 -04:00
Benoit Jacob
ce4326a33d Bug 774755 - 3/8 - ANGLE r1242: reapply/update existing patches - no review
--HG--
rename : gfx/angle/src/compiler/debug.cpp => gfx/angle/src/compiler/compilerdebug.cpp
rename : gfx/angle/src/compiler/debug.h => gfx/angle/src/compiler/compilerdebug.h
2012-07-25 12:13:45 -04:00
Benoit Jacob
8de5dc0d64 Bug 774755 - 2/8 - ANGLE r1242: update our makefiles - r=jgilbert
In particular:
 - ANGLE_USE_NSPR goes away
 - many useless source files removed from libEGL
2012-07-25 12:13:45 -04:00
Benoit Jacob
2a22a3e1f7 Bug 774755 - 1/8 - Update ANGLE to r1242 - no review
--HG--
rename : gfx/angle/src/compiler/compilerdebug.h => gfx/angle/src/compiler/debug.h
2012-07-25 12:13:45 -04:00
Ed Morley
be8bf4beae Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures 2012-07-25 16:37:04 +01:00
Robert O'Callahan
877d5999b3 Bug 768775. Improve the precision of the calculation of the number of stops that need to be added to handle 'repeat' and 'reflect', when we're filling a path. r=bas 2012-07-25 21:35:28 +12:00
Jim Mathies
c71c38119d Bug 776876 - msvc nullptr fix for GLContextProviderEGL. r=joe 2012-07-25 04:27:00 -05:00
David Zbarsky
5e6958ba45 Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron 2012-07-25 01:55:00 -07:00
David Zbarsky
d29cc0cf63 Bug 706179 Part 2: Add a BaseTransform to layers to return the layer's transform without scaling applied r=roc 2012-07-25 01:48:10 -07:00
David Zbarsky
2008ff368b Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-25 01:48:09 -07:00
Robert O'Callahan
228dd8c270 Backout c1878d925ef5 (bug 776940) due to leaks on Mac 2012-07-25 17:39:47 +12:00
Chris Jones
6699a16b74 Bug 776940: Fix shutdown protocol of shadow OGL layers. r=roc 2012-07-24 19:46:32 -07:00
Nicholas Cameron
ed2f5019f3 Bug 775215; remove D3D10_RESOURCE_MISC_GDI_COMPATIBLE. r=Bas
--HG--
extra : rebase_source : bb05c51a4e7f57dc2db0c17cb321160dc619ecb6
2012-07-25 12:28:20 +12:00
Jim Mathies
09402fa5d6 Bug 776876- backout patch to try and fix red. r=backout 2012-07-24 15:29:30 -05:00