projects
/
profile
/
ivi
/
libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3452cb6
)
test/putsurface/putsurface: pass a valid DRAWABLE to vaPutSurface
81/781/1
author
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 13 May 2011 07:43:51 +0000
(15:43 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Mon, 16 May 2011 03:56:21 +0000
(11:56 +0800)
test/putsurface/putsurface_common.c
patch
|
blob
|
history
diff --git
a/test/putsurface/putsurface_common.c
b/test/putsurface/putsurface_common.c
index
23736ca
..
1bf4e1e
100644
(file)
--- a/
test/putsurface/putsurface_common.c
+++ b/
test/putsurface/putsurface_common.c
@@
-163,6
+163,11
@@
static void* putsurface_thread(void *data)
pixmap = pixmap_thread1;
context = context_thread1;
}
+
+ if (put_pixmap)
+ draw = pixmap;
+ else
+ draw = win;
#endif
printf("vaPutSurface into a Window directly\n\n");