Symbian3/PDK/Source/GUID-E238B1FE-BBD8-5C6D-AE04-258188EFF9FF.dita
changeset 5 f345bda72bc4
parent 3 46218c8b8afa
child 9 59758314f811
equal deleted inserted replaced
4:4816d766a08a 5:f345bda72bc4
    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_d0e253301_href.png" placement="inline"/>
    46 <image href="GUID-EFFEB18E-5BF5-5855-9D1F-E7C39CB569D0_d0e281251_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;