diff options
author | Mathias Agopian <mathias@google.com> | 2012-08-02 16:01:34 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-08-02 22:24:12 -0700 |
commit | fcb239d3dac8bc80f28177f1951611c1d43286ff (patch) | |
tree | d03417dadcd95b63d95b132005ba02477a1dea88 /services/surfaceflinger/LayerBase.cpp | |
parent | d3ee231eddce0b69ec5e35188dbd0f4a2c3b9ac3 (diff) | |
download | frameworks_native-fcb239d3dac8bc80f28177f1951611c1d43286ff.zip frameworks_native-fcb239d3dac8bc80f28177f1951611c1d43286ff.tar.gz frameworks_native-fcb239d3dac8bc80f28177f1951611c1d43286ff.tar.bz2 |
don't filter when capturing a screenshot unless needed
bug: 6919952
Change-Id: Ia6fbe9bc7e533a64cfdd6ef7f0cd6b9f11feb947
Diffstat (limited to 'services/surfaceflinger/LayerBase.cpp')
-rw-r--r-- | services/surfaceflinger/LayerBase.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp index 9d3a505..f1bf984 100644 --- a/services/surfaceflinger/LayerBase.cpp +++ b/services/surfaceflinger/LayerBase.cpp @@ -316,11 +316,9 @@ void LayerBase::draw(const DisplayDevice& hw, const Region& clip) const onDraw(hw, clip); } -void LayerBase::drawForScreenShot(const DisplayDevice& hw) +void LayerBase::draw(const DisplayDevice& hw) { - setFiltering(true); onDraw( hw, Region(hw.bounds()) ); - setFiltering(false); } void LayerBase::clearWithOpenGL(const DisplayDevice& hw, const Region& clip, |