OSDN Git Service
(root)
/
android-x86
/
hardware-intel-common-vaapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47fb3cf
)
Add one environment variable to check the benchmark of decoding/vaPutsurface
author
Zhao Yakui
<yakui.zhao@intel.com>
Mon, 30 Dec 2013 04:42:55 +0000
(12:42 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 27 Feb 2014 02:30:18 +0000
(10:30 +0800)
The swap_buffer callback will wait for the completion of buffer swap, which
will affect the benchmark test of decoding/vaPutSurface.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
src/i965_output_dri.c
patch
|
blob
|
history
diff --git
a/src/i965_output_dri.c
b/src/i965_output_dri.c
index
1467367
..
717ee9a
100644
(file)
--- a/
src/i965_output_dri.c
+++ b/
src/i965_output_dri.c
@@
-204,7
+204,8
@@
i965_put_surface_dri(
}
}
- dri_vtable->swap_buffer(ctx, dri_drawable);
+ if (!getenv("INTEL_DEBUG_BENCH"))
+ dri_vtable->swap_buffer(ctx, dri_drawable);
obj_surface->flags |= SURFACE_DISPLAYED;
if ((obj_surface->flags & SURFACE_ALL_MASK) == SURFACE_DISPLAYED) {