9#ifndef __guInternal_h__
10#define __guInternal_h__
20 short signal_history[16];
645 sendCommandi(cmd,
t.i >> 8);
int gu_init
Definition guInternal.c:18
int gu_display_on
Definition guInternal.c:19
void callbackFin(int id, void *arg)
Definition sceGuInit.c:238
void callbackSig(int id, void *arg)
Definition sceGuInit.c:245
unsigned int gu_current_frame
Definition guInternal.c:11
int gu_curr_context
Definition guInternal.c:17
GuDrawBuffer gu_draw_buffer
Definition guInternal.c:22
GuLightSettings light_settings[4]
Definition guInternal.c:26
GECommand
Definition guInternal.h:122
@ REGION2
Definition guInternal.h:162
@ TEX_BUF_WIDTH6
Definition guInternal.h:462
@ VIEW_MATRIX_NUMBER
Definition guInternal.h:233
@ BLEND_MODE
Definition guInternal.h:561
@ VERTEX_TYPE
Definition guInternal.h:154
@ STENCIL_TEST_ENABLE
Definition guInternal.h:191
@ VADDR
Definition guInternal.h:126
@ TEX_BUF_WIDTH4
Definition guInternal.h:458
@ TEX_LOD_SLOPE
Definition guInternal.h:531
@ LIGHT3_Y
Definition guInternal.h:324
@ VIEW_MATRIX_DATA
Definition guInternal.h:235
@ LIGHT0_X
Definition guInternal.h:304
@ LIGHT2_DIRECTION_Y
Definition guInternal.h:343
@ PATCH_DIVISION
Definition guInternal.h:223
@ VERTEX_WEIGHT_ADDR
Definition guInternal.h:604
@ MORPH_WEIGHT6
Definition guInternal.h:218
@ TEX_BUF_WIDTH3
Definition guInternal.h:456
@ ANTI_ALIAS_ENABLE
Definition guInternal.h:193
@ TEX_ADDR0
Definition guInternal.h:434
@ TEX_FORMAT
Definition guInternal.h:504
@ MORPH_WEIGHT2
Definition guInternal.h:210
@ JUMP
Definition guInternal.h:138
@ LIGHT1_X
Definition guInternal.h:310
@ Z_BUF_PTR
Definition guInternal.h:429
@ LIGHT3_LINEAR_ATTEN
Definition guInternal.h:374
@ AMBIENT_LIGHT_COLOR
Definition guInternal.h:289
@ LIGHT0_EXPONENT_ATTEN
Definition guInternal.h:379
@ WORLD_MATRIX_NUMBER
Definition guInternal.h:229
@ MATERIAL_COLOR
Definition guInternal.h:275
@ FOG1
Definition guInternal.h:525
@ LIGHT0_Y
Definition guInternal.h:306
@ AMBIENT_COLOR
Definition guInternal.h:279
@ VERTEX_WEIGHT_MATRIX_ADDR
Definition guInternal.h:620
@ TEX_SHADE_MAPPING
Definition guInternal.h:500
@ VERTEX_WEIGHT_MATRIX_NORMALIZE
Definition guInternal.h:628
@ LIGHT3_DIRECTION_Z
Definition guInternal.h:351
@ LIGHTING_ENABLE
Definition guInternal.h:165
@ PATCH_PRIMITIVE
Definition guInternal.h:225
@ LIGHT1_DIRECTION_Y
Definition guInternal.h:337
@ DEPTH_CLIP_ENABLE
Definition guInternal.h:175
@ TEX_MODE
Definition guInternal.h:502
@ VIEWPORT_Z_CENTER
Definition guInternal.h:256
@ LIGHT3_DIRECTION_X
Definition guInternal.h:347
@ LIGHT0_CONSTANT_ATTEN
Definition guInternal.h:354
@ TEX_SIZE4
Definition guInternal.h:489
@ TEX_OFFSET_V
Definition guInternal.h:264
@ LIGHT3_CUTOFF_ATTEN
Definition guInternal.h:394
@ COLOR_REF
Definition guInternal.h:549
@ TEXTURE_ENABLE
Definition guInternal.h:179
@ VERTEX_WEIGHT_SIZE
Definition guInternal.h:606
@ AMBIENT_ALPHA
Definition guInternal.h:285
@ Z_MASK
Definition guInternal.h:578
@ LIGHT_ENABLE2
Definition guInternal.h:171
@ LIGHT3_DIRECTION_Y
Definition guInternal.h:349
@ SIGNAL
Definition guInternal.h:148
@ TRANSFER_START
Definition guInternal.h:585
@ MASK_ALPHA
Definition guInternal.h:582
@ TEX_SIZE7
Definition guInternal.h:495
@ DITHER_ENABLE
Definition guInternal.h:183
@ SPLINE
Definition guInternal.h:134
@ TEX_MAP_MODE
Definition guInternal.h:498
@ TEX_ADDR6
Definition guInternal.h:446
@ LIGHT1_QUADRATIC_ATTEN
Definition guInternal.h:364
@ LIGHT1_DIRECTION_Z
Definition guInternal.h:339
@ TEX_SIZE1
Definition guInternal.h:483
@ TEX_FUNC
Definition guInternal.h:516
@ SHADE_MODE
Definition guInternal.h:271
@ BOUNDING_BOX
Definition guInternal.h:136
@ PROJ_MATRIX_DATA
Definition guInternal.h:239
@ TEX_SIZE0
Definition guInternal.h:481
@ TGEN_MATRIX_DATA
Definition guInternal.h:243
@ CLUT_BUF_PTR
Definition guInternal.h:467
@ LIGHT2_Y
Definition guInternal.h:318
@ CULL
Definition guInternal.h:422
@ STENCIL_OP
Definition guInternal.h:557
@ DITH3
Definition guInternal.h:573
@ TRANSFER_SIZE
Definition guInternal.h:593
@ TRANSFER_DST_OFFSET
Definition guInternal.h:589
@ LIGHT1_LINEAR_ATTEN
Definition guInternal.h:362
@ TRANSFER_SRC_W
Definition guInternal.h:474
@ LIGHT2_AMBIENT
Definition guInternal.h:409
@ CLUT_LOAD
Definition guInternal.h:506
@ LIGHT2_LINEAR_ATTEN
Definition guInternal.h:368
@ FOG2
Definition guInternal.h:527
@ VERTEX_WEIGHT_MATRIX_TYPE
Definition guInternal.h:624
@ ALPHA_TEST_ENABLE
Definition guInternal.h:187
@ TEX_WRAP
Definition guInternal.h:512
@ VERTEX_WEIGHT_MATRIX_MODEL
Definition guInternal.h:626
@ LIGHT_ENABLE0
Definition guInternal.h:167
@ LIGHT1_DIRECTION_X
Definition guInternal.h:335
@ LIGHT1_CUTOFF_ATTEN
Definition guInternal.h:390
@ TEX_FLUSH
Definition guInternal.h:520
@ LIGHT2_CUTOFF_ATTEN
Definition guInternal.h:392
@ PATCH_FACING
Definition guInternal.h:227
@ LIGHT1_Y
Definition guInternal.h:312
@ LIGHT0_LINEAR_ATTEN
Definition guInternal.h:356
@ ORIGIN
Definition guInternal.h:158
@ VERTEX_WEIGHT_OFFSET
Definition guInternal.h:614
@ TEX_FILTER
Definition guInternal.h:510
@ CULL_FACE_ENABLE
Definition guInternal.h:177
@ VIEWPORT_Z_SCALE
Definition guInternal.h:250
@ TEX_LEVEL
Definition guInternal.h:514
@ LIGHT0_QUADRATIC_ATTEN
Definition guInternal.h:358
@ MORPH_WEIGHT7
Definition guInternal.h:220
@ FRAME_BUF_PTR
Definition guInternal.h:425
@ BLEND_FIXED_A
Definition guInternal.h:563
@ TEX_OFFSET_U
Definition guInternal.h:262
@ TEX_BUF_WIDTH2
Definition guInternal.h:454
@ VIEWPORT_X_CENTER
Definition guInternal.h:252
@ LIGHT0_DIRECTION_Z
Definition guInternal.h:333
@ TRANSFER_FLIP
Definition guInternal.h:596
@ TEX_ADDR5
Definition guInternal.h:444
@ LIGHT3_EXPONENT_ATTEN
Definition guInternal.h:385
@ TEX_SCALE_V
Definition guInternal.h:260
@ ALPHA_TEST
Definition guInternal.h:553
@ VERTEX_WEIGHT_SCALE
Definition guInternal.h:616
@ FINISH
Definition guInternal.h:150
@ BLEND_FIXED_B
Definition guInternal.h:565
@ TGEN_MATRIX_NUMBER
Definition guInternal.h:241
@ LIGHT0_CUTOFF_ATTEN
Definition guInternal.h:388
@ MASK_COLOR
Definition guInternal.h:580
@ LOGIC_OP
Definition guInternal.h:576
@ DITH0
Definition guInternal.h:567
@ VIEWPORT_Y_SCALE
Definition guInternal.h:248
@ LIGHT_TYPE2
Definition guInternal.h:300
@ OFFSET_ADDR
Definition guInternal.h:156
@ FRAMEBUF_PIX_FORMAT
Definition guInternal.h:534
@ TRANSFER_DST_W
Definition guInternal.h:478
@ MATERIAL_SPECULAR
Definition guInternal.h:283
@ VIEWPORT_Y_CENTER
Definition guInternal.h:254
@ LIGHT3_DIFFUSE
Definition guInternal.h:417
@ TRANSFER_OUT_SIZE
Definition guInternal.h:598
@ REGION1
Definition guInternal.h:160
@ BEZIER
Definition guInternal.h:132
@ LIGHT_ENABLE3
Definition guInternal.h:173
@ MATERIAL_EMISSIVE
Definition guInternal.h:277
@ STENCIL_TEST
Definition guInternal.h:555
@ IADDR
Definition guInternal.h:128
@ LIGHT1_Z
Definition guInternal.h:314
@ MATERIAL_SPECULAR_COEF
Definition guInternal.h:287
@ BONE_MATRIX_NUMBER
Definition guInternal.h:202
@ SCISSOR2
Definition guInternal.h:540
@ BASE
Definition guInternal.h:152
@ LIGHT2_SPECULAR
Definition guInternal.h:413
@ TEX_SYNC
Definition guInternal.h:522
@ TRANSFER_SRC
Definition guInternal.h:472
@ LIGHT1_CONSTANT_ATTEN
Definition guInternal.h:360
@ MORPH_WEIGHT3
Definition guInternal.h:212
@ LIGHT2_Z
Definition guInternal.h:320
@ LIGHT3_X
Definition guInternal.h:322
@ LIGHT_TYPE1
Definition guInternal.h:298
@ VERTEX_WEIGHT_MODEL
Definition guInternal.h:610
@ TRANSFER_SRC_OFFSET
Definition guInternal.h:587
@ BONE_MATRIX_DATA
Definition guInternal.h:204
@ RET
Definition guInternal.h:144
@ COLOR_TESTMASK
Definition guInternal.h:551
@ FRAME_BUF_WIDTH
Definition guInternal.h:427
@ LIGHT0_DIRECTION_X
Definition guInternal.h:329
@ TEX_BUF_WIDTH0
Definition guInternal.h:450
@ TEX_SIZE3
Definition guInternal.h:487
@ VERTEX_WEIGHT
Definition guInternal.h:602
@ FOG_ENABLE
Definition guInternal.h:181
@ MORPH_WEIGHT1
Definition guInternal.h:208
@ FOG_COLOR
Definition guInternal.h:529
@ CALL
Definition guInternal.h:142
@ VERTEX_WEIGHT_TYPE
Definition guInternal.h:608
@ TEX_ADDR7
Definition guInternal.h:448
@ CLEAR_MODE
Definition guInternal.h:536
@ LIGHT3_CONSTANT_ATTEN
Definition guInternal.h:372
@ TEX_BUF_WIDTH1
Definition guInternal.h:452
@ TRANSFER_FORMAT
Definition guInternal.h:591
@ LIGHT3_SPECULAR
Definition guInternal.h:419
@ BJUMP
Definition guInternal.h:140
@ LOGIC_OP_ENABLE
Definition guInternal.h:199
@ LIGHT0_SPECULAR
Definition guInternal.h:401
@ LIGHT2_X
Definition guInternal.h:316
@ ALPHA_BLEND_ENABLE
Definition guInternal.h:185
@ Z_TEST
Definition guInternal.h:559
@ TEX_SCALE_U
Definition guInternal.h:258
@ LIGHT0_DIFFUSE
Definition guInternal.h:399
@ TEX_SIZE5
Definition guInternal.h:491
@ LIGHT2_DIRECTION_X
Definition guInternal.h:341
@ MORPH_WEIGHT0
Definition guInternal.h:206
@ TEX_ADDR4
Definition guInternal.h:442
@ DITH1
Definition guInternal.h:569
@ VERTEX_WEIGHT_MATRIX
Definition guInternal.h:618
@ LIGHT3_AMBIENT
Definition guInternal.h:415
@ LIGHT3_Z
Definition guInternal.h:326
@ LIGHT3_QUADRATIC_ATTEN
Definition guInternal.h:376
@ PATCH_CULL_ENABLE
Definition guInternal.h:195
@ COLOR_TEST
Definition guInternal.h:547
@ MATERIAL_DIFFUSE
Definition guInternal.h:281
@ TEX_ADDR1
Definition guInternal.h:436
@ OFFSET_Y
Definition guInternal.h:268
@ TEX_BUF_WIDTH7
Definition guInternal.h:464
@ TRANSFER_DST
Definition guInternal.h:476
@ SCISSOR1
Definition guInternal.h:538
@ LIGHT_MODE
Definition guInternal.h:293
@ VIEWPORT_X_SCALE
Definition guInternal.h:246
@ LIGHT0_AMBIENT
Definition guInternal.h:397
@ MIN_Z
Definition guInternal.h:543
@ LIGHT2_DIRECTION_Z
Definition guInternal.h:345
@ Z_TEST_ENABLE
Definition guInternal.h:189
@ END
Definition guInternal.h:146
@ TEX_ADDR2
Definition guInternal.h:438
@ LIGHT2_DIFFUSE
Definition guInternal.h:411
@ LIGHT2_EXPONENT_ATTEN
Definition guInternal.h:383
@ LIGHT0_Z
Definition guInternal.h:308
@ TRANSFER_OUT_FORMAT
Definition guInternal.h:600
@ WORLD_MATRIX_DATA
Definition guInternal.h:231
@ PRIM
Definition guInternal.h:130
@ VERTEX_WEIGHT_NORMALIZE
Definition guInternal.h:612
@ TEX_SIZE6
Definition guInternal.h:493
@ LIGHT1_EXPONENT_ATTEN
Definition guInternal.h:381
@ Z_BUF_WIDTH
Definition guInternal.h:431
@ LIGHT1_DIFFUSE
Definition guInternal.h:405
@ LIGHT1_AMBIENT
Definition guInternal.h:403
@ VERTEX_WEIGHT_MATRIX_SIZE
Definition guInternal.h:622
@ MAX_Z
Definition guInternal.h:545
@ CLUT_FORMAT
Definition guInternal.h:508
@ LIGHT2_CONSTANT_ATTEN
Definition guInternal.h:366
@ MORPH_WEIGHT4
Definition guInternal.h:214
@ TEX_BUF_WIDTH5
Definition guInternal.h:460
@ TEX_ADDR3
Definition guInternal.h:440
@ TEX_ENV_COLOR
Definition guInternal.h:518
@ PROJ_MATRIX_NUMBER
Definition guInternal.h:237
@ LIGHT1_SPECULAR
Definition guInternal.h:407
@ NORMAL_REVERSE
Definition guInternal.h:273
@ LIGHT2_QUADRATIC_ATTEN
Definition guInternal.h:370
@ NOP
Definition guInternal.h:124
@ LIGHT_TYPE3
Definition guInternal.h:302
@ AMBIENT_LIGHT_ALPHA
Definition guInternal.h:291
@ COLOR_TEST_ENABLE
Definition guInternal.h:197
@ MORPH_WEIGHT5
Definition guInternal.h:216
@ OFFSET_X
Definition guInternal.h:266
@ DITH2
Definition guInternal.h:571
@ LIGHT0_DIRECTION_Y
Definition guInternal.h:331
@ LIGHT_ENABLE1
Definition guInternal.h:169
@ LIGHT_TYPE0
Definition guInternal.h:296
@ TEX_SIZE2
Definition guInternal.h:485
@ CLUT_BUF_WIDTH
Definition guInternal.h:469
int gu_states
Definition guInternal.c:21
GuDisplayList * gu_list
Definition guInternal.c:16
unsigned int * gu_object_stack[]
Definition guInternal.c:23
GuSettings gu_settings
Definition guInternal.c:15
GuContext gu_contexts[3]
Definition guInternal.c:12
int gu_object_stack_depth
Definition guInternal.c:24
int gu_call_mode
Definition guInternal.c:20
void resetValues()
Definition resetValues.c:11
void(* GuCallback)(int)
Definition guInternal.h:14
int ge_list_executed[2]
Definition guInternal.c:13
void * ge_edram_address
Definition guInternal.c:14
int sceGeListUpdateStallAddr(int qid, void *stall)
Update the stall address for the specified queue.
void(* GuSwapBuffersCallback)(void **display, void **render)
Definition pspgu.h:304
float x
Definition psptypes.h:0
int i[4]
Definition psptypes.h:4
float f[4]
Definition psptypes.h:3
Definition guInternal.h:37
int fragment_2x
Definition guInternal.h:45
GuDisplayList list
Definition guInternal.h:38
unsigned int clear_color
Definition guInternal.h:50
int near_plane
Definition guInternal.h:42
unsigned int clear_depth
Definition guInternal.h:52
int texture_proj_map_mode
Definition guInternal.h:47
int texture_mode
Definition guInternal.h:53
int scissor_enable
Definition guInternal.h:39
int texture_map_mode
Definition guInternal.h:48
unsigned int clear_stencil
Definition guInternal.h:51
int texture_function
Definition guInternal.h:46
int far_plane
Definition guInternal.h:43
int depth_offset
Definition guInternal.h:44
Definition guInternal.h:30
unsigned int * start
Definition guInternal.h:31
unsigned int * current
Definition guInternal.h:32
int parent_context
Definition guInternal.h:33
Definition guInternal.h:57
int width
Definition guInternal.h:64
int depth_width
Definition guInternal.h:63
int height
Definition guInternal.h:65
void * frame_buffer
Definition guInternal.h:60
void * depth_buffer
Definition guInternal.h:62
int pixel_size
Definition guInternal.h:58
void * disp_buffer
Definition guInternal.h:61
int frame_width
Definition guInternal.h:59
Definition guInternal.h:69
unsigned char ydir
Definition guInternal.h:81
unsigned char zpos
Definition guInternal.h:79
unsigned char quadratic
Definition guInternal.h:94
unsigned char ambient
Definition guInternal.h:86
unsigned char xpos
Definition guInternal.h:74
unsigned char specular
Definition guInternal.h:88
unsigned char linear
Definition guInternal.h:93
unsigned char exponent
Definition guInternal.h:95
unsigned char enable
Definition guInternal.h:72
unsigned char type
Definition guInternal.h:73
unsigned char cutoff
Definition guInternal.h:96
unsigned char zdir
Definition guInternal.h:82
unsigned char diffuse
Definition guInternal.h:87
unsigned char constant
Definition guInternal.h:89
unsigned char ypos
Definition guInternal.h:75
unsigned char xdir
Definition guInternal.h:80
Definition guInternal.h:17
int kernel_event_flag
Definition guInternal.h:22
int ge_callback_id
Definition guInternal.h:23
int swapBuffersBehaviour
Definition guInternal.h:26
GuCallback sig
Definition guInternal.h:18
int signal_offset
Definition guInternal.h:21
GuSwapBuffersCallback swapBuffersCallback
Definition guInternal.h:25
GuCallback fin
Definition guInternal.h:19