Commit Graph

17190 Commits

Author SHA1 Message Date
Dan Glastonbury
e3cdc514c4 Bug 1048668 - WebGL2 - Implement CopyBufferSubData.; r=jgilbert
--HG--
extra : source : b4c58b9519fc35c634d2a912f3900605ccc081a3
2014-05-27 20:13:09 +10:00
Kartikaya Gupta
0618623a77 Bug 1068268 - Remove redundant MOZ_COUNT_[CD]TOR macros in AsyncPanZoomController. r=botond 2014-09-20 22:27:17 -04:00
Kartikaya Gupta
279596b4fc Bug 1068268 - Properly set the next-sibling pointer of an APZC when it is a child of a multi-layer APZ. r=botond 2014-09-20 22:27:16 -04:00
Walter Litwinczyk
bfbc3e3904 Bug 1036068 - Update ANGLE to chromium/2151. r=jrmuizel 2014-09-19 16:35:54 -07:00
Kartikaya Gupta
1c553d5b56 Bug 1068802 - Some small logging tweaks. r=botond 2014-09-19 09:33:54 -04:00
Kartikaya Gupta
73680e4f09 Bug 1068802 - Clear the callback transform when the scroll update acknowledgement reaches the content side. r=botond 2014-09-19 09:33:53 -04:00
Walter Litwinczyk
d9523fe883 Bug 1065032 - [Skia] Remove Moz2D requirement for SK_SUPPORT_LEGACY_GETTOPDEVICE. r=gw280 2014-09-18 13:13:53 -07:00
Dan Glastonbury
8cdd97be95 Bug 1048666 - WebGL2 - Implement ClearBufferXXX APIs.; r=jgilbert,bjacob
--HG--
extra : source : ba4e3272249d44f13d3923342be5916a5dc8519e
2014-09-18 10:17:00 +10:00
Bas Schouten
3022f3b91f Bug 1069592: Annotate several more Direct2D errors. r=jrmuizel 2014-09-19 00:01:25 +02:00
Bas Schouten
b80e27d67f Bug 1069584: Bail if a cairo surface is in an invalid state. r=jrmuizel 2014-09-19 00:01:24 +02:00
Kartikaya Gupta
06de9dc362 Bug 1056423 - Follow-up to fix build bustage on a CLOSED TREE. r=me 2014-09-18 13:46:47 -04:00
Kartikaya Gupta
e2f9998656 Bug 1056423 - Adjust scrollbar clip rect also when accounting for async transform. r=botond 2014-09-18 13:19:20 -04:00
Tom Tromey
810778e19b Bug 1069371 - Fix typo in call to PROFILER_LABEL. r=BenWa 2014-09-18 08:05:00 -04:00
Jonathan Kew
313a75d924 Bug 1067343 - Check that mAvailableFonts[i] is non-null before trying to use it. r=jdaggett 2014-09-18 10:48:00 +01:00
Markus Stange
5b1c77960e Bug 944836 - Implement nsChildView::UpdateWindowDraggingRegion. r=roc, r=smichaud 2014-09-18 10:52:30 +02:00
Ryan VanderMeulen
41c82d525f Backed out changeset 0cc9fcdca191 (bug 1068195) for Windows crashtest asserts.
CLOSED TREE
2014-09-17 20:47:35 -04:00
Bas Schouten
7a91965ba7 Bug 1068613 - Addendum 4: Fix bustage due to stray character. r=bustage on a CLOSED TREE 2014-09-18 01:40:13 +02:00
Bas Schouten
086cbf0103 Bug 1068613 - Addendum 3: Fix bustage due to stray character. r=bustage on a CLOSED TREE 2014-09-18 01:04:07 +02:00
Bas Schouten
3c9983b9cc Bug 1068613 - Addendum 2: Fix bustage due to stray character. r=bustage on a CLOSED TREE 2014-09-18 00:35:48 +02:00
Bas Schouten
8e86fc0d5c Bug 1068613 - Addendum: Fix bustage in ASAN builds. r=bustage on a CLOSED TREE 2014-09-18 00:25:23 +02:00
Ehsan Akhgari
cff5b616df Bug 1068193 - Use the correct return type for Factory::CreateWrappingDataSourceSurface; r=jrmuizel 2014-09-17 17:55:17 -04:00
Ehsan Akhgari
27838f10b2 Bug 1068195 - Fix an invalid MOZ_ASSERT in moz2d code, asserting the value of a constant string pointer; r=jrmuizel 2014-09-17 17:54:43 -04:00
Ehsan Akhgari
bb964f77e9 Bug 1068022 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-09-17 17:54:13 -04:00
Bas Schouten
01be2f7434 Bug 1068613 - Part 4: Log failures in CairoCreateSimilar. r=jrmuizel 2014-09-17 23:23:09 +02:00
Nicolas Silva
fbfe674e91 Bug 1068613 - Part 3: Log failures in D2D, D2D 1.1 and the D3D11 TextureClient. r=bas 2014-09-17 23:23:09 +02:00
Nicolas Silva
4140f5cec4 Bug 1068613 - Part 2: Add an ErrorReporter that appends the error to app notes in the crash report. r=bas 2014-09-17 23:23:08 +02:00
Nicolas Silva
4529e9a4ce Bug 1068613 - Part 1: Add gfxCriticalError() log to Moz2D. r=bas 2014-09-17 23:23:02 +02:00
Walter Litwinczyk
842809f16f Bug 933530 - Remove mDataIsCurrent from SharedSurfaceGL. r=jgilbert 2014-09-12 11:37:58 -07:00
Robert Longson
5a0cd66f24 Bug 1068590 - gfxWindowsPlatform does not build on WinXP. r=bas 2014-09-17 18:35:00 +01:00
Jeff Gilbert
301271b198 Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Jonathan Watt
038b7a5ff6 Bug 1067998 - Fix OOM crash in gfxAlphaBoxBlur::Init on large blur surface. r=Bas 2014-09-17 08:46:42 +01:00
Wes Kocher
725423ccde Merge inbound to m-c a=merge 2014-09-16 17:06:43 -07:00
Milan Sreckovic
2e1656b886 Bug 1048984.2: mOutstandingClients could have been temporarily incorrect in GetTextureClient() call. Call ShrinkToMaximumSize() instead of ShrinkToMinimumSize() in ReturnDeferredClients(). Also add comments and more asserts around outstanding clients. r=nsilva 2014-09-16 10:13:52 -04:00
Milan Sreckovic
d29d7cffb8 Bug 1048984.1: Utility methods for managing texture pool returns. Make sure tiles go back to the correct pool. r=nsilva 2014-09-16 10:07:46 -04:00
Carsten "Tomcat" Book
fce6c75436 Merge m-c to b2g-inbound 2014-09-16 07:10:24 +02:00
Wes Kocher
196212ea47 Merge m-c to b-i a=merge 2014-09-15 16:47:02 -07:00
Max Vujovic
96f61369bf Bug 1066818 - Fix incorrect equation in hue-rotate matrix. r=mstange 2014-09-15 10:10:13 -07:00
Jonathan Watt
c6416e4f55 Bug 1067222 - Make the gfxPattern code much easier to understand (by giving variables meaningful names, adding comments, and integrating the mysterious AdjustTransformForPattern into gfxPattern::GetPattern). r=Bas 2014-09-15 16:24:03 +01:00
Ehsan Akhgari
e558587ded Bug 1067404 - Do not expect a copysign function to be defined in <cmath> with clang-cl; r=upstream
clang-cl defines __cplusplus to 201103L, but it uses the runtime library
provided by MSVC, so the copysign function will not be available there.

