mirror of
https://github.com/brl/mutter.git
synced 2025-07-30 21:40:20 +00:00
docs: Use "Cogl" not "COGL" in Cogl API reference
Cogl isn't an acronym so we should use "Cogl" instead of "COGL" in our documentation.
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<varlistentry>
|
||||
<term>COGL_DEBUG</term>
|
||||
<listitem>
|
||||
<para>Enables debugging modes for COGL.</para>
|
||||
<para>Enables debugging modes for Cogl.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -130,11 +130,11 @@
|
||||
<varlistentry>
|
||||
<term>--cogl-debug=FLAGS</term>
|
||||
<listitem><para>Equivalent of COGL_DEBUG. Sets FLAGS as the
|
||||
COGL debugging flags.</para></listitem>
|
||||
Cogl debugging flags.</para></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>--cogl-no-debug=FLAGS</term>
|
||||
<listitem><para>Unsets FLAGS from the COGL debugging
|
||||
<listitem><para>Unsets FLAGS from the Cogl debugging
|
||||
flags.</para></listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
@@ -385,16 +385,15 @@ foo_actor_allocate (ClutterActor *actor,
|
||||
<title>Painting and picking</title>
|
||||
|
||||
<para>The <classname>ClutterActor</classname>::paint() method should be
|
||||
overridden if the actor needs to control its drawing process, either by
|
||||
using the Clutter GL and GLES abstraction library (COGL) or by directly
|
||||
using the GL or GLES API.</para>
|
||||
overridden if the actor needs to control its drawing process, by
|
||||
painting other child actors or drawing with the Cogl 3D graphics
|
||||
API.</para>
|
||||
|
||||
<example id="simple-actor-paint-example">
|
||||
<title>Paint implementation of a simple actor</title>
|
||||
<para>In this example, the <classname>FooActor</classname>
|
||||
implementation of the paint() virtual function is drawing a rectangle
|
||||
with rounded corners with a custom color. The COGL API is used, to
|
||||
allow portability between GL and GLES platforms.</para>
|
||||
with rounded corners with a custom color using the Cogl API.</para>
|
||||
<programlisting>
|
||||
static void
|
||||
foo_actor_paint (ClutterActor *actor)
|
||||
|
Reference in New Issue
Block a user