projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bab787
)
Add debug notes for calls to glViewport()
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Thu, 25 Jun 2009 13:39:57 +0000
(14:39 +0100)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Wed, 1 Jul 2009 14:30:18 +0000
(15:30 +0100)
In order to validate the sequence of:
XResizeWindow
ConfigureNotify
glViewport
that should happen on X11 we need to add debug annotations to the
calls to glViewport() done through COGL.
clutter/cogl/common/cogl.c
patch
|
blob
|
history
diff --git
a/clutter/cogl/common/cogl.c
b/clutter/cogl/common/cogl.c
index
9b1cbf7
..
a4d8fea
100644
(file)
--- a/
clutter/cogl/common/cogl.c
+++ b/
clutter/cogl/common/cogl.c
@@
-500,6
+500,7
@@
cogl_viewport (guint width,
{
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
+ COGL_NOTE (MISC, "glViewport(0, 0, %u, %u)", width, height);
GE( glViewport (0, 0, width, height) );
ctx->viewport_width = width;