projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e1cd5
)
r300g: actually implement the is_buffer_busy hook the right way
author
Marek Olšák
<maraeo@gmail.com>
Tue, 15 Feb 2011 02:54:24 +0000
(
03:54
+0100)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 15 Feb 2011 03:00:47 +0000
(
04:00
+0100)
Ooops.
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
index e3c6195d5f6360b1d55f45e2c6f0d432978a04a8..f3c4002883dc73e46a60df7835cc331f5a0e1b4b 100644
(file)
--- a/
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+++ b/
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
@@
-304,14
+304,14
@@
static boolean radeon_bomgr_is_buffer_busy(struct pb_manager *_mgr,
struct radeon_bo *bo = radeon_bo(_buf);
if (radeon_bo_is_referenced_by_any_cs(bo)) {
- return
FALS
E;
+ return
TRU
E;
}
if (radeon_bo_is_busy((struct r300_winsys_bo*)bo)) {
- return
FALS
E;
+ return
TRU
E;
}
- return
TRU
E;
+ return
FALS
E;
}
static void radeon_bomgr_destroy(struct pb_manager *_mgr)