diff options
| author | 2011-08-30 19:00:15 -0700 | |
|---|---|---|
| committer | 2011-08-30 19:00:15 -0700 | |
| commit | 66b665ab8b8b52450310b1a551bfa8f52dbb2c10 (patch) | |
| tree | c9270ebe1c1ed3d87ca0dc53a99bcefe2bdaf4dd /services/surfaceflinger/LayerBase.cpp | |
| parent | 8ec83219e8cbac105054fb60101e6d98a972bcc2 (diff) | |
| parent | ce8e0baeff412f3581f39d0361156037386f4ecb (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 4cc245a11076..6a5c8e522e62 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; |