OSDN Git Service

Revert "minigbm: Revert "minigbm: flush buffer instead of unmapping""
[android-x86/external-minigbm.git] / cros_gralloc / cros_gralloc_buffer.h
index 93ec37f..e6aec91 100644 (file)
@@ -23,7 +23,8 @@ class cros_gralloc_buffer
        int32_t increase_refcount();
        int32_t decrease_refcount();
 
-       int32_t lock(uint32_t map_flags, uint8_t *addr[DRV_MAX_PLANES]);
+       int32_t lock(const struct rectangle *rect, uint32_t map_flags,
+                    uint8_t *addr[DRV_MAX_PLANES]);
        int32_t unlock();
 
       private: