• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoapythonrubywindowsphpgameguibathyscaphec翻訳omegatframework計画中(planning stage)twitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

external/gbm_gralloc


Commit MetaInfo

Revision3090c6eb4143aba5637b74bdf3f3a4affb86ad6c (tree)
Time2020-06-23 18:29:05
AuthorShawn Guo <shawn.guo@lina...>
CommiterAmit Pundir

Log Message

gralloc_gbm: fix gralloc_gbm_bo_lock() declaration

The variable names in gralloc_gbm_bo_lock() function declaration don't
match the definition in gralloc_gbm.cpp. Let's fix them to stop the
confusion.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>

Change Summary

Incremental Difference

--- a/gralloc_gbm_priv.h
+++ b/gralloc_gbm_priv.h
@@ -43,7 +43,7 @@ struct gbm_bo *gralloc_gbm_bo_from_handle(buffer_handle_t handle);
4343 buffer_handle_t gralloc_gbm_bo_get_handle(struct gbm_bo *bo);
4444 int gralloc_gbm_get_gem_handle(buffer_handle_t handle);
4545
46-int gralloc_gbm_bo_lock(buffer_handle_t handle, int x, int y, int w, int h, int enable_write, void **addr);
46+int gralloc_gbm_bo_lock(buffer_handle_t handle, int usage, int x, int y, int w, int h, void **addr);
4747 int gralloc_gbm_bo_unlock(buffer_handle_t handle);
4848
4949 struct gbm_device *gbm_dev_create(void);