this way it can be accessed by hwcomposer module, which will
be required to implement jellybean mr1 hooks.
Change-Id: I68872243c30aee2d0eb76f38fe54efdea4862a66
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
LOCAL_SRC_FILES := \
gralloc.c \
+LOCAL_C_INCLUDES := \
+ external/drm \
+ external/drm/include/drm \
+
LOCAL_SHARED_LIBRARIES := \
libgralloc_drm \
liblog \
#include <errno.h>
#include "gralloc_drm.h"
-
-struct drm_module_t {
- gralloc_module_t base;
-
- pthread_mutex_t mutex;
- struct gralloc_drm_t *drm;
-};
+#include "gralloc_drm_priv.h"
/*
* Initialize the DRM device object, optionally with KMS.
struct gralloc_drm_plane_t *planes;
};
+struct drm_module_t {
+ gralloc_module_t base;
+
+ pthread_mutex_t mutex;
+ struct gralloc_drm_t *drm;
+};
+
struct gralloc_drm_drv_t {
/* destroy the driver */
void (*destroy)(struct gralloc_drm_drv_t *drv);