Commit Graph

11220 Commits

Author SHA1 Message Date
Wes Kocher
8da319e7ce Merge m-c to b2g-inbound 2014-07-07 16:36:57 -07:00
Sushil Chauhan
b351fc9339 Bug 1027343 - Geometry change flag needs to be set for modified layer tree. r=mattwoodrow 2014-07-07 12:58:26 -07:00
Wes Kocher
ba879022c4 Backed out changeset 476485e3e30a (bug 1034294) for b2g m8 orange on a CLOSED TREE 2014-07-07 11:24:14 -07:00
Jonathan Watt
008f42576c Bug 1034528, part 1 - Get rid of gfxCachedTempSurface and the Thebes backed gfxContext that it creates. r=Bas 2014-07-07 09:05:15 +01:00
Benoit Jacob
83291764d8 Bug 774388 - Patch 14: block on ImageBridgeParent shutdown before we destroy the compositor thread - r=mattwoodrow 2014-07-06 21:30:15 -04:00
Benoit Jacob
d7e86bd929 Bug 774388 - Patch 13: Temporarily addref to prevent destruction during handling of sync Stop message, to avoid triggering the 'mismatched CxxStackFrames' assertion of MessageChannel - r=nical 2014-07-04 14:04:12 -04:00
Benoit Jacob
1d691a18f6 Bug 774388 - Patch 12: make ImageBridgeParent 's refcounting implementation automatically defer destruction to the main thread - r=nical 2014-07-04 14:04:12 -04:00
Benoit Jacob
aa0a4dc9b8 Bug 774388 - Patch 11: Use a plain RunnableFunction to release the ImageBridgeParent singleton - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
a9ec92b672 Bug 774388 - Patch 10: destroy the ImageBridgeChild singleton on the main thread (and sprinkle some assertions) - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
4b4fe1137c Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
994a1c33ce Bug 774388 - Patch 8: Avoid a deadlock between shutdown of CompositorParent and of CompositorThreadHolder - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
ff512281c2 Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
0ca5d63344 Bug 774388 - Patch 5: Wait for [CrossProcess]CompositorParent's to be gone before we tear down the compositor thread - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Jonathan Kew
c59d3d00c4 bug 1034403 - update index to step past the second half of a surrogate pair. r=roc 2014-07-06 12:51:27 +01:00
Bas Schouten
f57a546031 Bug 1029919: Properly do the required composite for unbounded operators even when the fill doesn't intersect the extents. r=jrmuizel 2014-07-07 17:35:26 +02:00
Nicolas Silva
0d4782c58b Bug 1034593 - Teach cairo to not fail at creating oversized masks in case of huge clips. r=jrmuizel 2014-07-07 16:13:16 +02:00
Sotaro Ikeda
1611122d70 Bug 1034294 - Fix SharedBufferManagerParent 2014-07-07 07:11:40 -07:00
Boris Chiou
a4c7b0e9ab Bug 991227 - Replace std::auto_ptr with nsAuto(Array)Ptr in LayerScope. r=dglastonbury
std::auto_ptr causes clang 3.5 build warnings because we shouldn't use
std::auto_ptr in C++ 11 anymore. auto_ptr is deprecated in clang 3.5.
Therefore I replaced all the std::auto_ptrs in LayerScope.cpp.
Note: nsAuto(Array)Ptr should use "new" operator in C++, instead of
moz_malloc() because the destructor of nsAuto(Array)Ptr will call
delete(delete []).
2014-07-05 11:34:00 +02:00
Jonathan Watt
77876f67e4 Bug 1034404 - Get rid of the Thebes backed gfxContexts in ThebesLayerD3D9. r=Bas 2014-07-06 00:10:49 +01:00
Benoit Jacob
6f52581979 back out bug 774388 and bug 1028383 for intermittent e10s mochitest-2 crashes 2014-07-04 21:24:32 -04:00
Kartikaya Gupta
d138da640f Bug 1031494 - Move the FBO texture clamping code so that the OGL CompositingRenderTarget gets the unclamped size. r=BenWa 2014-07-04 20:21:36 -04:00
George Wright
9aab4be30d Bug 1034257 - Implement CreateSourceSurfaceForNativeSurface for Cairo surface types, to enable Xlib surfaces to be drawn properly when using Skia content rendering r=jrmuizel 2014-07-03 17:06:48 -04:00
Benoit Jacob
971f70ff09 Bug 774388 - Patch 13: Temporarily addref to prevent destruction during handling of sync Stop message, to avoid triggering the 'mismatched CxxStackFrames' assertion of MessageChannel - r=nical 2014-07-04 14:04:12 -04:00
Benoit Jacob
697b139b42 Bug 774388 - Patch 12: make ImageBridgeParent 's refcounting implementation automatically defer destruction to the main thread - r=nical 2014-07-04 14:04:12 -04:00
Benoit Jacob
c8f077d791 Bug 774388 - Patch 11: Use a plain RunnableFunction to release the ImageBridgeParent singleton - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
a324886884 Bug 774388 - Patch 10: destroy the ImageBridgeChild singleton on the main thread (and sprinkle some assertions) - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
ddb7144e60 Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow 2014-07-04 14:04:12 -04:00
Benoit Jacob
1a401f1558 Bug 774388 - Patch 8: Avoid a deadlock between shutdown of CompositorParent and of CompositorThreadHolder - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
53048ad033 Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
822d032d51 Bug 774388 - Patch 5: Wait for [CrossProcess]CompositorParent's to be gone before we tear down the compositor thread - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Vladimir Vukicevic
f1e3bb166d b=1010371; Update ANGLE; r=upstream
--HG--
rename : gfx/angle/src/compiler/64bit-lexer-safety.patch => gfx/angle/src/compiler/translator/64bit-lexer-safety.patch
rename : gfx/angle/src/compiler/ExtensionBehavior.h => gfx/angle/src/compiler/translator/ExtensionBehavior.h
rename : gfx/angle/src/compiler/InitializeDll.h => gfx/angle/src/compiler/translator/InitializeDll.h
rename : gfx/angle/src/compiler/InitializeGlobals.h => gfx/angle/src/compiler/translator/InitializeGlobals.h
rename : gfx/angle/src/compiler/InitializeParseContext.h => gfx/angle/src/compiler/translator/InitializeParseContext.h
rename : gfx/angle/src/compiler/MMap.h => gfx/angle/src/compiler/translator/MMap.h
rename : gfx/angle/src/compiler/PoolAlloc.h => gfx/angle/src/compiler/translator/PoolAlloc.h
rename : gfx/angle/src/compiler/Pragma.h => gfx/angle/src/compiler/translator/Pragma.h
rename : gfx/angle/src/compiler/QualifierAlive.h => gfx/angle/src/compiler/translator/QualifierAlive.h
rename : gfx/angle/src/compiler/RemoveTree.h => gfx/angle/src/compiler/translator/RemoveTree.h
rename : gfx/angle/src/compiler/generate_parser.sh => gfx/angle/src/compiler/translator/generate_parser.sh
rename : gfx/angle/src/compiler/glslang.h => gfx/angle/src/compiler/translator/glslang.h
rename : gfx/angle/src/libGLESv2/renderer/IndexBuffer11.h => gfx/angle/src/libGLESv2/renderer/d3d11/IndexBuffer11.h
rename : gfx/angle/src/libGLESv2/renderer/IndexBuffer9.h => gfx/angle/src/libGLESv2/renderer/d3d9/IndexBuffer9.h
rename : gfx/angle/src/libGLESv2/renderer/ShaderExecutable9.h => gfx/angle/src/libGLESv2/renderer/d3d9/ShaderExecutable9.h
rename : gfx/angle/src/libGLESv2/renderer/SwapChain9.h => gfx/angle/src/libGLESv2/renderer/d3d9/SwapChain9.h
rename : gfx/angle/src/libGLESv2/renderer/VertexDeclarationCache.h => gfx/angle/src/libGLESv2/renderer/d3d9/VertexDeclarationCache.h
rename : gfx/angle/src/libGLESv2/renderer/shaders/Blit.vs => gfx/angle/src/libGLESv2/renderer/d3d9/shaders/Blit.vs
2014-07-04 11:49:25 -04:00
Vladimir Vukicevic
6b6d72d91a b=1009965, be explicit about whether we're quering for core GL symbols or extension GL symbols; r=bjacob,jrmuizel 2014-05-13 17:18:42 -07:00
Vladimir Vukicevic
ce9d926577 b=1009960, teach ScopedBindFramebuffer about spilt read/draw framebuffers; r=bjacob 2014-05-13 17:14:53 -07:00
Bas Schouten
ca94927c11 Bug 1029455: Convert TextureSourceD3D9::SurfaceToTexture to use Moz2D as much as possible. r=jrmuizel 2014-07-04 16:58:35 +02:00
Bas Schouten
90f393f0d7 Bug 1028491: Try to create a reasonable size surface when surface creation fails, otherwise OOM abort. r=jrmuizel 2014-07-03 22:20:08 +02:00
Nicolas Silva
20a8bbb6ab Bug 1034584 - Prevent invalid sources to contaminate cairo DrawTargets during painting operations. r=Bas 2014-07-04 16:55:04 +02:00
Sotaro Ikeda
4818799f64 Bug 1031553 - Create GrallocTextureSourceOGL only when GrallocTextureHostOGL has a gralloc buffer r=nical 2014-07-04 06:16:13 -07:00
Kartikaya Gupta
737bb4f80d Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Sotaro Ikeda
90fbd7b166 Bug 1033293 - Always use SurfaceFactory_Gralloc for SurfaceStream on gonk r=jgilbert 2014-07-04 03:53:50 -07:00
Sotaro Ikeda
075c38a2ed backoug Bug 1034294 - Fix SharedBufferManagerParent r=jgilbert 2014-07-04 03:52:08 -07:00
Sotaro Ikeda
5f22a7eebf Bug 1034294 - Fix SharedBufferManagerParent r=jgilbert 2014-07-04 03:50:01 -07:00
Nicolas Silva
1a0d677506 Bug 1019000 - Ensure that successfully write-locked D3D TextureClients provide a valid DrawTarget. r=mattwoodrow 2014-07-04 10:26:14 +02:00
Boris Chiou
56aa721508 Bug 975346 - Part 2: Support LayerScope for HwcComposer2D. r=dglastonbury
1. Retrieve buffer from GPU.
2. Refactor - use SenderHelper class to manage the Sender
   static function structure.
