|
| #define | GCM_TRUE 1 |
| | true boolean value
|
| |
| #define | GCM_FALSE 0 |
| | false boolean value
|
| |
| #define | GCM_DEFAULT_FIFO_MODE_TRADITIONAL 0 |
| | Traditional FIFO mode. Checks the get pointer in the traditional way for any opening in the next segment. May sleep-wait if the get pointer is pointing to the next segment.
|
| |
| #define | GCM_DEFAULT_FIFO_MODE_OPTIMIZE 1 |
| |
| #define | GCM_DEFAULT_FIFO_MODE_CONDITIONAL 2 |
| |
| #define | GCM_FLIP_HSYNC 1 |
| | flip on horizontal sync, accurate mode
|
| |
| #define | GCM_FLIP_VSYNC 2 |
| | flip on vertical sync
|
| |
| #define | GCM_FLIP_HSYNC_AND_BREAK_EVERYTHING 3 |
| | flip on horizontal sync, inaccurate mode
|
| |
| #define | GCM_MAX_MRT_COUNT 4 |
| | maximum count of multiple render targets
|
| |
| #define | GCM_DMA_MEMORY_FRAME_BUFFER (0xFEED0000) |
| |
| #define | GCM_DMA_MEMORY_HOST_BUFFER (0xFEED0001) |
| |
| #define | GCM_CONTEXT_SURFACE2D (0x313371C3) |
| |
| #define | GCM_CONTEXT_SWIZZLE2D (0x31337A73) |
| |
| #define | GCM_TRANSFER_LOCAL_TO_LOCAL 0 |
| |
| #define | GCM_TRANSFER_MAIN_TO_LOCAL 1 |
| |
| #define | GCM_TRANSFER_LOCAL_TO_MAIN 2 |
| |
| #define | GCM_TRANSFER_MAIN_TO_MAIN 3 |
| |
| #define | GCM_LOCATION_RSX 0 |
| | Memory buffer is located in RSX memory.
|
| |
| #define | GCM_LOCATION_CELL 1 |
| | Memory buffer is located in main memory.
|
| |
| #define | GCM_LOCATION_REPORT 2 |
| | Memory buffer is located in report memory.
|
| |
| #define | GCM_SURFACE_X1R5G5B5_Z1R5G5B5 1 |
| |
| #define | GCM_SURFACE_X1R5G5B5_O1R5G5B5 2 |
| |
| #define | GCM_SURFACE_R5G5B5 3 |
| |
| #define | GCM_SURFACE_X8R8G8B8_Z8R8G8B8 4 |
| |
| #define | GCM_SURFACE_X8R8G8B8 5 |
| |
| #define | GCM_SURFACE_A8R8G8B8 8 |
| |
| #define | GCM_SURFACE_B8 9 |
| |
| #define | GCM_SURFACE_G8B8 10 |
| |
| #define | GCM_SURFACE_F_W16Z16Y16X16 11 |
| |
| #define | GCM_SURFACE_F_W32Z32Y32X32 12 |
| |
| #define | GCM_SURFACE_F_X32 13 |
| |
| #define | GCM_SURFACE_X8B8G8R8_Z8B8G8R8 14 |
| |
| #define | GCM_SURFACE_X8B8G8R8_O8B8G8R8 15 |
| |
| #define | GCM_SURFACE_A8B8G8R8 16 |
| |
| #define | GCM_SURFACE_ZETA_Z16 1 |
| | 16-bit depth buffer
|
| |
| #define | GCM_SURFACE_ZETA_Z24S8 2 |
| | 24-bit depth buffer and 8-bit stencil buffer.
|
| |
| #define | GCM_SURFACE_TYPE_LINEAR 1 |
| | Render target is linear.
|
| |
| #define | GCM_SURFACE_TYPE_SWIZZLE 2 |
| | Render target is swizzled.
|
| |
| #define | GCM_SURFACE_TARGET_NONE 0 |
| | Do not use render target.
|
| |
| #define | GCM_SURFACE_TARGET_0 1 |
| | Render target 0.
|
| |
| #define | GCM_SURFACE_TARGET_1 2 |
| | Render target 1.
|
| |
| #define | GCM_SURFACE_TARGET_MRT1 0x13 |
| | Render target 0 and 1.
|
| |
| #define | GCM_SURFACE_TARGET_MRT2 0x17 |
| | Render target 0,1 and 2.
|
| |
| #define | GCM_SURFACE_TARGET_MRT3 0x1f |
| | Render target 0,1,2 and 3.
|
| |
| #define | GCM_SURFACE_CENTER_1 0 |
| | Do not use multiple samples.
|
| |
| #define | GCM_SURFACE_DIAGONAL_CENTERED_2 3 |
| |
| #define | GCM_SURFACE_SQUARE_CENTERED_4 4 |
| |
| #define | GCM_SURFACE_SQUARE_ROTATED_4 5 |
| |
| #define | GCM_COLOR_MASK_B 0x00000001 |
| | blue color component
|
| |
| #define | GCM_COLOR_MASK_G 0x00000100 |
| | green color component
|
| |
| #define | GCM_COLOR_MASK_R 0x00010000 |
| | red color component
|
| |
| #define | GCM_COLOR_MASK_A 0x01000000 |
| | alpha component
|
| |
| #define | GCM_COLOR_MASK_MRT1_A 0x00000010 |
| |
| #define | GCM_COLOR_MASK_MRT1_R 0x00000020 |
| |
| #define | GCM_COLOR_MASK_MRT1_G 0x00000040 |
| |
| #define | GCM_COLOR_MASK_MRT1_B 0x00000080 |
| |
| #define | GCM_COLOR_MASK_MRT2_A 0x00000100 |
| |
| #define | GCM_COLOR_MASK_MRT2_R 0x00000200 |
| |
| #define | GCM_COLOR_MASK_MRT2_G 0x00000400 |
| |
| #define | GCM_COLOR_MASK_MRT2_B 0x00000800 |
| |
| #define | GCM_COLOR_MASK_MRT3_A 0x00001000 |
| |
| #define | GCM_COLOR_MASK_MRT3_R 0x00002000 |
| |
| #define | GCM_COLOR_MASK_MRT3_G 0x00004000 |
| |
| #define | GCM_COLOR_MASK_MRT3_B 0x00008000 |
| |
| #define | GCM_CLEAR_Z 0x01 |
| | clear the Z buffer (depth buffer)
|
| |
| #define | GCM_CLEAR_S 0x02 |
| | clear the stencil buffer
|
| |
| #define | GCM_CLEAR_R 0x10 |
| | clear the red components
|
| |
| #define | GCM_CLEAR_G 0x20 |
| | clear the green components
|
| |
| #define | GCM_CLEAR_B 0x40 |
| | clear the blue components
|
| |
| #define | GCM_CLEAR_A 0x80 |
| | clear the alpha components
|
| |
| #define | GCM_CLEAR_M 0xf3 |
| | clear all RGBA components, Z buffer and stencil buffer
|
| |
| #define | GCM_NEVER 0x0200 |
| | depth test never passes.
|
| |
| #define | GCM_LESS 0x0201 |
| | depth test passes if the incoming depth value is less than the stored depth value.
|
| |
| #define | GCM_EQUAL 0x0202 |
| | depth test passes if the incoming depth value is equal to the stored depth value.
|
| |
| #define | GCM_LEQUAL 0x0203 |
| | depth test passes if the incoming depth value is less than or equal to the stored depth value.
|
| |
| #define | GCM_GREATER 0x0204 |
| | depth test passes if the incoming depth value is greater than the stored depth value.
|
| |
| #define | GCM_NOTEQUAL 0x0205 |
| | depth test passes if the incoming depth value is not equal to the stored depth value.
|
| |
| #define | GCM_GEQUAL 0x0206 |
| | depth test passes if the incoming depth value is greater than or equal to the stored depth value.
|
| |
| #define | GCM_ALWAYS 0x0207 |
| | depth test always passes.
|
| |
| #define | GCM_CULL_FRONT 0x0404 |
| | culling of front face
|
| |
| #define | GCM_CULL_BACK 0x0405 |
| | culling of back face
|
| |
| #define | GCM_CULL_ALL 0x0408 |
| | culling of front and back faces
|
| |
| #define | GCM_POLYGON_MODE_POINT 0x1b00 |
| | render the polygon by points
|
| |
| #define | GCM_POLYGON_MODE_LINE 0x1b01 |
| | render the polygon by lines
|
| |
| #define | GCM_POLYGON_MODE_FILL 0x1b02 |
| | render the polygon by filling
|
| |
| #define | GCM_FRONTFACE_CW 0x0900 |
| | front face is to be drawn clock wise
|
| |
| #define | GCM_FRONTFACE_CCW 0x0901 |
| | front face is to be drawn counter clock wise
|
| |
| #define | GCM_CLEAR 0x1500 |
| |
| #define | GCM_AND 0x1501 |
| |
| #define | GCM_AND_REVERSE 0x1502 |
| |
| #define | GCM_COPY 0x1503 |
| |
| #define | GCM_AND_INVERTED 0x1504 |
| |
| #define | GCM_NOOP 0x1505 |
| |
| #define | GCM_XOR 0x1506 |
| |
| #define | GCM_OR 0x1507 |
| |
| #define | GCM_NOR 0x1508 |
| |
| #define | GCM_EQUIV 0x1509 |
| |
| #define | GCM_INVERT 0x150A |
| |
| #define | GCM_OR_REVERSE 0x150B |
| |
| #define | GCM_COPY_INVERTED 0x150C |
| |
| #define | GCM_OR_INVERTED 0x150D |
| |
| #define | GCM_NAND 0x150E |
| |
| #define | GCM_SET 0x150F |
| |
| #define | GCM_KEEP 0x1E00 |
| | keep current stencil buffer value
|
| |
| #define | GCM_REPLACE 0x1E01 |
| | set stencil buffer value to 0
|
| |
| #define | GCM_INCR 0x1E02 |
| | increment current stencil buffer value. clamp to 255
|
| |
| #define | GCM_DECR 0x1E03 |
| | decrement current stencil buffer value. clamp to 0
|
| |
| #define | GCM_INCR_WRAP 0x8507 |
| | increment current stencil buffer value. when incrementing a stencil value of 255, wrap around to 0
|
| |
| #define | GCM_DECR_WRAP 0x8508 |
| | decrement current stencil buffer value. when decrementing a stencil value of 0, wrap around to 255
|
| |
| #define | GCM_TYPE_POINTS 1 |
| | render POINTS primitive
|
| |
| #define | GCM_TYPE_LINES 2 |
| | render LINES primitive
|
| |
| #define | GCM_TYPE_LINE_LOOP 3 |
| | render LINE_LOOP primitive
|
| |
| #define | GCM_TYPE_LINE_STRIP 4 |
| | render LINE_STRIP primitive
|
| |
| #define | GCM_TYPE_TRIANGLES 5 |
| | render TRIANGLES primitive
|
| |
| #define | GCM_TYPE_TRIANGLE_STRIP 6 |
| | render TRIANGLE_STRIP primitive
|
| |
| #define | GCM_TYPE_TRIANGLE_FAN 7 |
| | render TRIANGLE_FAN primitive
|
| |
| #define | GCM_TYPE_QUADS 8 |
| | render QUADS primitive
|
| |
| #define | GCM_TYPE_QUAD_STRIP 9 |
| | render QUAD_STRIP primitive
|
| |
| #define | GCM_TYPE_POLYGON 10 |
| | render POLYGON primitive
|
| |
| #define | GCM_INVALIDATE_TEXTURE 1 |
| | invalidate texture cache for fragment programs
|
| |
| #define | GCM_INVALIDATE_VERTEX_TEXTURE 2 |
| | invalidate texture cache for vertex programs
|
| |
| #define | GCM_TEXTURE_DIMS_1D 1 |
| | texture is 1D.
|
| |
| #define | GCM_TEXTURE_DIMS_2D 2 |
| | texture is 2D.
|
| |
| #define | GCM_TEXTURE_DIMS_3D 3 |
| | texture is 3D.
|
| |
| #define | GCM_TEXTURE_FORMAT_SWZ 0x00 |
| | texture uses swizzle format
|
| |
| #define | GCM_TEXTURE_FORMAT_LIN 0x20 |
| | texture uses linear format
|
| |
| #define | GCM_TEXTURE_FORMAT_NRM 0x00 |
| | texture uses normalized texture coordinates
|
| |
| #define | GCM_TEXTURE_FORMAT_UNRM 0x40 |
| | texture uses unnormalized texture coordinates
|
| |
| #define | GCM_TEXTURE_FORMAT_B8 1 |
| | texture color format is 8-bit unsigned integer
|
| |
| #define | GCM_TEXTURE_FORMAT_A1R5G5B5 2 |
| | texture color format is 1-bit alpha and three 5-bit unsigned integers
|
| |
| #define | GCM_TEXTURE_FORMAT_A4R4G4B4 3 |
| | texture color format is four 4-bit unsigned values
|
| |
| #define | GCM_TEXTURE_FORMAT_R5G6B5 4 |
| | texture color format is 5-bit, 6-bit and 5-bit unsigned integers
|
| |
| #define | GCM_TEXTURE_FORMAT_A8R8G8B8 5 |
| | texture color format is four 8-bit unsigned integers
|
| |
| #define | GCM_TEXTURE_FORMAT_DXT1 6 |
| | texture color format is 4x4 pixels compressed to 8 bytes
|
| |
| #define | GCM_TEXTURE_FORMAT_DXT23 7 |
| | texture color format is 4x4 pixels compressed to 16 bytes
|
| |
| #define | GCM_TEXTURE_FORMAT_DXT45 8 |
| | texture color format is 4x4 pixels compressed to 16 bytes
|
| |
| #define | GCM_TEXTURE_FORMAT_G8B8 11 |
| | texture color format is two 8-bit unsigned integers
|
| |
| #define | GCM_TEXTURE_FORMAT_R6G5B5 15 |
| | texture color format is 6-bit, 5-bit and 5-bit unsigned integers
|
| |
| #define | GCM_TEXTURE_FORMAT_DEPTH24_D8 16 |
| | texture color format is 24-bit fixed and 8-bit dummy data
|
| |
| #define | GCM_TEXTURE_FORMAT_DEPTH24_D8_FLOAT 17 |
| | texture color format is 24-bit float and 8-bit dummy data
|
| |
| #define | GCM_TEXTURE_FORMAT_DEPTH16 18 |
| | texture color format is 16-bit fixed
|
| |
| #define | GCM_TEXTURE_FORMAT_DEPTH16_FLOAT 19 |
| | texture color format is 16-bit float
|
| |
| #define | GCM_TEXTURE_FORMAT_X16 20 |
| | texture color format is 16-bit integer
|
| |
| #define | GCM_TEXTURE_FORMAT_Y16_X16 21 |
| | texture color format is two 16-bit integers
|
| |
| #define | GCM_TEXTURE_FORMAT_R5G6B5A1 23 |
| | texture color format is three 5-bit unsigned integers and one 1-bit value
|
| |
| #define | GCM_TEXTURE_FORMAT_COMPRESSED_HILO8 24 |
| | texture color format is two 16-bit unsigned values compressed to two 8-bit values
|
| |
| #define | GCM_TEXTURE_FORMAT_COMPRESSED_HILO8_S8 25 |
| | texture color format is two 16-bit signed values compressed to two 8-bit values
|
| |
| #define | GCM_TEXTURE_FORMAT_W16_Z16_Y16_X16_FLOAT 26 |
| | texture color format is four 16-bit float values
|
| |
| #define | GCM_TEXTURE_FORMAT_W32_Z32_Y32_X32_FLOAT 27 |
| | texture color format is four 32-bit float values
|
| |
| #define | GCM_TEXTURE_FORMAT_X32_FLOAT 28 |
| | texture color format is one 32-bit float value
|
| |
| #define | GCM_TEXTURE_FORMAT_D1R5G5B5 29 |
| | texture color format is 1-bit dummy data and 5-bit unsigned integers
|
| |
| #define | GCM_TEXTURE_FORMAT_D8R8G8B8 30 |
| | texture color format is 8-bit dummy data and 8-bit unsigned integers
|
| |
| #define | GCM_TEXTURE_FORMAT_Y16_X16_FLOAT 31 |
| | texture color format is two 16-bit float values
|
| |
| #define | GCM_TEXTURE_FORMAT_COMPRESSED_B8R8_G8R8 45 |
| | texture color format is two pixels compressed to 32 bits in YUV format
|
| |
| #define | GCM_TEXTURE_FORMAT_COMPRESSED_R8B8_R8G8 46 |
| | texture color format is two pixels compressed to 32 bits in YUV format
|
| |
| #define | GCM_TEXTURE_REMAP_TYPE_B_SHIFT 14 |
| | shift value for texture remapping type corresponding to the blue component
|
| |
| #define | GCM_TEXTURE_REMAP_TYPE_G_SHIFT 12 |
| | shift value for texture remapping type corresponding to the green component
|
| |
| #define | GCM_TEXTURE_REMAP_TYPE_R_SHIFT 10 |
| | shift value for texture remapping type corresponding to the red component
|
| |
| #define | GCM_TEXTURE_REMAP_TYPE_A_SHIFT 8 |
| | shift value for texture remapping type corresponding to the alpha component
|
| |
| #define | GCM_TEXTURE_REMAP_COLOR_B_SHIFT 6 |
| | shift value for texture remapping component color corresponding to the blue component
|
| |
| #define | GCM_TEXTURE_REMAP_COLOR_G_SHIFT 4 |
| | shift value for texture remapping component color corresponding to the green component
|
| |
| #define | GCM_TEXTURE_REMAP_COLOR_R_SHIFT 2 |
| | shift value for texture remapping component color corresponding to the red component
|
| |
| #define | GCM_TEXTURE_REMAP_COLOR_A_SHIFT 0 |
| | shift value for texture remapping component color corresponding to the alpha component
|
| |
| #define | GCM_TEXTURE_REMAP_TYPE_ZERO 0 |
| | remap component to all zero bits
|
| |
| #define | GCM_TEXTURE_REMAP_TYPE_ONE 1 |
| | remap component to all one bits
|
| |
| #define | GCM_TEXTURE_REMAP_TYPE_REMAP 2 |
| | remap component to specified component
|
| |
| #define | GCM_TEXTURE_REMAP_ORDER_XYXY 0 |
| | map the two input elements XY to XYZW as XYXY
|
| |
| #define | GCM_TEXTURE_REMAP_ORDER_XXXY 1 |
| | map the two input elements XY to XYZW as XXXY
|
| |
| #define | GCM_TEXTURE_REMAP_COLOR_A 0 |
| | remap component to alpha component
|
| |
| #define | GCM_TEXTURE_REMAP_COLOR_R 1 |
| | remap component to red component
|
| |
| #define | GCM_TEXTURE_REMAP_COLOR_G 2 |
| | remap component to green component
|
| |
| #define | GCM_TEXTURE_REMAP_COLOR_B 3 |
| | remap component to blue component
|
| |
| #define | GCM_TEXTURE_MAX_ANISO_1 0 |
| | x1 sample
|
| |
| #define | GCM_TEXTURE_MAX_ANISO_2 1 |
| | x2 sample
|
| |
| #define | GCM_TEXTURE_MAX_ANISO_4 2 |
| | x4 sample
|
| |
| #define | GCM_TEXTURE_MAX_ANISO_6 3 |
| | x6 sample
|
| |
| #define | GCM_TEXTURE_MAX_ANISO_8 4 |
| | x8 sample
|
| |
| #define | GCM_TEXTURE_MAX_ANISO_10 5 |
| | x10 sample
|
| |
| #define | GCM_TEXTURE_MAX_ANISO_12 6 |
| | x12 sample
|
| |
| #define | GCM_TEXTURE_MAX_ANISO_16 7 |
| | x16 sample
|
| |
| #define | GCM_FOG_MODE_LINEAR 0x2601 |
| |
| #define | GCM_FOG_MODE_EXP 0x0800 |
| |
| #define | GCM_FOG_MODE_EXP2 0x0801 |
| |
| #define | GCM_FOG_MODE_EXP_ABS 0x0802 |
| |
| #define | GCM_FOG_MODE_EXP2_ABS 0x0803 |
| |
| #define | GCM_FOG_MODE_LINEAR_ABS 0x0804 |
| |
| #define | GCM_POINT_SPRITE_TEX0 (1<<8) |
| |
| #define | GCM_POINT_SPRITE_TEX1 (1<<9) |
| |
| #define | GCM_POINT_SPRITE_TEX2 (1<<10) |
| |
| #define | GCM_POINT_SPRITE_TEX3 (1<<11) |
| |
| #define | GCM_POINT_SPRITE_TEX4 (1<<12) |
| |
| #define | GCM_POINT_SPRITE_TEX5 (1<<13) |
| |
| #define | GCM_POINT_SPRITE_TEX6 (1<<14) |
| |
| #define | GCM_POINT_SPRITE_TEX7 (1<<15) |
| |
| #define | GCM_POINT_SPRITE_TEX8 (1<<16) |
| |
| #define | GCM_POINT_SPRITE_TEX9 (1<<17) |
| |
| #define | GCM_POINT_SPRITE_RMODE_ZERO 0 |
| |
| #define | GCM_POINT_SPRITE_RMODE_FROM_R 1 |
| |
| #define | GCM_POINT_SPRITE_RMODE_FROM_S 2 |
| |
| #define | GCM_TEXTURE_NEAREST 1 |
| |
| #define | GCM_TEXTURE_LINEAR 2 |
| |
| #define | GCM_TEXTURE_NEAREST_MIPMAP_NEAREST 3 |
| |
| #define | GCM_TEXTURE_LINEAR_MIPMAP_NEAREST 4 |
| |
| #define | GCM_TEXTURE_NEAREST_MIPMAP_LINEAR 5 |
| |
| #define | GCM_TEXTURE_LINEAR_MIPMAP_LINEAR 6 |
| |
| #define | GCM_TEXTURE_CONVOLUTION_MIN 7 |
| |
| #define | GCM_TEXTURE_CONVOLUTION_MAG 4 |
| |
| #define | GCM_TEXTURE_CONVOLUTION_QUINCUNX 1 |
| |
| #define | GCM_TEXTURE_CONVOLUTION_GAUSSIAN 2 |
| |
| #define | GCM_TEXTURE_CONVOLUTION_QUINCUNX_ALT 3 |
| |
| #define | GCM_TEXTURE_REPEAT 1 |
| |
| #define | GCM_TEXTURE_MIRRORED_REPEAT 2 |
| |
| #define | GCM_TEXTURE_CLAMP_TO_EDGE 3 |
| |
| #define | GCM_TEXTURE_BORDER 4 |
| |
| #define | GCM_TEXTURE_CLAMP 5 |
| |
| #define | GCM_TEXTURE_MIRROR_ONCE_CLAMP_TO_EDGE 6 |
| |
| #define | GCM_TEXTURE_MIRROR_ONCE_CLAMP_TO_BORDER 7 |
| |
| #define | GCM_TEXTURE_MIRROR_ONCE_CLAMP 8 |
| |
| #define | GCM_TEXTURE_UNSIGNED_REMAP_NORMAL 0 |
| |
| #define | GCM_TEXTURE_UNSIGNED_REMAP_BIASED 1 |
| |
| #define | GCM_TEXTURE_GAMMA_R (1<<0) |
| |
| #define | GCM_TEXTURE_GAMMA_G (1<<1) |
| |
| #define | GCM_TEXTURE_GAMMA_B (1<<2) |
| |
| #define | GCM_TEXTURE_GAMMA_A (1<<3) |
| |
| #define | GCM_TEXTURE_ZFUNC_NEVER 0 |
| |
| #define | GCM_TEXTURE_ZFUNC_LESS 1 |
| |
| #define | GCM_TEXTURE_ZFUNC_EQUAL 2 |
| |
| #define | GCM_TEXTURE_ZFUNC_LEQUAL 3 |
| |
| #define | GCM_TEXTURE_ZFUNC_GREATER 4 |
| |
| #define | GCM_TEXTURE_ZFUNC_NOTEQUAL 5 |
| |
| #define | GCM_TEXTURE_ZFUNC_GEQUAL 6 |
| |
| #define | GCM_TEXTURE_ZFUNC_ALWAYS 7 |
| |
| #define | GCM_TEXTURE_ISO_LOW 0 |
| |
| #define | GCM_TEXTURE_ISO_HIGH 1 |
| |
| #define | GCM_TEXTURE_ANISO_LOW 0 |
| |
| #define | GCM_TEXTURE_ANISO_HIGH 1 |
| |
| #define | GCM_DEPTH_FORMAT_FIXED 0 |
| |
| #define | GCM_DEPTH_FORMAT_FLOAT 1 |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX0_U (1<<0) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX0_V (1<<1) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX0_P (1<<2) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX0_Q (1<<3) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX1_U (1<<4) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX1_V (1<<5) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX1_P (1<<6) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX1_Q (1<<7) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX2_U (1<<8) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX2_V (1<<9) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX2_P (1<<10) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX2_Q (1<<11) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX3_U (1<<12) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX3_V (1<<13) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX3_P (1<<14) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX3_Q (1<<15) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX4_U (1<<16) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX4_V (1<<17) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX4_P (1<<18) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX4_Q (1<<19) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX5_U (1<<20) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX5_V (1<<21) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX5_P (1<<22) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX5_Q (1<<23) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX6_U (1<<24) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX6_V (1<<25) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX6_P (1<<26) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX6_Q (1<<27) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX7_U (1<<28) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX7_V (1<<29) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX7_P (1<<30) |
| |
| #define | GCM_TEXTURE_CYLINDRICAL_WRAP_ENABLE_TEX7_Q (1<<31) |
| |
| #define | GCM_VERTEX_ATTRIB_POS 0 |
| |
| #define | GCM_VERTEX_ATTRIB_WEIGHT 1 |
| |
| #define | GCM_VERTEX_ATTRIB_NORMAL 2 |
| |
| #define | GCM_VERTEX_ATTRIB_COLOR0 3 |
| |
| #define | GCM_VERTEX_ATTRIB_COLOR1 4 |
| |
| #define | GCM_VERTEX_ATTRIB_FOG 5 |
| |
| #define | GCM_VERTEX_ATTRIB_COLOR_INDEX 6 |
| |
| #define | GCM_VERTEX_ATTRIB_POINT_SIZE 6 /*alias*/ |
| |
| #define | GCM_VERTEX_ATTRIB_EDGEFLAG 7 |
| |
| #define | GCM_VERTEX_ATTRIB_TEX0 8 |
| |
| #define | GCM_VERTEX_ATTRIB_TEX1 9 |
| |
| #define | GCM_VERTEX_ATTRIB_TEX2 10 |
| |
| #define | GCM_VERTEX_ATTRIB_TEX3 11 |
| |
| #define | GCM_VERTEX_ATTRIB_TEX4 12 |
| |
| #define | GCM_VERTEX_ATTRIB_TEX5 13 |
| |
| #define | GCM_VERTEX_ATTRIB_TEX6 14 |
| |
| #define | GCM_VERTEX_ATTRIB_TANGENT 14 /*alias*/ |
| |
| #define | GCM_VERTEX_ATTRIB_TEX7 15 |
| |
| #define | GCM_VERTEX_ATTRIB_BINORMAL 15 /*alias*/ |
| |
| #define | GCM_VERTEX_DATA_TYPE_F32 2 |
| |
| #define | GCM_VERTEX_DATA_TYPE_U8 4 |
| |
| #define | GCM_INDEX_TYPE_32B 0 |
| |
| #define | GCM_INDEX_TYPE_16B 1 |
| |
| #define | GCM_USER_CLIP_PLANE_DISABLE 0 |
| |
| #define | GCM_USER_CLIP_PLANE_LT 1 |
| |
| #define | GCM_USER_CLIP_PLANE_GE 2 |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_FRONTDIFFUSE (1<< 0) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_FRONTSPECULAR (1<< 1) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_BACKDIFFUSE (1<< 2) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_BACKSPECULAR (1<< 3) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_FOG (1<< 4) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_POINTSIZE (1<< 5) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_UC0 (1<< 6) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_UC1 (1<< 7) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_UC2 (1<< 8) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_UC3 (1<< 9) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_UC4 (1<<10) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_UC5 (1<<11) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX8 (1<<12) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX9 (1<<13) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX0 (1<<14) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX1 (1<<15) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX2 (1<<16) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX3 (1<<17) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX4 (1<<18) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX5 (1<<19) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX6 (1<<20) |
| |
| #define | GCM_ATTRIB_OUTPUT_MASK_TEX7 (1<<21) |
| |
| #define | GCM_SHADE_MODEL_FLAT 0x1D00 |
| | Flat shading.
|
| |
| #define | GCM_SHADE_MODEL_SMOOTH 0x1D01 |
| | Smooth shading.
|
| |
| #define | GCM_ZERO 0 |
| | blend factors are zero
|
| |
| #define | GCM_ONE 1 |
| | blend factors are one
|
| |
| #define | GCM_SRC_COLOR 0x0300 |
| | blend factors are the source color components
|
| |
| #define | GCM_ONE_MINUS_SRC_COLOR 0x0301 |
| | blend factors are one minus source color components
|
| |
| #define | GCM_SRC_ALPHA 0x0302 |
| | blend factors are the source alpha component
|
| |
| #define | GCM_ONE_MINUS_SRC_ALPHA 0x0303 |
| | blend factors are one minus the source alpha component
|
| |
| #define | GCM_DST_ALPHA 0x0304 |
| | blend factors are the destination alpha component
|
| |
| #define | GCM_ONE_MINUS_DST_ALPHA 0x0305 |
| | blend factors are one minus the destination alpha component
|
| |
| #define | GCM_DST_COLOR 0x0306 |
| | blend factors are the destination color components
|
| |
| #define | GCM_ONE_MINUS_DST_COLOR 0x0307 |
| | blend factors are one minus the destination color components
|
| |
| #define | GCM_SRC_ALPHA_SATURATE 0x0308 |
| | blend factors are set to saturate the output
|
| |
| #define | GCM_CONSTANT_COLOR 0x8001 |
| | blend factors are the constant color components
|
| |
| #define | GCM_ONE_MINUS_CONSTANT_COLOR 0x8002 |
| | blend factors are one minus the constant color components
|
| |
| #define | GCM_CONSTANT_ALPHA 0x8003 |
| | blend factors are the constant color alpha component
|
| |
| #define | GCM_ONE_MINUS_CONSTANT_ALPHA 0x8004 |
| | blend factors are one minus the constant color alpha component
|
| |
| #define | GCM_FUNC_ADD 0x8006 |
| | use scaled source plus destination
|
| |
| #define | GCM_FUNC_MIN 0x8007 |
| | use the minimum of source and destination color components
|
| |
| #define | GCM_FUNC_MAX 0x8008 |
| | use the maximum of source and destination color components
|
| |
| #define | GCM_FUNC_SUBTRACT 0x800a |
| | use scaled source minus destination
|
| |
| #define | GCM_FUNC_REVERSE_SUBTRACT 0x800b |
| | use scaled destination minus source
|
| |
| #define | GCM_FUNC_REVERSE_SUBTRACT_SIGNED 0xf005 |
| | use scaled destination minus source (signed)
|
| |
| #define | GCM_FUNC_ADD_SIGNED 0xf006 |
| | use scaled source plus destination (signed)
|
| |
| #define | GCM_FUNC_REVERSE_ADD_SIGNED 0xf007 |
| | use scaled destination plus source (signed)
|
| |
| #define | GCM_TRANSFER_SURFACE 0 |
| |
| #define | GCM_TRANSFER_SWIZZLE 1 |
| |
| #define | GCM_TRANSFER_CONVERSION_DITHER 0 |
| | Convert pixel component values using dithering.
|
| |
| #define | GCM_TRANSFER_CONVERSION_TRUNCATE 1 |
| | Convert pixel component values by truncation (ie, ignore lower bits).
|
| |
| #define | GCM_TRANSFER_CONVERSION_SUBTRACT_TRUNCATE 2 |
| | Convert pixel component values by subtraction/truncation.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_A1R5G5B5 1 |
| | Pixel format is 1-bit alpha, 5-bit red, 5-bit green, 5-bit blue.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_X1R5G5B5 2 |
| | Pixel format is 1-bit unused, 5-bit red, 5-bit green, 5-bit blue.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_A8R8G8B8 3 |
| | Pixel format is 8-bit alpha, 8-bit red, 8-bit green, 8-bit blue.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_X8R8G8B8 4 |
| | Pixel format is 8-bit unused, 8-bit red, 8-bit green, 8-bit blue.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_CR8YB8CB8YA8 5 |
| | Pixel format is 8-bit red chrominance, 8-bit luminance, 8-bit blue chrominance, 8-bit alpha.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_YB8CR8YA8CB8 6 |
| | Pixel format is 8-bit luminance, 8-bit red chrominance, 8-bit alpha, 8-bit blue chrominance.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_R5G6B5 7 |
| | Pixel format is 5-bit red, 6-bit green, 5-bit blue.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_Y8 8 |
| | Pixel format is 8-bit grayscale.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_AY8 9 |
| | Pixel format is 8-bit alpha.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_EYB8ECR8EYA8ECB8 0xa |
| | Pixel format is EYB8ECR8EYA8ECB8.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_ECR8EYB8ECB8EYA8 0xb |
| | Pixel format is ECR8EYB8ECB8EYA8.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_A8B8G8R8 0xc |
| | Pixel format is 8-bit alpha, 8-bit blue, 8-bit green, 8-bit red.
|
| |
| #define | GCM_TRANSFER_SCALE_FORMAT_X8B8G8R8 0xd |
| | Pixel format is 8-bit unused, 8-bit blue, 8-bit green, 8-bit red.
|
| |
| #define | GCM_TRANSFER_OPERATION_SRCCOPY_AND 0 |
| | Copy source image, perform logical AND with destination.
|
| |
| #define | GCM_TRANSFER_OPERATION_ROP_AND 1 |
| | Perform ROP (raster operation), and logical AND with destination.
|
| |
| #define | GCM_TRANSFER_OPERATION_BLEND_AND 2 |
| | Perform blending, and logical AND with destination.
|
| |
| #define | GCM_TRANSFER_OPERATION_SRCCOPY 3 |
| | Copy source image.
|
| |
| #define | GCM_TRANSFER_OPERATION_SRCCOPY_PREMULT 4 |
| | Copy pre-multiplied source image.
|
| |
| #define | GCM_TRANSFER_OPERATION_BLEND_PREMULT 5 |
| | Blend pre-multiplied source image.
|
| |
| #define | GCM_TRANSFER_ORIGIN_CENTER 1 |
| | Origin is the center of the source image.
|
| |
| #define | GCM_TRANSFER_ORIGIN_CORNER 2 |
| | Origin is the topleft cornet of the source image.
|
| |
| #define | GCM_TRANSFER_INTERPOLATOR_NEAREST 0 |
| | Use point sampling interpolation.
|
| |
| #define | GCM_TRANSFER_INTERPOLATOR_LINEAR 1 |
| | Use point linear interpolation.
|
| |
| #define | GCM_TRANSFER_SURFACE_FORMAT_R5G6B5 4 |
| | Source surface pixel format is 5-bit red, 6-bit green, 5-bit blue.
|
| |
| #define | GCM_TRANSFER_SURFACE_FORMAT_A8R8G8B8 0xa |
| | Source surface pixel format is 8-bit alpha, 8-bit red, 8-bit green, 8-bit blue.
|
| |
| #define | GCM_TRANSFER_SURFACE_FORMAT_Y32 0xb |
| | Source surface pixel format is Y32.
|
| |
| #define | GCM_FREQUENCY_MODULO 1 |
| |
| #define | GCM_FREQUENCY_DIVIDE 0 |
| |
| #define | GCM_COMPMODE_DISABLED 0 |
| |
| #define | GCM_COMPMODE_C32_2X1 7 |
| |
| #define | GCM_COMPMODE_C32_2X2 8 |
| |
| #define | GCM_COMPMODE_Z32_SEPSTENCIL 9 |
| |
| #define | GCM_COMPMODE_Z32_SEPSTENCIL_REG 10 |
| |
| #define | GCM_COMPMODE_Z32_SEPSTENCIL_REGULAR 10 |
| |
| #define | GCM_COMPMODE_Z32_SEPSTENCIL_DIAGONAL 11 |
| |
| #define | GCM_COMPMODE_Z32_SEPSTENCIL_ROTATED 12 |
| |
| #define | GCM_ZCULL_Z16 1 |
| |
| #define | GCM_ZCULL_Z24S8 2 |
| |
| #define | GCM_ZCULL_MSB 0 |
| |
| #define | GCM_ZCULL_LONES 1 |
| |
| #define | GCM_ZCULL_LESS 0 |
| |
| #define | GCM_ZCULL_GREATER 1 |
| |
| #define | GCM_SCULL_SFUNC_NEVER 0 |
| |
| #define | GCM_SCULL_SFUNC_LESS 1 |
| |
| #define | GCM_SCULL_SFUNC_EQUAL 2 |
| |
| #define | GCM_SCULL_SFUNC_LEQUAL 3 |
| |
| #define | GCM_SCULL_SFUNC_GREATER 4 |
| |
| #define | GCM_SCULL_SFUNC_NOTEQUAL 5 |
| |
| #define | GCM_SCULL_SFUNC_GEQUAL 6 |
| |
| #define | GCM_SCULL_SFUNC_ALWAYS 7 |
| |
| #define | GCM_CONDITIONAL 2 |
| |
| #define | GCM_ZPASS_PIXEL_CNT 1 |
| |
| #define | GCM_ZCULL_STATS 2 |
| |
| #define | GCM_ZCULL_STATS1 3 |
| |
| #define | GCM_ZCULL_STATS2 4 |
| |
| #define | GCM_ZCULL_STATS3 5 |
| |
| #define | GCM_ZCULL_ALIGN_OFFSET 4096 |
| |
| #define | GCM_ZCULL_ALIGN_WIDTH 64 |
| |
| #define | GCM_ZCULL_ALIGN_HEIGHT 64 |
| |
| #define | GCM_ZCULL_ALIGN_CULLSTART 4096 |
| |
| #define | GCM_ZCULL_COMPRESSION_TAG_BASE_MAX 0x7FF |
| |
| #define | GCM_ZCULL_RAM_SIZE_MAX 0x00300000 |
| |
| #define | GCM_TILE_ALIGN_OFFSET 0x00010000 |
| |
| #define | GCM_TILE_ALIGN_SIZE 0x00010000 |
| |
| #define | GCM_TILE_LOCAL_ALIGN_HEIGHT 32 |
| |
| #define | GCM_TILE_MAIN_ALIGN_HEIGHT 64 |
| |
| #define | GCM_TILE_ALIGN_BUFFER_START_BOUNDARY 8 |
| |
| #define | GCM_FRAGMENT_UCODE_LOCAL_ALIGN_OFFSET 64 |
| |
| #define | GCM_FRAGMENT_UCODE_MAIN_ALIGN_OFFSET 128 |
| |
| #define | GCM_SURFACE_LINEAR_ALIGN_OFFSET 64 |
| |
| #define | GCM_SURFACE_SWIZZLE_ALIGN_OFFSET 128 |
| |
| #define | GCM_TEXTURE_SWIZZLE_ALIGN_OFFSET 128 |
| |
| #define | GCM_TEXTURE_CUBEMAP_ALIGN_OFFSET 128 |
| |
| #define | GCM_TEXTURE_SWIZZLED_CUBEMAP_FACE_ALIGN_OFFSET 128 |
| |
| #define | GCM_VERTEX_TEXTURE_CACHE_LINE_SIZE 32 |
| |
| #define | GCM_L2_TEXTURE_CACHE_LOCAL_LINE_SIZE 64 |
| |
| #define | GCM_L2_TEXTURE_CACHE_MAIN_LINE_SIZE 128 |
| |
| #define | GCM_TEXTURE_REMAP_MODE(order, inputA, inputR, inputG, inputB, outputA, outputR, outputG, outputB) |
| |
|
| s32 | gcmInitBody (gcmContextData **ctx, const u32 cmdSize, const u32 ioSize, const void *ioAddress) |
| | Initialize the RSX context.
|
| |
| s32 | gcmAddressToOffset (const void *address, u32 *offset) |
| | Converts an effective address in RSX memory to an offset.
|
| |
| s32 | gcmIoOffsetToAddress (u32 offset, void **address) |
| | Converts an offset to an effective address in RSX memory.
|
| |
| s32 | gcmGetConfiguration (gcmConfiguration *config) |
| | Retrieves the RSX configuration.
|
| |
| u32 | gcmGetFlipStatus () |
| | Gets the flip status.
|
| |
| s32 | gcmSetFlip (gcmContextData *context, const u8 bufferId) |
| | Enqueues a flip command into the command buffer.
|
| |
| s32 | gcmSetDisplayBuffer (const u8 bufferId, const u32 offset, const u32 pitch, const u32 width, const u32 height) |
| | Configures a display framebuffer.
|
| |
| s32 | gcmMapMainMemory (const void *address, const u32 size, u32 *offset) |
| | Maps a memory block in main memory for RSX to access it.
|
| |
| u32 * | gcmGetLabelAddress (const u8 index) |
| | Get address of specified label.
|
| |
| void | gcmResetFlipStatus () |
| | Reset the flip status.
|
| |
| void | gcmSetFlipMode (const u32 mode) |
| | Set flip mode.
|
| |
| void | gcmSetWaitFlip (gcmContextData *context) |
| | Wait for a flip to be completed.
|
| |
| u32 | gcmSetPrepareFlip (gcmContextData *context, const u8 id) |
| | Perform preprocessing for display output.
|
| |
| void | gcmSetVBlankHandler (void(*handler)(const u32 head)) |
| | Register a callback function to be called upon VBlank.
|
| |
| void | gcmSetFlipHandler (void(*handler)(const u32 head)) |
| | Register a callback function for when a flip is executed.
|
| |
| void | gcmSetGraphicsHandler (void(*handler)(const u32 val)) |
| | Register a graphics callback function.
|
| |
| void | gcmSetDefaultCommandBuffer () |
| |
| gcmControlRegister * | gcmGetControlRegister () |
| | Obtain registers for controlling the command buffer.
|
| |
| s32 | gcmInitSystemMode (const u64 mode) |
| |
| u32 | gcmGetTiledPitchSize (const u32 size) |
| |
| void | gcmSetSecondVHandler (void(*handler)(const u32 head)) |
| |
| void | gcmSetQueueHandler (void(*handler)(const u32 head)) |
| |
| void | gcmSetUserHandler (void(*handler)(const u32 cause)) |
| |
| void | gcmSetDebugOutputLevel (s32 level) |
| |
| void | gcmGetOffsetTable (gcmOffsetTable *table) |
| |
| s32 | gcmSortRemapEaIoAddress () |
| |
| s32 | gcmMapEaIoAddress (const void *ea, const u32 io, const u32 size) |
| |
| s32 | gcmUnmapIoAddress (const u32 io) |
| |
| s32 | gcmUnmapEaIoAddress (const void *ea) |
| |
| s32 | gcmMapEaIoAddressWithFlags (const void *ea, const u32 io, const u32 size, u32 userflags) |
| |
| s32 | gcmMapLocalMemory (void **address, u32 *size) |
| |
| u32 | gcmGetMaxIoMapSize () |
| |
| s32 | gcmReserveIoMapSize (const u32 size) |
| |
| s32 | gcmUnreserveIoMapSize (const u32 size) |
| |
| s64 | gcmGetLastFlipTime () |
| |
| s32 | gcmSetFlipImmediate (const u8 id) |
| |
| void | gcmSetFlipStatus () |
| |
| void | gcmSetSecondVFrequency (const u32 freq) |
| |
| s32 | gcmGetDisplayBufferByFlipIndex (const u32 qid) |
| |
| u64 | gcmGetVBlankCount () |
| |
| s64 | gcmGetLastSecondVTime () |
| |
| u32 | gcmGetCurrentField () |
| |
| void | gcmSetVBlankFrequency (const u32 freq) |
| |
| s32 | gcmGetCurrentDisplayBufferId (u8 *id) |
| |
| s32 | gcmInitCursor () |
| |
| s32 | gcmSetCursorEnable () |
| |
| s32 | gcmSetCursorDisable () |
| |
| s32 | gcmSetCursorImageOffset (const u32 offset) |
| |
| s32 | gcmSetCursorPosition (const s32 x, const s32 y) |
| |
| s32 | gcmUpdateCursor () |
| |
| s32 | gcmSetDefaultCommandBufferAndSegmentWordSize (const u32 bufferSize, const u32 segmentSize) |
| |
| u32 | gcmGetDefaultCommandWordSize () |
| |
| u32 | gcmGetDefaultSegmentWordSize () |
| |
| s32 | gcmInitDefaultFifoMode (s32 mode) |
| |
| s32 | gcmSetDefaultFifoSize (const u32 bufferSize, const u32 segmentSize) |
| |
| u64 | gcmGetTimeStamp (const u32 index) |
| |
| u32 | gcmGetReport (const u32 type, const u32 index) |
| |
| void | gcmSetTile (const u8 index, const u8 location, const u32 offset, const u32 size, const u32 pitch, const u8 comp, const u16 base, const u8 bank) |
| |
| void | gcmSetInvalidateTile (const u8 index) |
| |
| void | gcmSetZcull (const u8 index, const u32 offset, const u32 width, const u32 height, const u32 cullStart, const u32 zFormat, const u32 aaFormat, const u32 zCullDir, const u32 zCullFormat, const u32 sFunc, const u32 sRef, const u32 sMask) |
| |
| s32 | gcmSetTileInfo (const u8 index, const u8 location, const u32 offset, const u32 size, const u32 pitch, const u8 comp, const u16 base, const u8 bank) |
| |
| s32 | gcmBindTile (const u8 index) |
| |
| s32 | gcmUnbindTile (const u8 index) |
| |
| s32 | gcmBindZcull (const u8 index, const u32 offset, const u32 width, const u32 height, const u32 cullStart, const u32 zFormat, const u32 aaFormat, const u32 zCullDir, const u32 zCullFormat, const u32 sFunc, const u32 sRef, const u32 sMask) |
| |
| s32 | gcmUnbindZcull (const u8 index) |
| |
| gcmReportData * | gcmGetReportDataAddress (const u32 index) |
| |
| gcmReportData * | gcmGetReportDataAddressLocation (const u32 index, const u32 location) |
| |
| u64 | gcmGetTimeStampLocation (const u32 index, const u32 location) |
| |
| u32 | gcmGetReportDataLocation (const u32 index, const u32 location) |
| |
| gcmNotifyData * | gcmGetNotifyDataAddress (const u32 index) |
| |
| const gcmTileInfo * | gcmGetTileInfo () |
| |
| const gcmZcullInfo * | gcmGetZcullInfo () |
| |
| const gcmDisplayInfo * | gcmGetDisplayInfo () |
| |
| s32 | gcmDumpGraphicsError () |
| |
| void | gcmSetUserCommand (void(*handler)(const u32 cause)) |
| |