GX2 Information?

Discussion in 'Wii U - Hacking & Backup Loaders' started by gudenau, Apr 10, 2016.

  1. gudenau
    OP

    gudenau Never a unique idea

    Member
    3,240
    1,216
    Jul 7, 2010
    United States
    /dev/random
    Does anyone have documentation on the various functions that are in the GX2 system module?

    Methods:
    Code:
    GX2AllocateTilingApertureEx
    GX2BeginDisplayListEx
    GX2BeginGPUTask
    GX2CPUTimeToGPUTime
    GX2CalcColorBufferAuxInfo
    GX2CalcDRCSize
    GX2CalcDepthBufferHiZInfo
    GX2CalcFetchShaderSizeEx
    GX2CalcGeometryShaderInputRingBufferSize
    GX2CalcGeometryShaderOutputRingBufferSize
    GX2CalcSurfaceSizeAndAlignment
    GX2CalcTVSize
    GX2CallDisplayList
    GX2CheckSurfaceUseVsFormat
    GX2ClearBuffersEx
    GX2ClearColor
    GX2ClearDepthStencilEx
    GX2ConvertDepthBufferToTextureSurface
    GX2CopyColorBufferToScanBuffer
    GX2CopyDisplayList
    GX2CopySurface
    GX2CopySurfaceEx
    GX2DebugCaptureEnd
    GX2DebugCaptureFrame
    GX2DebugCaptureFrames
    GX2DebugCaptureStart
    GX2DebugTagUserString
    GX2DebugTagUserStringVA
    GX2DirectCallDisplayList
    GX2DispatchCompute
    GX2DrawDone
    GX2DrawEx
    GX2DrawEx2
    GX2DrawIndexedEx
    GX2DrawIndexedEx2
    GX2DrawIndexedImmediateEx
    GX2DrawStreamOut
    GX2EndDisplayList
    GX2EndGPUTask
    GX2ExpandAAColorBuffer
    GX2ExpandDepthBuffer
    GX2Flush
    GX2FreeTilingAperture
    GX2GPUTimeToCPUTime
    GX2GetAAMaskReg
    GX2GetAlphaTestReg
    GX2GetAlphaToMaskReg
    GX2GetAttribFormatBits
    GX2GetBlendConstantColorReg
    GX2GetBlendControlReg
    GX2GetColorControlReg
    GX2GetContextStateDisplayList
    GX2GetCounterResult
    GX2GetCounterResultEx
    GX2GetCounterResultSize
    GX2GetCounterSetting
    GX2GetCurrentDisplayList
    GX2GetCurrentScanBuffer
    GX2GetDRCGamma
    GX2GetDRCGammaEx
    GX2GetDRCVerticalInfo
    GX2GetDefaultAllocator
    GX2GetDepthStencilControlReg
    GX2GetDisplayListWriteStatus
    GX2GetEventCallback
    GX2GetGPUSystemClock
    GX2GetGPUTimeout
    GX2GetGeometryShaderGPRs
    GX2GetGeometryShaderStackEntries
    GX2GetLastFrame
    GX2GetLastFrameGamma
    GX2GetLastFrameGammaA
    GX2GetLastFrameGammaB
    GX2GetLastSubmittedTimeStamp
    GX2GetLineWidthReg
    GX2GetMainCoreId
    GX2GetMiscParam
    GX2GetPerfMetricF32
    GX2GetPerfMetricType
    GX2GetPerfMetricU64
    GX2GetPixelShaderGPRs
    GX2GetPixelShaderStackEntries
    GX2GetPointLimitsReg
    GX2GetPointSizeReg
    GX2GetPolygonControlReg
    GX2GetPolygonOffsetReg
    GX2GetRetiredTimeStamp
    GX2GetScissorReg
    GX2GetStencilMaskReg
    GX2GetSurfaceFormatBits
    GX2GetSurfaceMipPitch
    GX2GetSurfaceMipSliceSize
    GX2GetSurfaceSwizzle
    GX2GetSurfaceSwizzleOffset
    GX2GetSwapInterval
    GX2GetSwapStatus
    GX2GetSystemDRCMode
    GX2GetSystemDRCScanMode
    GX2GetSystemTVAspectRatio
    GX2GetSystemTVScanMode
    GX2GetSystemTVStereoDisplayCapability
    GX2GetTVGamma
    GX2GetTVGammaEx
    GX2GetTargetChannelMasksReg
    GX2GetVertexShaderGPRs
    GX2GetVertexShaderStackEntries
    GX2GetViewportReg
    GX2Init
    GX2InitAAMaskReg
    GX2InitAlphaTestReg
    GX2InitAlphaToMaskReg
    GX2InitBlendConstantColorReg
    GX2InitBlendControlReg
    GX2InitColorBufferRegs
    GX2InitColorControlReg
    GX2InitCounterInfo
    GX2InitDepthBufferHiZEnable
    GX2InitDepthBufferRangeBase
    GX2InitDepthBufferRegs
    GX2InitDepthStencilControlReg
    GX2InitFetchShaderEx
    GX2InitHiStencilInfoRegs
    GX2InitLineWidthReg
    GX2InitPerfMetric
    GX2InitPointLimitsReg
    GX2InitPointSizeReg
    GX2InitPolygonControlReg
    GX2InitPolygonOffsetReg
    GX2InitSampler
    GX2InitSamplerBorderType
    GX2InitSamplerClamping
    GX2InitSamplerDepthCompare
    GX2InitSamplerFilterAdjust
    GX2InitSamplerLOD
    GX2InitSamplerLODAdjust
    GX2InitSamplerRoundingMode
    GX2InitSamplerXYFilter
    GX2InitSamplerZMFilter
    GX2InitScissorReg
    GX2InitStencilMaskReg
    GX2InitTargetChannelMasksReg
    GX2InitTextureRegs
    GX2InitViewportReg
    GX2InsertGPUTask
    GX2Invalidate
    GX2IsVideoOutReady
    GX2LogSetMisc
    GX2MarkScanBufferCopied
    GX2NotifyMemAlloc
    GX2NotifyMemFree
    GX2PatchDisplayList
    GX2PerfFrameEnd
    GX2PerfFrameStart
    GX2PerfFree
    GX2PerfGetCollectionMethod
    GX2PerfGetNumPasses
    GX2PerfGetPassCoherEnable
    GX2PerfGetResultByFrame
    GX2PerfGetResultByTagId
    GX2PerfGetResultByTagSequence
    GX2PerfInit
    GX2PerfMetricEnable
    GX2PerfMetricGetEnabled
    GX2PerfMetricIsEnabled
    GX2PerfMetricsClear
    GX2PerfPassEnd
    GX2PerfPassStart
    GX2PerfPrintFrameResults
    GX2PerfPrintTagResults
    GX2PerfSetCollectionMethod
    GX2PerfSetPassCoherEnable
    GX2PerfTagDisableAll
    GX2PerfTagEnable
    GX2PerfTagEnableAll
    GX2PerfTagEnd
    GX2PerfTagIsEnabled
    GX2PerfTagStart
    GX2PrintGPUStatus
    GX2ProtectLastFrame
    GX2QueryBegin
    GX2QueryBeginConditionalRender
    GX2QueryEnd
    GX2QueryEndConditionalRender
    GX2QueryGetOcclusionResult
    GX2QueryGetStreamOutStatsResult
    GX2RBeginDisplayListEx
    GX2RBufferExists
    GX2RCallDisplayList
    GX2RCreateBuffer
    GX2RCreateBufferUserMemory
    GX2RCreateSurface
    GX2RCreateSurfaceUserMemory
    GX2RDestroyBufferEx
    GX2RDestroySurfaceEx
    GX2RDirectCallDisplayList
    GX2RDrawIndexed
    GX2RDrawIndexedImmediate
    GX2REndDisplayList
    GX2RGetBufferAlignment
    GX2RGetBufferAllocationSize
    GX2RGetBufferGuardBandSize
    GX2RGetBufferName
    GX2RGetDebugOptions
    GX2RGetSurfaceName
    GX2RInitFetchShader
    GX2RInvalidateBuffer
    GX2RInvalidateMemory
    GX2RInvalidateSurface
    GX2RIsUserMemory
    GX2RLockBufferEx
    GX2RLockBufferRegionEx
    GX2RLockSurfaceEx
    GX2RSetAllocator
    GX2RSetAttributeBuffer
    GX2RSetBufferName
    GX2RSetDebugOptions
    GX2RSetGeometryShaderInputRingBuffer
    GX2RSetGeometryShaderOutputRingBuffer
    GX2RSetGeometryUniformBlock
    GX2RSetPixelUniformBlock
    GX2RSetStreamOutBuffer
    GX2RSetSurfaceName
    GX2RSetVertexUniformBlock
    GX2RSurfaceExists
    GX2RUnlockBufferEx
    GX2RUnlockSurfaceEx
    GX2ResetCounterInfo
    GX2ResetCounters
    GX2ResetGPU
    GX2ResolveAAColorBuffer
    GX2SampleBottomGPUCycle
    GX2SampleCounters
    GX2SampleCountersEx
    GX2SampleTopGPUCycle
    GX2SaveStreamOutContext
    GX2SetAAMask
    GX2SetAAMaskReg
    GX2SetAAMode
    GX2SetAAModeEx
    GX2SetAlphaTest
    GX2SetAlphaTestReg
    GX2SetAlphaToMask
    GX2SetAlphaToMaskReg
    GX2SetAttribBuffer
    GX2SetBlendConstantColor
    GX2SetBlendConstantColorReg
    GX2SetBlendControl
    GX2SetBlendControlReg
    GX2SetClearDepth
    GX2SetClearDepthStencil
    GX2SetClearStencil
    GX2SetColorBuffer
    GX2SetColorControl
    GX2SetColorControlReg
    GX2SetComputeSampler
    GX2SetComputeSamplerBorderColor
    GX2SetComputeShader
    GX2SetComputeTexture
    GX2SetComputeUniformBlock
    GX2SetContextState
    GX2SetCounterInfo
    GX2SetCullOnlyControl
    GX2SetDRCBuffer
    GX2SetDRCConnectCallback
    GX2SetDRCEnable
    GX2SetDRCGamma
    GX2SetDRCScale
    GX2SetDebugMode
    GX2SetDefaultAllocator
    GX2SetDefaultState
    GX2SetDepthBuffer
    GX2SetDepthOnlyControl
    GX2SetDepthStencilControl
    GX2SetDepthStencilControlReg
    GX2SetEventCallback
    GX2SetFetchShader
    GX2SetGPUFence
    GX2SetGPUTimeout
    GX2SetGeometrySampler
    GX2SetGeometrySamplerBorderColor
    GX2SetGeometryShader
    GX2SetGeometryShaderInputRingBuffer
    GX2SetGeometryShaderOutputRingBuffer
    GX2SetGeometryTexture
    GX2SetGeometryUniformBlock
    GX2SetHiStencilInfo
    GX2SetInterruptCountLimit
    GX2SetLineWidth
    GX2SetLineWidthReg
    GX2SetMaxTessellationLevel
    GX2SetMinTessellationLevel
    GX2SetMiscParam
    GX2SetPixelSampler
    GX2SetPixelSamplerBorderColor
    GX2SetPixelShader
    GX2SetPixelTexture
    GX2SetPixelUniformBlock
    GX2SetPixelUniformReg
    GX2SetPointLimits
    GX2SetPointLimitsReg
    GX2SetPointSize
    GX2SetPointSizeReg
    GX2SetPolygonControl
    GX2SetPolygonControlReg
    GX2SetPolygonOffset
    GX2SetPolygonOffsetReg
    GX2SetPrimitiveRestartIndex
    GX2SetRasterizerClipControl
    GX2SetRasterizerClipControlEx
    GX2SetRasterizerClipControlHalfZ
    GX2SetScissor
    GX2SetScissorReg
    GX2SetSemaphore
    GX2SetShaderExportBuffer
    GX2SetShaderModeEx
    GX2SetSpecialState
    GX2SetStencilMask
    GX2SetStencilMaskReg
    GX2SetStreamOutBuffer
    GX2SetStreamOutContext
    GX2SetStreamOutEnable
    GX2SetSurfaceSwizzle
    GX2SetSwapInterval
    GX2SetTVBuffer
    GX2SetTVEnable
    GX2SetTVGamma
    GX2SetTVScale
    GX2SetTVStereoMode
    GX2SetTargetChannelMasks
    GX2SetTargetChannelMasksReg
    GX2SetTessellation
    GX2SetVerifyCallback
    GX2SetVerifyLevel
    GX2SetVertexSampler
    GX2SetVertexSamplerBorderColor
    GX2SetVertexShader
    GX2SetVertexTexture
    GX2SetVertexUniformBlock
    GX2SetVertexUniformReg
    GX2SetVideoEncodingHint
    GX2SetViewport
    GX2SetViewportReg
    GX2SetupContextStateEx
    GX2Shutdown
    GX2StartCounters
    GX2StopCounters
    GX2SubmitUserTimeStamp
    GX2SurfaceIsCompressed
    GX2SwapScanBuffers
    GX2TempDumpGPUResourceContext
    GX2TempDumpResources
    GX2TempGetGPUVersion
    GX2TempGetNonUserMemoryResourceCount
    GX2TempGetResourceCount
    GX2UDAGetLastAlert
    GX2UDAResetAlertFireCount
    GX2UDASetAlertEnable
    GX2UDASetAlertLevel
    GX2WaitForFlip
    GX2WaitForFreeScanBuffer
    GX2WaitForVsync
    GX2WaitTimeStamp
    _GX2DebugSetCaptureInterface
    _GX2GetLastFrameB
    _GX2InitCounterInfo
    _GX2ResetCounters
    _GX2SampleCounters
    _GX2SetCounterInfo
    _GX2StartCounters
    _GX2StopCounters
    
     
  2. EclipseSin

    EclipseSin FullMental Trollemist

    Member
    1,813
    1,287
    Apr 1, 2015
    United States
    Vegeta's Hyrule
    I'm not sure of it being documented on a Wiki or anything all nice, but if you look at the gx2_* files here it might help you out.
     
  3. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    I have the gx2 documentation, with some examples and somes others stuff (Directly from the Wii U SDK)
     
  4. andriy921

    andriy921 GBAtemp Regular

    Member
    267
    97
    Dec 1, 2015
    You might want to check ryan's pastebin.
     
  5. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    -snip-
     
    Last edited by NexoCube, Apr 11, 2016
  6. brienj

    brienj Trying to avoid getting cancer

    Member
    1,232
    1,702
    Jan 3, 2016
    United States
    cmdj13, NWPlayer123 and EclipseSin like this.
  7. Voxel

    Voxel Clumsy Coder

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,151
    5,780
    Jun 27, 2015
    United Kingdom
    England, UK
    I would remove that link if I were you. It links to ROMs and other leaked NDA/developer stuff.
     
    andriy921 and NexoCube like this.
  8. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    587
    Nov 3, 2015
    France
    Stack Pointer
    Fine ^^
     
    Voxel likes this.