Commit Graph

21590 Commits

Author SHA1 Message Date
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