diff options
Diffstat (limited to 'services/surfaceflinger/LayerBase.cpp')
| -rw-r--r-- | services/surfaceflinger/LayerBase.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp index 3d049a79616f..14191cbc21bd 100644 --- a/services/surfaceflinger/LayerBase.cpp +++ b/services/surfaceflinger/LayerBase.cpp @@ -326,6 +326,12 @@ void LayerBase::draw(const Region& clip) const      onDraw(clip);  } +void LayerBase::drawForSreenShot() const +{ +    const DisplayHardware& hw(graphicPlane(0).displayHardware()); +    onDraw( Region(hw.bounds()) ); +} +  void LayerBase::clearWithOpenGL(const Region& clip, GLclampf red,                                  GLclampf green, GLclampf blue,                                  GLclampf alpha) const  |