Граф коммитов

10601 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Cameron 883ca8cb74 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Nicholas Cameron f296218e72 Bug 718849; patch to keep Skia up to date. r=gw280 2012-07-31 12:58:14 +12:00
Matt Woodrow b2f2cf826e Bug 718849; fix radial gradients in Skia. r=Bas 2012-06-18 15:06:22 +12:00
David Zbarsky c83e9b7631 Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones 2012-07-30 19:20:00 -07:00
David Zbarsky c6b51c42c1 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Ryan VanderMeulen b8013885dc Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Mark Finkle ecceaf8977 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 d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky f8268417e9 Bug 778496 - Layer should store ComputedTimingFunction directly rather than as a pointer r=roc 2012-07-29 18:59:26 -07:00
Nicholas Cameron e9faa0eec1 Backout bug 718849 2012-07-30 11:40:42 +12:00
Nicholas Cameron 52c22cb8c0 Bug 718849; patch to keep Skia up to date. r=gw280 2012-07-30 10:35:54 +12:00
Aryeh Gregor b126f351ee 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 c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Vladimir Vukicevic b300f51d4b b=773071; more incorrect merge fixup for KHR_fence_sync; r=vlad 2012-07-30 11:07:23 -04:00
Ehsan Akhgari 3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor 6800d1c920 Bug 777292 - Switch incorrect nsresult to nsrefcnt; r=ehsan 2012-07-27 17:03:25 +03:00
Matt Woodrow 432188f54f Bug 718849; fix radial gradients to the spec. r=Bas 2012-06-18 15:06:22 +12:00
Bas Schouten 79321c56de Bug 777700 - Part 2: Verify if a cached SourceSurface is still valid. r=jrmuizel 2012-07-28 02:33:08 +02:00
Bas Schouten 6f1c5a20d8 Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel 2012-07-28 02:33:08 +02:00
Benjamin Peterson b91c0c80ef Backout 22eea4925efc for windows failures 2012-07-27 21:47:06 -07:00
Benjamin Peterson f6cc8b9124 Backout 46b27e913ac9 for windows failures 2012-07-27 21:46:51 -07:00
Doug Sherk c0703aff4c Bug 775463: Recognize double tap gestures while still supporting single taps r=cjones 2012-07-27 19:24:24 -07:00
Ryan VanderMeulen 9d08d5e4b5 Backout e0e33c1c7c17 and 3d0fb7ac961a (bug 775463) due to bustage. 2012-07-27 20:46:49 -04:00
Bas Schouten 8f4e48a32e Bug 777700 - Part 2: Verify if a cached SourceSurface is still valid. r=jrmuizel 2012-07-28 02:33:08 +02:00
Bas Schouten 51e730d67d Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel 2012-07-28 02:33:08 +02:00
Doug Sherk 9f42bda621 Bug 775463: Fix a mistake in a comment r=none DONTBUILD 2012-07-27 17:26:14 -07:00
Doug Sherk c1b687af08 Bug 775463: Recognize double tap gestures while still supporting single taps 2012-07-27 17:23:51 -07:00
Oleg Romashin 4445fe5a1f 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 c059fcc5ca Bug 736298 - Remove unused CreateForNativePixmapSurface - r=bjacob 2012-07-27 14:30:38 -07:00
David Zbarsky 3a15cfbf6b Bug 706179 Part 2: Add a BaseTransform to layers r=roc 2012-07-27 13:23:45 -07:00
David Zbarsky 621c1b50c9 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 687786c2e9 Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-27 13:23:44 -07:00
Nicolas Silva 98c9dc075e Bug 775226 - Support CreateDrawTargetForData with Azure's CoreGraphics backend, r=jrmuizel 2012-07-26 14:06:23 -04:00
George Wright c3785e567c Bug 778202 - Filter out -pedantic for the Skia subdirectory. r=jrmuizel 2012-07-27 14:10:36 -04:00
Doug Sherk 713d90ac11 Bug 777264: Remove timer-based repaint throttling r=cjones 2012-07-27 00:33:57 -07:00
Doug Sherk 9ce89e8185 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 de333555a2 Bug 777264: Throttle repaint requests in Gecko panning/zooming r=cjones 2012-07-27 00:33:48 -07:00
David Zbarsky a54523e5c9 [Bug 777657] Fix some opt build warnings r=cjones 2012-07-26 21:02:05 -07:00
Vladimir Vukicevic da5c10dc30 b=773071; use KHR_fence_sync instead of GuaranteeResolve, fixup; r=jgilbert 2012-07-26 21:31:42 -04:00
Kan-Ru Chen 6acbc841d5 Bug 777495 - Fallback to TexImage2D if unable to allocate gralloc buffer. r=cjones 2012-07-27 08:47:14 +08:00
Nicholas Cameron 3e80396ca2 Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow 2012-07-26 14:30:20 +12:00
Nicholas Cameron 952f2e4661 Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron 9c67b116d5 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 0bd7471f44 Bug 748116; refactor DrawTargetCairo::GfxPatternForPattern. r=roc 2012-07-24 22:18:40 +12:00
Nicholas Cameron d450574f99 Bug 748116; Make DrawTargetCairo::DrawSurface work with non-Cairo source surfaces. r=roc 2012-07-24 22:18:39 +12:00
Nicholas Cameron bd78445cca Bug 746883; tidying up some nits I found along the way; r=gw280 2012-04-26 10:04:35 +12:00
Anthony Jones addbceb368 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Anthony Jones 57cabdb240 Bug 764125; fixed crash test fail on gtk caused by null. r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones ce97d078d1 Bug 764125; pretty sure this inverted logic will break something on windows; r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones 48dc33d1b4 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 afe4b54728 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 a75142fe47 Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel 2012-07-24 22:18:38 +12:00
Nicholas Cameron b657d63db8 Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron a09794d38c 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 f7b6bad081 Bug 764125; small Windows Cairo text fix. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron 9bcaf104d6 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Anthony Jones 0d5423973a Bug 764125; implement DrawTargetCairo::CopySurface; r=Bas 2012-07-24 22:18:37 +12:00
Brian R. Bondy 1d1476e115 Bug 770694 - Fix for snapped view windows size. r=bas 2012-07-04 20:36:37 -04:00
James Willcox fa70604fdd 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 e5b55a65ac Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Nicholas Cameron 5c8c9441ba Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow 2012-07-26 14:30:20 +12:00
Nicholas Cameron c934b676bb Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron 3843356847 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 ca6e9953e8 Bug 748116; refactor DrawTargetCairo::GfxPatternForPattern. r=roc 2012-07-24 22:18:40 +12:00
Nicholas Cameron 671b436d44 Bug 748116; Make DrawTargetCairo::DrawSurface work with non-Cairo source surfaces. r=roc 2012-07-24 22:18:39 +12:00
Nicholas Cameron 6f143d9ff2 Bug 746883; tidying up some nits I found along the way; r=gw280 2012-04-26 10:04:35 +12:00
Anthony Jones 0de5f9da76 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Anthony Jones 48ad611564 Bug 764125; fixed crash test fail on gtk caused by null. r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones 9f057a5253 Bug 764125; pretty sure this inverted logic will break something on windows; r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones b789e5aab5 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 fe5b3b94b5 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 078a3b4954 Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel 2012-07-24 22:18:38 +12:00
Nicholas Cameron 2d3a6b04e7 Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron 1292400ee5 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 30018721c2 Bug 764125; small Windows Cairo text fix. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron d671f23535 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Anthony Jones f88cc44619 Bug 764125; implement DrawTargetCairo::CopySurface; r=Bas 2012-07-24 22:18:37 +12:00
George Wright fc3ad7def1 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 2008ba34f4 Bug 776550 - Provide API to start Compositor Parent with external thread/messageloop. r=cjones 2012-07-25 12:47:01 -07:00
Chris Jones f848c91766 Bug 776940: Fix shutdown protocol of shadow OGL layers. r=vlad 2012-07-24 19:46:32 -07:00
Benoit Jacob 303ebaa4a8 Bug 774755 - 7/8 - ANGLE r1242: update README and local patches - no review 2012-07-25 12:13:45 -04:00
Benoit Jacob bcfa6ecfce 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 f74e4d8eb7 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 464b39c0fb 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 81a2926391 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 32588ccc59 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 a2052bb20a 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 3ed23376d4 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 0f498b1d51 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 532a8fed99 Bug 776876 - msvc nullptr fix for GLContextProviderEGL. r=joe 2012-07-25 04:27:00 -05:00
David Zbarsky c31bdbe970 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 6b4c02cd9f 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 ced60d55d3 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 13a40a7a24 Backout c1878d925ef5 (bug 776940) due to leaks on Mac 2012-07-25 17:39:47 +12:00
Chris Jones 42c7cd078e Bug 776940: Fix shutdown protocol of shadow OGL layers. r=roc 2012-07-24 19:46:32 -07:00
Nicholas Cameron 00e35a27df 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 b37801facf Bug 776876- backout patch to try and fix red. r=backout 2012-07-24 15:29:30 -05:00
Jim Mathies 855e96526b Bug 776876 - vc11 nullptr fix for GLContextProviderEGL. r=joe 2012-07-24 15:07:18 -05:00
David Zbarsky be1773d24a Remove trailing semicolons in GeckoContentController, no bug, r=dRdR 2012-07-24 12:12:11 -07:00
Chris Jones 94c70c8ab5 Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc 2012-07-24 12:01:09 -07:00
Jonathan Kew fb06cb14f2 bug 769475 - incorrect font used for italicized Arabic text when font-family is Arial or Times New Roman. r=smontagu 2012-07-23 03:48:26 -04:00
Matt Brubeck 90029e0bf6 Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures 2012-07-23 20:25:51 -07:00
David Zbarsky 33710a6b6d Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-23 17:34:22 -07:00
Chris Jones 77fdc3e6fe Bug 771350, part 2: Use OpenDescriptorForTexturing() in ShadowThebesLayerOGL, where possible. r=BenWa 2012-07-23 16:58:37 -07:00
Chris Jones 83c1ddf4b4 Bug 771350, part 1: Add GLContext::CreateDirectTextureImage and OpenDescriptorForTexturing to more easily support direct texturing without updates. r=vlad 2012-07-23 16:58:37 -07:00
Chris Jones 82f0a71400 Bug 771350, part 0: Remove some dead code to make later patches clearer. r=BenWa 2012-07-23 16:58:35 -07:00
Joshua Cranmer d539846cab Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Oleg Romashin e40d28c591 Bug 774841 - Call SetupLookupFunction for EGL - r=jgilbert 2012-07-23 13:39:29 -07:00
James Willcox 30e0f551ce Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley 320a116efd Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox 752928c2eb Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Aryeh Gregor 65eef91085 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Ed Morley c6ba1ec99f Backout 07cd3d70434c & 9be67e1a7b4f (bug 769475) for failures in arial-arabic.html 2012-07-23 11:01:59 +01:00
Jonathan Kew a363194212 bug 769475 - incorrect font used for italicized Arabic text when font-family is Arial or Times New Roman. r=smontagu 2012-07-23 03:48:26 -04:00
Doug Sherk 64c27116c3 Bug 776226: Implement axis locking when panning along one axis r=roc 2012-07-22 23:49:07 -04:00
Matt Woodrow 1686bde08a Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc 2012-07-23 15:00:37 +12:00
Matt Woodrow bf589f8d22 Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-07-23 15:00:37 +12:00
Matt Woodrow 1a5c93fd0e Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow 9cd0f7f2c4 Bug 741682 - Use nsRegion::ScaleToInsidePixels when computing opaque regions of layers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow 12dbf688b4 Bug 741682 - Add ScaleToInsidePixels and ScaleToNearestPixels to nsRegion. r=roc 2012-07-23 15:00:36 +12:00
Doug Sherk 196cffe61b Bug 776413: Temporary workaround, fix initial displayport on page load. r=gal
This needs to be fixed properly by setting the displayport to a larger area than
just the viewport but before the page has already been loaded. This patch will
mask it to look decent once the page has finished loading and before panning.
2012-07-22 21:51:38 -04:00
Doug Sherk 5f2e57a806 Bug 776226: Improve displayport sizing, account for velocity, and properly clip edges r=cjones 2012-07-22 21:51:23 -04:00
Doug Sherk 3ef8a4e51d Bug 776310: Tune flinging friction and logic in AsyncPanZoomController r=cjones 2012-07-22 21:50:41 -04:00
Doug Sherk d9bf60609b Bug 776149: Fix Gecko panning code to account for time deltas for displacements r=cjones 2012-07-22 21:43:37 -04:00
Doug Sherk a0dd3b1be3 Bug 776203: Add virtual dtor to GeckoContentController r=gal 2012-07-22 13:37:13 -07:00
Ms2ger cb94cc2ce1 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
David Zbarsky 5fef9c6fe5 no bug, avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor in APZ, blanket r=bz 2012-07-20 16:49:12 -04:00
James Willcox 5517ea9fde Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Andreas Gal d76acb8d6a Remove dead code from upload path (bug 775863, r=cjones). 2012-07-20 00:36:19 -07:00
Brian R. Bondy 51186dbf6a Bug 750898 - GFX code for Metro. r=bas 2012-07-17 21:53:28 -04:00
Brian R. Bondy 365c621abf Bug 747377 - Force D2D on in Metro mode. r=bas 2012-07-17 21:53:12 -04:00
Chris Jones fc6d547510 Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
This is a rollup of three separate patches
 - Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
 - Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
 - Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc

