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 - ReadTexturePackage3 Demo</h1> 12 13<h2>Description</h2> 14 15<div class="section"> 16<p>This texture package file sample is for LA44 and HILO8 texture formats.</p> 17</div> 18 19<h2>Required Environment</h2> 20 21<div class="section"> 22<p>None.</p> 23</div> 24 25<h2>How to Use</h2> 26 27<div class="section"> 28<p>None.</p> 29</div> 30 31<h2>Notes</h2> 32 33<div class="section"> 34<p>None.</p> 35</div> 36 37<h2>Execution Procedure</h2> 38 39<div class="section"> 40<p>When this demo is run, it displays the following log.</p> 41<pre class="code">Reading data from ROMFS... 42 fileSize = 3527552 (Byte) 43 readSize = 3527552 (Byte) 44TextureInfo width = 256, height = 256, size = 81920 45 New Texture0Id = 2 46 47Reading data from ROMFS... 48 fileSize = 3527552 (Byte) 49 readSize = 3527552 (Byte) 50TextureInfo width = 256, height = 256, size = 163840 51 New Texture1Id = 3 52 53Reading data from ROMFS... 54 fileSize = 3527552 (Byte) 55 readSize = 3527552 (Byte) 56TextureInfo width = 256, height = 256, size = 81920 57 New Texture0Id = 4 58 59Reading data from ROMFS... 60 fileSize = 3527552 (Byte) 61 readSize = 3527552 (Byte) 62TextureInfo width = 256, height = 256, size = 163840 63 New Texture1Id = 5</pre> 64<p>After the above log output completes, a texture image for the LA44 format is displayed on the upper screen. <BR>A texture image for the HILO8 format is displayed on the lower screen.<BR>The original RGBA and RGB images for both are displayed alternately in order.</p> 65 <p><img src="Fig/image2010_1203_1031_0.PNG"></p> 66<p>There is no shutdown procedure.<BR>Texture images are switched and displayed. Stop execution in a timely manner.</p> 67</div> 68 69<h2>Revision History</h2> 70 71<div class="section"> 72 <dl class="history"> 73 <dt>2011/02/02</dt> 74<dd>Initial version.</dd> 75 </dl> 76</div> 77 78 79<hr><p>CONFIDENTIAL</p></body> 80</html>