projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bb536e
)
intel: Drop gratuitous flush in PBO blit upload.
author
Eric Anholt
<eric@anholt.net>
Wed, 21 Sep 2011 16:50:06 +0000
(09:50 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 22 Sep 2011 18:03:24 +0000
(11:03 -0700)
Since the blit gets sequenced after other batchbuffer rendering like
normal, there's no need to push things out early.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/intel/intel_tex_image.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_image.c
b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 595eeb089adf82fb6319534aba61063049e19103..37704bcca0eaa2dd1415c40c3921ca2aaeffc289 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_image.c
@@
-195,9
+195,6
@@
try_pbo_upload(struct intel_context *intel,
dst_stride = intelImage->mt->region->pitch;
- if (drm_intel_bo_references(intel->batch.bo, dst_buffer))
- intel_flush(&intel->ctx);
-
{
GLuint offset;
drm_intel_bo *src_buffer =