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

21782 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 4555ef21a3 Backed out changeset 1e6a9b36ed35 (bug 1256045) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: FrILd3iK5U0
2016-03-17 15:42:46 -07:00
Matt Woodrow dbe7f4888a Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Matt Woodrow 8d2b64d662 Bug 1250718 - Improve layer logging for preserve-3d layers. r=thinker
--HG--
extra : rebase_source : 7405e30e0081bfa1b249ff6bd4f7bfd713110815
2016-03-18 09:18:10 +13:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Geoff Brown fd1e09d12b Bug 1251013 - Update AndroidVersion annotations in test manifests - reftests; r=jmaher 2016-03-17 10:00:47 -06:00
Jonathan Kew 1427aba92b Bug 1255158 - Update graphite2 library to release 1.3.7. r=jdaggett 2016-03-15 07:53:04 +00:00
Randall Barker f54f690d1c Bug 1257264 - When apz.allow_immediate_handoff=false, APZ handoff should not occur when panning changes direction r=botond 2016-03-17 07:11:14 -07:00
Nicolas Silva 57668786d8 Bug 1256045 - Add a null-check in BufferTextureHost::EnsureWrappingTextureSource. r=jnicol 2016-03-17 14:59:12 +01:00
Nicolas Silva 68485a1f8e Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro 2016-03-17 14:59:06 +01:00
Nicolas Silva 3d48952156 Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
Edwin Flores 1489b58a2c Bug 1253386 - Double buffer in CanvasClient2D - r=nical 2016-03-17 11:11:18 +00:00
Jacek Caban 3f3c52a095 Bug 1246756 - Cross compilation fixup. r=upstream 2016-03-17 10:40:07 +01:00
Ethan Lin 766d50b78f Bug 910138 - Part 1. Add support for new canvas ellipse method. r=roc, r=smaug 2016-03-15 00:53:00 +01:00
peter chang 2de380f3ba Bug 1254447 - Don't always check UseAcceleratedCanvas when calling GetSkiaGLGlue, r=jrmuizel
MozReview-Commit-ID: 95GY5aGJGK1

--HG--
extra : rebase_source : a6284141f313f62769fdf809f21cb928d7e6df6c
2016-03-16 12:09:17 +08:00
Sotaro Ikeda 0a065a8dfa Bug 1245552 - Align MaskLayer surface to 4 r=mattwoodrow 2016-03-16 18:54:38 -07:00
Sotaro Ikeda 47242038f0 Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel 2016-03-16 18:30:41 -07:00
Kartikaya Gupta f5fed1a234 Bug 1256341 - Guard against scenarios where GenerateSingleTap is called without an active touch block. r=botond
MozReview-Commit-ID: 8nnj9IlwIuL
2016-03-16 17:58:37 -04:00
Kartikaya Gupta e500e5d2b9 Bug 1256341 - Add a gtest to catch scenarios where a tap timeout is interrupted by a non-touch block. r=botond
MozReview-Commit-ID: 5kyb6VOxWU1
2016-03-16 17:58:37 -04:00
Kartikaya Gupta 4317d4d96b Bug 1256344 - If a long-press is interrupted by a non-touch block, don't dispatch the long-press event. r=botond
MozReview-Commit-ID: 7SqA1nIlJYz
2016-03-16 17:58:37 -04:00
Kartikaya Gupta 085bd0c97f Bug 1256344 - Add a gtest to catch scenarios where the long-press block is interrupted by a non-touch block. r=botond
MozReview-Commit-ID: C7K7W9r15qu
2016-03-16 17:58:37 -04:00
Mike Hommey 0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Mike Hommey f5e10530d9 Bug 1256988 - Fix #endif comments for MOZ_WIDGET_GTK. r=chmanchester 2016-03-17 06:49:44 +09:00
Benoit Girard dec95787f8 Bug 1256408 - Add graphics microbenchmarking. r=mstange
MozReview-Commit-ID: H4IRZuLy7do

--HG--
extra : rebase_source : 8eed4669b59496370dbc47d32e2696de60ea43f2
2016-03-16 14:20:33 -04:00
Botond Ballo 7d02dd23e3 Bug 1247964 - Allow InputBlockState::SetScrolledApzc to accept new APZC when it is an ancestor of the current APZC r=kats 2016-03-16 09:22:43 -07:00
Carsten "Tomcat" Book aa560b9071 Backed out changeset 6dbf14f1dc41 (bug 1255158) for reftest failures 2016-03-16 10:33:58 +01:00
Nicholas Nethercote a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Jonathan Kew 749cca67a9 Bug 1255158 - Update graphite2 library to release 1.3.7. r=jdaggett 2016-03-16 08:05:56 +00:00
Jeff Muizelaar c848b98d3e Bug 1251375. Update to ANGLE/2653 2016-03-15 17:28:40 -07:00
Wes Kocher bb35aa5eb1 Backed out changeset 857617eac45b (bug 1251375) for breaking test_EXT_disjoint_timer_query.html on Windows mochitest-gl tests
MozReview-Commit-ID: 5pcNBxk4JO5
2016-03-15 17:14:13 -07:00
Nicholas Nethercote 50399fa6c3 Bug 1255655 - Const-ify sExtensionNames. r=mattwoodrow.
--HG--
extra : rebase_source : 701319b65fce70b62535248b9c33dd6357320abf
2016-03-11 13:52:13 +11:00
Nicholas Nethercote 5e3e083956 Bug 1255655 - Const-ify kCoefficientRgbY. r=jrmuizel.
This allows it to be shared between processes.

