X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=cros_gralloc%2Fcros_gralloc.h;h=deca856ec9672b1009145b8fd82ce775d6d84797;hb=1b1d56ae4018eaed1da9d6e7032554156b7be020;hp=a24b8625d49e83f8f0e7225ac40b9ff27d493e66;hpb=4c3aa42a5220d08b9bc06fa15a494b9d25e83507;p=android-x86%2Fexternal-minigbm.git diff --git a/cros_gralloc/cros_gralloc.h b/cros_gralloc/cros_gralloc.h index a24b862..deca856 100644 --- a/cros_gralloc/cros_gralloc.h +++ b/cros_gralloc/cros_gralloc.h @@ -10,8 +10,8 @@ #include "cros_gralloc_helpers.h" #include -#include #include +#include struct cros_gralloc_bo { struct bo *bo; @@ -30,16 +30,14 @@ struct cros_gralloc_module { gralloc_module_t base; struct driver *drv; std::mutex mutex; - std::unordered_map handles; - std::unordered_map buffers; + std::unordered_map handles; + std::unordered_map buffers; }; -int cros_gralloc_open(const struct hw_module_t *mod, const char *name, - struct hw_device_t **dev); +int cros_gralloc_open(const struct hw_module_t *mod, const char *name, struct hw_device_t **dev); int cros_gralloc_validate_reference(struct cros_gralloc_module *mod, - struct cros_gralloc_handle *hnd, - struct cros_gralloc_bo **obj); + struct cros_gralloc_handle *hnd, struct cros_gralloc_bo **obj); int cros_gralloc_decrement_reference_count(struct cros_gralloc_module *mod, struct cros_gralloc_bo *obj);