Commit Graph

199 Commits

Author SHA1 Message Date
sotaro
af51240c43 Bug 1324648 - Use GLContext to get GL functions pointers for webrender r=nical 2016-12-21 13:22:04 +09:00
sotaro
af71733827 Bug 1324355 - Make ResumeComposition work r=nical 2016-12-21 11:13:57 +09:00
sotaro
0358c6d7b0 Bug 1324345 - Add calls of DrawWindowUnderlay and DrawWindowOverlay r=nical? 2016-12-19 16:05:36 +09:00
Kartikaya Gupta
7445129cff Bug 1364525 - Update APIs to allow APZ to produce scrollbar transforms. r=pchang,botond
This allows the APZCTreeManager::PushStateToWR function to also produce a set
of transforms to be applied to scrollbar thumbs. The PushStateToWR function
will be updated in the next patch to actually produce the transforms. This patch
also rearranges code in WebRenderBridgeParent::CompositeToTarget so that either
OMTA or APZ can produce animation updates.

MozReview-Commit-ID: 1ghvVG32TC5
2017-05-23 10:50:42 -04:00
Mason Chang
7ba6cc3c56 Bug 1322796. Correctly flip surface pattern for reftests. r=kats? 2016-12-12 13:41:15 -08:00
sotaro
cb3370d6d7 Bug 1322956 - Fix wr_pop_dl_builder() break r=nical? 2016-12-12 15:12:30 +09:00
Kartikaya Gupta
be0ba37c61 Bug 1322796 - Don't assume the snapshot area is the same as the buffer. r=mchang?
MozReview-Commit-ID: G999P66By7V
2016-12-10 04:30:49 -05:00
Sotaro Ikeda
88affac154 Bug 1322388 - OpDPPushExternalImageId message to PWebRenderBridge r=nical? 2016-12-07 17:52:24 -08:00
JerryShih
23ad89ae32 Bug 1320320 - wait epochs ready before WR render() call. r=mchang?
wait for root_pipeline_id's and iframe's epochs ready before render() call.

MozReview-Commit-ID: AFVOmlaBmPp
2016-12-07 08:04:49 -10:00
JerryShih
aaa6e41263 Bug 1320320 - handle pipeline epoch in WR binding. r=mchang?
move the epoch counting from gecko to WR binding

MozReview-Commit-ID: 8bc6Cy4HDYS
2016-12-07 08:04:49 -10:00
Sotaro Ikeda
6a998d6dae Bug 1322086 - Handle texture recycling in WebRenderImageLayer r=nical? 2016-12-07 02:02:04 -08:00
Matt Woodrow
53e1d350fc Bug 1325227 - Part 1: Remove synchronous transaction replies since they don't return any data we didn't already have. r=nical
MozReview-Commit-ID: 2HIbk65L7zR
2016-12-06 13:34:54 -10:00
Jerry Shih
f645b7b9e4 Backed out changeset cd238a069da7
miss the Cargo update changeset.
2016-12-05 01:22:51 -10:00
JerryShih
533f296da4 Bug 1320320 - handle pipeline epoch in WR binding. r=mchang?
move the epoch counting from gecko to WR binding

MozReview-Commit-ID: IqHbOchFJIc
2016-12-05 01:16:03 -10:00
sotaro
ae40b4b5f8 Bug 1322043 - Use ImageClient/Host in WebRenderImageLayer without using external image id r=nical? 2016-12-05 13:15:02 +09:00
sotaro
c17116ac04 Bug 1319170 - Fix build failure r=mchang 2016-12-04 17:53:28 +09:00
Mason Chang
c135af4c61 Bug 1319170. Readback gpu directly into shared texture buffer for reftests. r=sotaro? 2016-12-02 10:39:40 -08:00
Mason Chang
c4f153073a Bug 1321654 - Assert which thread bindings.rs executes in. r=gfx? 2016-12-01 14:10:10 -08:00
sotaro
d6ad646b8c Bug 1320864 - Add DidComposite handling r=nical 2016-12-01 13:36:41 +09:00
Morris Tseng
d25184863a Merge 3c3cd985155f9a0c016b2087fce7a41482dfda5f to graphics. 2016-12-01 10:25:55 +08:00
JerryShih
fc791db4b9 Bug 1321141 - make PWebRenderBridge manage PCompositable. r=sotaro?
Update PWebRenderBridge.ipdl to manage PCompositable.
Let WebRenderBridgeChild/Parent to implement CompositableForwarder and CompositableParentManager for compositable-op message.

