commit | dc5e0627b6217fee77af48e558dc2490941c4417 | [log] [tgz] |
---|---|---|
author | David Sodman <dsodman@google.com> | Fri Jan 05 23:10:57 2018 -0800 |
committer | David Sodman <dsodman@google.com> | Wed Mar 21 11:57:09 2018 -0700 |
tree | 83b3a03e081c689f927a8005da1d7cfc5b1a4433 | |
parent | d0d8f5c8bcd71d67f524dc7929f969ce7b101075 [diff] [blame] |
SF: Add support for screen captures Add Layer::drawNow to support capturing portions of the screen in the FE, as this is not tied to vsync Test: Compile/Run manually Merged-Id: I0781d44240ae127a6e70b35282a02cbedfe36fe4 Change-Id: I0781d44240ae127a6e70b35282a02cbedfe36fe4
diff --git a/services/surfaceflinger/BufferLayer.h b/services/surfaceflinger/BufferLayer.h index 6b02f8c..c7b09ad 100644 --- a/services/surfaceflinger/BufferLayer.h +++ b/services/surfaceflinger/BufferLayer.h
@@ -101,6 +101,7 @@ */ void onDraw(const RenderArea& renderArea, const Region& clip, bool useIdentityTransform) const override; + void drawNow(const RenderArea& renderArea, bool useIdentityTransform) const; void onLayerDisplayed(const sp<Fence>& releaseFence) override;