--HG--
extra : rebase_source : 4a2026ae4b9335bae4d018d6a3f0af40cae3dc15
2016-03-11 13:00:06 +11:00
David Anderson e237475f95 Disable the WebGL crash guard on Android. (bug 1256371, r=snorp) 2016-03-15 13:24:22 -04:00
Jeff Muizelaar c03e235186 Bug 1256498. Explicitly convert to float. r=bas 2016-03-15 12:16:19 -07:00
Jeff Muizelaar 745acee9fd Bug 1251375. Update to ANGLE/2653 2016-03-15 12:02:47 -07:00
Matt Woodrow 60b2f060b1 Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce 2016-03-09 10:34:49 +13:00
Timothy Nikkel 5263f50634 Bug 1251150. Add crash annotations if image visibility is re-entering. r=mats 2016-03-14 22:59:02 -05:00
Sotaro Ikeda 7daa3d77fc Bug 1251523 - Remove TextureFlags::DEALLOCATE_CLIENT from AndroidSurfaceTextureData r=nical 2016-03-14 18:51:21 -07:00
Mike Hommey d464f29e5f Bug 1255813 - Remove build system support for Solaris, HPUX and AIX. r=ted 2016-03-15 07:34:50 +09:00
Gregory Szorc 8106c0dae9 Bug 1242005 - Disable C4359 to allow compilation on VS2015; r=kip
The proper fix is to fix the underlying problem. However, I haven't
touched C++ in months and I'm lazy. So I'm going for the quick fix
so Visual Studio 2015 rollout is unblocked.

MozReview-Commit-ID: 14cZCGPkx0V

--HG--
extra : rebase_source : 91ec0d461e4e14e1fa3b641b3ca7f169e0901b11
extra : source : 9e5f9917fe1a7bef9585966959d516636d7ee6ac
2016-03-14 14:11:40 -07:00
David Anderson f18e55de2f Regenerate SyncObjects on device resets. (bug 1255711, r=bas) 2016-03-14 12:55:47 -07:00
Kartikaya Gupta 4b7ef956c7 Bug 1255997 - Account for scrollbar dimensions when testing the size of the displayport. r=botond
MozReview-Commit-ID: 8SrIfA8xuqq
2016-03-14 14:07:16 -04:00
Benoit Girard a08807e27f Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
MozReview-Commit-ID: K5PTxUqU9E6

--HG--
extra : rebase_source : 6d9e35b27e2fd37c1df513dd856b48c181f3150f
2016-03-14 11:50:55 -04:00
Jamie Nicol b53bc9fd1c Bug 1255448 - Call ClientMultiTiledLayerBuffer::PaintThebes even when region to paint is empty. r=mattwoodrow
Remove early return for empty invalid regions from
ClientTiledPaintedLayer::RenderHighPrecision so that
ClientMultiTiledLayerBuffer::PaintThebes is called even when the region
to paint is empty. This ensures that the tile buffer will free unused
tiles in cases where no new painting is required but the valid region
has shrunk.

Add replacement early returns into ClientMultiTiledLayerBuffer to avoid
as much needless work as possible while still recalculating which tiles
are valid.

MozReview-Commit-ID: C86Pi7lRjjs

--HG--
extra : transplant_source : %F0%96H%DAn4%FE%A6%3EPf%B7%AF3%95%D6%F9o%D9/
2016-03-10 15:01:15 +00:00
Benoit Girard 4af2ba2a93 Bug 1255907 - Fix unification build issues in APZ & Layers. r=kats
MozReview-Commit-ID: 4tUYEJRgpUF

--HG--
extra : rebase_source : 8c0f99bca01886f0cee802f8490b2a9ff9572eaa
2016-03-14 11:39:12 -04:00
Sotaro Ikeda 8e434d1c10 Bug 1255320 - Create DrawTarget with DIB as similar DrawTarget r=jrmuizel 2016-03-13 19:46:23 -07:00
Benoit Girard 52f227c58b Bug 1253678 - Rename mozilla::Function to mozilla::function. r=froydnj
MozReview-Commit-ID: 60RPmEsYDN2

--HG--
extra : rebase_source : 9d0bebc7362af2778d123425c56ac20553d9303b
2016-03-11 16:49:13 -05:00
Kartikaya Gupta 491551f10e Bug 1255705 - Generalize the NotifyLayersUpdated short-circuit codepath to trigger on empty transactions as well. r=botond
MozReview-Commit-ID: KfNjyAIdtE1
2016-03-11 17:42:50 -05:00
Mike Hommey 188ea9bab3 Bug 1245076 - Include cmath instead of math.h in Collider.cpp. r=jfkthame
The combination of math.h being included and unified sources made abs()
in UtfCodec.h mean something different, failing the build with
libstdc++6 headers.
2016-03-11 17:33:11 +09:00
Jeff Gilbert 3bdc12a666 Bug 1255224 - Add pref to force glFinish in DXGL path. (default:false) - r=dvander 2016-03-10 13:17:46 -08:00
Jeff Muizelaar 9dcdc9ab75 Bug 1255281. Add pixman fast path for bilinear x888_8888_SRC. r=lsalzman
This avoids falling back to a slow path when doing x8888 -> 8888 scales. It is basically just cherrypicked from upstream.
2016-03-11 08:23:48 +08:00
Kartikaya Gupta 6c01d2a7c5 Bug 1242690 - Don't apply the main-thread callback transform for events in a drag block. r=rbarker
MozReview-Commit-ID: 9C471AJaKjt
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 3852f2d195 Bug 1242690 - Further refine the mouse event untransformation code to only apply to events directed at a scrollbar. r=rbarker
MozReview-Commit-ID: X0ShAKCUPN
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 61f96e502c Bug 1242690 - Add untransforming of mouse events not in a drag block. r=rbarker
MozReview-Commit-ID: 9eELcg7qrq1
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 87e0de1f0a Bug 1242690 - If a drag block is interrupted by something else, have it create a new drag block when it resumes. r=rbarker
MozReview-Commit-ID: K06S3X5XEej
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 8792f6fbea Bug 1242690 - Ensure that mouse events have the callback transform applied. r=botond
MozReview-Commit-ID: 9V7xXPT8WHk
2016-03-10 18:25:48 -05:00
Markus Stange af194f29fe Bug 1251894 - In CompositorD3D11::CreateTexture, copy as much as the render target allows. r=bas
MozReview-Commit-ID: KK5wu3T4tLE

