Change-Id: I3a6c500f562fdc9ea381044708ead6af9940409f
#include <tdm_helper.h>
#include "tdm_exynos.h"
-#define MIN_WIDTH 32
+#define MIN_WIDTH 32
-#define NUM_LAYERS 3
-#define NUM_BUFFERS 3
+#define NUM_LAYERS 3
+#define NUM_BUFFERS 3
-#define ZPOS_MAX 3
-#define ZPOS_2 2
-#define ZPOS_1 1
-#define ZPOS_0 0
-#define ZPOS_VIDEO1 0
-#define ZPOS_NONE -999
+#define NUM_UI_LAYERS 3
+
+#define ZPOS_MAX 3
+#define ZPOS_2 2
+#define ZPOS_1 1
+#define ZPOS_0 0
+#define ZPOS_VIDEO1 0
+#define ZPOS_NONE -999
tbm_format hwc_window_video_formats[] = {
TBM_FORMAT_ARGB8888,
int video_count = 0;
int ui_lzpos_top = ZPOS_2;
int ui_lzpos_bottom = ZPOS_0;
- int num_ui_layers = NUM_LAYERS;
+ int num_ui_layers = NUM_UI_LAYERS;
int set_clients_below = 0;
int i = 0;
}
/* 2. check need target window and set ui_lzpos top and bottom */
- num_ui_layers = NUM_LAYERS;
+ num_ui_layers = NUM_UI_LAYERS;
if (video_count > 0) {
ui_lzpos_bottom++;