2014-07-03 01:17:00 +02:00
Boris Chiou
fc4b3f1b0b Bug 975346 - Part 1: General functions for Effects. r=dglastonbury
1. Support GenEffectChain() for LayerComposite.
   Each layer can use this API to gen the
   EffectChain (only primary effect now)
2. Support GenEffect() for CompositableHost.
3. Move AutoLock to compositeHost.
2014-06-22 19:06:00 +02:00
Ryan VanderMeulen
133741f11d Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Ryan VanderMeulen
ab939fdfed Backed out changeset 3f079d36c620 (bug 1034257) for non-unified bustage. 2014-07-03 20:36:14 -04:00
George Wright
e0c922aa9f Bug 1034257 - Implement CreateSourceSurfaceForNativeSurface for Cairo surface types, to enable Xlib surfaces to be drawn properly when using Skia content rendering r=jrmuizel 2014-07-03 17:06:48 -04:00
Kartikaya Gupta
8420d55ed6 Bug 1033398 - Ensure we request composites while overscroll is being reduced by touch input. r=drs 2014-07-03 18:26:04 -04:00
Kartikaya Gupta
6d6d1f8b40 Bug 1027851 - Ensure the displayport size always includes the danger zone. r=Cwiiis 2014-07-03 18:26:03 -04:00
Kartikaya Gupta
2869230bc5 Bug 1027851 - Add some more logging for when we abort paints. r=Cwiiis 2014-07-03 18:26:03 -04:00