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:
da48cba
)
virgl: enable elapsed time queries
author
Dave Airlie
<airlied@redhat.com>
Tue, 8 Jan 2019 06:50:28 +0000
(16:50 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 31 Jan 2019 01:23:30 +0000
(11:23 +1000)
GL underneath always has GL_TIME_ELAPSED so always enable these.
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/virgl/virgl_screen.c
b/src/gallium/drivers/virgl/virgl_screen.c
index
42e0987
..
9a8d0e6
100644
(file)
--- a/
src/gallium/drivers/virgl/virgl_screen.c
+++ b/
src/gallium/drivers/virgl/virgl_screen.c
@@
-172,7
+172,7
@@
virgl_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_QUERY_TIMESTAMP:
return 1;
case PIPE_CAP_QUERY_TIME_ELAPSED:
- return
0
;
+ return
1
;
case PIPE_CAP_TGSI_TEXCOORD:
return 0;
case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: