diff options
author | Byunghun Jeon <bjeon@codeaurora.org> | 2014-12-05 18:28:32 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-08 01:07:13 -0800 |
commit | 987034b5633d0eb7fca806acfe00ddbe3305b159 (patch) | |
tree | 9d186252541a857729a9f3920bd8369d4a056e0d /include/private | |
parent | b53d92c3eb9319dbf725b3e59b3c52acfa6d77f0 (diff) | |
download | frameworks_native-987034b5633d0eb7fca806acfe00ddbe3305b159.zip frameworks_native-987034b5633d0eb7fca806acfe00ddbe3305b159.tar.gz frameworks_native-987034b5633d0eb7fca806acfe00ddbe3305b159.tar.bz2 |
SurfaceFlinger: Native changes to add blur effect
Native changes to add blur-behind and blur mask effect
Change-Id: I54faf82d750e8299de6d261f6a893ab26d08df84
SurfaceFlinger: Adding template for LayerBlur files
Change-Id: I444009113b7bdd6c5284863fd1f56358e67d9fe6
SurfaceFlinger: Featurize libuiblur module for OSS build
Change-Id: Ifdc176e699434125d17b111c044b8ba954cf717c
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/gui/LayerState.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/private/gui/LayerState.h b/include/private/gui/LayerState.h index cbe8733..9ff8409 100644 --- a/include/private/gui/LayerState.h +++ b/include/private/gui/LayerState.h @@ -52,12 +52,16 @@ struct layer_state_t { eFlagsChanged = 0x00000040, eLayerStackChanged = 0x00000080, eCropChanged = 0x00000100, + eBlurChanged = 0x00400000, + eBlurMaskSurfaceChanged = 0x00800000, + eBlurMaskSamplingChanged = 0x01000000, + eBlurMaskAlphaThresholdChanged = 0x02000000, }; layer_state_t() : what(0), - x(0), y(0), z(0), w(0), h(0), layerStack(0), - alpha(0), flags(0), mask(0), + x(0), y(0), z(0), w(0), h(0), layerStack(0), blur(0), + blurMaskSampling(0), blurMaskAlphaThreshold(0), alpha(0), flags(0), mask(0), reserved(0) { matrix.dsdx = matrix.dtdy = 1.0f; @@ -82,6 +86,10 @@ struct layer_state_t { uint32_t w; uint32_t h; uint32_t layerStack; + float blur; + sp<IBinder> blurMaskSurface; + uint32_t blurMaskSampling; + float blurMaskAlphaThreshold; float alpha; uint8_t flags; uint8_t mask; |