From: Emmanuele Bassi Date: Thu, 25 Jun 2009 13:39:57 +0000 (+0100) Subject: Add debug notes for calls to glViewport() X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3726213291ad513e09ec7e8b3776cc2d2b9d9cb9;p=profile%2Fivi%2Fclutter.git Add debug notes for calls to glViewport() 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. --- diff --git a/clutter/cogl/common/cogl.c b/clutter/cogl/common/cogl.c index 9b1cbf7..a4d8fea 100644 --- 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;