MozReview-Commit-ID: 4m5jmDSL8xo
2016-11-30 18:57:26 +08:00
sotaro
bce64e2754 Bug 1320628 - Fix background tab crash when e10s is enabled r=nical? 2016-11-30 11:59:14 +09:00
Mason Chang
3a64eef17f Bug 1321095 Add an epoch for each frame in webrender. r=hshih? 2016-11-29 14:08:32 -08:00
Morris Tseng
c6489c9bff Bug 1319646 - Toggle webrender profiler by preferences. r=kats?
MozReview-Commit-ID: DneWqzP34ux
2016-11-29 10:06:25 +08:00
sotaro
b1b026183b Bug 1320623 - Fix build failure r=nical? 2016-11-29 10:13:37 +09:00
sotaro
74c68f1e0a Bug 1320623 - TextureHost recycling handling for ImageBridge r=nical 2016-11-29 09:58:23 +09:00
Mason Chang
95df8e3773 Bug 1320742 - Use Skia to draw webrender snapshot data. r=sotaro? 2016-11-28 10:39:52 -08:00
sotaro
d320259768 Bug 1318113 - Use BufferTexture to return the reftest snapshot r=nical? 2016-11-28 11:39:42 +09:00
sotaro
b7762d0211 Bug 1320277 - Add WebRenderBridgeParent::Destroy() r=nical 2016-11-28 10:21:33 +09:00
sotaro
1cce17802e Bug 1320023 - Make WebRenderBridgeChild destroy simiar to LayerTransactionChild r=nical 2016-11-25 10:36:37 +09:00
sotaro
fef2b1e0ed Bug 1317935 - Move external image ids clean up to ClearResources() r=nical? 2016-11-24 17:53:17 +09:00
sotaro
90ca478357 Bug 1317935 - Use GetCompositeUntilTime() to trigger next composition r=nical? 2016-11-24 15:48:01 +09:00
Morris Tseng
d29b5014e3 Backed out changeset 2622d62d1f08 2016-11-24 10:55:16 +08:00
Morris Tseng
28652944a5 Bug 1319646 - Add a preference to enable/disable webrender profiler. r=jrmuizel?
MozReview-Commit-ID: 31349AWgDr9
2016-11-23 11:40:00 +08:00
Kartikaya Gupta
c04b94f2aa Bug 1319510 - Guard against using a null mCompositorScheduler. r=sotaro?
MozReview-Commit-ID: LAwFEx39CaS
2016-11-22 14:35:41 -05:00
Kartikaya Gupta
0e4b61429d Bug 1319199 - Update gfx code to work with new webrender version. r=gfx?
The updated webrender doesn't take scroll IDs as part of the stacking context.
Instead, it has dedicated operations to push/pop scrolling layers. Since APZ
is currently disabled we don't really need this functionality. We will use it
in the future but for now we can remove the relevant code.

MozReview-Commit-ID: 9NpXvvgYSah
2016-11-22 09:53:55 -05:00
sotaro
c5628a80fc Bug 1319303 - Add WebRenderBridgeParent::ClearResources() r=kats 2016-11-22 23:22:54 +09:00
sotaro
f4bcc48616 Bug 1317893 - Add CompositorVsyncScheduler to WebRenderBridgeParent r=kats 2016-11-22 11:56:38 +09:00
Kartikaya Gupta
6b169f9d8a Bug 1318100 - Minor cosmetic cleanup. r=mchang?
MozReview-Commit-ID: BuypOmNxpUJ
2016-11-21 10:16:11 -05:00
Mason Chang
e15e440bc7 Bug 1318100 - Add support for reftests in webrender. r=mstange 2016-11-18 16:10:53 -08:00
Mason Chang
5fe565ef0d Bug 1318761 - Properly create nested stacking contexts in bindings.rs. r=kats? 2016-11-18 12:19:43 -08:00
JerryShih
3fa7b53999 Bug 1318066 - Revert the changes for packing the webrender shaders. r=kats?
Revert "Bug 1318066 - Provide WR with the path to the resources directory. r=jrmuizel?"
This reverts commit 6aeb295d19b80c368cb3a31a096ac76b745797df

Revert "Bug 1318066 - Ensure webrender resources are bundled into the Firefox installation. r=jrmuizel?"
This reverts commit fdfd418626ad2bedc33a6bd813a3472617a9b1e3

MozReview-Commit-ID: FXSAXK5qsmr
2016-11-18 21:56:47 +08:00
JerryShih
2e6f8d233d Backed out changeset b1542ac3fc70 (bug 1317893)
Hit assert at:
https://hg.mozilla.org/projects/graphics/annotate/b1542ac3fc70/gfx/layers/ipc/CompositorVsyncScheduler.cpp#l85

MozReview-Commit-ID: 612HYIXMgE2
2016-11-18 21:56:47 +08:00
sotaro
168dc395af Bug 1317893 - Add CompositorVsyncScheduler to WebRenderBridgeParent r=kats 2016-11-18 17:34:25 +09:00
Morris Tseng
761072f8f0 Bug 1316903 - Merged many webrender commands to single transaction. r=kats
MozReview-Commit-ID: 4iOxYJ6x4ZL
2016-11-18 16:07:02 +08:00
Kartikaya Gupta
0173950193 Bug 1312316 - Follow-up to add a clarifying comment and trivial cleanup. r=gfx?
MozReview-Commit-ID: 2qV5nXSxP9U
2016-11-17 10:03:20 -05:00
sotaro
ebe36d991c Bug 1312316 - Add stubbed WebRenderCompositorOGL r=nical 2016-11-17 18:02:56 +09:00
Kartikaya Gupta
a6df34127e Bug 1318066 - Provide WR with the path to the resources directory. r=jrmuizel?
MozReview-Commit-ID: JSatfZmk6Fh
2016-11-16 13:54:13 -05:00
Mozilla Graphics Team
8d165b3b75 Bug 1317774 - Add gfx code needed to use WebRender in gecko. r=gfx
The overall architecture here is that we add a new layers type, LAYERS_WR,
which can be used in place of client layers. The WebRenderLayerManager, in
the EndTransaction call, paints content into images and ships them over the
PWebRenderBridge to the compositor thread. The WebRenderBridgeParent code on
the compositor side talks to WebRender via the API in webrender.h.

MozReview-Commit-ID: JKLTLJWVXiN
2016-11-16 08:54:51 -05:00