--HG--
extra : rebase_source : 2d0b144510b286b8c2010954ea5f8738744108ad
2016-03-10 16:03:24 -05:00
Lee Salzman 04fb5babb0 Bug 1241161 - make Matrix4x4::ProjectTo2D normalize out perpective where possible. r=mattwoodrow 2016-03-10 16:10:04 -05:00
Daisuke Akatsuka cb51780a6e Bug 1237173 - Part2: Change type of duration to Maybe<StickyTimeDuration>. r=birtles 2016-03-09 14:14:20 +09:00
Lee Salzman be17bb1d42 Bug 1248224 - backport of Skia GrPathUtils::QuadUVMatrix assertion fix. r=jrmuizel 2016-03-10 00:23:38 -05:00
Kartikaya Gupta 0415065a38 Bug 1253860 - Add a flag on scroll frames indicating if they have an APZ counterpart. r=mstange
MozReview-Commit-ID: EEmdmjrbG3O
2016-03-09 22:57:14 -05:00
Kartikaya Gupta 73a7b93fd0 Bug 1253860 - Add machinery to update APZ's scroll offset without a main-thread paint. r=botond
MozReview-Commit-ID: Chy40f6VNIQ
2016-03-09 22:57:14 -05:00
Kartikaya Gupta 419b25a231 Bug 1253860 - Stop APZC from reprocessing stale metrics on unrelated layer tree updates. r=botond
MozReview-Commit-ID: 5JM83cngdVy
2016-03-09 22:57:14 -05:00
Bas Schouten 41adef94fb Bug 1251778 - Followup: Remove unreferenced local variable. r=bustage 2016-03-10 03:26:15 +00:00
Bas Schouten 8a205e06fb Bug 1251778: Attempt to avoid presenting when the window is still resizing. r=jrmuizel 2016-03-10 03:12:55 +00:00
Kartikaya Gupta 6b0ece7075 Bug 1255054 - Try to do a repaint of the unsuppressed displayport after displayport suppression has ended. r=BenWa
MozReview-Commit-ID: 7JN4PHEEjUT
2016-03-09 16:56:54 -05:00
Wes Kocher 9a43697d65 Backed out changeset 6358a64e4f15 (bug 1236112) for windows video wpt failures
MozReview-Commit-ID: 6tovOHlvyak
2016-03-08 16:23:04 -08:00
Mason Chang ac058cacc5 Bug 1230366. Render CG font with black on white on skia. r=lsalzman 2016-03-08 08:27:25 -08:00
Randall Barker 24f338ba5d Bug 1254252 - Have Axis::ClampOriginToScrollableRect just return the original value if it falls with in the page bounds. r=kats 2016-03-08 14:10:35 -08:00
Randall Barker 565a35d4d5 Bug 1250213 - Ensure the scroll offset does not go outside the page bounds when going full screen r=kats 2016-03-08 14:10:35 -08:00
Matt Woodrow bfae8352c6 Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce 2016-03-09 10:34:49 +13:00
Kartikaya Gupta 5fb7494ea2 Bug 1252875 - Flush paints before running the test body in test_scroll_subframe_scrollbar.html. r=me
r=me because we've fixed this issue in multiple tests in exactly the same way.

MozReview-Commit-ID: 5NxTNaq6SYa
2016-03-08 14:33:52 -05:00
Kartikaya Gupta 6a6f65b0d3 Bug 1192910 - Ensure we flush paints on the main thread during an APZ flush. r=mstange
MozReview-Commit-ID: 61dyeqxxtVP
2016-03-07 16:27:44 -05:00
Mason Chang c89157b9ea Bug 1249600. Lookup font and font family from font face when requesting SkTypeface. r=bas 2016-03-08 07:37:16 -08:00
Botond Ballo 7b9830013a Bug 1210117 - Flush paints before running the test body in test_scroll_inactive_flattened_frame.html. r=kats
MozReview-Commit-ID: DQKdb20o4XM

--HG--
extra : rebase_source : c9dad54a151e2a67809d719be74924fa23e15e2e
2016-03-07 20:40:37 -05:00
Sebastian Hengst 12aacd8ccf Backed out changeset 9c232821ae5c (bug 1192910) 2016-03-08 14:41:48 +01:00
Kartikaya Gupta 7a65557850 Bug 1192910 - Ensure we flush paints on the main thread during an APZ flush. r=mstange. reland because backout didn't fix the issue
MozReview-Commit-ID: 61dyeqxxtVP
2016-03-07 16:27:44 -05:00
Sebastian Hengst 9fc7bbba2a Backed out changeset 9066ef314419 (bug 1192910) 2016-03-08 11:06:18 +01:00
Nicolas Silva 9c9d7e08e4 Bug 1251427 - Require a full update when a TextureHost switches from a TextureSource to another. r=sotaro 2016-03-08 10:08:56 +01:00
Xidorn Quan 1a5d64446b Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
MozReview-Commit-ID: HAqtS3VXPHH

--HG--
extra : source : e6a45ca0a21666b4e01c217e0bb42772e4dd918f
2016-03-08 15:56:18 +08:00
Xidorn Quan b3ea3fa801 Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : source : bd88a2e478e23edf1845f724a32fef908c8cc007
2016-03-08 15:56:18 +08:00
Xidorn Quan ab357753a9 Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
MozReview-Commit-ID: 6UBvmEpo12f

