Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all gx drawing commands are implemented in gx. #32

Open
ProfElements opened this issue Aug 4, 2021 · 7 comments
Open

Not all gx drawing commands are implemented in gx. #32

ProfElements opened this issue Aug 4, 2021 · 7 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ProfElements
Copy link
Collaborator

These include color4u8 and others like it.

@svelterust
Copy link
Contributor

The gx module is massive lol.

@svelterust
Copy link
Contributor

I have expanded on the module and added more drawing commands in my repository: https://github.com/knarkzel/ogc-rs.

@ProfElements
Copy link
Collaborator Author

please pr it over to the main repo plz

@FrictionlessPortals FrictionlessPortals added the enhancement New feature or request label Aug 28, 2021
@FrictionlessPortals FrictionlessPortals self-assigned this Aug 28, 2021
@FrictionlessPortals FrictionlessPortals added the help wanted Extra attention is needed label Aug 28, 2021
@ProfElements
Copy link
Collaborator Author

Some were implemented with 0098c8, which is just a very small portion of the gx commands

@FrictionlessPortals
Copy link
Contributor

Any news on the state of this?

@ProfElements
Copy link
Collaborator Author

Well with the newest pr all the drawing commands are implentable. However I dont know how much is implemented unless someone does a thorough gx sweep

@1011X
Copy link
Contributor

1011X commented Feb 25, 2022

I manually listed all the GX functions and compared it with latest changes to make this list.

Inline functions:

  • GX_End()
  • GX_Position3f32()
  • GX_Position3u16()
  • GX_Position3s16()
  • GX_Position3u8()
  • GX_Position3s8()
  • GX_Position2f32()
  • GX_Position2u16()
  • GX_Position2s16()
  • GX_Position2u8()
  • GX_Position2s8()
  • GX_Position1x8()
  • GX_Position1x16()
  • GX_Normal3f32()
  • GX_Normal3s16()
  • GX_Normal3s8()
  • GX_Normal1x8()
  • GX_Normal1x16()
  • GX_Color4u8()
  • GX_Color3u8()
  • GX_Color3f32()
  • GX_Color1u32()
  • GX_Color1u16()
  • GX_Color1x8()
  • GX_Color1x16()
  • GX_TexCoord2f32()
  • GX_TexCoord2u16()
  • GX_TexCoord2s16()
  • GX_TexCoord2u8()
  • GX_TexCoord2s8()
  • GX_TexCoord1f32()
  • GX_TexCoord1u16()
  • GX_TexCoord1s16()
  • GX_TexCoord1u8()
  • GX_TexCoord1s8()
  • GX_TexCoord1x8()
  • GX_TexCoord1x16()
  • GX_MatrixIndex1x8()

