Commit Graph

2681 Commits

Author SHA1 Message Date
Nathan Froyd
b9cca6c700 Bug 1322553 - part 2 - use the new constructor of GeckoProfilerTracingRAII; r=mstange
This patch is not strictly relevant to the current bug, but doing the
work here nicely illustrates how the constructor we added in part 1 can
be used in existing parts of the codebase.
2017-01-07 15:56:49 -05:00
Kartikaya Gupta
b9992ac181 Merge m-c to graphics
MozReview-Commit-ID: 4IBPvJvxXEM
2016-12-15 10:15:36 -05:00
Kartikaya Gupta
a386c27f34 Merge m-c to graphics
MozReview-Commit-ID: C13IwWOpf64
2016-12-14 09:32:38 -05:00
sotaro
db46241ee7 Bug 1320023 - Reduce MOZ_ENABLE_WEBRENDER r=nical? 2016-12-14 15:41:04 +09:00
Hiroyuki Ikezoe
a2416ba517 Bug 1311620 - Part 3: Incorporate null_t in Animatable. r=birtles
We couldn't tell the difference between a null StyleAnimationValue and
transform:none on the compositor. This was not a problem before, since we didn't
need the null StyleAnimationValue on the compositor, because the null
StyleAnimationValue have to be passed with composite:add flag, and in the case of
composite:add we just used the underlying value, i.e. we didn't use the null
value at all.
But for normal additive animations, we have to check the null StyleAnimationValue
to tell whether we are processing a missing keyframe or not.
So in this patch, Animatable can be null_t to represent the null
StyleAnimationValue, and as a result of this change, we can drop
BaseAnimationStyle.

MozReview-Commit-ID: Au41ujHgPpU
2016-12-24 17:27:18 +09:00
Mason Chang
7ba6cc3c56 Bug 1322796. Correctly flip surface pattern for reftests. r=kats? 2016-12-12 13:41:15 -08:00
Nicholas Nethercote
c1b079c8b7 Bug 1332577 (part 7) - Rename mozilla_get_pseudo_stack() as profiler_get_pseudo_stack(). r=mstange.
This makes it consistent with other profiler functions.
2017-01-20 15:07:05 +11:00
Tom Tromey
a4b717ab39 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Kartikaya Gupta
72176af814 Merge m-c to graphics
MozReview-Commit-ID: Cx7uECrZfsq
2016-12-09 15:23:01 -05:00
Sotaro Ikeda
88affac154 Bug 1322388 - OpDPPushExternalImageId message to PWebRenderBridge r=nical? 2016-12-07 17:52:24 -08:00
Sotaro Ikeda
6a998d6dae Bug 1322086 - Handle texture recycling in WebRenderImageLayer r=nical? 2016-12-07 02:02:04 -08:00
Kartikaya Gupta
17245d5f13 Merge m-c to graphics
MozReview-Commit-ID: KhxBqJbwxv8
2016-12-06 23:45:24 -05: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
02c56edd1b Bug 1320284 - Switch WebRender by Pref r=nical? 2016-12-04 17:40:52 +09:00
Kartikaya Gupta
48bd92c368 Bug 900745 - Remove bogus fallback codepath. r=mattwoodrow
MozReview-Commit-ID: GnGZFFRRTgE
2017-01-28 09:06:31 -05: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
Andrew McCreight
1cec41225f Bug 1329805 - Add in bootlegged include to PAPZCTreeManager. r=kats
MozReview-Commit-ID: 1LVW7C2YgaG
2017-01-09 15:48:16 -08:00
sotaro
1ff72c86e1 Bug 1329300 - Update validity check of SharedPlanarYCbCrImage r=nical 2017-01-11 10:39:27 +09: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
Nicholas Nethercote
893d13057b Bug 1336288 - Remove ImageBridgeThread. r=ttromey.
This class is a temporary hack that was added to avoid a spurious LSan warning
on Beta/Release. It has not been necessary since bug 1215265 landed.
2017-02-03 16:24:43 +11:00
sotaro
b68e49c9b3 Bug 1320009 - Fix build failure r=nical? 2016-11-29 12:03:06 +09: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
Morris Tseng
876f0e708e Merge mozilla-central to graphics. 2016-11-28 10:46:02 +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
c7dcab227b Bug 1320009 - Add more clean up to CompositorBridgeParent::StopAndClearResources() r=nical 2016-11-25 10:18:27 +09:00
Andrew McCreight
209d4ee048 Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd
f2d50c26f4 Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight
2f93d6e48d Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05: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
Kartikaya Gupta
e6df8d5b7e Bug 1319521 - Properly tear down the LayerTreeState for content. r=gfx?
We were never actually removing the LayerTreeState entry for content layer trees.
In non-webrender codepaths, this happens when a PLayerTransaction belonging to
a CrossProcessCompositorBridge is torn down (see CrossProcessCompositorBridge::
DeallocPLayerTransactionParent). The equivalent of that in the webrender world
is in DeallocPWebRenderBridgeParent, so we should do the same.
2016-11-23 10:46:46 -05: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
sotaro
f4bcc48616 Bug 1317893 - Add CompositorVsyncScheduler to WebRenderBridgeParent r=kats 2016-11-22 11:56:38 +09:00
Kartikaya Gupta
cb00cf1f3c Merge m-c to graphics
MozReview-Commit-ID: HlYQkwnswIh
2016-11-21 10:24:00 -05:00
Mason Chang
e15e440bc7 Bug 1318100 - Add support for reftests in webrender. r=mstange 2016-11-18 16:10:53 -08:00
Morris Tseng
9043ffce1b Bug 1316223 - Moving binding to separate folder. r=jrmuizel,kats
MozReview-Commit-ID: FLqSGebdGcH
2016-11-18 13:02:05 -05:00
Kartikaya Gupta
d4307a1607 Merge m-c to graphics
MozReview-Commit-ID: LrF5oQpIOhC
2016-11-18 11:39:22 -05: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 Ikeda
cfc0d769fa Bug 1317893 - Split CompositorVsyncScheduler to own file r=kats 2016-11-18 02:37:04 -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
Nicholas Nethercote
ba591e22dd Bug 1299335 (part 8) - Streamline nsIWidget::Enable. r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.
2016-12-19 20:54:16 +11:00
Nicholas Nethercote
aaca44be3c Bug 1299335 (part 7) - Streamline nsIWidget::{Move,Resize}. r=mstange.
This patch changes them from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.
2016-12-19 20:54:03 +11:00
Hiroyuki Ikezoe
51dbd0134d Bug 1305325 - Part 14: Compose base values on the compositor. r=birtles
MozReview-Commit-ID: EWumBqQ82RT
2016-12-04 08:07:40 +09:00
Hiroyuki Ikezoe
aadb5bff24 Bug 1305325 - Part 12: Pass base value for opacity or transform to the compositor. r=birtles,mstange
MozReview-Commit-ID: 3mxatMvsNKk
2016-12-04 08:07:40 +09:00