--HG--
extra : source : d14cafc0e378ab7356c32a0b469ed783244aa48b
2016-03-08 15:56:18 +08:00
Sotaro Ikeda 50122dc17d Bug 1253489 - Update SendFenceHandleIfPresent() r=nical 2016-03-07 19:16:40 -08:00
Sotaro Ikeda dd85c7354b Bug 1253478 - Use Atomic<uint64_t> in AsyncTransactionTracker r=nical 2016-03-07 18:59:00 -08:00
peter chang 0a428b1a41 Bug 1250418 - Remove the assertion check of mCanSend in CompositorChild::ActorDestroy, r=nical
MozReview-Commit-ID: L0VSy4cYglh

--HG--
extra : rebase_source : 28a1e3501b74a6883c5ed5855231757fee4d1415
2016-03-02 09:31:44 +08:00
Botond Ballo 40e28dfd6d Bug 1248822 - In LayerManagerComposite::UpdateAndRender(), call PostProcessLayers() before LayerTreeInvalidation. r=mattwoodrow
The reason is that PostProcessLayers() can change the effective visible region,
and LayerTreeInvalidation needs the final effective visible region.

MozReview-Commit-ID: 1wLROyOTcIB
2016-02-08 19:01:45 -05:00
Sotaro Ikeda 81561bca72 Bug 1251726 - Check if Compositor is set r=nical 2016-03-07 17:35:38 -08:00
Lee Salzman fa8cc9f344 Bug 1254243 - use SkPath::contains directly now that it considers boundaries inclusively. r=mattwoodrow 2016-03-07 17:12:02 -05:00
Kartikaya Gupta b107477fd5 Bug 1254263 - Add a flag to allow disabling paint-skipping. r=mstange
MozReview-Commit-ID: 4bgvqEZcSWy

--HG--
extra : rebase_source : 3aafaffa34b9e7afba81bbec52793eedb8f425ac
2016-03-07 16:25:00 -05:00
Kartikaya Gupta 4920da860d Bug 1192910 - Ensure we flush paints on the main thread during an APZ flush. r=mstange
MozReview-Commit-ID: 61dyeqxxtVP
2016-03-07 16:27:44 -05:00
Kearwood (Kip) Gilbert 2bf919f1ce Bug 1248761 - Destroy VRHMDInfo objects on the compositor thread r=daoshengmu
- Fixes a crash caused when shutting down the Oculus SDK objects
  in a different thread than the one that was used to
  initialize them.

MozReview-Commit-ID: DbB2pXVoqxL

--HG--
extra : rebase_source : 1447c4d9fd7f29bc14b8f91c6f5cd10dc1ec1f8b
2016-03-03 16:58:40 -08:00
Jonathan Watt 2357eb85f9 Bug 1253094, part 2 - Stop using DebugOnly for class/struct members in gfx/. r=Bas
MozReview-Commit-ID: 7rDHRqNgQqL
2016-02-26 15:52:07 +00:00
Edwin Flores 54fb15d59f Bug 1224199 - Remove some unused code in TiledLayerBufferComposite - r=nical 2016-03-07 11:51:12 +00:00
Edwin Flores b00c15cb8c Bug 1224199 - Don't make the TextureClient wait for compositor recycle if the GLContext is shutting down - r=nical 2016-03-07 11:51:12 +00:00
Carsten "Tomcat" Book 41a0c1ddb8 Backed out changeset d88221aad093 (bug 1251995) for reftest failures 2016-03-07 12:18:40 +01:00
Carsten "Tomcat" Book b9f86983b1 Backed out changeset bf004c055beb (bug 1251995) 2016-03-07 12:18:19 +01:00
Carsten "Tomcat" Book 1d0a6281ac Backed out changeset 3f9fbbef0294 (bug 1251995) 2016-03-07 12:18:17 +01:00
Carsten "Tomcat" Book 15a46d77df Backed out changeset 6cacb08f6f5c (bug 1251995) 2016-03-07 12:18:10 +01:00
Ethan Lin a199911382 Bug 1249189 - Use GL_RED to replace GL_ALPHA in YCbCr convert. r=jgilbert 2016-02-23 01:51:00 +01:00
Xidorn Quan d0d9fe2a65 Bug 1251995 followup - Fix declaration shadow error. 2016-03-07 17:29:41 +08:00
Xidorn Quan 11bea4b5a2 Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
MozReview-Commit-ID: HAqtS3VXPHH

--HG--
extra : rebase_source : de01c02d3baf3e8c648d6301bd6ff283d76ae212
2016-02-29 19:06:05 +08:00
Xidorn Quan 8e3206382b Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : rebase_source : 29961e56b5fe14b244046b3dc52b1f922c206218
2016-02-29 16:50:17 +08:00
Xidorn Quan 5b1f34e2f6 Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
MozReview-Commit-ID: 6UBvmEpo12f

--HG--
extra : rebase_source : e967015366b727f199fe3febedc70f1f43f19725
2016-03-04 19:20:43 +08:00
Kartikaya Gupta 96b5c73a20 Bug 1253739 - Fix incorrect namespace on forward declaration. r=botond
MozReview-Commit-ID: IPfx1Mb9w8A
2016-03-05 19:23:06 -05:00
Kartikaya Gupta 704367af89 Bug 1251608 - Fix and enable test_bug1151663 for all platforms. r=botond
MozReview-Commit-ID: 4fr5XIor6mJ
2016-03-05 19:22:28 -05:00
Kartikaya Gupta 0a8de7fb05 Bug 1251608 - Fix and enable test_bug982141 for all platforms. r=botond
MozReview-Commit-ID: JQ569KBz1wf
2016-03-05 19:22:25 -05:00
Kartikaya Gupta 170a29bc4a Bug 1251608 - Add a root-content annotation to the APZ test data structure. r=botond
This patch adds the annotation in APZCTreeManager. It also changes the
tree-building code in apz_test_utils to link together the actual paint
structures rather than create new wrapper nodes. This is more foolproof
(fixes a latent bug where a grandchild node whose parent has not yet
been processed ends up with the parent forcibly made a child of the root),
and allows extra properties to seamlessly ride along into the "tree".