--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Doug Sherk 911626890a Bug 750974: Move basic pan/zoom logic into Gecko C++ r=cjones,roc sr=smaug[widget/] 2012-07-19 23:48:25 -07:00
Jonathan Watt 613454044e Bug 775697 - Cancel layer transactions that haven't ended after nsDisplaySVGEffects::PaintAsLayer returns. r=roc. 2012-07-20 00:53:55 -04:00
Chris Jones f28956b0e5 Followup to bug 775436: Fix thinko. r=gal 2012-07-19 21:34:21 -07:00
Jeff Gilbert a695d8ec1c Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob 2012-07-19 21:14:14 -07:00
Steve Fink 6914108ba0 Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
James Willcox 08eb1f216b Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Andreas Gal 4b90ef79db Unbind external buffers by re-binding a dummy texture to work around GL driver issues with unlocking (bug 774530, r=cjones). 2012-07-19 11:40:04 -07:00
cbrocious@mozilla.com 92d9870496 Strip out the progressive upload logic and other unnecessary upload paths from ShadowThebesLayerOGL (bug 775436, r=cjones). 2012-07-19 01:52:45 -07:00
ku.b@gmx.de 78a0b90ff8 Bug 709732 - double color correction with X Color Management 2012-07-18 21:09:13 -04:00
Jeff Gilbert b32dccdd51 merge the backout of cset d4a04cc38326 2012-07-18 15:25:59 -07:00
Jeff Gilbert be91e4f40e Backed out changeset d4a04cc38326 2012-07-18 15:23:47 -07:00
Jeff Gilbert cc1778b63f Bug 774059 - Fix up references to glEGLImageTargetTexture2D - r=bjacob 2012-07-18 14:17:10 -07:00
Jeff Gilbert 8f647b4c56 Bug 774841 - Check the proper extension before using ImageTargetTexture2D - r=bgirard 2012-07-18 13:41:49 -07:00
David Zbarsky 9a61d96c70 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Nicholas Cameron f81c82b671 Bug 767337; remove D3D10_RESOURCE_MISC_GDI_COMPATIBLE flag from D3D10 layer manager. r=roc 2012-07-18 15:02:12 -04:00
Rafael Ávila de Espíndola b1d34774bf Bug 775134 - Remove extra ; r=ehsan.
--HG--
extra : rebase_source : 1d44663679e8f1944649d54608e5e6e6694e88c5
2012-07-18 12:15:47 -04:00
Bas Schouten c6748c7b62 Bug 772726. Part 4: Fix SampleTextTexturesPS(Masked) shaders to premultiply TextColor. r=jrmuizel
--HG--
extra : rebase_source : 76781e7f69db6d47b3ecf8d8c37bac284133c6be
2012-07-18 01:02:08 -04:00
Robert O'Callahan d5e555eeca Bug 772726. Part 2: When BasicLayers is compositing directly to an Azure DrawTarget, Transform3D should handle the destination not having a CurrentSurface. r=mattwoodrow
--HG--
extra : rebase_source : 838f6b643d9ab4ca10a0bf9612eb2081e728288f
2012-07-18 01:02:07 -04:00
Jeff Gilbert dae32c9f56 Bug 774688 - Mark reused buffer as dirty in BasicCanvasLayer - r=bas 2012-07-17 21:27:49 -07:00
Vladimir Vukicevic 098150359d b=773071; use KHR_fence_sync instead of GuaranteedRsolve with EGLImage WebGL; r=jgilbert 2012-07-17 21:20:28 -04:00
Vladimir Vukicevic 3bf3ba878d b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert,r=bjacob 2012-07-06 09:19:27 -04:00
Chris Jones 161b9050f9 Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc 2012-07-17 16:59:45 -07:00
Chris Jones 2949a9f18b Bug 745148, part 8: Implement the little boilerplate-y bits and pieces needed for cross-process compositor. r=ajuma,BenWa 2012-07-17 16:59:45 -07:00
Chris Jones f86571551f Bug 745148, part 7: Create a RefLayer type to temporarily contain a foreign layer subtree during composition. r=BenWa sr=roc 2012-07-17 16:59:45 -07:00
Chris Jones 791fa8f037 Bug 745148, part 6: Allow layer trees to be given IDs so that the referent can be used in another context. r=ajuma sr=roc 2012-07-17 16:59:45 -07:00
Chris Jones 56cbcae7e6 Bug 745148, part 5: Pass the layer tree to ShadowLayersUpdate(). r=ajuma 2012-07-17 16:59:44 -07:00
Chris Jones 493c9592b6 Bug 745148, part 4: Remove duplicated code in Basic*ContainerLayer. r=roc 2012-07-17 16:59:44 -07:00
Matt Woodrow 8f19d77bb2 Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc 2012-07-17 13:03:51 -04:00
Matt Woodrow dab82349ce Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc 2012-07-17 13:03:51 -04:00
Matt Woodrow b095ec8407 Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-07-17 13:03:50 -04:00
Jeff Gilbert 1c23b37d56 Bug 758844 - Requiet gfx/gl code spew - r=bjacob 2012-07-17 08:26:12 -07:00
Kan-Ru Chen 0ca1d23935 Bug 774552 - Draw GraphicBuffer directly. r=roc,BenWa 2012-07-17 10:12:58 +08:00
Marco Castelluccio e45b10608b Bug 774134 - Support S3 texture compression with Mesa drivers - r=bjacob 2012-07-16 11:36:03 -04:00
Rafael Ávila de Espíndola 61a4f26d9c Bug 774016 - Remove extra ;. r=khuey. 2012-07-16 11:01:45 -04:00
Rafael Ávila de Espíndola 87d1365ba3 Bug 774019 - Remove extra ; r=khuey. 2012-07-16 10:59:59 -04:00
Rafael Ávila de Espíndola d34f549c32 Bug 774020 - Remove extra ; r=khuey. 2012-07-16 10:59:15 -04:00
Oleg Romashin 72bbf76294 Bug 728524 - Invalid OP fix. r=jgilbert 2012-07-15 11:11:17 -04:00
Oleg Romashin 85458f3b81 Bug 728524 - Render to shared EGLImage/Texture implementation. r=bgirard,vlad,jgilbert 2012-05-31 21:30:08 -04:00
Oleg Romashin 26b109bb23 Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert 2012-05-31 21:30:08 -04:00
Oleg Romashin 55fbefa166 Bug 728524 - Minor rework for TexImage filter setup. r=bgirard 2012-07-15 11:11:05 -04:00
Nicolas Silva 966f3cd0b1 Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones 2012-07-13 15:38:09 -04:00
Nicolas Silva 08004b7444 Bug 763234 - Use only one compositor thread with OMTC. r=cjones 2012-07-13 11:25:29 -04:00
Jeff Muizelaar 73d47c569b Bug 683243. Dither 16 bit gradients. r=BenWa
This does a 2x2 ordered dither in the same way that Skia does.

