<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="GskRenderer">
<refmeta>
<refentrytitle role="top_of_page" id="GskRenderer.top_of_page">GskRenderer</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GSK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GskRenderer</refname>
<refpurpose>Renders a scene</refpurpose>
</refnamediv>

<refsect1 id="GskRenderer.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GdkSurface"><returnvalue>GdkSurface</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gsk-renderer-get-surface">gsk_renderer_get_surface</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gsk-renderer-realize">gsk_renderer_realize</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gsk-renderer-unrealize">gsk_renderer_unrealize</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gsk-renderer-is-realized">gsk_renderer_is_realized</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gsk-renderer-render">gsk_renderer_render</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GdkTexture"><returnvalue>GdkTexture</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gsk-renderer-render-texture">gsk_renderer_render_texture</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

<row><entry role="function_type"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gsk-renderer-new-for-surface">gsk_renderer_new_for_surface</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gsk-gl-renderer-new">gsk_gl_renderer_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gsk-cairo-renderer-new">gsk_cairo_renderer_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gsk-vulkan-renderer-new">gsk_vulkan_renderer_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gsk-broadway-renderer-new">gsk_broadway_renderer_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GskRenderer.properties" role="properties">
<title role="properties.title">Properties</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GskRenderer--realized">realized</link></entry><entry role="property_flags">Read</entry></row>
<row><entry role="property_type"><link linkend="GdkSurface"><type>GdkSurface</type></link>&#160;*</entry><entry role="property_name"><link linkend="GskRenderer--surface">surface</link></entry><entry role="property_flags">Read</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GskRenderer.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword"></entry><entry role="function_name"><link linkend="GskRenderer-struct">GskRenderer</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GskRenderer.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GskRenderer
</screen>
</refsect1>


<refsect1 id="GskRenderer.description" role="desc">
<title role="desc.title">Description</title>
<para><link linkend="GskRenderer"><type>GskRenderer</type></link> is a class that renders a scene graph defined via a
tree of <link linkend="GskRenderNode"><type>GskRenderNode</type></link> instances.</para>
<para>Typically you will use a <link linkend="GskRenderer"><type>GskRenderer</type></link> instance to repeatedly call
<link linkend="gsk-renderer-render"><function>gsk_renderer_render()</function></link> to update the contents of its associated <link linkend="GdkSurface"><type>GdkSurface</type></link>.</para>
<para>It is necessary to realize a <link linkend="GskRenderer"><type>GskRenderer</type></link> instance using <link linkend="gsk-renderer-realize"><function>gsk_renderer_realize()</function></link>
before calling <link linkend="gsk-renderer-render"><function>gsk_renderer_render()</function></link>, in order to create the appropriate
windowing system resources needed to render the scene.</para>