MozReview-Commit-ID: B4T4cYyglQ7
2016-03-05 19:22:23 -05:00
Kartikaya Gupta 25a10a2d61 Bug 1219980 - Ensure that long-press gestures don't get detected during test_basic_pan.html r=botond
Chaos mode can cause the the long-press timer to fire too early, so we have to
disable that. Also the pref to extend the timer is an int pref, not a char pref,
so drop the quotes (otherwise specialpowersAPI.js guesses the wrong type).

MozReview-Commit-ID: 4NefSNwwcht

--HG--
extra : rebase_source : b0d1328a7d2c363447360b207cef7754ebc9c9ba
2016-03-01 16:45:08 -05:00
Ryan VanderMeulen 0a3f8d816e Bug 1253862 - Mark test_acceleration.html as an expected fail on WinXP e10s.
--HG--
extra : rebase_source : 519fcefd0d5ddf9689f3bb057b5798222dd5332d
2016-03-05 15:32:09 -05:00
Phil Ringnalda cabee82044 Back out 9 changesets (bug 801176) for frequent crashes in test_offscreencanvas_dynamic_fallback.html
Backed out changeset 82320c900699 (bug 801176)
Backed out changeset 624fb8512ba5 (bug 801176)
Backed out changeset a2a7b1c4dc5b (bug 801176)
Backed out changeset e210473d793c (bug 801176)
Backed out changeset 0fb279e041e1 (bug 801176)
Backed out changeset c090dc98c670 (bug 801176)
Backed out changeset fc509e59a0cd (bug 801176)
Backed out changeset 134a8c56335a (bug 801176)
Backed out changeset 2022afa9aef2 (bug 801176)
2016-03-05 07:20:47 -08:00
Jim Mathies e8e7fc3268 Bug 1253688 - Backout bug 1229429 which caused a painting problem with Loops remote browser chat window with e10s enabled. r=billm
MozReview-Commit-ID: 3tAgOAmnJli
2016-03-04 17:56:03 -06:00
Kartikaya Gupta 74675921b3 Bug 1253617 - Fix non-unified build bustage in OverscrollHandoffState.cpp r=BenWa
MozReview-Commit-ID: 9QkpsxPZsQS
2016-03-04 12:59:06 -05:00
Matt Woodrow 4dcfda62de Bug 1220082 - Assign frame ids to animated images so that they get invalidated correctly. r=seth 2016-01-12 17:14:09 +13:00
Randall Barker 3debd6e962 Bug 1241332 - part 1, Request content repaint at end of APZ animation r=kats 2016-03-04 14:43:38 -08:00
kearwood 55594c5b97 Bug 1251886 - Correct inputFrameID selection when using e10s r=daoshengmu
- ContainerLayerComposite::ContainerRenderVR failed to find
  a CanvasLayerComposite and get an inputFrameId as it was
  only looking at immediate children layers.
- Initialize Oculus SDK structures with 0 to ensure code is less
  brittle when Oculus SDK is updated in the future.
- Added assert and sanity check to ensure that valid inputFrameID's
  are used when indexing the Oculus pose buffers.

MozReview-Commit-ID: 136lf8aMWms

--HG--
extra : rebase_source : 14ae32704e6ccd9c6823467a7cb073290cbd5a09
2016-03-01 18:00:07 -08:00
Milan Sreckovic ad2dbbf528 Bug 1252929: Next.1. Make layers.max-active preference not need a restart. r=mstange 2016-03-04 12:13:57 -05:00
vincentliu 34112c9d96 Bug 801176 - part7-v1: Don't remove TextureClient until the frame update is done. r=roc
---
 gfx/layers/client/CanvasClient.cpp | 10 ++++++++--
 gfx/layers/client/CanvasClient.h   |  2 ++
 2 files changed, 10 insertions(+), 2 deletions(-)
2016-03-04 15:24:19 +08:00
vincentliu 8f02812e74 Bug 801176 - part6-v1: Modify BufferProvider operations to fix assertions. r=roc
---
 dom/canvas/CanvasRenderingContext2D.cpp | 12 +++--
 dom/canvas/OffscreenCanvas.cpp          |  2 -
 gfx/layers/AsyncCanvasRenderer.cpp      | 85 +++++++++++++++++++++++++--------
 gfx/layers/AsyncCanvasRenderer.h        |  1 +
 4 files changed, 73 insertions(+), 27 deletions(-)
2016-03-04 15:24:00 +08:00
vincentliu 906120d775 Bug 801176 - part2-v5: Let Canvas 2d context works on Workers. r=roc
---
 dom/canvas/CanvasRenderingContext2D.cpp | 53 ++++++++++++-----------
 dom/canvas/OffscreenCanvas.cpp          | 46 +++++++++++---------
 dom/html/HTMLCanvasElement.cpp          |  1 +
 gfx/layers/AsyncCanvasRenderer.cpp      | 17 ++++++++
 gfx/layers/AsyncCanvasRenderer.h        | 16 +++++++
 gfx/layers/Effects.cpp                  |  6 +++
 gfx/layers/GLImages.cpp                 |  5 +--
 gfx/layers/client/CanvasClient.cpp      | 74 +++++++++++++++++++++++++--------
 gfx/layers/client/CanvasClient.h        | 10 ++++-
 9 files changed, 162 insertions(+), 66 deletions(-)
