25 associated with this element is owned by the camera. The final element (blue |
25 associated with this element is owned by the camera. The final element (blue |
26 border) shows a video of the caller. The surface associated with this element |
26 border) shows a video of the caller. The surface associated with this element |
27 is owned by the video renderer. </p> |
27 is owned by the video renderer. </p> |
28 <fig id="GUID-C2FEB262-DA13-5172-A432-EAC03F0FC80A"> |
28 <fig id="GUID-C2FEB262-DA13-5172-A432-EAC03F0FC80A"> |
29 <title> The elements in a video telephony use case </title> |
29 <title> The elements in a video telephony use case </title> |
30 <image href="GUID-E1E25E68-7FE3-53A7-980E-CCF25090715F_d0e275300_href.png" placement="inline"/> |
30 <image href="GUID-E1E25E68-7FE3-53A7-980E-CCF25090715F_d0e281300_href.png" placement="inline"/> |
31 </fig> |
31 </fig> |
32 <p>A similar principle applies when a game is running on the phone. The semi-transparent |
32 <p>A similar principle applies when a game is running on the phone. The semi-transparent |
33 UI surface would overlay the element containing the EGL-owned surface. When |
33 UI surface would overlay the element containing the EGL-owned surface. When |
34 the game or a video is in full screen mode, the composition engine can enter <b>fast |
34 the game or a video is in full screen mode, the composition engine can enter <b>fast |
35 path mode</b>. This indicates to the LCD controller that there is no UI content |
35 path mode</b>. This indicates to the LCD controller that there is no UI content |
36 to blend with the background element. </p> |
36 to blend with the background element. </p> |
37 <fig id="GUID-A52A1E62-E929-5CC3-A756-A7E332951155"> |
37 <fig id="GUID-A52A1E62-E929-5CC3-A756-A7E332951155"> |
38 <title> Fast path mode </title> |
38 <title> Fast path mode </title> |
39 <image href="GUID-F5BFE35F-ED90-50C5-8F63-7A780A97689B_d0e275314_href.png" placement="inline"/> |
39 <image href="GUID-F5BFE35F-ED90-50C5-8F63-7A780A97689B_d0e281314_href.png" placement="inline"/> |
40 </fig> |
40 </fig> |
41 <p> </p> |
41 <p> </p> |
42 <p>The z-order of an element is determined by its position in the list of |
42 <p>The z-order of an element is determined by its position in the list of |
43 elements. Several additional pieces of positional information are stored as |
43 elements. Several additional pieces of positional information are stored as |
44 element metadata. The element maps the surface to the device screen. More |
44 element metadata. The element maps the surface to the device screen. More |
45 specifically it maps a part of the surface, the <b>source rectangle</b>, to |
45 specifically it maps a part of the surface, the <b>source rectangle</b>, to |
46 a <b>destination rectangle</b> on the screen. The destination rectangle defines |
46 a <b>destination rectangle</b> on the screen. The destination rectangle defines |
47 the position and size of the element itself. </p> |
47 the position and size of the element itself. </p> |
48 <fig id="GUID-FCF3894F-F8D5-511F-881A-169501AA27B5"> |
48 <fig id="GUID-FCF3894F-F8D5-511F-881A-169501AA27B5"> |
49 <title> Element terminology </title> |
49 <title> Element terminology </title> |
50 <image href="GUID-FBF2ED6F-D1C5-5368-96C2-FCF38234BF43_d0e275334_href.png" placement="inline"/> |
50 <image href="GUID-FBF2ED6F-D1C5-5368-96C2-FCF38234BF43_d0e281334_href.png" placement="inline"/> |
51 </fig> |
51 </fig> |
52 <p>The source rectangle corresponds to the <b>viewport</b> in the Window Server |
52 <p>The source rectangle corresponds to the <b>viewport</b> in the Window Server |
53 documentation and the destination rectangle corresponds to the <b>extent</b>. </p> |
53 documentation and the destination rectangle corresponds to the <b>extent</b>. </p> |
54 <p>The source and destination rectangles do not have to be the same size—the |
54 <p>The source and destination rectangles do not have to be the same size—the |
55 composition engine can clip or scale the data to fit. </p> |
55 composition engine can clip or scale the data to fit. </p> |