OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1973845
)
i965: Stop flushing the batch on timestamp queries, too.
author
Eric Anholt
<eric@anholt.net>
Tue, 16 Oct 2012 18:27:27 +0000
(11:27 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 19 Oct 2012 18:47:01 +0000
(11:47 -0700)
Given the usecase we have of trying to measure timestamps across individual
draw calls, flushing will totally mess up what people are trying to measure.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_queryobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_queryobj.c
b/src/mesa/drivers/dri/i965/brw_queryobj.c
index
89420e9
..
1aa4974
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_queryobj.c
+++ b/
src/mesa/drivers/dri/i965/brw_queryobj.c
@@
-302,7
+302,6
@@
brw_end_query(struct gl_context *ctx, struct gl_query_object *q)
case GL_TIME_ELAPSED_EXT:
write_timestamp(intel, query->bo, 1);
- intel_batchbuffer_flush(intel);
break;
case GL_SAMPLES_PASSED_ARB: