Commit Graph

11266 Commits

Author SHA1 Message Date
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
Matt Woodrow
ae8d4d6dbd Bug 1031948 - Cull points that have w <= 0 when untransforming layer coordinates. r=bjacob 2014-07-08 16:55:42 +12:00
Ehsan Akhgari
073cfcb68f Bug 1034927 - Mention the size of the pointer explicitly in order to work around a clang-cl bug; r=jrmuizel
This works around http://llvm.org/PR20216.
2014-07-07 22:45:37 -04:00
Kartikaya Gupta
c56c0dc33c Bug 1035228 - Refactor FrameMetrics logging so that it's all in one place. r=BenWa 2014-07-07 15:48:16 -04: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
Benoit Jacob
e213bc097e Bug 774388 - Patch 11: Use a plain RunnableFunction to release the ImageBridgeParent singleton - r=mattwoodrow 2014-07-03 14:53:34 -04:00
Benoit Jacob
ac77e0c4ac Bug 774388 - Patch 10: destroy the ImageBridgeChild singleton on the main thread (and sprinkle some assertions) - r=mattwoodrow 2014-07-03 14:53:32 -04:00
Benoit Jacob
0e7c7e1602 Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow 2014-07-03 14:53:31 -04:00
Benoit Jacob
ed54a8ae99 Bug 774388 - Patch 8: Avoid a deadlock between shutdown of CompositorParent and of CompositorThreadHolder - r=mattwoodrow 2014-07-03 14:53:29 -04:00
Benoit Jacob
fc31fa9ac1 Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow 2014-07-03 14:53:28 -04:00
Benoit Jacob
44e6972341 Bug 774388 - Patch 5: Wait for [CrossProcess]CompositorParent's to be gone before we tear down the compositor thread - r=mattwoodrow 2014-07-03 14:53:27 -04:00
Frédéric Wang
a64d2bb38d Bug 961365 - Part 1: Add helper functions to access MATH constants and use them to get the AxisHeight. r=jfkthame 2014-07-01 23:29:00 -04:00
Jeff Muizelaar
aa6588b9fc Bug 1032328. cairo: Don't use __FUNCTION__ as a string literal.
This was upstreamed as 550385fb004e6064305518cf265adc03bd2d0c0b
2014-06-30 14:26:03 -04:00
Kartikaya Gupta
bb7d745b56 Bug 1030245 - When dumping the layers dump, ensure up to 1024 characters of each line in the dump is output. r=BenWa 2014-07-03 09:09:24 -04:00
Jeff Gilbert
1d8a810b76 Bug 1033124 - Use correct and more precise coeffs for YCbCr->RGB conversion. - r=mattwoodrow,r=bas 2014-07-02 17:48:18 -07:00
Sotaro Ikeda
e09126f585 Bug 1032364 - Change gralloc buffer's key to 64bit r=jmuizelaar 2014-07-02 14:45:59 -07:00
Walter Litwinczyk
858dc07f61 Bug 1004375 - Removed use of legacy skia compatible device API - r=gw280 2014-06-24 15:35:07 -07:00
Benoit Girard
25279c0512 Bug 1027362 - Remove the old basic frame counter. r=jrmuizel 2014-07-02 16:38:40 -04:00
Walter Litwinczyk
3f21897692 Bug 701948 - Rename nsIGfxInfo::FEATURE_NO_INFO to nsIGfxInfo::FEATURE_STATUS_OK. r=jgilbert 2014-07-01 14:44:09 -07:00
Mike Hommey
3e73c4399a Bug 1031267 - Fix system cairo builds after bug 1027763. r=jwatt,a=kwierso 2014-07-02 09:15:51 +09:00
Carsten "Tomcat" Book
d321710e2a merge mozilla-inbound to mozilla-central a=merge 2014-07-01 14:01:21 +02:00
Matt Woodrow
38f454048f Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas 2014-07-01 17:52:51 +12:00
Carsten "Tomcat" Book
8f7a5515e1 Backed out changeset c9c8c4ae8e0f (bug 997304) for bustage on a CLOSED TREE 2014-07-01 08:12:19 +02:00
Matt Woodrow
5b4fd19b83 Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas 2014-07-01 17:52:51 +12:00
Bas Schouten
a184daf607 Bug 997304: Allow reading back A8 source surfaces. r=mattwoodrow 2014-07-01 17:52:49 +12:00
Sotaro Ikeda
81ca0bf5b2 Bug 1031527 - remove dup fd from ParamTraits<MagicGrallocBufferHandle>::Read() r=jrmuizel 2014-06-30 16:36:52 -07:00
Jeff Gilbert
ce8367febb Bug 1030934 - Handle a null-frame update. - r=bas 2014-06-30 15:09:55 -07:00
Sotaro Ikeda
da66905f6e Bug 1029856 - Call glClear() before blit composition r= Sushil 2014-06-30 13:01:24 -07:00
Jonathan Kew
ea578b286e bug 1030829 part 2 - preload 'hidden' fonts on FirefoxOS into the user-font cache. r=roc 2014-06-30 19:05:29 +01:00
Jonathan Kew
1e4c61fc8a bug 1030829 part 1 - support 'persistent' entries that will not be flushed from the user-font cache. r=roc 2014-06-30 19:05:28 +01:00
Boris Chiou
f61501591a Bug 1029956 - Fix mLayerRef init for color layers. r=dglastonbury
We didn't initialize the mLayerRef in the constructor of
DebugGLColorData. Just fix it.
2014-06-24 21:42:00 +02:00
Matt Woodrow
f0254899d9 Bug 1028237 - Account for device offset for thebes layer masks. r=roc 2014-06-30 16:26:09 +12:00
Cameron McCormack
54ac31ae11 Bug 1031205 - Make gfxUserFontSet methods take already-parsed language override values. r=jdaggett 2014-06-30 14:25:21 +10:00
Cameron McCormack
10a5f23c40 Bug 1031199 - Disallow aWeight = 0 when calling gfxUserFontSet::AddFontFace. r=jdaggett 2014-06-30 14:25:11 +10:00
Mats Palmgren
b9e51ca2f6 Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
6eab5af9a1 Bug 1028460 - part 1, Implement a mozilla::Sides type that represents a set of sides that can be used for the GetSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
e41382e94d Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
7a89d0eea9 Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
3b120ae783 Bug 1028460 - part 1, Implement a mozilla::Sides type that represents a set of sides that can be used for the GetSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Jonathan Kew
08459e98bb bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett 2014-05-31 08:12:40 +01:00
Masatoshi Kimura
36f358c0e1 Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
Michael Wu
9a2cd7e8a9 Bug 987872 - Update Fira font name for Fira font update, r=jfkthame 2014-05-21 13:16:43 -04:00
Jeff Walden
aab34535ba Bug 953296 - Convert ScopedDeletePtr to UniquePtr in various bits of canvas/graphics/GL code. r=jgilbert
--HG--
extra : rebase_source : cd1e332837ff49199d62805f554bf1123eea334f
2014-01-06 09:49:03 -06:00
John Daggett
f740543c1a Bug 1029307 - remove subscript/superscript metrics. r=heycam 2014-06-28 15:40:36 +09:00
John Daggett
d33f75d674 Bug 1029307 - use fixed subscript/superscript offset ratio instead of font metric values. r=heycam 2014-06-28 15:40:35 +09:00
Chris Peterson
5da76519fe Bug 1031165 - Fix non-unified OS X build's warnings-as-errors in gfx/layers. r=bjacob 2014-06-26 23:36:27 -07:00
Kartikaya Gupta
1002774714 Bug 1031024 - Add a test for canceling fling animations to ensure overscroll is cleared. r=drs 2014-06-27 16:39:27 -04:00
Kartikaya Gupta
a13a30b513 Bug 1031024 - Fix up the OverScrollPanning gtest to actually test overscrolling. r=drs 2014-06-27 16:39:11 -04:00
Jeff Muizelaar
8ae670ea14 Bug 1026596. Add ellipse to bezier helper and use it from SVG. r=bas
This is faster and more accurate. Specifically, the old code
would produce non-monontic segments which was causing rasterization
differences with skia
2014-06-26 16:42:12 -04:00
Jeff Muizelaar
50ce2cab91 Bug 1025133. Be more consistent about rounding colors with the skia backend. r=mwoodrow
--HG--
rename : toolkit/devtools/discovery/tests/moz.build => toolkit/devtools/moz.build
extra : rebase_source : 2db3c43532a30db90326c3903d8fe5c96d077d97
2014-06-18 10:16:30 -04:00
Jonathan Watt
72120fcce3 Backed out changeset a7ea536288e0 (bug 1031267) for bustage.. 2014-06-27 16:58:36 +01:00
Jan Beich
dc7466e983 Bug 1031267 - Fix --enable-system-cairo builds after they were broken by bug 1027763. r=jwatt 2014-06-27 16:29:17 +01:00
Jonathan Kew
0b1642e471 bug 1030067 - ignore the principal when caching data-URI fonts, to allow sharing across pages with the same CSS. r=bzbarsky 2014-06-27 16:19:28 +01:00
Carsten "Tomcat" Book
0a2a0433d2 Merge mozilla-central to mozilla-inbound 2014-06-27 15:51:09 +02:00
Carsten "Tomcat" Book
3a11e77e20 merge mozilla-inbound to mozilla-central a=merge 2014-06-27 15:34:28 +02:00
Sotaro Ikeda
5a9be37586 Bug 1029719 - Release TextureClient on correct thread r=jmuizelaar 2014-06-27 06:26:51 -07:00
Kartikaya Gupta
3b14913c4f Bug 1030221 - Make sure to clear overscroll if we cancel a fling. r=drs 2014-06-26 18:49:11 -04:00
Kartikaya Gupta
9d9a62ac78 Bug 1030221 - Move animation Sample functions into the class definition. r=drs 2014-06-26 18:49:11 -04:00
Kartikaya Gupta
e2defcf402 Bug 1022956 - When fling velocity is high, don't let tap gestures trigger clicks to content. r=drs r=Bas 2014-06-26 18:37:44 -04:00
Sotaro Ikeda
0862f34883 Bug 1026562 - "Always create ImageBridge when OMTC is enabled on gonk". r=nical 2014-06-17 09:41:00 +02:00