2016-03-04 15:22:39 +08:00
Andrew Comminos 547da6e1b6 Revert "Bug 1197954 - Add support for GLX_SGI_video_sync to GLContextProviderGLX. r=jgilbert"
This reverts commit c26871ee3cac8b736e9b868cd7738900f0d40a81.
2016-03-03 21:39:19 -08:00
Andrew Comminos 682424c13d Revert "Bug 1197954 - Implement Linux hardware vsync using GLX_SGI_video_sync. r=mchang,lsalzman"
This reverts commit a2b6bf8704ff05a4571a812009c343042921d505.
2016-03-03 21:20:19 -08:00
Andrew Comminos 00b7a72ce2 Bug 1197954 - Implement Linux hardware vsync using GLX_SGI_video_sync. r=mchang,lsalzman
MozReview-Commit-ID: BEvMdzOw1oV
2016-03-03 20:37:26 -08:00
Andrew Comminos 158d5666b8 Bug 1197954 - Add support for GLX_SGI_video_sync to GLContextProviderGLX. r=jgilbert
MozReview-Commit-ID: Fn9jwecuz5q
2016-03-03 20:37:26 -08:00
Andrew Comminos 08e70e0e44 Bug 1197954 - Extract GLXFBConfig selection code for X11 windows. r=lsalzman
MozReview-Commit-ID: IVSepKwVbp9
2016-03-03 20:37:26 -08:00
Mike Shal c9d34595e9 Bug 1252304 - Remove gfx/cairo/cairo/src/Makefile.in; r=chmanchester
MozReview-Commit-ID: ByMJUfjpSB1

--HG--
extra : rebase_source : fecb76cb1946f4541d9e47616e969be78d741ed6
2016-02-26 23:18:53 -05:00
Eugen Sawin 354975fe89 Bug 1232334 - [1.2] Only set context on successful attach. r=snorp 2016-03-03 18:32:37 +01:00
Sebastian Hengst 1e69d4c08b Backed out changeset a5d2e586777c (bug 1220082) for bustage. r=bustage on CLOSED TREE 2016-03-03 17:19:22 +01:00
Matt Woodrow 6350413d1b Bug 1220082 - Assign frame ids to animated images so that they get invalidated correctly. r=seth 2016-01-12 17:14:09 +13:00
Mike Shal 6ca8f7d2e0 Bug 1252302 - Remove gfx/thebes/Makefile.in; r=gps
This requires converting genTables.py into something moz.build can call
into.


MozReview-Commit-ID: 11kXtK8bP5W
2016-02-26 23:25:31 -05:00
Ryan VanderMeulen e5d256eaa8 Bug 1252630 - Move the asyncPan skip-if for APZ reftests to the manifest level instead of per-test. r=kats 2016-03-01 16:56:41 -05:00
Daisuke Akatsuka 0b1a2c1ae5 Bug 1248338 - Implement iterationStart; r=birtles 2016-03-02 16:23:34 +09:00
Jean-Yves Avenard 0e49049c9a Bug 1251910: Fix YUV422 IOSurface. r=mattwoodrow.
Bug 1249273 reverted the changes of bug 1248323.

MozReview-Commit-ID: 4ri1gTOf2Dg
2016-03-02 14:35:47 +11:00
Jeff Gilbert 20e882360f Bug 1247804 - Enable seamless cubemaps where available. - r=jrmuizel 2016-02-11 17:57:25 -08:00
Christoph Kerschbaumer 9ab1648f67 Bug 1195172 - Use channel->ascynOpen2 layout/style/FontFaceSet.cpp (r=bz,cam) 2016-03-01 13:06:13 -08:00
Lee Salzman 4ee1769ed1 Bug 1251984 - allow gfx.xrender.enabled pref to work for compositing even if content backend is not Cairo. r=jrmuizel 2016-03-01 14:33:53 -05:00
David Anderson 76e3b91746 Invalidate layers when starting a transaction on a stale device. (bug 1245765 part 9, r=mattwoodrow)
--HG--
extra : rebase_source : 987513504b8470a501db313ab0905d20219949c0
2016-02-29 16:41:35 -05:00
Trevor Saunders 481bc0e2c7 bug 1250485 - make the ctor for GLXLibrary constexpr r=jrmuizel 2016-02-29 15:32:24 -05:00
Nathan Froyd 48d5884988 Bug 1252153 - use UniquePtr instead of ScopedDeletePtr in HeapCopyOfStackArray; r=jrmuizel
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
2016-02-29 11:54:36 -05:00
Joel Maher 957caebc8c Bug 1252121 - disable test_basic_pan.html and test_tap.html on android 2.3. r=gbrown
MozReview-Commit-ID: fBVJ1ABzhK

--HG--
extra : rebase_source : 9311e909f4a2d0766a72258f031e54fb9751d03e
2016-02-29 08:38:38 -08:00
Jonathan Kew 3248442cfc Bug 1248876 - Update graphite2 to upstream release 1.3.6. r=jrmuizel 2016-02-29 18:00:55 +00:00
Milan Sreckovic adb3472d93 Bug 1251619: Remove unused gfxPlatform::CreateDrawTargetForUpdateSurface r=mchang
MozReview-Commit-ID: IWSzej9OGH1

