Commit Graph

11320 Commits

Author SHA1 Message Date
Jonathan Watt
41878fbf80 Bug 933019, part 9 - Remove code for handling Thebes backed gfxContext from various files under gfx/layers/. r=Bas 2014-07-10 10:58:08 +01:00
Jonathan Watt
2b254aad87 Bug 933019, part 5 - Remove code for handling Thebes backed gfxContext from various files under gfx/thebes/. r=Bas 2014-07-10 10:58:07 +01:00
Jonathan Watt
6f6349e6b7 Bug 933019, part 4 - Remove code for handling Thebes backed gfxContext in gfxFont. r=Bas 2014-07-10 10:58:07 +01:00
Jonathan Watt
5e4527446d Bug 933019, part 3 - Remove code for handling Thebes backed gfxContext in gfxDrawable.cpp. r=Bas 2014-07-10 10:58:06 +01:00
Jonathan Watt
3ec7ce74ae Bug 933019, part 1 - Remove the gfxContext(gfxASurface*) constructor. r=Bas 2014-07-10 10:58:06 +01:00
Jonathan Kew
e34b59170c bug 1034230 - handle bad 'seac' in type1 charstring. r=jrmuizel 2014-07-10 10:11:26 +01:00
Ryan VanderMeulen
f2ccb3f197 Merge m-c to inbound. a=merge 2014-07-09 16:16:12 -04:00
Ryan VanderMeulen
a3bf71362e Merge b2g-inbound to m-c. a=merge 2014-07-09 15:56:47 -04:00
Bas Schouten
ec0526fff6 Bug 1035227: Upload partial surfaces when an upload region is specified. r=nical 2014-07-09 16:21:11 +02:00
Carsten "Tomcat" Book
2cfe550739 Merge mozilla-central to b2g-inbound 2014-07-09 16:18:04 +02:00
Sotaro Ikeda
7921c28136 Bug 1036011 - Remove WaitForBufferOwnership() from TextureClientPool::GetTextureClient() r=nical 2014-07-09 07:10:12 -07:00
Carsten "Tomcat" Book
79dd05055c Backed out changeset 0af811dfc164 (bug 754215) 2014-07-09 13:44:16 +02:00
Carsten "Tomcat" Book
467782b7d8 Backed out changeset 091a5ced91cd (bug 1031187) 2014-07-09 13:44:14 +02:00
Carsten "Tomcat" Book
ed60ddd832 Backed out changeset dc4ff3a5afd1 (bug 1031187) 2014-07-09 13:44:11 +02:00
Carsten "Tomcat" Book
23d2987be3 Backed out changeset 30954594c1dd (bug 1031202) 2014-07-09 13:43:51 +02:00
Carsten "Tomcat" Book
26de16d835 Backed out changeset e072a46f0b6a (bug 1027601) for test bustages on a CLOSED TREE 2014-07-09 13:23:08 +02:00
Carsten "Tomcat" Book
63e423f31a Backed out changeset ef24cd472cfb (bug 1027601) 2014-07-09 13:22:50 +02:00
Carsten "Tomcat" Book
b397825902 Backed out changeset ba77f00867e8 (bug 1027601) 2014-07-09 13:22:47 +02:00
Cameron McCormack
8ab4614684 Bug 1031202 - Factor out gfxMixedFontFamily lookup/creation into a helper function. r=jdaggett 2014-07-09 21:04:15 +10:00
Cameron McCormack
09dc53b8b2 Bug 1031187 - Part 2: Use family name from proxy rather than gfxMixedFontFamily when logging. r=jdaggett 2014-07-09 21:04:14 +10:00
Cameron McCormack
96484bfcf1 Bug 1031187 - Part 1: Set mFamilyName eagerly on proxy and non-proxy gfxFontEntrys. r=jdaggett 2014-07-09 21:04:10 +10:00
Jonathan Kew
70d6b866e0 Bug 754215 - Refactor user-font loading code in preparation for lazier downloading. r=jdaggett 2014-07-09 21:03:19 +10:00
Nicolas Silva
957a61cc4e Bug 1027601 - Build fix on a CLOSED TREE 2014-07-09 12:23:38 +02:00
chiajung hung
478539f783 Bug 814524 - Make WebGLContext::TexImage2D avoid readback for video elements, r=jgilbert 2014-07-08 20:52:00 +02:00
Nicolas Silva
5abc8a1100 Bug 1027601 - Create and Allocate TextureClients in a single step in SharedPlanarYCbCrImage. r=sotaro 2014-07-09 11:59:53 +02:00
Nicolas Silva
493025abcd Bug 1027601 - Create and allocate TextureClients in a single step in some cases. r=sotaro 2014-07-09 11:59:49 +02:00
Nicolas Silva
a169d75992 Bug 1035101 - Don't fail when a shared D3D11 texture doesn't have a mutex. r=mattwoodrow 2014-07-09 11:59:45 +02:00
Nigel Babu
7ec2d4644d Backed out changeset bd41dff8f475 (bug 1035168) for Win7 debug crashtest bustage 2014-07-09 08:53:28 +05:30
Matt Woodrow
d3a7611535 Bug 1034247 - Avoid propogating scale factors down to ThebesLayers if it would result in them being larger than the max texture size. r=roc 2014-07-09 14:01:54 +12:00
Matt Woodrow
015ba54b79 Bug 1027107 - Use fallible allocations in gfx::AlphaBoxBlur::Blur. r=Bas 2014-07-09 13:53:51 +12:00
Matt Woodrow
4684fb8f31 Bug 1035168 - Use Map api to check if DataSourceSurfaces have data available in DrawTargetCairo. r=Bas 2014-07-09 13:53:48 +12:00
Sotaro Ikeda
f64669331e Bug 1035281 - Fix potential file descriptor leak problem r=nical 2014-07-08 18:35:42 -07:00
Kartikaya Gupta
ebd95dc8cc Bug 1027593 - Ensure we updated the displayport margins when the scrollable rect changes. r=botond 2014-07-08 18:01:02 -04:00
Benoit Girard
1160cc383d Bug 1035978 - Layers/displaylist dumps don't print newline. r=kats 2014-07-08 17:03:58 -04:00
Kartikaya Gupta
0280fddb89 Bug 1035356 - Make ReceiveInputEvent(InputData...) do in-place modifications of the event to DOM space. r=mstange r=botond 2014-07-08 14:55:52 -04:00
Ehsan Akhgari
277f05b506 Bug 1036542 - Cherry-pick skia commit db5f7bf0 to fix a build failure with clang-cl; r=snorp 2014-07-09 15:29:46 -04:00
Botond Ballo
f84bdd356e Bug 1031067 - Clear overscroll at the end of a pinch. r=kats
--HG--
extra : rebase_source : 2484d2513aab9d9d321fe6d42a1face685b45ba0
2014-07-08 17:07:12 -04:00
CJKu
f2aaf7b5d6 Bug 1023928 - [System][UX] The waiting icon now comes with a dirty dot. r=nical 2014-07-07 07:36:00 -04:00
Kartikaya Gupta
161e23eb39 Bug 1035801 - Switch the tiling logging code from NSPR logging to printf_stderr. r=Cwiiis 2014-07-08 12:38:49 -04:00
Jonathan Kew
9487a7b9ae bug 1035323 - remove redundant null-checks in the DetailedGlyphStore code. r=jdaggett 2014-07-08 14:56:41 +01:00
Jonathan Kew
1ca61e3f75 bug 1035438 - ensure tags are limited to 4 chars in OTS error messages. r=jdaggett 2014-07-08 14:55:51 +01:00
Sotaro Ikeda
b8823a82f6 Bug 1034294 - Fix SharedBufferManagerParent r=nical 2014-07-08 06:46:17 -07:00
Carsten "Tomcat" Book
7d06f9749e Merge mozilla-central to mozilla-inbound 2014-07-08 15:21:16 +02:00
Carsten "Tomcat" Book
58b9019bcb merge mozilla-inbound to mozilla-central a=merge 2014-07-08 14:41:21 +02:00
Markus Stange
1b0667b85b Bug 1020556 - Increase tolerance for scale snapping so that we don't end up with an unnecessary scale factor for pure rotation transforms due to floating point inaccuracies. r=mattwoodrow 2014-07-08 14:07:05 +02:00
Solomon Chiu
6cad679af0 Bug 931733 - Ease vendor porting of HAL_PIXEL_FORMAT_XXX for color format conversion. r=mwu 2014-07-04 02:38:00 +02:00
Wes Kocher
c49880a819 Merge m-c to b2g-inbound 2014-07-07 16:36:57 -07:00
Sushil Chauhan
149b111286 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
80bb9df562 Backed out changeset 476485e3e30a (bug 1034294) for b2g m8 orange on a CLOSED TREE 2014-07-07 11:24:14 -07:00
Jonathan Watt
bb34a53966 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
a5e4281275 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
809ef59398 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
c741cc162f 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
1867da80fd 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
69cbbb2503 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
c197abbada 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
bdbd3f901e 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
5e4c12ade8 Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
e220713899 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
65a2f6fb2d 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
42bd154e02 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
4c5e346edc 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
3755ec3db3 Bug 1034294 - Fix SharedBufferManagerParent 2014-07-07 07:11:40 -07:00
Boris Chiou
2556a7714b 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
0d4536e269 Bug 1034404 - Get rid of the Thebes backed gfxContexts in ThebesLayerD3D9. r=Bas 2014-07-06 00:10:49 +01:00
Benoit Jacob
fd77d782b0 back out bug 774388 and bug 1028383 for intermittent e10s mochitest-2 crashes 2014-07-04 21:24:32 -04:00
Kartikaya Gupta
ec4b613e76 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
4ea6b4a026 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
b610e8849f 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
f20b049b58 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
c2335eafbc 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
1789b9c456 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
0fe7fa15ce 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
00cec16502 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
0611d53832 Bug 774388 - Patch 7: Block the main thread on compositor shutdown - r=mattwoodrow 2014-07-04 14:04:11 -04:00
Benoit Jacob
0c3b567162 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
4d73c7e4a1 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
74f7e4abf8 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
446ca343d1 b=1009960, teach ScopedBindFramebuffer about spilt read/draw framebuffers; r=bjacob 2014-05-13 17:14:53 -07:00
Bas Schouten
74aafcfbac Bug 1029455: Convert TextureSourceD3D9::SurfaceToTexture to use Moz2D as much as possible. r=jrmuizel 2014-07-04 16:58:35 +02:00
Bas Schouten
24c636c143 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
f7dfad8186 Bug 1034584 - Prevent invalid sources to contaminate cairo DrawTargets during painting operations. r=Bas 2014-07-04 16:55:04 +02:00
Sotaro Ikeda
e5768ec626 Bug 1031553 - Create GrallocTextureSourceOGL only when GrallocTextureHostOGL has a gralloc buffer r=nical 2014-07-04 06:16:13 -07:00
Kartikaya Gupta
6350cec6be Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Sotaro Ikeda
cdb7275742 Bug 1033293 - Always use SurfaceFactory_Gralloc for SurfaceStream on gonk r=jgilbert 2014-07-04 03:53:50 -07:00
Sotaro Ikeda
1006f76dda backoug Bug 1034294 - Fix SharedBufferManagerParent r=jgilbert 2014-07-04 03:52:08 -07:00
Sotaro Ikeda
314fa06ff8 Bug 1034294 - Fix SharedBufferManagerParent r=jgilbert 2014-07-04 03:50:01 -07:00
Matt Woodrow
361e3e8a66 Bug 1031948 - Cull points that have w <= 0 when untransforming layer coordinates. r=bjacob 2014-07-08 16:55:42 +12:00
Ehsan Akhgari
6fbf90c4a8 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
1aadf3f804 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
cc8c53aa9b 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
48e3a702de 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
c900095227 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
7189c91e41 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
a3ef412a3f Backed out changeset 3f079d36c620 (bug 1034257) for non-unified bustage. 2014-07-03 20:36:14 -04:00
George Wright
64261a1019 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
34aa55fd73 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
90a225a24d Bug 1027851 - Ensure the displayport size always includes the danger zone. r=Cwiiis 2014-07-03 18:26:03 -04:00
Kartikaya Gupta
7c84621594 Bug 1027851 - Add some more logging for when we abort paints. r=Cwiiis 2014-07-03 18:26:03 -04:00
Benoit Jacob
671c7873ea Bug 774388 - Patch 11: Use a plain RunnableFunction to release the ImageBridgeParent singleton - r=mattwoodrow 2014-07-03 14:53:34 -04:00