1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
4<head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta http-equiv="Content-Style-Type" content="text/css" />
7    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
8</head>
9<body>
10
11<h1>tpl - ReadTexturePackage Demo</h1>
12
13<h2>Description</h2>
14
15<div class="section">
16<p>This texture package file sample is for basic formats such as RGBA8888.</p>
17<p>This demo displays texture images in each format on the upper and lower screens. <BR>The original image in the upper screen is RGBA (including alpha), while the original image shown in the lower screen is RGB (no alpha).</p>
18</div>
19
20<h2>Required Environment</h2>
21
22<div class="section">
23<p>None.</p>
24</div>
25
26<h2>How to Use</h2>
27
28<div class="section">
29<p>None.</p>
30</div>
31
32<h2>Notes</h2>
33
34<div class="section">
35<p>None.</p>
36</div>
37
38<h2>Execution Procedure</h2>
39
40<div class="section">
41<p>When this demo is run, it displays the following log.</p>
42<pre class="code">Reading data from ROMFS...
43  fileSize = 3527552 (Byte)
44  readSize = 3527552 (Byte)
45TextureInfo width = 256, height = 256, size = 349184
46  New Texture0Id = 2
47
48Reading data from ROMFS...
49  fileSize = 3527552 (Byte)
50  readSize = 3527552 (Byte)
51TextureInfo width = 256, height = 256, size = 349184
52  New Texture1Id = 3
53
54Reading data from ROMFS...
55  fileSize = 3527552 (Byte)
56  readSize = 3527552 (Byte)
57TextureInfo width = 256, height = 256, size = 174592
58  New Texture0Id = 4
59
60Reading data from ROMFS...
61  fileSize = 3527552 (Byte)
62  readSize = 3527552 (Byte)
63TextureInfo width = 256, height = 256, size = 174592
64  New Texture1Id = 5
65
66Reading data from ROMFS...
67  fileSize = 3527552 (Byte)
68  readSize = 3527552 (Byte)
69TextureInfo width = 256, height = 256, size = 174080
70  New Texture0Id = 6
71
72Reading data from ROMFS...
73  fileSize = 3527552 (Byte)
74  readSize = 3527552 (Byte)
75TextureInfo width = 256, height = 256, size = 174080
76  New Texture1Id = 7
77
78Reading data from ROMFS...
79  fileSize = 3527552 (Byte)
80  readSize = 3527552 (Byte)
81TextureInfo width = 256, height = 256, size = 245760
82  New Texture0Id = 8
83
84Reading data from ROMFS...
85  fileSize = 3527552 (Byte)
86  readSize = 3527552 (Byte)
87TextureInfo width = 256, height = 256, size = 245760
88  New Texture1Id = 9
89
90Reading data from ROMFS...
91  fileSize = 3527552 (Byte)
92  readSize = 3527552 (Byte)
93TextureInfo width = 256, height = 256, size = 163840
94  New Texture0Id = 10
95
96Reading data from ROMFS...
97  fileSize = 3527552 (Byte)
98  readSize = 3527552 (Byte)
99TextureInfo width = 256, height = 256, size = 163840
100  New Texture1Id = 11
101
102Reading data from ROMFS...
103  fileSize = 3527552 (Byte)
104  readSize = 3527552 (Byte)
105TextureInfo width = 256, height = 256, size = 163840
106  New Texture0Id = 12
107
108Reading data from ROMFS...
109  fileSize = 3527552 (Byte)
110  readSize = 3527552 (Byte)
111TextureInfo width = 256, height = 256, size = 163840
112  New Texture1Id = 13
113
114Reading data from ROMFS...
115  fileSize = 3527552 (Byte)
116  readSize = 3527552 (Byte)
117TextureInfo width = 256, height = 256, size = 81920
118  New Texture0Id = 14
119
120Reading data from ROMFS...
121  fileSize = 3527552 (Byte)
122  readSize = 3527552 (Byte)
123TextureInfo width = 256, height = 256, size = 81920
124  New Texture1Id = 15
125
126Reading data from ROMFS...
127  fileSize = 3527552 (Byte)
128  readSize = 3527552 (Byte)
129TextureInfo width = 256, height = 256, size = 40960
130  New Texture0Id = 16
131
132Reading data from ROMFS...
133  fileSize = 3527552 (Byte)
134  readSize = 3527552 (Byte)
135TextureInfo width = 256, height = 256, size = 40960
136  New Texture1Id = 17</pre>
137<p>After the above log output completes, the texture image for the following eight types of formats are displayed in order on the upper and lower screens. <BR>RGBA8888, RGBA5551, RGBA4444, RGB888, RGB565, LA88, L8, and L4</p>
138    <p><img src="Fig/image2010_1203_1025_0.PNG"></p>
139<p>There is no shutdown procedure.<BR>Texture images are switched and displayed. Stop execution in a timely manner.</p>
140</div>
141
142<h2>Revision History</h2>
143
144<div class="section">
145    <dl class="history">
146        <dt>2011/06/23</dt>
147<dd>Revised the log output</dd>
148        <dt>2011/02/02</dt>
149<dd>Initial version.</dd>
150    </dl>
151</div>
152
153
154<hr><p>CONFIDENTIAL</p></body>
155</html>