|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-69E426EC-CDBB-5B19-8264-050EB93B9315" xml:lang="en"><title>Supported |
|
13 Image Formats</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>This topic specifies the combinations of image attributes that are guaranteed |
|
15 to be supported by the <xref href="GUID-59C9EF92-8207-5FA5-AA20-0DB00C211BF1.dita">Graphics |
|
16 Resource component</xref> on all devices, subject to transitory constraints |
|
17 such as available memory. </p> |
|
18 <p>The image width and height can be any value, subject to memory |
|
19 available for use. </p> |
|
20 <table id="GUID-DE6C8293-A67C-5747-A4DF-660D755E99D0"> |
|
21 <tgroup cols="6"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/><colspec colname="col3"/><colspec colname="col4"/><colspec colname="col5"/> |
|
22 <thead> |
|
23 <row> |
|
24 <entry>Pixel Format</entry> |
|
25 <entry>Mutable</entry> |
|
26 <entry>CPU Access</entry> |
|
27 <entry>Usage</entry> |
|
28 <entry>Sharable</entry> |
|
29 <entry>Screen ID</entry> |
|
30 </row> |
|
31 </thead> |
|
32 <tbody> |
|
33 <row> |
|
34 <entry><p> <codeph>EUidPixelFormatARGB_8888_PRE</codeph> </p> <p> <codeph>EUidPixelFormatXRGB_8888</codeph> </p> <p> <codeph>EUidPixelFormatARGB_8888</codeph> </p> <p> <codeph>EUidPixelFormatRGB_565</codeph> </p> </entry> |
|
35 <entry><p>False </p> </entry> |
|
36 <entry><p>None </p> </entry> |
|
37 <entry><p> <xref href="GUID-0AEE5955-C530-35F1-A904-69183331B294.dita"><apiname>CWindowGc</apiname></xref> source, DirectGDI source* </p> <p> </p> </entry> |
|
38 <entry><p>Either </p> </entry> |
|
39 <entry><p>-1 or the ID of a screen on the phone. </p> </entry> |
|
40 </row> |
|
41 <row> |
|
42 <entry><p> <codeph>EUidPixelFormatARGB_8888_PRE</codeph> </p> <p> <codeph>EUidPixelFormatXRGB_8888</codeph> </p> <p> <codeph>EUidPixelFormatRGB_565</codeph> </p> </entry> |
|
43 <entry><p>True </p> </entry> |
|
44 <entry><p>Read, Write </p> </entry> |
|
45 <entry><p> <xref href="GUID-0AEE5955-C530-35F1-A904-69183331B294.dita"><apiname>CWindowGc</apiname></xref> source, DirectGDI source* </p> </entry> |
|
46 <entry><p>Either </p> </entry> |
|
47 <entry><p>The ID of a screen on the phone. </p> </entry> |
|
48 </row> |
|
49 <row> |
|
50 <entry><p>One RGB format <b>with an alpha channel</b>, and a minimum of 8 |
|
51 bits per channel. </p> <p>One RGB format <b>with no alpha channel</b>, and |
|
52 a minimum of 8 bits per channel. </p> </entry> |
|
53 <entry><p>True </p> </entry> |
|
54 <entry><p>None </p> </entry> |
|
55 <entry><p> <xref href="GUID-0AEE5955-C530-35F1-A904-69183331B294.dita"><apiname>CWindowGc</apiname></xref> source, DirectGDI source*, DirectGDI |
|
56 target*, OpenGL ES target**, OpenVG target*** </p> </entry> |
|
57 <entry><p>Either </p> </entry> |
|
58 <entry><p>The ID of a screen on the phone. </p> </entry> |
|
59 </row> |
|
60 <row> |
|
61 <entry><p>At least one RGB format <b>with an alpha channel</b>, and a minimum |
|
62 of 8 bits per channel. Channel ordering is not specified. </p> </entry> |
|
63 <entry><p>True </p> </entry> |
|
64 <entry><p>None </p> </entry> |
|
65 <entry><p>DirectGDI target*, OpenGL ES target**, OpenVG target***, Composition |
|
66 source, Screen source </p> </entry> |
|
67 <entry><p>No </p> </entry> |
|
68 <entry><p>The ID of a screen on the phone. </p> </entry> |
|
69 </row> |
|
70 </tbody> |
|
71 </tgroup> |
|
72 </table> |
|
73 <p>* If DirectGDI is present on the platform. </p> |
|
74 <p>** If OpenGL ES is present on the platform. </p> |
|
75 <p>*** If OpenVG is present on the platform. </p> |
|
76 </conbody><related-links> |
|
77 <link href="GUID-29C7FBFB-2F33-58CA-86BE-978E3187E4D6.dita"><linktext>Image Compatibility |
|
78 Guarantees</linktext></link> |
|
79 <link href="GUID-610C1484-112E-5442-95DC-89CF890A8310.dita"><linktext>Pixel Formats</linktext> |
|
80 </link> |
|
81 </related-links></concept> |