--HG--
extra : rebase_source : f5185bdf4d7c26361133ce729d821958b2d8ae7a
2016-02-26 10:55:59 -05:00
Mason Chang 4650fce727 Bug 1249036 Check that DWMFlush executes correctly. r=kats 2016-02-29 13:52:26 +01:00
David Anderson 0efa6917a2 Ensure that content processes recreate rendering devices. (bug 1245765 part 8, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson c00e9a5d93 Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson d4db86d05e Factor compositor initialization out of LayerManagerComposite. (bug 1245765 part 6, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
David Anderson dd2df9d99a Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
David Anderson 04848e06dd Fix async drawing when we lose the D3D11 device. (bug 1245765 part 4, r=mattwoodrow) 2016-02-29 01:53:13 -05:00
David Anderson 08aa5f40fd Don't propagate simulated device resets to child processes. (bug 1245765 part 3, r=mattwoodrow) 2016-02-29 01:53:13 -05:00
David Anderson 569787dba9 Propagate D3D9 device resets to remote layers. (bug 1245765 part 2, r=mattwoodrow) 2016-02-29 01:53:12 -05:00
David Anderson 216a4e0ba0 Add a helper function for iterating indirect layer trees. (bug 1245765 part 1, r=mattwoodrow) 2016-02-29 01:53:12 -05:00
David Anderson b7dba4cb77 Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange) 2016-02-23 10:11:21 -08:00
Andrew Moser 79c176df5e Bug 1249937 - Rename LayerComposite::SetShadowTransform to SetShadowBaseTransform. r=botond
--HG--
extra : amend_source : c7ff0b07c4caf885a10ef08b6a5051d6a2dc5485
2016-02-26 21:36:52 -05:00
Seth Fowler d66e629ca5 Bug 1251808 (Followup) - Mark the new SourceSurfaceImage constructor explicit. r=me 2016-02-26 21:25:08 -08:00
Seth Fowler 0b454da72c Bug 1251808 - Construct the SourceSurfaceImage with the correct size in RasterImage::GetCurrentImage(). r=seth 2016-02-26 21:01:50 -08:00
Nathan Froyd da33676fbb Bug 1251716 - use UniquePtr instead of ScopedDeletePtr in DrawTargetCairo; r=jrmuizel
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
2016-02-26 13:34:11 -05:00
James Willcox 9e56091f86 Bug 1251065 - Add prefs for logging the current and peak texture usage r=nical 2016-02-26 11:01:28 -06:00
James Willcox 6ac86c0db9 Bug 1247405 - Track peak texture memory usage r=nical 2016-02-26 11:00:06 -06:00
Milan Sreckovic 548b45eaca Bug 1249640: Part 4 Android to use new blocking. r=snorp 2016-02-22 14:23:00 +01:00
Milan Sreckovic 9ca74932b6 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-24 10:25:00 +01:00
Milan Sreckovic 65bcdb7519 Bug 1249640: Part 2 gfxPlatform simplification when it comes to accelerated canvas, using the new blocking. r=gw280 2016-02-22 14:23:00 +01:00
peter chang bb4e7deeb8 Bug 1251163 - Clear android surface texture before widget shutdown, r=nical
MozReview-Commit-ID: B68vVjR41OF

--HG--
extra : rebase_source : 8d57f3bd941e813e02cd38b6fcfa73753e6c94c1
2016-02-25 16:48:55 +08:00
Yoshi Huang 7af5b304e6 Bug 1225053 - use null principal in gfxSVGGlyphs.cpp r=edwin
From 5dc33ddf1254acb5356490a4d1a50b97ae61c7e2 Mon Sep 17 00:00:00 2001
---
 gfx/thebes/gfxSVGGlyphs.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
2016-02-19 15:35:24 +08:00
Bogdan Postelnicu cd1f9673bd Bug 1251241 - return from DrawTargetCairo::FillGlyphs if |aFont| is nullptr. r=roc
MozReview-Commit-ID: 56RQO8Fm2AP

--HG--
extra : rebase_source : bd0a70750199a62d627c570e2b1bdbc10ebb621a
2016-02-25 16:59:34 +02:00
Lee Salzman 059ca6d6f5 Bug 1249813 - part 3 - tell the compositor if the root layer has opaque content so it can skip clears. r=mattwoodrow 2016-02-25 14:38:05 -05:00
Lee Salzman f6dc8f24e8 Bug 1249813 - part 2 - make Cairo mark a surface as clear if clip covers entire surface. r=jrmuizel 2016-02-25 14:38:05 -05:00
Lee Salzman bf234f25b7 Bug 1249813 - part 1 - revise nsShmImage to allow draw targets anywhere inside its bounds. r=jrmuizel 2016-02-25 14:38:05 -05:00
Mason Chang 52dbcf6556 Bug 1250669. Don't init dwrite fonts if content device creation fails. r=dvander 2016-02-25 10:44:57 -08:00
Sebastian Hengst 2f131341dd Backed out changeset 0ee7b97a8a84 (bug 1247405) for bustage. r=bustage on a CLOSED TREE 2016-02-25 19:12:27 +01:00
James Willcox dc94ee5dc7 Revert bug 1251065 due to stupidity 2016-02-25 10:51:34 -06:00
James Willcox 8ae46e3a8a Bug 1251065 - Add prefs for logging the current and peak texture usage r=nical 2016-02-25 10:25:45 -06:00
James Willcox ad3d8bc008 Bug 1247405 - Track peak texture memory usage r=nical 2016-02-25 10:25:34 -06:00
Kartikaya Gupta eb1055aff7 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-25 11:15:14 -05:00
Nicolas Silva 60f1ac8846 Bug 1250873 - Rename HasInternalBuffer into HasIntermediateBuffer in layers. r=sotaro 2016-02-25 14:15:58 +01:00
Nicolas Silva 9e20942d69 Bug 1250500 - Avoid copying BufferTextureHost when possible. r=sotaro 2016-02-25 14:15:52 +01:00
Nicolas Silva 2b9dadff72 Bug 1249273 - Lazily prepare TextureSources and recycle them when possible in ImageHost. r=sotaro 2016-02-25 14:15:40 +01:00
Nicolas Silva e8b70b860b Bug 1249273 - Enable BufferTextureHost to recycle a TextureSource that is not marked as owned. r=sotaro 2016-02-25 14:15:34 +01:00
Nicolas Silva 6f996f44e4 Bug 1250117 - Trivial b2g build fix. r=me 2016-02-25 13:50:27 +01:00
Nicolas Silva 18b7c7e2dc Bug 1250117 - Fix b2g timeouts when gralloc is disabled. r=sotaro 2016-02-25 09:23:23 +01:00
Lee Salzman 876e94a736 Bug 1248223 - verify that stroke widths are finite for Skia. r=jmuizelaar 2016-02-23 18:09:03 -05:00
Jean-Yves Avenard 5d1c0dea05 Bug 1248323: P2. Add readback code for converting YUV422 MacIOSurfaces into RGB. r=nical
MozReview-Commit-ID: 4jhP5fgXZhq

--HG--
extra : rebase_source : 3746097a71746723de541b1a7fb1b8971e914075
2016-02-23 23:47:29 +11:00
Jean-Yves Avenard 0f2fbc9d88 Bug 1248323: P1. Add support for YUV422 IOSurface. r=nical
Those are really UYVY 16bpp surface.

MozReview-Commit-ID: DWkqrF6Norj

--HG--
extra : rebase_source : 479500af560f61a3f6b6c4c3b0f64aeb92438a9a
2016-02-23 13:26:27 +11:00
Lee Salzman 2a69a5aa16 Bug 1250787 - ensure that subpixel text is disabled for Skia's Cairo font host so that font rendering matches our font metrics. r=mchang 2016-02-24 20:35:38 -05:00
Randall Barker d94bdf0d3f Bug 1251001 - Input fields at the bottom of a page do not pan into view when gaining focus. r=botond 2016-02-24 16:19:00 -08:00
Randall Barker 9a285c6d99 Bug 1250614 - Repeated zooming in bug on mobile Wikipedia site r=botond 2016-02-24 16:19:00 -08:00
L. David Baron e73ad62be0 Back out changeset 027c6cc12078 (bug 1249943) for making test_basic_pan.html permafail (timeout) on Linux, on a CLOSED TREE. 2016-02-24 15:57:29 -08:00
Bas Schouten c5fe62d1d9 Bug 1232042 - Addendum: Add comment for mLayerManager check. r=jrmuizel 2016-02-24 21:24:26 +00:00
Bas Schouten 36d729fab3 Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Jonathan Kew 2bee0a7574 Bug 1249861 - Update harfbuzz to release 1.2.2 from upstream. r=jrmuizel 2016-02-24 20:54:53 +00:00
Nathan Froyd 2eb3c20f40 Bug 1249389 - followup - fix compilation bustage in gfxFT2FontList.cpp; r=me 2016-02-24 15:48:35 -05:00
Nathan Froyd 12d9670a60 Bug 1249389 - part 4 - make StartupCache::GetBuffer take a UniquePtr outparam; r=erahm
This change eliminates a number of nsAutoArrayPtr usages, as well as
making the pattern GetBuffer() -> NewObjectInputStreamFromBuffer more
pleasant.
2016-02-18 12:26:28 -05:00
Kartikaya Gupta 2e5e8ea0d9 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-24 13:19:45 -05:00
Kartikaya Gupta b894c806dd Bug 1249748 - Ensure the mHandledByAPZ flag is set on WidgetTouchEvents that are handled by APZ. r=botond
MozReview-Commit-ID: 4ABY2jgHkGl
2016-02-24 13:19:43 -05:00
Sebastian Hengst 00a63ca413 Backed out changeset 303b759e886e (bug 1249640) 2016-02-24 19:02:00 +01:00
Sebastian Hengst 38e8f42dfb Backed out changeset 8151f4102646 (bug 1249640) 2016-02-24 19:01:50 +01:00
Sebastian Hengst 61814a3698 Backed out changeset 21222476d9d9 (bug 1249640) 2016-02-24 19:01:29 +01:00
Jamie Nicol bdba733905 Bug 1250517 - Differentiate between no critical display port and empty critical display port in ClientTiledPaintedLayer; r=kats
Currently the logic in ClientTiledPaintedLayer treats an empty critical
display port to mean that there is no critical display port, i.e. that
the entire visible region should be painted. However, the critical
displayport should be, and is, empty if either the display port or
composition bounds are entirely outwith the layer's bounds. We want to
render none of the layer in this case, not all of it.

Change BasicTiledLayerPaintData::mCriticalDisplayPort's type to a
Maybe<LayerIntRect>, and differentiate between it being not set and it
being an empty rect.

MozReview-Commit-ID: Gi1iZOQcOVL

--HG--
extra : transplant_source : %D5M%3A%D2lN%08%3Dnhy%F3%92%A6%03%FB%85%E2%D4%AB
2016-02-23 15:38:29 +00:00
Milan Sreckovic 2a65d9908f Bug 1249640: Part 4 Android to use new blocking. r=snorp 2016-02-22 14:23:00 +01:00
Milan Sreckovic ef6d814a88 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-19 14:40:00 +01:00
Milan Sreckovic 1498964285 Bug 1249640: Part 2 gfxPlatform simplification when it comes to accelerated canvas, using the new blocking. r=gw280 2016-02-22 14:23:00 +01:00
Cameron McCormack 7c95c39734 Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert 2016-02-24 18:01:11 +11:00
Phil Ringnalda a5861fc16a Back out 6a24b31747be (bug 1232042) for crashes @RecvForcePresent
CLOSED TREE
2016-02-23 21:27:46 -08:00