Symbian3/PDK/Source/GUID-E238B1FE-BBD8-5C6D-AE04-258188EFF9FF.dita
changeset 14 578be2adaf3e
parent 12 80ef3a206772
equal deleted inserted replaced
13:48780e181b38 14:578be2adaf3e
    41 </ul> <p>Because both surfaces share the same memory, the buffers in the two
    41 </ul> <p>Because both surfaces share the same memory, the buffers in the two
    42 orientations must be at the same offsets in the chunk. This is shown in the
    42 orientations must be at the same offsets in the chunk. This is shown in the
    43 following diagram. </p> <fig id="GUID-552B25FF-A930-5F5B-9379-89F77AB0BE17">
    43 following diagram. </p> <fig id="GUID-552B25FF-A930-5F5B-9379-89F77AB0BE17">
    44 <title>              Two double-buffered surfaces that share the same memory
    44 <title>              Two double-buffered surfaces that share the same memory
    45            </title>
    45            </title>
    46 <image href="GUID-EFFEB18E-5BF5-5855-9D1F-E7C39CB569D0_d0e284346_href.png" placement="inline"/>
    46 <image href="GUID-EFFEB18E-5BF5-5855-9D1F-E7C39CB569D0_d0e282186_href.png" placement="inline"/>
    47 </fig> <p>In the example code below, some error handling has been omitted
    47 </fig> <p>In the example code below, some error handling has been omitted
    48 for brevity. </p> </section>
    48 for brevity. </p> </section>
    49 <section><title>Creating the first surface</title> <ol id="GUID-90E6761F-7BE0-528C-ABC2-AEBCE4A8A120">
    49 <section><title>Creating the first surface</title> <ol id="GUID-90E6761F-7BE0-528C-ABC2-AEBCE4A8A120">
    50 <li id="GUID-EB97C422-189F-51D0-AF56-5803C3AECB1E"><p>Call <xref href="GUID-733B8BFA-7BC2-3A6D-A66F-F788413D25A9.dita"><apiname>RSurfaceManager::Open()</apiname></xref> to
    50 <li id="GUID-EB97C422-189F-51D0-AF56-5803C3AECB1E"><p>Call <xref href="GUID-733B8BFA-7BC2-3A6D-A66F-F788413D25A9.dita"><apiname>RSurfaceManager::Open()</apiname></xref> to
    51 open a connection to the Surface Manager. </p> <p><codeblock id="GUID-89837128-5647-56CD-8C1B-2FF142DAFE46" xml:space="preserve">RSurfaceManager surfaceManager;
    51 open a connection to the Surface Manager. </p> <p><codeblock id="GUID-89837128-5647-56CD-8C1B-2FF142DAFE46" xml:space="preserve">RSurfaceManager surfaceManager;