diff options
| author | 2011-08-30 19:00:15 -0700 | |
|---|---|---|
| committer | 2011-08-30 19:00:15 -0700 | |
| commit | ad0e6f9122cb910a17505bcd717e9a04e1eb789e (patch) | |
| tree | e0855edbd139074cab6c8213f06b4cd77d71493d /services/surfaceflinger/LayerBase.cpp | |
| parent | c245d164fa02d049c7c67a4753c1fbda5feddcc6 (diff) | |
| parent | c7f3381c3b2945e441747130eae88214435d0819 (diff) | |
Merge "fix display artifacts in preview screen in timelapse video mode"
Diffstat (limited to 'services/surfaceflinger/LayerBase.cpp')
| -rw-r--r-- | services/surfaceflinger/LayerBase.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp index 4cc245a110..6a5c8e522e 100644 --- a/services/surfaceflinger/LayerBase.cpp +++ b/services/surfaceflinger/LayerBase.cpp @@ -335,17 +335,18 @@ void LayerBase::setGeometry(hwc_layer_t* hwcl) reinterpret_cast<hwc_rect_t const *>( visibleRegionScreen.getArray( &hwcl->visibleRegionScreen.numRects)); -} -void LayerBase::setPerFrameData(hwc_layer_t* hwcl) { - hwcl->compositionType = HWC_FRAMEBUFFER; - hwcl->handle = NULL; hwcl->sourceCrop.left = 0; hwcl->sourceCrop.top = 0; hwcl->sourceCrop.right = mTransformedBounds.width(); hwcl->sourceCrop.bottom = mTransformedBounds.height(); } +void LayerBase::setPerFrameData(hwc_layer_t* hwcl) { + hwcl->compositionType = HWC_FRAMEBUFFER; + hwcl->handle = NULL; +} + void LayerBase::setFiltering(bool filtering) { mFiltering = filtering; |