Commit Graph

21703 Commits

Author SHA1 Message Date
Matt Woodrow
41cff5119c Bug 1257013 - Part 2: Use readback to synchronize d3d11 video. r=cpearce,Bas
--HG--
extra : rebase_source : 252d183ea0c15f4326c25b4f84ae1c9b43237759
2016-03-21 18:49:59 +13:00
Matt Woodrow
49c3c58a6c Bug 1257013 - Part 1: Use readback to synchronize d3d9 video. r=cpearce,Bas
--HG--
extra : rebase_source : 104b692bb1f732ec86113506ebac8961ac8fb5b8
2016-03-21 18:49:43 +13:00
Lee Salzman
d4eec00ff3 Bug 910138 - clean-up of arc math. r=me 2016-03-19 00:29:13 -04:00
Seth Fowler
56dbbf45cc Bug 1257315 (Part 2) - Release old visible regions info when new info is available or a layers ID is no longer used. r=botond 2016-03-18 18:38:57 -07:00
Seth Fowler
d8b3579dd9 Bug 1257315 (Part 1) - Add a visualization of visibility tracking to the APZ minimap. r=botond,mattwoodrow 2016-03-18 18:38:57 -07:00
Wes Kocher
d19c0a23f3 Backed out 2 changesets (bug 1223736) for reftest failures in mask-layer-transform.html CLOSED TREE
Backed out changeset 1982db677df6 (bug 1223736)
Backed out changeset 5813dbb50356 (bug 1223736)

MozReview-Commit-ID: HrnSIGPovea
2016-03-18 16:44:09 -07:00
Lee Salzman
7f2b998fc6 Bug 1257939 - initialize BGRX alpha channel to opaque when clearing and ignore uninitialized alpha in texture clients. r=mchang 2016-03-18 16:58:55 -04:00
Matt Woodrow
5dde20a3f8 Bug 1223736 - Part 2: Apply mask in correct coordinate space when drawing with 3d transforms with BasicCompositor. r=lsalzman 2016-03-18 18:45:50 +13:00
Matt Woodrow
793fb1224d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Ryan VanderMeulen
e093d8dae2 Revert bug 1252630 because it proved to be way more hassle than it's worth. 2016-03-18 14:21:12 -04:00
Nicolas Silva
b6487df277 Bug 1256045 - Add a null-check in BufferTextureHost::EnsureWrappingTextureSource. r=jnicol 2016-03-18 16:16:06 +01:00
Bas Schouten
1225ab11b5 Bug 1251431 - Part 1: Allow usage of an A8 source pattern to MaskSurface for D2D 1.1 Moz2D backend. r=jwatt
MozReview-Commit-ID: 3SOuVvklajf
2016-03-18 14:47:11 +01:00
Masatoshi Kimura
71ab75cd8c Bug 1257517 - Restore accidentally-removed zero check for non-default UVS offset. r=jfkthame 2016-03-18 21:43:39 +09:00
Masatoshi Kimura
66f8a469ef Bug 1255973 - Remove redundant overrides from gfxPlatform subclasses. r=jfkthame 2016-03-18 21:43:38 +09:00
Bob Owen
06e48326dd Bug 1257124: Add null check for IDWriteFactory in gfxDWriteFontFileLoader::CreateCustomFontFile. r=bas 2016-03-18 09:53:31 +00:00
Carsten "Tomcat" Book
df1c1cc556 Backed out changeset ceb8532131fb (bug 1223736) for reftest failures
--HG--
extra : rebase_source : 9c5aaf093345f7bfff7f305ceabcd5f04a237da4
2016-03-18 09:58:39 +01:00
Carsten "Tomcat" Book
b8b88ab9fb Backed out changeset 2b7b7ea014d8 (bug 1223736)
--HG--
extra : rebase_source : 39d8455a2a72359cedd605839233f9619aac241e
2016-03-18 09:58:21 +01:00
Matt Woodrow
0ae5f6fcf2 Bug 1223736 - Part 2: Apply mask in correct coordinate space when drawing with 3d transforms with BasicCompositor. r=lsalzman 2016-03-18 18:45:50 +13:00
Matt Woodrow
66a2278a0a Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Wes Kocher
733e78634f Backed out changeset 93f4eafb8beb (bug 1256693) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: 1K6kSNA28N9
2016-03-17 15:42:54 -07:00
Wes Kocher
85732789fb Backed out changeset 7a74257343be (bug 1256693) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: Em8nObLSj9r
2016-03-17 15:42:51 -07:00
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