projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f2e46
)
Dump SwapBuffers calls with -v
author
José Fonseca
<jose.r.fonseca@gmail.com>
Wed, 23 Mar 2011 23:22:50 +0000
(23:22 +0000)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Wed, 23 Mar 2011 23:22:50 +0000
(23:22 +0000)
glretrace.py
patch
|
blob
|
history
diff --git
a/glretrace.py
b/glretrace.py
index
761be80
..
070fd37
100644
(file)
--- a/
glretrace.py
+++ b/
glretrace.py
@@
-282,6
+282,10
@@
static void display(void) {
// XXX: We ignore the majority of the OS-specific calls for now
if (name == "glXSwapBuffers" ||
name == "wglSwapBuffers") {
+ if (verbosity >= 1) {
+ std::cout << *call;
+ std::cout.flush();
+ };
frame_complete();
if (double_buffer)
glutSwapBuffers();