OSDN Git Service

drm_hwcomposer: C++ coding style cleanup, no functional changes.
[android-x86/external-drm_hwcomposer.git] / drmhwcgralloc.h
index 43b36f9..765c897 100644 (file)
@@ -43,6 +43,13 @@ enum {
    *      void **priv);
    */
   GRALLOC_MODULE_PERFORM_GET_IMPORTER_PRIVATE = 0xffeeff02,
+
+  /* perform(const struct gralloc_module_t *mod,
+   *     int op,
+   *     buffer_handle_t buffer,
+   *     int *usage);
+   */
+  GRALLOC_MODULE_PERFORM_GET_USAGE = 0xffeeff03,
 };
 
 typedef struct hwc_drm_bo {
@@ -57,4 +64,4 @@ typedef struct hwc_drm_bo {
   void *priv;
 } hwc_drm_bo_t;
 
-#endif // ANDROID_DRMHWCGRALLOC_H_
+#endif  // ANDROID_DRMHWCGRALLOC_H_