This adds a uprof counter to track how many ARBfp programs get compiled
by an application.
if (priv->source)
{
GLenum gl_error;
+ COGL_STATIC_COUNTER (backend_arbfp_compile_counter,
+ "arbfp compile counter",
+ "Increments each time a new ARBfp "
+ "program is compiled",
+ 0 /* no application private data */);
+
+ COGL_COUNTER_INC (_cogl_uprof_context, backend_arbfp_compile_counter);
g_string_append (priv->source, "MOV result.color,output;\n");
g_string_append (priv->source, "END\n");