One of the things I'm currently unhappy with is that it duplicates
the gradient walker code for 16 bits. We could turn it into a large
macro that does the appropriate things for 16 bit and 32 bit
versions, but that's not particularly appealing.
2012-07-04 11:42:29 -04:00
Jeff Muizelaar ba4ec6e202 Bug 683243. Add a 16 bit pipeline. r=BenWa
This is to support dithering 16 bit gradients with decent performance.
2012-07-11 12:58:17 -04:00
Phil Ringnalda c6b792f900 Back out 0c1f34eb5b93 and 0f987ac28e8c (bug 683243) for Android R2 bustage 2012-07-12 22:27:34 -07:00
Jeff Muizelaar c2bd2a56d1 Bug 683243. Dither 16 bit gradients. r=BenWa
This does a 2x2 ordered dither in the same way that Skia does.

One of the things I'm currently unhappy with is that it duplicates
the gradient walker code for 16 bits. We could turn it into a large
macro that does the appropriate things for 16 bit and 32 bit
versions, but that's not particularly appealing.

--HG--
extra : rebase_source : ef89cd53d68166db825bb993e1262db342ba9b5d
2012-07-04 11:42:29 -04:00
Jeff Muizelaar 2209d71abe Bug 683243. Add a 16 bit pipeline. r=BenWa
This is to support dithering 16 bit gradients with decent performance.

--HG--
extra : rebase_source : cffa90d5959211c8c1953867d85c7799ed52d662
2012-07-11 12:58:17 -04:00
Chris Jones 48b38d12fa Bug 773192: Only proxy drawing to a non-default target in BasicShadowableLayerManager, i.e. drawWindow(USE_WIDGET_LAYERS) for a content context, when the request is same-process. r=ajuma 2012-07-12 14:07:13 -07:00
Chris Jones 34ba9ea047 Bug 765734, part 6: Integrate gralloc buffers into the shadow-layers pipelines. r=gal
--HG--
extra : rebase_source : f7d46aeab3c44d237c8f2ab690caf00f6cd3270d
2012-07-12 05:51:58 -07:00
Chris Jones 3b30cb023b Bug 765734, part 5: Disable texture-upload hacks on b2g. (This code is dead for android currently too, to be removed soon.) r=BenWa
--HG--
extra : rebase_source : d78019d51647bf55ff8bded0f35549100e72dd6c
2012-07-12 05:51:58 -07:00
Chris Jones 54accca6a3 Bug 765734, part 4: Add an RAII helper to open/close SurfaceDescriptors and mark usage of SurfaceDescriptor as ReadOnly or ReadWrite. r=BenWa,nrc sr=roc
--HG--
extra : rebase_source : 34d9f4f021bac540e96b82eceb855c9c2ce59ce6
2012-07-12 05:51:58 -07:00
Chris Jones 1ce07b9102 Bug 765734, part 3: Remove unused code. r=mattwoodrow
--HG--
extra : rebase_source : 9c7f8b54b501ebcc9d3f8e757044b8d3f52d1cd9
2012-07-12 05:51:57 -07:00
Chris Jones 96f961a570 Bug 765734, part 2: Migrate ImageLayers to SurfaceDescriptor. r=mattwoodrow,roc
--HG--
extra : rebase_source : 19fc8b0ae4cfffdf9a098911deac3b48c2f5d768
2012-07-12 05:51:57 -07:00
Chris Jones 14518d6f62 Bug 765734, part 1: Let clients specify capabilities required of cross-process surfaces. Only MAP_AS_IMAGE_SURFACE needed for now. r=roc
--HG--
extra : rebase_source : a2e4411772b4504ce86900826d2dc812dcaa68be
2012-07-12 05:51:57 -07:00
Chris Jones 65d85e0d62 Bug 765734, part 0.2: Remove \r from basic layers files. r=nrc
--HG--
extra : rebase_source : c79a1469e473865a22d83b503c947ef3a6b26889
2012-07-12 05:51:57 -07:00
foo 139e75a64d Bug 772457 - add --disable-webgl, remove --disable-angle, clean up configure.in - r=vladv
Note that MOZ_ANGLE is renamed to MOZ_ANGLE_RENDERER
2012-07-10 22:33:03 -04:00
Benoit Jacob c82578702d Bug 760323 - fix the --disable-webgl build - r=vladv 2012-07-10 22:32:59 -04:00
Ed Morley 0dd4a2cd88 Backout 6087689a0745, 153e82923805, 255445a0a851 (bug 728524) on suspicion of causing bug 772405 2012-07-10 16:06:42 +01:00
Ali Juma 4996e5631f Bug 762101 - Correctly convert from screen coordinates to buffer coordinates in ShadowBufferOGL::Upload. r=cjones 2012-07-10 10:25:17 -04:00
Phil Ringnalda 6e9f5a8a5b Merge mozilla-central to mozilla-inbound 2012-07-09 22:24:44 -07:00
Ryan VanderMeulen a9d0f1da9e Backout a516a86f854d (bug 767064) due to Android M1 orange. 2012-07-09 21:49:50 -04:00
Nathan Froyd bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Vladimir Vukicevic 418b3b2069 b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert 2012-07-06 09:19:27 -04:00
Benoit Girard 1e780ba294 Bug 771219 - Disable progressive painting until Talos correctly measure progressive painting progress. r=ajuma 2012-07-08 11:36:49 -04:00
Benoit Girard fcd43f3bee Bug 771219 - Added a pref for progressive painting. r=ajuma 2012-07-06 14:38:50 -04:00
Benoit Girard a8ab8cd794 Bug 771219 - Implement tile based progressive drawing. r=ajuma 2012-07-06 14:02:10 -04:00
Benoit Girard c150958e8a Bug 771219 - Add Repeatable transactions. r=ajuma 2012-07-06 13:58:01 -04:00
Marshall Culpepper b5ce25615a Bug 749538 - Check 24bpp/RGBX_8888 and 32bpp/RGBA_8888 when validating EGL Contexts. r=vlad 2012-07-07 10:06:59 -04:00
Oleg Romashin 882d7ce2f2 Bug 728524 - Render to shared EGLImage/Texture implementation. r=bgirard,vlad,jgilbert 2012-05-31 21:30:08 -04:00
Oleg Romashin e70c266519 Bug 728524 - Public shared texture API + Canvas impl. r=bgirard,vlad,jgilbert 2012-05-31 21:30:08 -04:00
Oleg Romashin 2fedf5ad53 Bug 728524 - Minor rework for TexImage filter setup. r=bgirard 2012-07-09 21:30:14 -04:00
Jonathan Kew dc6c283e2e backout changeset d9d5d1bd766c (bug 769194) because of crashiness. 2012-07-09 22:47:48 +01:00
Benoit Jacob 9886988040 Bug 760323 - Runtime fails to create WebGL contexts without DirectX End-User Runtime Installed - r=bsmedberg
Load the Direct X runtime programmatically so that the EGL libraries can locate it when running webapprt and the Firefox install dir is not in the DLL load path.
2012-07-07 00:44:48 -04:00
Jeff Gilbert 65e0a44265 Bug 769949 - GuaranteeResolve() must BlitDirtyFBOs() - r=bjacob 2012-07-06 16:38:16 -07:00
Vladimir Vukicevic 7445ad31b2 backout bug 767064, 1f9c66d66df4 2012-07-06 11:08:21 -04:00
Vladimir Vukicevic 80b6e38fcd b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert 2012-07-06 09:19:27 -04:00
Vladimir Vukicevic f362f03946 b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices; r=jrmuizel 2012-07-05 14:34:04 -04:00
Benoit Girard 4f7cbc68fb Bug 770988 - Seperate DumpAsDataURL into MOZ_DUMP_IMAGES. r=ajuma 2012-07-05 14:07:37 -04:00
Phil Ringnalda a0fb5dc0f6 Back out f79077bad960 and 94dd16a365d9 (bug 765150) for bustage 2012-07-05 09:07:18 -07:00
Vladimir Vukicevic 67e29dbd07 b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices -- now with correctly generated shaders include; r=jrmuizel 2012-07-05 11:27:26 -04:00
Benoit Jacob 4a30412000 Bug 769812 - ATI OpenGL driver renders point sprite upside-down - r=jgilbert 2012-07-05 10:13:46 -04:00
Vladimir Vukicevic a84a828387 b=765150, HTML5 video playback shows purple screen on Motorola/Tegra 2 devices; r=jrmuizel 2012-07-05 10:00:23 -04:00
Bill McCloskey 4093aff673 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Bas Schouten b53f135b8d Bug 770033 - Part 3: Deal with extend modes for D2D partial bitmap uploads. r=jrmuizel 2012-07-04 20:23:16 +02:00
Bas Schouten d9db166712 Bug 770033 - Part 2: Add order test for horizontal halfscaling code. r=jrmuizel 2012-07-04 20:21:27 +02:00
Bas Schouten fa540edf39 Bug 770033 - Part 1: Fix shuffling bug in horizontal halfscaling code. r=jrmuizel 2012-07-04 20:21:12 +02:00
Chris Lord 221e96f84e Bug 758620 - Fix abort caused by unchecked clamping. r=ajuma
The initial values set for the offset for fixed position layers could clamp
with a max < min. This was due to a slightly incorrect min, but also because
it should have set these values in the else block of a later if that did a
range check on these values.
2012-07-04 15:56:49 +01:00
Ehsan Akhgari b6ed51525d Merge backout of DLBI from mozilla-central 2012-07-03 20:53:08 -04:00
Ehsan Akhgari 78b833f61a Backout changeset 89f35d1fea6c (bug 539356) because of performance and correctness regressions 2012-07-03 20:32:33 -04:00
Ehsan Akhgari 3c74e1a1e2 Backout changeset 75419010ac02 (bug 539356) because of performance and correctness regressions 2012-07-03 20:31:54 -04:00
Ehsan Akhgari d7b5949095 Backout changeset 2c411daf6633 (bug 539356) because of performance and correctness regressions 2012-07-03 20:27:47 -04:00
Ehsan Akhgari 658ec4eb81 Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions 2012-07-03 20:26:18 -04:00
Ehsan Akhgari 94344ff460 Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions 2012-07-03 20:25:57 -04:00
Ehsan Akhgari cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari 12c6e3a4cf Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions 2012-07-03 20:19:18 -04:00
Ehsan Akhgari 8b3c1f653a Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:11 -04:00
Ehsan Akhgari 4530eaefe9 Backout changeset ef4557011ad3 (bug 539356) because of performance and correctness regressions 2012-07-03 20:13:38 -04:00
Ehsan Akhgari 168fb8fc56 Backout changeset 3f8e99e92344 (bug 539356) because of performance and correctness regressions 2012-07-03 20:11:59 -04:00
Ehsan Akhgari 5eb5d76486 Backout changeset a9ae09d4f1d8 (bug 539356 part 30) because DLBI is being backed out 2012-07-03 19:41:27 -04:00
Oleg Romashin f7eab872d9 Bug 763241 - Add double buffer EGL provider detection by define or permanently. r=jgilbert 2012-07-03 16:50:06 -07:00
Jonathan Kew 847da3363a bug 754452 - use GDI synthetic italic rather than cairo font matrix when it's safe to do so, for better glyph spacing. r=jdaggett 2012-07-03 11:42:07 +01:00
Jonathan Kew d05a119289 bug 765906 - don't ignore boldness when using system fallback fonts. r=jdaggett 2012-07-03 11:35:18 +01:00
Robert O'Callahan cedd410a70 Backout bug 768775 for now 2012-07-02 14:43:37 +12:00
Robert O'Callahan 72530702d9 Bug 768348. Avoid ExtCreatePen failures by avoiding rounding widths and dash lengths down to zero. r=jrmuizel
--HG--
extra : rebase_source : 5231a02af67486dbd0e663d3756ad60fe1483157
2012-07-02 11:49:34 +12:00
Robert O'Callahan 7abd565f63 Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Nicolas Silva 8342254e9a Bug 769294 - Fix crash when trying to dump layers in the console. r=joedrew 2012-06-28 11:23:40 -04:00
Robert O'Callahan f486010303 Bug 539356. Part 30: Call correct HasShadowManager method. Fixing Win mochitest-2 bustage. r=the-wind 2012-07-01 00:21:39 +12:00
Matt Woodrow f132718f0c Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-06-30 15:06:13 +12:00
Matt Woodrow 3ea3ebe3ad Bug 539356 - Part 21 - BasicLayers should always retain content. r=roc 2012-06-30 15:06:13 +12:00
Oleg Romashin 5cbefb95a7 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow f4ee9e6284 Bug 741682 - Disable component alpha layers with BasicLayers. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow 31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow 46e6f3d27b Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow 7aaf9816cd Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow aecbb78694 Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow 2c1238be89 Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc 2012-06-30 15:06:09 +12:00
Matt Woodrow f03cf41652 Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-06-30 15:06:09 +12:00
Jonathan Kew a3f6b9f448 bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett 2012-06-29 12:39:44 +01:00
Nicholas Cameron bc53af744f Bug 768723; Reorganise BasicLayers.cpp into multiple files; r=roc
--HG--
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
extra : rebase_source : aff7ec0b95a70e00149d2d9ea2856f9192dbc7f6
2012-06-29 18:01:34 +12:00
Jonathan Kew f541ef9791 bug 764805 - fix handling of src:local style properties in the GDI backend. r=jdaggett 2012-06-28 10:59:37 +01:00
Martin Stransky ccc6f3119c Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt 2012-06-27 20:15:32 -04:00
Chris Lord 4f6d3716b9 Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-27 16:44:22 +01:00
Chris Lord 737f39fdfa Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Ehsan Akhgari f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Nicholas Cameron fd286a7d52 Bug 768079; mask layers force an intermediate surface for their containers. r=roc 2012-06-27 08:06:32 +12:00
Nicholas Cameron d9405def30 Bug 768079; test for patch. r=roc 2012-06-27 08:06:32 +12:00
Ed Morley 46f74afdf1 Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord 26c38c2908 Bug 758620 - Respect the Layers' anchor points in CompositorParent. r=ajuma
When asynchronously zooming, respect a Layer's anchor point so that it stays in
the correct position.
2012-06-26 14:43:18 +01:00
Chris Lord d68b636b06 Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Jonathan Kew 744969c088 bug 763873 - avoid repeatedly accessing aRanges.Length() within ComputeRanges. r=jdaggett 2012-06-26 09:51:37 +01:00
Nicholas Cameron 0e6b01bba2 Bug 757347; checking the format of images. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron 65d2f251d1 Bug 757346; Use A8 textures (OGL). r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron df04b53eb1 Bug 757346; Use A8 textures (DX9). r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron 162bac1537 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron f1e0596d58 Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron 2b4e7781e6 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 14:43:30 +12:00
Bas Schouten 459b745b39 Bug 765845: Reduce calling frequency of SetTextRenderingParams. r=jrmuizel 2012-06-26 02:59:18 +02:00
Nicholas Cameron 1a825cc2d4 Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron 00ede18308 Bug 757346 followup, actually compile 2012-06-26 10:15:15 +12:00
Nicholas Cameron 90e38cb124 Bug 757347; checking the format of images. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron 52501aeb72 Bug 757346; Use A8 textures (OGL). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron c01cc308b0 Bug 757346; Use A8 textures (DX9). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron eabed73236 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron 841c20e037 Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron 4620356d60 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 09:44:41 +12:00
David Zbarsky e440dca789 Bug 766017 - Fix some skia warnings r=gw280 2012-06-22 13:16:31 -07:00
Nicolas Silva 3de1510717 Bug 761849 - D[OGL] Don't convert video texture to RGBA for better performance on desktoop. r=joe 2012-06-21 16:58:49 -04:00
Jeff Muizelaar 1d94e6d617 Bug 764594. Remove some unneeded calls in the Azure CG backend. r=bgirard
Some old code that was copy-n-pasted but never used.
2012-06-12 21:15:32 -07:00
Jonathan Kew 41d102520b bug 766326 - try Roboto as well as Droid Sans for Android default font. r=blassey 2012-06-21 07:45:55 +01:00
Bas Schouten 8bff902af4 Bug 738189 - Followup: Properly move functions into #ifdef. r=bustage 2012-06-21 00:32:52 +02:00
Bas Schouten a76e2ac169 Bug 761397 - Part 1: Cache ID2D1Layers for D2D Azure backend. r=jrmuizel 2012-06-20 23:41:16 +02:00
Bas Schouten fecc69df4f Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel 2012-06-20 23:41:16 +02:00
Jonathan Kew 8d1e2dedbe bug 763693 - simplify the word-cache telemetry to reduce overhead. r=jdaggett 2012-06-20 20:58:19 +01:00
Jonathan Kew b36614de01 bug 764005 - optimize gfxFontGroup::FindFontForChar for the most common case, and lift array Length() accesses out of other loops in font code. r=smontagu 2012-06-20 20:58:18 +01:00
Jonathan Kew 69145c8e73 bug 763703 - optimize Unicode property lookup and gfxScriptItemizer::Next. r=smontagu 2012-06-20 20:58:18 +01:00
Daniel Holbert c66366d1bd Bug 766666: Remove unused variable 'found' in GLContext.cpp's "RemoveNamesFromArray" function. r=bjacob 2012-06-20 12:40:16 -07:00
David Zbarsky 8122047242 Bug 765989 - Add fail on warnings to some gfx directories r=benwa 2012-06-19 21:12:30 -07:00
Kan-Ru Chen 2f1e76a0a8 Bug 764752 - Choose optimal 2D format based on off-screen format. r=joe
--HG--
extra : rebase_source : 064638dfa5fa4324aa376f794ebf10bf4d6dd2c3
2012-06-20 12:03:24 +08:00
Brad Lassey 9c06940765 bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread, follow up to fix windows builders r=bustage 2012-06-19 17:11:38 -07:00
Brad Lassey 48b3dfcba7 bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread r=joe 2012-06-19 17:05:28 -04:00
Jonathan Watt 9472b0acf9 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Ehsan Akhgari 3d134cafa1 Bug 766000 - CompositionNotifySink needs a virtual destructor; r=roc 2012-06-18 21:19:06 -04:00
Ehsan Akhgari 65884fba1f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Brad Lassey 09ba9f583b bug 765388 - assertion: GL supports OES_EGL_image without supplying its functions r=jrmuizel 2012-06-15 15:06:35 -07:00
Jeff Gilbert bce6d79d2e Bug 729726 - Use BGRA-texture-backed FBOs where available. r=bjacob 2012-06-16 10:01:24 -04:00
Nicholas Cameron 7759178cf7 Bug 765038; fix a Clang compilation bug in Skia; r=jwatt 2012-06-15 11:52:15 +01:00
Benoit Jacob 5530f6649a Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert 2012-06-14 23:16:21 -04:00
Andrew Quartey 9bfac59e1c Bug 764972: Fix typo in GLContext.cpp error message. r=jgilbert 2012-06-14 15:39:57 -07:00