Review URL: https://codereview.chromium.org/526813002
2014-09-15 11:03:14 -04:00
Sotaro Ikeda
ef31fc9a53 Bug 1065492 - Fix a stride when using android::ColorConverter r=nical 2014-09-15 06:30:40 -07:00
Botond Ballo
37e83036c0 Bug 1066259 - Change Axis to operate in Screen pixels where possible. r=kats
--HG--
extra : rebase_source : c31c5a16e46eb79c64fd6e6d42c1d84f4718c2fe
2014-09-12 17:46:31 -04:00
Jonathan Watt
904d9ad030 Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas 2014-09-15 12:10:30 +01:00
Rik Cabanier
91998dcf59 Bug 1047477 - "Add support for all blend mode to feBlend". r=longsonr r=bz 2014-09-12 16:32:00 +02:00
Seth Fowler
7d3ef1ca8c Bug 1054079 (Part 1) - Add a way to check if it's safe to render content to data surfaces to gfxPlatform. r=mattwoodrow 2014-09-14 15:22:44 -07:00
Bas Schouten
0d7ec6e891 Bug 1066465: Fixup DrawTargetD2D1::DrawFilter to respect the AA mode and Finalize properly. r=jrmuizel 2014-09-14 23:52:47 +02:00
Bas Schouten
f19f69071d Bug 1066463: Have DrawTargetD2D1::DrawSurface take the transform into account when doing a partial upload. r=jrmuizel 2014-09-14 23:52:46 +02:00
Bas Schouten
be2a4f66d0 Bug 1066679: Make DrawTargetDWrite::GetPathsForGlyphs recognize D2D 1.1. r=jrmuizel 2014-09-14 23:52:46 +02:00
Bas Schouten
cd7a317e2d Bug 1066677: Pass on D2D 1.0 as a fallback when using D2D1.1. r=BenWa 2014-09-14 23:52:41 +02:00
Bas Schouten
a1d2b56b80 Bug 1066676: Make DrawTargetD2D1::DrawSurface respect the interpolation mode. r=jrmuizel 2014-09-14 23:51:35 +02:00
Bas Schouten
10b9d90c51 Bug 1066673: Change DrawTargetD2D1::DrawSurfaceWithShadow to operate as per Canvas spec. r=jrmuizel 2014-09-14 23:51:35 +02:00
Bas Schouten
0920068608 Bug 1066670: Deal with a failed brush creation by drawing transparent black. r=jrmuizel 2014-09-14 23:51:34 +02:00
Bas Schouten
fe58303a8a Bug 1066668: Do not attempt to interop with D2D 1.1 inside D2D 1.0. r=jrmuizel 2014-09-14 23:51:34 +02:00
Bas Schouten
4ba13663b0 Bug 1066254: Make the temporary surface used in DrawTargetD2D1 always be transparent. r=jrmuizel 2014-09-14 23:51:33 +02:00
Bas Schouten
13a84d0119 Bug 1066153: Fail to create DrawTargetD2D1 over the maximum size. r=jrmuizel 2014-09-14 23:51:33 +02:00
Bas Schouten
4d29892a28 Bug 1066147: Clear new DrawTargets upon creation in D2D 1.1 backend. r=jrmuizel 2014-09-14 23:51:33 +02:00
Bas Schouten
f6403ab99a Bug 1064104: Workaround bug in D2D 1.1 addressing mode. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
de9ee8155b Bug 1066144: Accept D2D paths for D2D 1.1 backends. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
64f3ad8a8a Bug 1066142: Respect AntiAlias mode in Direct2D 1.1 backend. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
fc70e272bb Bug 1062412: Support blending composition operations in D2D 1.1. r=jrmuizel 2014-09-14 23:51:31 +02:00
Bas Schouten
8e9803a615 Bug 1066138: Disable using TextureClientD3D11 for A8 surfaces and fix various TextureClientD3D11 A8 bugs. r=jrmuizel 2014-09-14 23:51:31 +02:00
Bas Schouten
66065c5223 Bug 1066132: Fix SourceSurfaceD2D1::DrawTargetWillChange() to not null out mDrawTarget itself. r=jrmuizel 2014-09-14 23:51:30 +02:00
Bas Schouten
e7bf98a6a7 Bug 1060963: Correctly deal with adjusted Source rectangle in DrawTargetD2D1::DrawSurface. r=jrmuizel 2014-09-14 23:51:30 +02:00
Bas Schouten
5503ad618b Bug 1060588: Use PushClipRect when possible in ClipToRegionInternal. r=jrmuizel 2014-09-14 23:51:30 +02:00
Bas Schouten
ef8f8d4d27 Bug 1060960: Fix D2D 1.1 backend's ClearRect to deal with transforms and complex clips. r=jrmuizel 2014-09-14 23:51:29 +02:00
Bas Schouten
5a5f0bf600 Bug 1060951: Properly unset the transform when doing the custom blend in FinalizeDrawing. r=jrmuizel 2014-09-14 23:51:29 +02:00
Bas Schouten
da9e50c160 Bug 1060950: Call PrepareForDrawing before GetImageForSurface. r=jrmuizel 2014-09-14 23:51:28 +02:00
Bas Schouten
27762727a0 Bug 1066417: Add Direct2D 1.1 to the list op backends that don't like OP_SOURCE. r=mattwoodrow 2014-09-14 23:51:28 +02:00
Bas Schouten
8c3ba1fd9c Bug 1060953: Fix reference cycle between DrawTargetD2D1 and SourceSurfaceD2D1. r=jrmuizel 2014-09-14 23:51:28 +02:00
Matt Woodrow
b1adcf8934 Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas 2014-09-14 23:51:27 +02:00
Matt Woodrow
f82a8dfeee Bug 1046550 - Part 2: Allow creating D2D 1.1 DrawTargets for D3D11 textures. r=bas 2014-09-14 23:51:27 +02:00
Bas Schouten
00d3edd7d3 Bug 1046550 - Part 1: Add content device to gfxWindowsPlatform. r=mattwoodrow 2014-09-14 23:51:27 +02:00
Bas Schouten
89390bcff9 Bug 1066811: Add a SupportsD2D1() method to the Moz2D factory. r=jrmuizel 2014-09-14 23:51:26 +02:00
Matt Woodrow
1bf2884b6f Bug 1054838, part 4 - Stop using the gfxASurface ctor for gfxPattern in gfxWindowsNativeDrawing. r=Bas 2014-09-14 10:58:56 +01:00
Matt Woodrow
80a01d06fa Bug 1054838, part 3 - Convert gfxPattern to Moz2D. r=Bas 2014-09-14 10:58:56 +01:00
Matt Woodrow
5056e93044 Bug 1054838, part 2 - Remove callers of DrawTarget::Mask. r=Bas,jwatt 2014-09-12 08:20:12 +01:00
Matt Woodrow
810fbe5243 Bug 1054838, part 1 - Remove dead code supporting cairo_surface_t wrapping gfxPattern. r=Bas 2014-09-14 10:58:55 +01:00
James Willcox
688cd17359 Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
a2cd642ccd Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Walter Litwinczyk
f55b9ef43b Bug 806301 - Fail early if creating an antialiased buffer will fail. Prevents assert in LLVM pipe. r=jgilbert 2014-08-21 14:59:25 -07:00
Botond Ballo
c7931a8a6d Bug 1065008 - Consider the shadow transform when computing the opaque rect to use for culling. r=roc
--HG--
extra : rebase_source : 2b162f272016193e2af3316c9f18d37125050863
2014-09-11 13:49:38 -04:00
Kartikaya Gupta
e1347f588f Bug 1053766 - Gtests for state change notifications. r=botond 2014-09-12 11:41:28 -04:00
Kartikaya Gupta
c5a974fa18 Bug 1053766 - Use the statechange notification blocker to avoid some transient notifications. r=botond 2014-09-12 11:40:21 -04:00
Kartikaya Gupta
1a41b340db Bug 1053766 - Add a StateChange notification blocker to APZC. r=botond 2014-09-12 11:39:56 -04:00
Kartikaya Gupta
a39f9fd831 Bug 1066421 - Make APZStateChange a regular enum instead of a fake enum class. r=botond 2014-09-12 11:39:32 -04:00
Nicolas Silva
15bd6a66e3 Bug 1060703 - Use XPCOM's event loop instead of chromium's in NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION. r=bjacob 2014-09-12 12:00:18 +02:00
Matt Woodrow
384ef32e14 Bug 1044702 - Use Moz2D source clipping when we can. r=Bas
--HG--
extra : rebase_source : 24eb333909db5278ff1a8babf9b4b907650695fa
2014-09-12 17:18:21 +12:00
Matt Woodrow
004810cf46 Bug 1062723 - Part 6: Implement source clipping for DrawTargetD2D1. r=Bas
--HG--
extra : rebase_source : bd1c022efe0548a9e7860fb18d6aced33ddad40f
2014-09-12 17:18:22 +12:00
Matt Woodrow
f88faad335 Bug 1062723 - Part 5: Implement source clipping for DrawTargetD2D. r=Bas
--HG--
extra : rebase_source : d1d1a33f3007f92055488d79c6cdc039efe48a25
2014-09-12 17:19:23 +12:00
Matt Woodrow
c336e18dee Bug 1062723 - Part 4: Implement source clipping for DrawTargetSkia. r=gw280
--HG--
extra : rebase_source : 8dc98b36fa84fd23e76daf9251f81960a56b2ca0
2014-09-12 17:18:22 +12:00
Matt Woodrow
9e7a8395ba Bug 1062723 - Part 3: Implement source clipping for DrawTargetCG. r=jrmuizel
--HG--
extra : rebase_source : 679e0a97bdc31bb4b98b375618f70fb04a74b2cb
2014-09-12 17:18:22 +12:00
Matt Woodrow
c71a91908f Bug 1062723 - Part 2: Implement source clipping for DrawTargetCairo. r=Bas
--HG--
extra : rebase_source : 9e02e1e91c3bcd455640a1f60e4da673302c5cf1
2014-09-12 17:11:36 +12:00
Matt Woodrow
1b7f994c90 Bug 1062723 - Part 1: Add source clipping to SurfacePattern. r=Bas
--HG--
extra : rebase_source : ccec8c8cb37f52710b0758360bea73696212734f
2014-09-11 18:13:52 +12:00
Jim Mathies
12a22c9958 Bug 1066242 - Use a 'ui' chromium message loop/pump for the Windows compositor thread so that it can process native windowing events. r=Bas 2014-09-11 17:55:59 -05:00
Sotaro Ikeda
5cb1b77a4e Bug 1049251 - Partially disable SkiaGL on Low total system memory r=jrmuizel 2014-09-11 16:52:42 -07:00
Michael Wu
4079a1f9ad Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth 2014-09-10 17:54:16 -04:00
Kartikaya Gupta
39a7785453 Bug 1066262 - Add some more thread assertions in AsyncPanZoomController. r=botond 2014-09-11 17:26:14 -04:00
Ehsan Akhgari
45dbaf0a8c Bug 1068201 - Build SkBlurImage_opts_SSE4.cpp with SSE4.1 support on clang-cl; r=jrmuizel 2014-09-16 15:36:34 -04:00
Nicolas Silva
645e9e7d94 Bug 1061712 - Fix missing include. r=me 2014-09-16 14:55:03 +02:00
Nicolas Silva
2d36152b7a Bug 1061699 - Only crash debug builds if BorrowDrawTarget is called on an unlocked TextureClient. r=Bas 2014-09-16 14:32:24 +02:00
Nicolas Silva
426b1eaffa Bug 1061712 - Don't crash in DrawTargetDual::CreateSimilar if allocation fails. r=Bas 2014-09-16 14:29:40 +02:00