Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of FT800_3 by
FT_Gpu.h
00001 /* 00002 00003 Copyright (c) Future Technology Devices International 2014 00004 00005 THIS SOFTWARE IS PROVIDED BY FUTURE TECHNOLOGY DEVICES INTERNATIONAL LIMITED "AS IS" 00006 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00007 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 00008 FUTURE TECHNOLOGY DEVICES INTERNATIONAL LIMITED BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00009 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 00010 OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, DATA, OR PROFITS OR BUSINESS INTERRUPTION) 00011 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 00012 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00013 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00014 00015 FTDI DRIVERS MAY BE USED ONLY IN CONJUNCTION WITH PRODUCTS BASED ON FTDI PARTS. 00016 00017 FTDI DRIVERS MAY BE DISTRIBUTED IN ANY FORM AS LONG AS LICENSE INFORMATION IS NOT MODIFIED. 00018 00019 IF A CUSTOM VENDOR ID AND/OR PRODUCT ID OR DESCRIPTION STRING ARE USED, IT IS THE 00020 RESPONSIBILITY OF THE PRODUCT MANUFACTURER TO MAINTAIN ANY CHANGES AND SUBSEQUENT WHQL 00021 RE-CERTIFICATION AS A RESULT OF MAKING THESE CHANGES. 00022 00023 Author : FTDI 00024 00025 Revision History: 00026 0.1 - date 2013.04.24 - Initial Version 00027 0.2 - date 2013.08.19 - added few registers. 00028 1.0 - date 2013.12.10 - Version 1.0. 00029 2.0 - date 2014.11.24 - version 2.0 which includes support for FT81x series. 00030 00031 00032 */ 00033 00034 #ifndef _FT_GPU_H_ 00035 #define _FT_GPU_H_ 00036 00037 /* Definitions used for FT800 co processor command buffer */ 00038 #define FT_DL_SIZE (8*1024L) //8KB Display List buffer size 00039 #define FT_CMD_FIFO_SIZE (4*1024L) //4KB coprocessor Fifo size 00040 #define FT_CMD_SIZE (4) //4 byte per coprocessor command of EVE 00041 00042 00043 /* For FT801, FT811 and FT813 */ 00044 #define CTOUCH_MODE_COMPATIBILITY 1 00045 #define CTOUCH_MODE_EXTENDED 0 00046 00047 #define LOW_FREQ_BOUND 58800000L//98% of 60Mhz 00048 00049 #define RAM_G_SIZE 1024*1024L 00050 #define FT81X_VERSION "1.0.4" 00051 00052 #define ADC_DIFFERENTIAL 1UL 00053 #define ADC_SINGLE_ENDED 0UL 00054 #define ADPCM_SAMPLES 2UL 00055 #define ALWAYS 7UL 00056 #define ARGB1555 0UL 00057 #define ARGB2 5UL 00058 #define ARGB4 6UL 00059 #define BARGRAPH 11UL 00060 #define BILINEAR 1UL 00061 #define BITMAPS 1UL 00062 #define BORDER 0UL 00063 #define CMDBUF_SIZE 4096UL 00064 #define CMD_APPEND 4294967070UL 00065 #define CMD_BGCOLOR 4294967049UL 00066 #define CMD_BITMAP_TRANSFORM 4294967073UL 00067 #define CMD_BUTTON 4294967053UL 00068 #define CMD_CALIBRATE 4294967061UL 00069 #define CMD_CLOCK 4294967060UL 00070 #define CMD_COLDSTART 4294967090UL 00071 #define CMD_CRC 4294967043UL 00072 #define CMD_CSKETCH 4294967093UL 00073 #define CMD_DIAL 4294967085UL 00074 #define CMD_DLSTART 4294967040UL 00075 #define CMD_EXECUTE 4294967047UL 00076 #define CMD_FGCOLOR 4294967050UL 00077 #define CMD_GAUGE 4294967059UL 00078 #define CMD_GETMATRIX 4294967091UL 00079 #define CMD_GETPOINT 4294967048UL 00080 #define CMD_GETPROPS 4294967077UL 00081 #define CMD_GETPTR 4294967075UL 00082 #define CMD_GRADCOLOR 4294967092UL 00083 #define CMD_GRADIENT 4294967051UL 00084 #define CMD_HAMMERAUX 4294967044UL 00085 #define CMD_IDCT_DELETED 4294967046UL 00086 #define CMD_INFLATE 4294967074UL 00087 #define CMD_INTERRUPT 4294967042UL 00088 #define CMD_INT_RAMSHARED 4294967101UL 00089 #define CMD_INT_SWLOADIMAGE 4294967102UL 00090 #define CMD_KEYS 4294967054UL 00091 #define CMD_LOADIDENTITY 4294967078UL 00092 #define CMD_LOADIMAGE 4294967076UL 00093 #define CMD_LOGO 4294967089UL 00094 #define CMD_MARCH 4294967045UL 00095 #define CMD_MEDIAFIFO 4294967097UL 00096 #define CMD_MEMCPY 4294967069UL 00097 #define CMD_MEMCRC 4294967064UL 00098 #define CMD_MEMSET 4294967067UL 00099 #define CMD_MEMWRITE 4294967066UL 00100 #define CMD_MEMZERO 4294967068UL 00101 #define CMD_NUMBER 4294967086UL 00102 #define CMD_PLAYVIDEO 4294967098UL 00103 #define CMD_PROGRESS 4294967055UL 00104 #define CMD_REGREAD 4294967065UL 00105 #define CMD_ROMFONT 4294967103UL 00106 #define CMD_ROTATE 4294967081UL 00107 #define CMD_SCALE 4294967080UL 00108 #define CMD_SCREENSAVER 4294967087UL 00109 #define CMD_SCROLLBAR 4294967057UL 00110 #define CMD_SETBASE 4294967096UL 00111 #define CMD_SETBITMAP 4294967107UL 00112 #define CMD_SETFONT 4294967083UL 00113 #define CMD_SETFONT2 4294967099UL 00114 #define CMD_SETMATRIX 4294967082UL 00115 #define CMD_SETROTATE 4294967094UL 00116 #define CMD_SETSCRATCH 4294967100UL 00117 #define CMD_SKETCH 4294967088UL 00118 #define CMD_SLIDER 4294967056UL 00119 #define CMD_SNAPSHOT 4294967071UL 00120 #define CMD_SNAPSHOT2 4294967095UL 00121 #define CMD_SPINNER 4294967062UL 00122 #define CMD_STOP 4294967063UL 00123 #define CMD_SWAP 4294967041UL 00124 #define CMD_SYNC 4294967106UL 00125 #define CMD_TEXT 4294967052UL 00126 #define CMD_TOGGLE 4294967058UL 00127 #define CMD_TOUCH_TRANSFORM 4294967072UL 00128 #define CMD_TRACK 4294967084UL 00129 #define CMD_TRANSLATE 4294967079UL 00130 #define CMD_VIDEOFRAME 4294967105UL 00131 #define CMD_VIDEOSTART 4294967104UL 00132 #define DECR 4UL 00133 #define DLSWAP_DONE 0UL 00134 #define DLSWAP_FRAME 2UL 00135 #define DLSWAP_LINE 1UL 00136 #define DST_ALPHA 3UL 00137 #define EDGE_STRIP_A 7UL 00138 #define EDGE_STRIP_B 8UL 00139 #define EDGE_STRIP_L 6UL 00140 #define EDGE_STRIP_R 5UL 00141 #define EQUAL 5UL 00142 #define GEQUAL 4UL 00143 #define GREATER 3UL 00144 #define INCR 3UL 00145 #define INT_CMDEMPTY 32UL 00146 #define INT_CMDFLAG 64UL 00147 #define INT_CONVCOMPLETE 128UL 00148 #define INT_G8 18UL 00149 #define INT_L8C 12UL 00150 #define INT_PLAYBACK 16UL 00151 #define INT_SOUND 8UL 00152 #define INT_SWAP 1UL 00153 #define INT_TAG 4UL 00154 #define INT_TOUCH 2UL 00155 #define INT_VGA 13UL 00156 #define INVERT 5UL 00157 #define KEEP 1UL 00158 #define L1 1UL 00159 #define L2 17UL 00160 #define L4 2UL 00161 #define L8 3UL 00162 #define LEQUAL 2UL 00163 #define LESS 1UL 00164 #define LINEAR_SAMPLES 0UL 00165 #define LINES 3UL 00166 #define LINE_STRIP 4UL 00167 #define NEAREST 0UL 00168 #define NEVER 0UL 00169 #define NOTEQUAL 6UL 00170 #define ONE 1UL 00171 #define ONE_MINUS_DST_ALPHA 5UL 00172 #define ONE_MINUS_SRC_ALPHA 4UL 00173 #define OPT_CENTER 1536UL 00174 #define OPT_CENTERX 512UL 00175 #define OPT_CENTERY 1024UL 00176 #define OPT_FLAT 256UL 00177 #define OPT_FULLSCREEN 8UL 00178 #define OPT_MEDIAFIFO 16UL 00179 #define OPT_MONO 1UL 00180 #define OPT_NOBACK 4096UL 00181 #define OPT_NODL 2UL 00182 #define OPT_NOHANDS 49152UL 00183 #define OPT_NOHM 16384UL 00184 #define OPT_NOPOINTER 16384UL 00185 #define OPT_NOSECS 32768UL 00186 #define OPT_NOTEAR 4UL 00187 #define OPT_NOTICKS 8192UL 00188 #define OPT_RIGHTX 2048UL 00189 #define OPT_SIGNED 256UL 00190 #define OPT_SOUND 32UL 00191 #define PALETTED 8UL 00192 #define PALETTED4444 15UL 00193 #define PALETTED565 14UL 00194 #define PALETTED8 16UL 00195 #define FTPOINTS 2UL 00196 #define RAM_CMD 3178496UL 00197 #define RAM_DL 3145728UL 00198 #define RAM_G 0UL 00199 #define RAM_REG 3153920UL 00200 #define RAM_ROMSUB 3186688UL 00201 #define RECTS 9UL 00202 00203 #define ROMFONT_TABLEADDRESS 3145724UL 00204 00205 #define REG_ANALOG 3154284UL 00206 #define REG_ANA_COMP 3154308UL 00207 #define REG_BIST_EN 3154292UL 00208 #define REG_BUSYBITS 3154152UL 00209 #define REG_CLOCK 3153928UL 00210 #define REG_CMDB_SPACE 3155316UL 00211 #define REG_CMDB_WRITE 3155320UL 00212 #define REG_CMD_DL 3154176UL 00213 #define REG_CMD_READ 3154168UL 00214 #define REG_CMD_WRITE 3154172UL 00215 #define REG_CPURESET 3153952UL 00216 #define REG_CRC 3154296UL 00217 #define REG_CSPREAD 3154024UL 00218 #define REG_CTOUCH_EXTENDED 3154184UL 00219 //modified below to reflect the same as datasheet 00220 #define REG_CTOUCH_TOUCH0_XY 3154212UL 00221 #define REG_CTOUCH_TOUCH4_X 3154284UL 00222 #define REG_CTOUCH_TOUCH4_Y 3154208UL 00223 #define REG_CTOUCH_TOUCH1_XY 3154204UL 00224 #define REG_CTOUCH_TOUCH2_XY 3154316UL 00225 #define REG_CTOUCH_TOUCH3_XY 3154320UL 00226 #define REG_CYA_TOUCH 3154280UL 00227 #define REG_DATESTAMP 3155300UL 00228 #define REG_DITHER 3154016UL 00229 #define REG_DLSWAP 3154004UL 00230 #define REG_FRAMES 3153924UL 00231 #define REG_FREQUENCY 3153932UL 00232 #define REG_GPIO 3154068UL 00233 #define REG_GPIOX 3154076UL 00234 #define REG_GPIOX_DIR 3154072UL 00235 #define REG_GPIO_DIR 3154064UL 00236 #define REG_HCYCLE 3153964UL 00237 #define REG_HOFFSET 3153968UL 00238 #define REG_HSIZE 3153972UL 00239 #define REG_HSYNC0 3153976UL 00240 #define REG_HSYNC1 3153980UL 00241 #define REG_ID 3153920UL 00242 #define REG_INT_EN 3154092UL 00243 #define REG_INT_FLAGS 3154088UL 00244 #define REG_INT_MASK 3154096UL 00245 #define REG_MACRO_0 3154136UL 00246 #define REG_MACRO_1 3154140UL 00247 #define REG_MEDIAFIFO_READ 3182612UL 00248 #define REG_MEDIAFIFO_WRITE 3182616UL 00249 #define REG_OUTBITS 3154012UL 00250 #define REG_PATCHED_ANALOG 3154288UL 00251 #define REG_PATCHED_TOUCH_FAULT 3154284UL 00252 #define REG_PCLK 3154032UL 00253 #define REG_PCLK_POL 3154028UL 00254 #define REG_PLAY 3154060UL 00255 #define REG_PLAYBACK_FORMAT 3154116UL 00256 #define REG_PLAYBACK_FREQ 3154112UL 00257 #define REG_PLAYBACK_LENGTH 3154104UL 00258 #define REG_PLAYBACK_LOOP 3154120UL 00259 #define REG_PLAYBACK_PLAY 3154124UL 00260 #define REG_PLAYBACK_READPTR 3154108UL 00261 #define REG_PLAYBACK_START 3154100UL 00262 #define REG_PWM_DUTY 3154132UL 00263 #define REG_PWM_HZ 3154128UL 00264 #define REG_RENDERMODE 3153936UL 00265 #define REG_ROMSUB_SEL 3154160UL 00266 #define REG_ROTATE 3154008UL 00267 #define REG_SNAPFORMAT 3153948UL 00268 #define REG_SNAPSHOT 3153944UL 00269 #define REG_SNAPY 3153940UL 00270 #define REG_SOUND 3154056UL 00271 #define REG_SPI_EARLY_TX 3154300UL 00272 #define REG_SPI_WIDTH 3154312UL 00273 #define REG_SWIZZLE 3154020UL 00274 #define REG_TAG 3154044UL 00275 #define REG_TAG_X 3154036UL 00276 #define REG_TAG_Y 3154040UL 00277 #define REG_TAP_CRC 3153956UL 00278 #define REG_TAP_MASK 3153960UL 00279 #define REG_TOUCH_ADC_MODE 3154184UL 00280 #define REG_TOUCH_CHARGE 3154188UL 00281 #define REG_TOUCH_DIRECT_XY 3154316UL 00282 #define REG_TOUCH_DIRECT_Z1Z2 3154320UL 00283 #define REG_TOUCH_FAULT 3154288UL 00284 #define REG_TOUCH_MODE 3154180UL 00285 #define REG_TOUCH_OVERSAMPLE 3154196UL 00286 #define REG_TOUCH_RAW_XY 3154204UL 00287 #define REG_TOUCH_RZ 3154208UL 00288 #define REG_TOUCH_RZTHRESH 3154200UL 00289 #define REG_TOUCH_SCREEN_XY 3154212UL 00290 #define REG_TOUCH_SETTLE 3154192UL 00291 #define REG_TOUCH_TAG 3154220UL 00292 #define REG_TOUCH_TAG1 3154228UL 00293 #define REG_TOUCH_TAG1_XY 3154224UL 00294 #define REG_TOUCH_TAG2 3154236UL 00295 #define REG_TOUCH_TAG2_XY 3154232UL 00296 #define REG_TOUCH_TAG3 3154244UL 00297 #define REG_TOUCH_TAG3_XY 3154240UL 00298 #define REG_TOUCH_TAG4 3154252UL 00299 #define REG_TOUCH_TAG4_XY 3154248UL 00300 #define REG_TOUCH_TAG_XY 3154216UL 00301 #define REG_TOUCH_TRANSFORM_A 3154256UL 00302 #define REG_TOUCH_TRANSFORM_B 3154260UL 00303 #define REG_TOUCH_TRANSFORM_C 3154264UL 00304 #define REG_TOUCH_TRANSFORM_D 3154268UL 00305 #define REG_TOUCH_TRANSFORM_E 3154272UL 00306 #define REG_TOUCH_TRANSFORM_F 3154276UL 00307 #define REG_TRACKER 3182592UL 00308 #define REG_TRACKER_1 3182596UL 00309 #define REG_TRACKER_2 3182600UL 00310 #define REG_TRACKER_3 3182604UL 00311 #define REG_TRACKER_4 3182608UL 00312 #define REG_TRIM 3154304UL 00313 #define REG_VCYCLE 3153984UL 00314 #define REG_VOFFSET 3153988UL 00315 #define REG_VOL_PB 3154048UL 00316 #define REG_VOL_SOUND 3154052UL 00317 #define REG_VSIZE 3153992UL 00318 #define REG_VSYNC0 3153996UL 00319 #define REG_VSYNC1 3154000UL 00320 #define REPEAT 1UL 00321 #define REPLACE 2UL 00322 #define RGB332 4UL 00323 #define RGB565 7UL 00324 #define SRC_ALPHA 2UL 00325 #define TEXT8X8 9UL 00326 #define TEXTVGA 10UL 00327 #define TOUCHMODE_CONTINUOUS 3UL 00328 #define TOUCHMODE_FRAME 2UL 00329 #define TOUCHMODE_OFF 0UL 00330 #define TOUCHMODE_ONESHOT 1UL 00331 #define ULAW_SAMPLES 1UL 00332 #define ZERO 0UL 00333 #define VERTEX2F(x,y) ((1UL<<30)|(((x)&32767UL)<<15)|(((y)&32767UL)<<0)) 00334 #define VERTEX2II(x,y,handle,cell) ((2UL<<30)|(((x)&511UL)<<21)|(((y)&511UL)<<12)|(((handle)&31UL)<<7)|(((cell)&127UL)<<0)) 00335 #define BITMAP_SOURCE(addr) ((1UL<<24)|(((addr)&4194303UL)<<0)) 00336 #define CLEAR_COLOR_RGB(red,green,blue) ((2UL<<24)|(((red)&255UL)<<16)|(((green)&255UL)<<8)|(((blue)&255UL)<<0)) 00337 #define TAG(s) ((3UL<<24)|(((s)&255UL)<<0)) 00338 #define COLOR_RGB(red,green,blue) ((4UL<<24)|(((red)&255UL)<<16)|(((green)&255UL)<<8)|(((blue)&255UL)<<0)) 00339 #define BITMAP_HANDLE(handle) ((5UL<<24)|(((handle)&31UL)<<0)) 00340 #define CELL(cell) ((6UL<<24)|(((cell)&127UL)<<0)) 00341 #define BITMAP_LAYOUT(format,linestride,height) ((7UL<<24)|(((format)&31UL)<<19)|(((linestride)&1023UL)<<9)|(((height)&511UL)<<0)) 00342 #define BITMAP_SIZE(filter,wrapx,wrapy,width,height) ((8UL<<24)|(((filter)&1UL)<<20)|(((wrapx)&1UL)<<19)|(((wrapy)&1UL)<<18)|(((width)&511UL)<<9)|(((height)&511UL)<<0)) 00343 #define ALPHA_FUNC(func,ref) ((9UL<<24)|(((func)&7UL)<<8)|(((ref)&255UL)<<0)) 00344 #define STENCIL_FUNC(func,ref,mask) ((10UL<<24)|(((func)&7UL)<<16)|(((ref)&255UL)<<8)|(((mask)&255UL)<<0)) 00345 #define BLEND_FUNC(src,dst) ((11UL<<24)|(((src)&7UL)<<3)|(((dst)&7UL)<<0)) 00346 #define STENCIL_OP(sfail,spass) ((12UL<<24)|(((sfail)&7UL)<<3)|(((spass)&7UL)<<0)) 00347 #define POINT_SIZE(size) ((13UL<<24)|(((size)&8191UL)<<0)) 00348 #define LINE_WIDTH(width) ((14UL<<24)|(((width)&4095UL)<<0)) 00349 #define CLEAR_COLOR_A(alpha) ((15UL<<24)|(((alpha)&255UL)<<0)) 00350 #define COLOR_A(alpha) ((16UL<<24)|(((alpha)&255UL)<<0)) 00351 #define CLEAR_STENCIL(s) ((17UL<<24)|(((s)&255UL)<<0)) 00352 #define CLEAR_TAG(s) ((18UL<<24)|(((s)&255UL)<<0)) 00353 #define STENCIL_MASK(mask) ((19UL<<24)|(((mask)&255UL)<<0)) 00354 #define TAG_MASK(mask) ((20UL<<24)|(((mask)&1UL)<<0)) 00355 #define BITMAP_TRANSFORM_A(a) ((21UL<<24)|(((a)&131071UL)<<0)) 00356 #define BITMAP_TRANSFORM_B(b) ((22UL<<24)|(((b)&131071UL)<<0)) 00357 #define BITMAP_TRANSFORM_C(c) ((23UL<<24)|(((c)&16777215UL)<<0)) 00358 #define BITMAP_TRANSFORM_D(d) ((24UL<<24)|(((d)&131071UL)<<0)) 00359 #define BITMAP_TRANSFORM_E(e) ((25UL<<24)|(((e)&131071UL)<<0)) 00360 #define BITMAP_TRANSFORM_F(f) ((26UL<<24)|(((f)&16777215UL)<<0)) 00361 #define SCISSOR_XY(x,y) ((27UL<<24)|(((x)&2047UL)<<11)|(((y)&2047UL)<<0)) 00362 #define SCISSOR_SIZE(width,height) ((28UL<<24)|(((width)&4095UL)<<12)|(((height)&4095UL)<<0)) 00363 #define CALL(dest) ((29UL<<24)|(((dest)&65535UL)<<0)) 00364 #define JUMP(dest) ((30UL<<24)|(((dest)&65535UL)<<0)) 00365 #define BEGIN(prim) ((31UL<<24)|(((prim)&15UL)<<0)) 00366 #define COLOR_MASK(r,g,b,a) ((32UL<<24)|(((r)&1UL)<<3)|(((g)&1UL)<<2)|(((b)&1UL)<<1)|(((a)&1UL)<<0)) 00367 #define CLEAR(c,s,t) ((38UL<<24)|(((c)&1UL)<<2)|(((s)&1UL)<<1)|(((t)&1UL)<<0)) 00368 #define VERTEX_FORMAT(frac) ((39UL<<24)|(((frac)&7UL)<<0)) 00369 #define BITMAP_LAYOUT_H(linestride,height) ((40UL<<24)|(((linestride)&3UL)<<2)|(((height)&3UL)<<0)) 00370 #define BITMAP_SIZE_H(width,height) ((41UL<<24)|(((width)&3UL)<<2)|(((height)&3UL)<<0)) 00371 #define PALETTE_SOURCE(addr) ((42UL<<24)|(((addr)&4194303UL)<<0)) 00372 #define VERTEX_TRANSLATE_X(x) ((43UL<<24)|(((x)&131071UL)<<0)) 00373 #define VERTEX_TRANSLATE_Y(y) ((44UL<<24)|(((y)&131071UL)<<0)) 00374 #define NOP() ((45UL<<24)) 00375 #define END() ((33UL<<24)) 00376 #define SAVE_CONTEXT() ((34UL<<24)) 00377 #define RESTORE_CONTEXT() ((35UL<<24)) 00378 #define RETURN() ((36UL<<24)) 00379 #define MACRO(m) ((37UL<<24)|(((m)&1UL)<<0)) 00380 #define DISPLAY() ((0UL<<24)) 00381 #endif 00382 00383 #define FT_GPU_NUMCHAR_PERFONT (128) 00384 #define FT_GPU_FONT_TABLE_SIZE (148) 00385 00386 /* FT81x and FT80x font table structure */ 00387 /* Font table address in ROM can be found by reading the address from 0xFFFFC location. */ 00388 /* 16 font tables are present at the address read from location 0xFFFFC */ 00389 typedef struct FT_Gpu_Fonts 00390 { 00391 /* All the values are in bytes */ 00392 /* Width of each character font from 0 to 127 */ 00393 ft_uint8_t FontWidth[FT_GPU_NUMCHAR_PERFONT]; 00394 /* Bitmap format of font wrt bitmap formats supported by FT800 - L1, L4, L8 */ 00395 ft_uint32_t FontBitmapFormat; 00396 /* Font line stride in FT800 ROM */ 00397 ft_uint32_t FontLineStride; 00398 /* Font width in pixels */ 00399 ft_uint32_t FontWidthInPixels; 00400 /* Font height in pixels */ 00401 ft_uint32_t FontHeightInPixels; 00402 /* Pointer to font graphics raw data */ 00403 ft_uint32_t PointerToFontGraphicsData; 00404 }FT_Gpu_Fonts_t; 00405 00406 00407 00408 00409 /* Nothing beyond this */ 00410 00411
Generated on Sat Jul 16 2022 15:08:10 by
1.7.2
