cogl debug: hint that all debugging paths are G_UNLIKELY
authorRobert Bragg <robert@linux.intel.com>
Wed, 17 Feb 2010 17:53:28 +0000 (17:53 +0000)
committerRobert Bragg <robert@linux.intel.com>
Tue, 23 Feb 2010 22:09:07 +0000 (22:09 +0000)
commitfa3830ff20962dc72b676a5411a7fa1829a870cd
tree3707f9abf141634573f872c8d85c82b7e128804c
parenta58d6e8ee5e26185ff090845df68b61076275c21
cogl debug: hint that all debugging paths are G_UNLIKELY

Most Cogl debugging code conditions are marked as G_UNLIKELY with the
intention of having the CPU branch prediction always assume the
path is disabled so having debugging support in release binaries has
negligible overhead.

This patch simply fixes a few cases where we weren't using G_UNLIKELY.
clutter/cogl/cogl/cogl-journal.c
clutter/cogl/cogl/cogl.c