drm_hwcomposer: use latest patchset of "separate C compliant header file."
Revert "drm_hwcomposer: separate C compliant header file."
This reverts commit e7eff73fb428d53c5488ef470d9e401949eb1b00.
drm_hwcomposer: separate C compliant header file.
Creating C compliant header file drmhwcgralloc.h.
gralloc.tegra uses C compiler and depends only on code in drmhwcgralloc.h.
The module doesn't depend on anything present in new drm_hwcomposer.h.
This is required to fix the compile error.
Change-Id: If7188a20a7c4ef90eb7598f0cb7733b3a45ace51
diff --git a/drm_hwcomposer.h b/drm_hwcomposer.h
index 3d32681..5a45782 100644
--- a/drm_hwcomposer.h
+++ b/drm_hwcomposer.h
@@ -23,7 +23,17 @@
#include <hardware/hardware.h>
#include <hardware/hwcomposer.h>
#include "seperate_rects.h"
-#include "drm_hwc.h"
+#include "drmhwcgralloc.h"
+
+struct hwc_import_context;
+
+int hwc_import_init(struct hwc_import_context **ctx);
+int hwc_import_destroy(struct hwc_import_context *ctx);
+
+int hwc_import_bo_create(int fd, struct hwc_import_context *ctx,
+ buffer_handle_t buf, struct hwc_drm_bo *bo);
+bool hwc_import_bo_release(int fd, struct hwc_import_context *ctx,
+ struct hwc_drm_bo *bo);
namespace android {