projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
314647c
)
i965: Add inline to brw_bo_unmap
author
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 1 Jul 2017 03:33:57 +0000
(20:33 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 1 Jul 2017 03:35:14 +0000
(20:35 -0700)
I meant to do this in "i965: Make brw_bo_unmap a static inline."
but botched the commit fixup.
src/mesa/drivers/dri/i965/brw_bufmgr.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_bufmgr.h
b/src/mesa/drivers/dri/i965/brw_bufmgr.h
index a817958d7bd99410021f2b879427200f0445e521..4d671b6aaeb104d869646d32867ee0db4678714c 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_bufmgr.h
+++ b/
src/mesa/drivers/dri/i965/brw_bufmgr.h
@@
-212,7
+212,7
@@
MUST_CHECK void *brw_bo_map(struct brw_context *brw, struct brw_bo *bo, unsigned
* Reduces the refcount on the userspace mapping of the buffer
* object.
*/
-static int brw_bo_unmap(struct brw_bo *bo) { return 0; }
+static in
line in
t brw_bo_unmap(struct brw_bo *bo) { return 0; }
/** Write data into an object. */
int brw_bo_subdata(struct brw_bo *bo, uint64_t offset,