pspsdk-1.0+beta2
|
#include "pspgu.h"
Go to the source code of this file.
Data Structures | |
struct | GuSettings |
struct | GuDisplayList |
struct | GuContext |
struct | GuDrawBuffer |
struct | GuLightSettings |
Typedefs | |
typedef void(* | GuCallback )(int) |
Functions | |
void | sendCommandi (int cmd, int argument) |
void | sendCommandiStall (int cmd, int argument) |
void | sendCommandf (int cmd, float argument) |
void | callbackSig (int id, void *arg) |
void | callbackFin (int id, void *arg) |
void | resetValues () |
Variables | |
unsigned int | gu_current_frame |
GuContext | gu_contexts [3] |
int | ge_list_executed [2] |
void * | ge_edram_address |
GuSettings | gu_settings |
GuDisplayList * | gu_list |
int | gu_curr_context |
int | gu_init |
int | gu_display_on |
int | gu_call_mode |
int | gu_states |
GuDrawBuffer | gu_draw_buffer |
unsigned int * | gu_object_stack [] |
int | gu_object_stack_depth |
GuLightSettings | light_settings [4] |
typedef void(* GuCallback)(int) |
void callbackFin | ( | int | id, |
void * | arg | ||
) |
References GuSettings::fin.
Referenced by sceGuInit().
void callbackSig | ( | int | id, |
void * | arg | ||
) |
References GuSettings::kernel_event_flag, sceKernelSetEventFlag(), GuSettings::sig, GuSettings::signal_history, and GuSettings::signal_offset.
Referenced by sceGuInit().
void resetValues | ( | ) |
References GuContext::clear_color, GuContext::clear_depth, GuContext::clear_stencil, GuDrawBuffer::depth_buffer, GuContext::depth_offset, GuDrawBuffer::depth_width, GuDrawBuffer::disp_buffer, GuContext::far_plane, GuSettings::fin, GuContext::fragment_2x, GuDrawBuffer::frame_buffer, GuDrawBuffer::frame_width, gu_call_mode, gu_contexts, gu_current_frame, gu_display_on, gu_draw_buffer, gu_init, gu_object_stack_depth, gu_settings, gu_states, GuDrawBuffer::height, i, GuContext::near_plane, GuDrawBuffer::pixel_size, GuContext::scissor_enable, GuContext::scissor_end, GuContext::scissor_start, GuSettings::sig, GuContext::sprite_mode, GuContext::texture_function, GuContext::texture_map_mode, GuContext::texture_mode, GuContext::texture_proj_map_mode, and GuDrawBuffer::width.
Referenced by sceGuInit().
void sendCommandf | ( | int | cmd, |
float | argument | ||
) |
References f, i, and sendCommandi().
Referenced by sceGuBoneMatrix(), sceGuDepthRange(), sceGuFog(), sceGuLight(), sceGuLightAtt(), sceGuLightSpot(), sceGuMorphWeight(), sceGuSendCommandf(), sceGuSetMatrix(), sceGuSpecular(), sceGuTexFlush(), sceGuTexOffset(), sceGuTexScale(), sceGuTexSlope(), and sceGuViewport().
void sendCommandi | ( | int | cmd, |
int | argument | ||
) |
References GuDisplayList::current, and gu_list.
Referenced by drawRegion(), sceGuAlphaFunc(), sceGuAmbient(), sceGuAmbientColor(), sceGuBeginObject(), sceGuBlendFunc(), sceGuBoneMatrix(), sceGuCallList(), sceGuClear(), sceGuClutLoad(), sceGuClutMode(), sceGuColorFunc(), sceGuColorMaterial(), sceGuCopyImage(), sceGuDepthBuffer(), sceGuDepthFunc(), sceGuDepthMask(), sceGuDepthRange(), sceGuDisable(), sceGuDrawArray(), sceGuDrawArrayN(), sceGuDrawBezier(), sceGuDrawBuffer(), sceGuDrawBufferList(), sceGuDrawSpline(), sceGuEnable(), sceGuEndObject(), sceGuFinish(), sceGuFinishId(), sceGuFog(), sceGuFrontFace(), sceGuLight(), sceGuLightColor(), sceGuLightMode(), sceGuLogicalOp(), sceGuMaterial(), sceGuModelColor(), sceGuOffset(), sceGuPatchDivide(), sceGuPatchFrontFace(), sceGuPatchPrim(), sceGuPixelMask(), sceGuScissor(), sceGuSendCommandi(), sceGuSetDither(), sceGuShadeModel(), sceGuSignal(), sceGuStart(), sceGuStencilFunc(), sceGuStencilOp(), sceGuTexEnvColor(), sceGuTexFilter(), sceGuTexFunc(), sceGuTexImage(), sceGuTexLevelMode(), sceGuTexMapMode(), sceGuTexMode(), sceGuTexProjMapMode(), sceGuTexSync(), sceGuTexWrap(), sendCommandf(), and sendCommandiStall().
void sendCommandiStall | ( | int | cmd, |
int | argument | ||
) |
References GuDisplayList::current, ge_list_executed, gu_curr_context, gu_list, gu_object_stack_depth, sceGeListUpdateStallAddr(), and sendCommandi().
Referenced by sceGuCallList(), sceGuDrawArray(), sceGuDrawArrayN(), sceGuFinish(), sceGuFinishId(), and sceGuSignal().
void* ge_edram_address |
Referenced by sceGuDispBuffer(), sceGuDisplay(), sceGuInit(), and sceGuSwapBuffers().
int ge_list_executed[2] |
Referenced by sceGuGetMemory(), sceGuInit(), sceGuSendList(), sceGuStart(), sceGuSync(), and sendCommandiStall().
int gu_call_mode |
Referenced by resetValues(), sceGuCallList(), sceGuCallMode(), sceGuFinish(), and sceGuFinishId().
GuContext gu_contexts[3] |
Referenced by resetValues(), sceGuClear(), sceGuClearColor(), sceGuClearDepth(), sceGuClearStencil(), sceGuDepthOffset(), sceGuDepthRange(), sceGuDisable(), sceGuEnable(), sceGuFinish(), sceGuFinishId(), sceGuScissor(), sceGuStart(), sceGuTexFunc(), sceGuTexMapMode(), sceGuTexMode(), and sceGuTexProjMapMode().
int gu_curr_context |
Referenced by sceGuClear(), sceGuClearColor(), sceGuClearDepth(), sceGuClearStencil(), sceGuDepthOffset(), sceGuDepthRange(), sceGuDisable(), sceGuEnable(), sceGuFinish(), sceGuFinishId(), sceGuGetMemory(), sceGuScissor(), sceGuStart(), sceGuTexFunc(), sceGuTexMapMode(), sceGuTexMode(), sceGuTexProjMapMode(), and sendCommandiStall().
unsigned int gu_current_frame |
Referenced by resetValues(), and sceGuSwapBuffers().
int gu_display_on |
Referenced by resetValues(), sceGuDispBuffer(), sceGuDisplay(), and sceGuSwapBuffers().
GuDrawBuffer gu_draw_buffer |
Referenced by resetValues(), sceGuClear(), sceGuDepthBuffer(), sceGuDisable(), sceGuDispBuffer(), sceGuDisplay(), sceGuDrawBuffer(), sceGuStart(), and sceGuSwapBuffers().
int gu_init |
Referenced by resetValues(), and sceGuStart().
GuDisplayList* gu_list |
Referenced by sceGuBeginObject(), sceGuCheckList(), sceGuEndObject(), sceGuFinish(), sceGuFinishId(), sceGuGetMemory(), sceGuStart(), sendCommandi(), and sendCommandiStall().
unsigned int* gu_object_stack[] |
Referenced by sceGuBeginObject(), and sceGuEndObject().
int gu_object_stack_depth |
Referenced by resetValues(), sceGuBeginObject(), sceGuEndObject(), and sendCommandiStall().
GuSettings gu_settings |
int gu_states |
Referenced by resetValues(), sceGuDisable(), sceGuEnable(), sceGuGetAllStatus(), and sceGuGetStatus().
GuLightSettings light_settings[4] |
Referenced by sceGuLight(), sceGuLightAtt(), sceGuLightColor(), and sceGuLightSpot().