davinci: fod: Use FOD_PRESSED_LAYER_ZORDER instead of magic number
Change-Id: I93d8519ca43db307abdf958354920da10776aa80
This commit is contained in:
parent
e080227d40
commit
acd719db2d
@ -14,11 +14,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <drm/sde_drm.h>
|
||||||
#include <compositionengine/FodExtension.h>
|
#include <compositionengine/FodExtension.h>
|
||||||
|
|
||||||
uint32_t getFodZOrder(uint32_t z, bool touched) {
|
uint32_t getFodZOrder(uint32_t z, bool touched) {
|
||||||
if (touched) {
|
if (touched) {
|
||||||
z |= 0x20000000u;
|
z |= FOD_PRESSED_LAYER_ZORDER;
|
||||||
}
|
}
|
||||||
|
|
||||||
return z;
|
return z;
|
||||||
|
Loading…
Reference in New Issue
Block a user