</refsect1>
<refsect1 id="GskRenderer.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gsk-renderer-get-surface" role="function">
<title>gsk_renderer_get_surface&#160;()</title>
<indexterm zone="gsk-renderer-get-surface"><primary>gsk_renderer_get_surface</primary></indexterm>
<programlisting language="C"><link linkend="GdkSurface"><returnvalue>GdkSurface</returnvalue></link>&#160;*
gsk_renderer_get_surface (<parameter><link linkend="GskRenderer"><type>GskRenderer</type></link> *renderer</parameter>);</programlisting>
<para>Retrieves the <link linkend="GdkSurface"><type>GdkSurface</type></link> set using <link linkend="gsk-renderer-realize"><function>gsk_renderer_realize()</function></link>. If the renderer
has not been realized yet, <link linkend="NULL:CAPS"><literal>NULL</literal></link> will be returned.</para>
<refsect3 id="gsk-renderer-get-surface.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>renderer</para></entry>
<entry role="parameter_description"><para>a <link linkend="GskRenderer"><type>GskRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gsk-renderer-get-surface.returns" role="returns">
<title>Returns</title>
<para>a <link linkend="GdkSurface"><type>GdkSurface</type></link>. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>][<acronym>nullable</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gsk-renderer-realize" role="function">
<title>gsk_renderer_realize&#160;()</title>
<indexterm zone="gsk-renderer-realize"><primary>gsk_renderer_realize</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gsk_renderer_realize (<parameter><link linkend="GskRenderer"><type>GskRenderer</type></link> *renderer</parameter>,
                      <parameter><link linkend="GdkSurface"><type>GdkSurface</type></link> *surface</parameter>,
                      <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>Creates the resources needed by the <parameter>renderer</parameter>
 to render the scene
graph.</para>
<refsect3 id="gsk-renderer-realize.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>renderer</para></entry>
<entry role="parameter_description"><para>a <link linkend="GskRenderer"><type>GskRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>surface</para></entry>
<entry role="parameter_description"><para>the <link linkend="GdkSurface"><type>GdkSurface</type></link> renderer will be used on</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>error</para></entry>
<entry role="parameter_description"><para>return location for an error</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gsk-renderer-unrealize" role="function">
<title>gsk_renderer_unrealize&#160;()</title>
<indexterm zone="gsk-renderer-unrealize"><primary>gsk_renderer_unrealize</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gsk_renderer_unrealize (<parameter><link linkend="GskRenderer"><type>GskRenderer</type></link> *renderer</parameter>);</programlisting>
<para>Releases all the resources created by <link linkend="gsk-renderer-realize"><function>gsk_renderer_realize()</function></link>.</para>
<refsect3 id="gsk-renderer-unrealize.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>renderer</para></entry>
<entry role="parameter_description"><para>a <link linkend="GskRenderer"><type>GskRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gsk-renderer-is-realized" role="function">
<title>gsk_renderer_is_realized&#160;()</title>
<indexterm zone="gsk-renderer-is-realized"><primary>gsk_renderer_is_realized</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gsk_renderer_is_realized (<parameter><link linkend="GskRenderer"><type>GskRenderer</type></link> *renderer</parameter>);</programlisting>
<para>Checks whether the <parameter>renderer</parameter>
 is realized or not.</para>
<refsect3 id="gsk-renderer-is-realized.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>renderer</para></entry>
<entry role="parameter_description"><para>a <link linkend="GskRenderer"><type>GskRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gsk-renderer-is-realized.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <link linkend="GskRenderer"><type>GskRenderer</type></link> was realized, and <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise</para>
</refsect3></refsect2>
<refsect2 id="gsk-renderer-render" role="function">
<title>gsk_renderer_render&#160;()</title>
<indexterm zone="gsk-renderer-render"><primary>gsk_renderer_render</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gsk_renderer_render (<parameter><link linkend="GskRenderer"><type>GskRenderer</type></link> *renderer</parameter>,
                     <parameter><link linkend="GskRenderNode"><type>GskRenderNode</type></link> *root</parameter>,
                     <parameter>const <link linkend="cairo-region-t"><type>cairo_region_t</type></link> *region</parameter>);</programlisting>
<para>Renders the scene graph, described by a tree of <link linkend="GskRenderNode"><type>GskRenderNode</type></link> instances,
ensuring that the given <parameter>region</parameter>
 gets redrawn.</para>
<para>Renderers must ensure that changes of the contents given by the <parameter>root</parameter>

node as well as the area given by <parameter>region</parameter>
 are redrawn. They are however
free to not redraw any pixel outside of <parameter>region</parameter>
 if they can guarantee that
it didn't change.</para>
<para>The <parameter>renderer</parameter>
 will acquire a reference on the <link linkend="GskRenderNode"><type>GskRenderNode</type></link> tree while
the rendering is in progress.</para>
<refsect3 id="gsk-renderer-render.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>renderer</para></entry>
<entry role="parameter_description"><para>a <link linkend="GskRenderer"><type>GskRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>root</para></entry>
<entry role="parameter_description"><para>a <link linkend="GskRenderNode"><type>GskRenderNode</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>region</para></entry>
<entry role="parameter_description"><para>the <link linkend="cairo-region-t"><type>cairo_region_t</type></link> that must be redrawn or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
for the whole window. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>nullable</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gsk-renderer-render-texture" role="function">
<title>gsk_renderer_render_texture&#160;()</title>
<indexterm zone="gsk-renderer-render-texture"><primary>gsk_renderer_render_texture</primary></indexterm>
<programlisting language="C"><link linkend="GdkTexture"><returnvalue>GdkTexture</returnvalue></link>&#160;*
gsk_renderer_render_texture (<parameter><link linkend="GskRenderer"><type>GskRenderer</type></link> *renderer</parameter>,
                             <parameter><link linkend="GskRenderNode"><type>GskRenderNode</type></link> *root</parameter>,
                             <parameter>const <link linkend="graphene-rect-t"><type>graphene_rect_t</type></link> *viewport</parameter>);</programlisting>
<para>Renders the scene graph, described by a tree of <link linkend="GskRenderNode"><type>GskRenderNode</type></link> instances,
to a <link linkend="GdkTexture"><type>GdkTexture</type></link>.</para>
<para>The <parameter>renderer</parameter>
 will acquire a reference on the <link linkend="GskRenderNode"><type>GskRenderNode</type></link> tree while
the rendering is in progress.</para>
<para>If you want to apply any transformations to <parameter>root</parameter>
, you should put it into a 
transform node and pass that node instead.</para>
<refsect3 id="gsk-renderer-render-texture.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>renderer</para></entry>
<entry role="parameter_description"><para>a realized <link linkend="GskRenderer"><type>GskRenderer</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>root</para></entry>
<entry role="parameter_description"><para>a <link linkend="GskRenderNode"><type>GskRenderNode</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>viewport</para></entry>
<entry role="parameter_description"><para>the section to draw or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to use <parameter>root</parameter>
's bounds. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gsk-renderer-render-texture.returns" role="returns">
<title>Returns</title>
<para>a <link linkend="GdkTexture"><type>GdkTexture</type></link> with the rendered contents of <parameter>root</parameter>
. </para>
<para><emphasis role="annotation">[<acronym>transfer full</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gsk-renderer-new-for-surface" role="function">
<title>gsk_renderer_new_for_surface&#160;()</title>
<indexterm zone="gsk-renderer-new-for-surface"><primary>gsk_renderer_new_for_surface</primary></indexterm>
<programlisting language="C"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
gsk_renderer_new_for_surface (<parameter><link linkend="GdkSurface"><type>GdkSurface</type></link> *surface</parameter>);</programlisting>
<para>Creates an appropriate <link linkend="GskRenderer"><type>GskRenderer</type></link> instance for the given <parameter>surface</parameter>
.</para>
<para>If the <literal>GSK_RENDERER</literal> environment variable is set, GSK will
try that renderer first, before trying the backend-specific
default. The ultimate fallback is the cairo renderer.</para>
<para>The renderer will be realized before it is returned.</para>
<refsect3 id="gsk-renderer-new-for-surface.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>surface</para></entry>
<entry role="parameter_description"><para>a <link linkend="GdkSurface"><type>GdkSurface</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gsk-renderer-new-for-surface.returns" role="returns">
<title>Returns</title>
<para>a <link linkend="GskRenderer"><type>GskRenderer</type></link>. </para>
<para><emphasis role="annotation">[<acronym>transfer full</acronym>][<acronym>nullable</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gsk-gl-renderer-new" role="function">
<title>gsk_gl_renderer_new&#160;()</title>
<indexterm zone="gsk-gl-renderer-new"><primary>gsk_gl_renderer_new</primary></indexterm>
<programlisting language="C"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
gsk_gl_renderer_new (<parameter><type>void</type></parameter>);</programlisting>
<para>Creates a new <link linkend="GskRenderer"><type>GskRenderer</type></link> using OpenGL. This is the default renderer
used by GTK.</para>
<refsect3 id="gsk-gl-renderer-new.returns" role="returns">
<title>Returns</title>
<para> a new GL renderer</para>
</refsect3></refsect2>
<refsect2 id="gsk-cairo-renderer-new" role="function">
<title>gsk_cairo_renderer_new&#160;()</title>
<indexterm zone="gsk-cairo-renderer-new"><primary>gsk_cairo_renderer_new</primary></indexterm>
<programlisting language="C"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
gsk_cairo_renderer_new (<parameter><type>void</type></parameter>);</programlisting>
<para>Creates a new Cairo renderer.</para>
<para>The Cairo renderer is the fallback renderer drawing in ways similar
to how GTK 3 drew its content. Its primary use is as comparison tool.</para>
<para>The Cairo renderer is incomplete. It cannot render 3D transformed
content and will instead render an error marker. Its usage should be
avoided.</para>
<refsect3 id="gsk-cairo-renderer-new.returns" role="returns">
<title>Returns</title>
<para> a new Cairo renderer.</para>
</refsect3></refsect2>
<refsect2 id="gsk-vulkan-renderer-new" role="function">
<title>gsk_vulkan_renderer_new&#160;()</title>
<indexterm zone="gsk-vulkan-renderer-new"><primary>gsk_vulkan_renderer_new</primary></indexterm>
<programlisting language="C"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
gsk_vulkan_renderer_new (<parameter><type>void</type></parameter>);</programlisting>
<para>Creates a new Vulkan renderer.</para>
<para>The Vulkan renderer is a renderer that uses the Vulkan library for
rendering.</para>
<para>This function is only available when GTK was compiled with Vulkan
support.</para>
<refsect3 id="gsk-vulkan-renderer-new.returns" role="returns">
<title>Returns</title>
<para> a new Vulkan renderer</para>
</refsect3></refsect2>
<refsect2 id="gsk-broadway-renderer-new" role="function">
<title>gsk_broadway_renderer_new&#160;()</title>
<indexterm zone="gsk-broadway-renderer-new"><primary>gsk_broadway_renderer_new</primary></indexterm>
<programlisting language="C"><link linkend="GskRenderer"><returnvalue>GskRenderer</returnvalue></link>&#160;*
gsk_broadway_renderer_new (<parameter><type>void</type></parameter>);</programlisting>
<para>Creates a new Broadway renderer.</para>
<para>The Broadway renderer is the default renderer for the broadway backend.
It will only work with broadway surfaces, otherwise it will fail the
call to <link linkend="gsk-renderer-realize"><function>gsk_renderer_realize()</function></link>.</para>
<para>This function is only available when GTK was compiled with Broadway
support.</para>
<refsect3 id="gsk-broadway-renderer-new.returns" role="returns">
<title>Returns</title>
<para> a new Broadway renderer.</para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GskRenderer.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GskRenderer-struct" role="struct">
<title>GskRenderer</title>
<indexterm zone="GskRenderer-struct"><primary>GskRenderer</primary></indexterm>
<programlisting language="C">typedef struct _GskRenderer GskRenderer;</programlisting>
<para>Base type for the object managing the rendering pipeline
for a <link linkend="GdkSurface"><type>GdkSurface</type></link>.</para>
</refsect2>

</refsect1>
<refsect1 id="GskRenderer.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GskRenderer--realized" role="property"><title>The <literal>“realized”</literal> property</title>
<indexterm zone="GskRenderer--realized"><primary>GskRenderer:realized</primary></indexterm>
<programlisting>  “realized”                 <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>The renderer has been associated with a surface.</para><para>Owner: GskRenderer</para>
<para>Flags: Read</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GskRenderer--surface" role="property"><title>The <literal>“surface”</literal> property</title>
<indexterm zone="GskRenderer--surface"><primary>GskRenderer:surface</primary></indexterm>
<programlisting>  “surface”                  <link linkend="GdkSurface"><type>GdkSurface</type></link>&#160;*</programlisting>
<para>The surface associated to the renderer.</para><para>Owner: GskRenderer</para>
<para>Flags: Read</para>
</refsect2>

</refsect1>

</refentry>