Functions:

  • GX_AbortFrame()
  • GX_AdjustForOverscan()
  • GX_Begin()
  • GX_BeginDispList()
  • GX_CallDispList()
  • GX_ClearBoundingBox()
  • GX_ClearGPMetric()
  • GX_ClearVCacheMetric()
  • GX_ClearVtxDesc()
  • GX_CopyDisp()
  • GX_CopyTex()
  • GX_DisableBreakPt()
  • GX_DrawDone()
  • GX_EnableBreakPt()
  • GX_EnableTexOffsets()
  • GX_EndDispList()
  • GX_Flush()
  • GX_GetCPUFifo()
  • GX_GetCurrentGXThread()
  • GX_GetDrawSync()
  • GX_GetFifoBase()
  • GX_GetFifoCount()
  • GX_GetFifoPtrs()
  • GX_GetFifoSize()
  • GX_GetFifoWrap()
  • GX_GetGPFifo()
  • GX_GetGPStatus()
  • GX_GetOverflowCount()
  • GX_GetTexBufferSize()
  • GX_GetTexObjAll()
  • GX_GetTexObjData()
  • GX_GetTexObjFmt()
  • GX_GetTexObjHeight()
  • GX_GetTexObjMipMap()
  • GX_GetTexObjUserData()
  • GX_GetTexObjWidth()
  • GX_GetTexObjWrapS()
  • GX_GetTexObjWrapT()
  • GX_GetVtxDescv()
  • GX_GetYScaleFactor()
  • GX_Init()
  • GX_InitFifoBase()
  • GX_InitFifoLimits()
  • GX_InitFifoPtrs()
  • GX_InitFogAdjTable()
  • GX_InitLightAttn()
  • GX_InitLightAttnA()
  • GX_InitLightAttnK()
  • GX_InitLightColor()
  • GX_InitLightDir()
  • GX_InitLightDistAttn()
  • GX_InitLightPos()
  • GX_InitLightSpot()
  • GX_InitSpecularDir()
  • GX_InitSpecularDirHA()
  • GX_InitTexCacheRegion()
  • GX_InitTexObj()
  • GX_InitTexObjBiasClamp()
  • GX_InitTexObjCI()
  • GX_InitTexObjData()
  • GX_InitTexObjEdgeLOD()
  • GX_InitTexObjFilterMode()
  • GX_InitTexObjLOD()
  • GX_InitTexObjLODBias()
  • GX_InitTexObjMaxAniso()
  • GX_InitTexObjMaxLOD()
  • GX_InitTexObjMinLOD()
  • GX_InitTexObjTlut()
  • GX_InitTexObjUserData()
  • GX_InitTexObjWrapMode()
  • GX_InitTexPreloadRegion()
  • GX_InitTlutObj()
  • GX_InitTlutRegion()
  • GX_InitXfRasMetric()
  • GX_InvalidateTexAll()
  • GX_InvalidateTexRegion()
  • GX_InvVtxCache()
  • GX_LoadLightObj()
  • GX_LoadLightObjIdx()
  • GX_LoadNrmMtxIdx3x3()
  • GX_LoadNrmMtxImm()
  • GX_LoadNrmMtxImm3x3()
  • GX_LoadPosMtxIdx()
  • GX_LoadPosMtxImm()
  • GX_LoadProjectionMtx()
  • GX_LoadTexMtxIdx()
  • GX_LoadTexMtxImm()
  • GX_LoadTexObj()
  • GX_LoadTexObjPreloaded()
  • GX_LoadTlut()
  • GX_PeekARGB()
  • GX_PeekZ()
  • GX_PixModeSync()
  • GX_PokeAlphaMode()
  • GX_PokeAlphaRead()
  • GX_PokeAlphaUpdate()
  • GX_PokeARGB()
  • GX_PokeBlendMode()
  • GX_PokeColorUpdate()
  • GX_PokeDither()
  • GX_PokeDstAlpha()
  • GX_PokeZ()
  • GX_PokeZMode()
  • GX_PreloadEntireTexture()
  • GX_ReadBoundingBox()
  • GX_ReadClksPerVtx()
  • GX_ReadGPMetric()
  • GX_ReadVCacheMetric()
  • GX_ReadXfRasMetric()
  • GX_RedirectWriteGatherPipe()
  • GX_ResetOverflowCount()
  • GX_RestoreWriteGatherPipe()
  • GX_SetAlphaCompare()
  • GX_SetAlphaUpdate()
  • GX_SetArray()
  • GX_SetBlendMode()
  • GX_SetBreakPtCallback()
  • GX_SetChanAmbColor()
  • GX_SetChanCtrl()
  • GX_SetChanMatColor()
  • GX_SetClipMode()
  • GX_SetColorUpdate()
  • GX_SetCoPlanar()
  • GX_SetCopyClamp()
  • GX_SetCopyClear()
  • GX_SetCopyFilter()
  • GX_SetCPUFifo()
  • GX_SetCullMode()
  • GX_SetCurrentGXThread()
  • GX_SetCurrentMtx()
  • GX_SetDispCopyDst()
  • GX_SetDispCopyFrame2Field()
  • GX_SetDispCopyGamma()
  • GX_SetDispCopySrc()
  • GX_SetDispCopyYScale()
  • GX_SetDither()
  • GX_SetDrawDone()
  • GX_SetDrawDoneCallback()
  • GX_SetDrawSync()
  • GX_SetDrawSyncCallback()
  • GX_SetDstAlpha()
  • GX_SetFieldMask()
  • GX_SetFieldMode()
  • GX_SetFog()
  • GX_SetFogColor()
  • GX_SetFogRangeAdj()
  • GX_SetGPFifo()
  • GX_SetGPMetric()
  • GX_SetIndTexCoordScale()
  • GX_SetIndTexMatrix()
  • GX_SetIndTexOrder()
  • GX_SetLineWidth()
  • GX_SetMisc()
  • GX_SetNumChans()
  • GX_SetNumIndStages()
  • GX_SetNumTevStages()
  • GX_SetNumTexGens()
  • GX_SetPixelFmt()
  • GX_SetPointSize()
  • GX_SetScissor()
  • GX_SetScissorBoxOffset()
  • GX_SetTevAlphaIn()
  • GX_SetTevAlphaOp()
  • GX_SetTevColor()
  • GX_SetTevColorIn()
  • GX_SetTevColorOp()
  • GX_SetTevColorS10()
  • GX_SetTevDirect()
  • GX_SetTevIndBumpST()
  • GX_SetTevIndBumpXYZ()
  • GX_SetTevIndirect()
  • GX_SetTevIndRepeat()
  • GX_SetTevIndTile()
  • GX_SetTevKAlphaSel()
  • GX_SetTevKColor()
  • GX_SetTevKColorS10()
  • GX_SetTevKColorSel()
  • GX_SetTevOp()
  • GX_SetTevOrder()
  • GX_SetTevSwapMode()
  • GX_SetTevSwapModeTable()
  • GX_SetTexCoordBias()
  • GX_SetTexCoordCylWrap()
  • GX_SetTexCoordGen()
  • GX_SetTexCoordGen2()
  • GX_SetTexCoordScaleManually()
  • GX_SetTexCopyDst()
  • GX_SetTexCopySrc()
  • GX_SetTexRegionCallback()
  • GX_SetTlutRegionCallback()
  • GX_SetVCacheMetric()
  • GX_SetViewport()
  • GX_SetViewportJitter()
  • GX_SetVtxAttrFmt()
  • GX_SetVtxAttrFmtv()
  • GX_SetVtxDesc()
  • GX_SetVtxDescv()
  • GX_SetZCompLoc()
  • GX_SetZMode()
  • GX_SetZTexture()
  • GX_TexModeSync()
  • GX_WaitDrawDone()

Macros:

  • GX_InitLightDirv()
  • GX_InitLightPosv()
  • GX_InitLightShininess()
  • GX_InitSpecularDirHAv()
  • GX_InitSpecularDirv()

@FrictionlessPortals FrictionlessPortals removed their assignment Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants