define MAX_NR_SHARED_SURF

This commit is contained in:
Vincent Wei
2020-02-01 21:37:51 +08:00
parent 71f7cb3efe
commit 8bfded59be

View File

@@ -86,6 +86,11 @@
#define DEF_NR_NORMALS 128
#define DEF_NR_FIXEDZNODES 4
#if IS_COMPOSITING_SCHEMA
/* max number of shared surfaces */
# define MAX_NR_SHARED_SURF (DEF_NR_NORMALS * (MAX_NR_LAYERS >> 1))
#endif
/* Since 4.2.0; the fixed znode index for special main window */
#define ZNIDX_DESKTOP 0
#define ZNIDX_SCREENLOCK 1