summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-07-10 16:53:00 -0400
committerChris Michael <cp.michael@samsung.com>2018-07-10 16:53:00 -0400
commit2668f6196e82f1d7d5bda6e10bb5cb27df01d768 (patch)
treedb7980d8bd10b054bc7e3260e65f7157054e3110
parentf7fc06bf8648887aefd40a150f2ab4d42782de83 (diff)
evas_drm: Move MAX_BUFFERS macro from header to source file
Summary: It's no longer needed in the header because it doesn't change the size of the structures there anymore. Depends on D6564 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6565
-rw-r--r--src/modules/evas/engines/drm/evas_engine.h2
-rw-r--r--src/modules/evas/engines/drm/evas_outbuf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/drm/evas_engine.h b/src/modules/evas/engines/drm/evas_engine.h
index c276b71092..9d3a16d169 100644
--- a/src/modules/evas/engines/drm/evas_engine.h
+++ b/src/modules/evas/engines/drm/evas_engine.h
@@ -41,8 +41,6 @@ extern int _evas_engine_drm_log_dom;
41# endif 41# endif
42# define CRI(...) EINA_LOG_DOM_CRIT(_evas_engine_drm_log_dom, __VA_ARGS__) 42# define CRI(...) EINA_LOG_DOM_CRIT(_evas_engine_drm_log_dom, __VA_ARGS__)
43 43
44#define MAX_BUFFERS 10
45
46typedef struct _Outbuf_Fb 44typedef struct _Outbuf_Fb
47{ 45{
48 int age; 46 int age;
diff --git a/src/modules/evas/engines/drm/evas_outbuf.c b/src/modules/evas/engines/drm/evas_outbuf.c
index dda005968d..aa667a9c76 100644
--- a/src/modules/evas/engines/drm/evas_outbuf.c
+++ b/src/modules/evas/engines/drm/evas_outbuf.c
@@ -8,6 +8,8 @@
8#define GREEN_MASK 0x00ff00 8#define GREEN_MASK 0x00ff00
9#define BLUE_MASK 0x0000ff 9#define BLUE_MASK 0x0000ff
10 10
11#define MAX_BUFFERS 10
12
11static void 13static void
12_outbuf_buffer_swap(Outbuf *ob, Eina_Rectangle *rects, unsigned int count) 14_outbuf_buffer_swap(Outbuf *ob, Eina_Rectangle *rects, unsigned int count)
13{ 15{