|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
#include <interpreter.h>
Public Types | |
| typedef size_t | ShaderId |
Public Member Functions | |
| Interpreter () | |
| ~Interpreter () | |
| void | Init (GfxWindowBackend *wapi, class GfxRenderingAPI *rapi, const char *game_name, bool start_in_fullscreen, uint32_t width, uint32_t height, uint32_t posX, uint32_t posY, std::shared_ptr< Ship::ConsoleVariable > consoleVariable=nullptr, std::shared_ptr< Ship::ResourceManager > resourceManager=nullptr) |
| void | Destroy () |
| void | SetGfxDebugger (std::shared_ptr< GfxDebugger > debugger) |
| std::shared_ptr< GfxDebugger > | GetGfxDebugger () const |
| void | SetFast3dWindow (std::shared_ptr< Fast3dWindow > window) |
| void | GetDimensions (uint32_t *width, uint32_t *height, int32_t *posX, int32_t *posY) |
| GfxRenderingAPI * | GetCurrentRenderingAPI () |
| void | StartFrame () |
| void | RunGuiOnly () |
| void | Run (Gfx *commands, const std::unordered_map< Mtx *, MtxF > &mtx_replacements) |
| void | EndFrame () |
| void | HandleWindowEvents () |
| bool | IsFrameReady () |
| bool | ViewportMatchesRendererResolution () |
| int | GetTargetFps () |
| void | SetTargetFps (int fps) |
| void | SetMaxFrameLatency (int latency) |
| int | CreateFrameBuffer (uint32_t width, uint32_t height, uint32_t native_width, uint32_t native_height, uint8_t resize, bool forceFixedAspect=false) |
| void | SetFrameBuffer (int fb, float noiseScale) |
| void | CopyFrameBuffer (int fb_dst_id, int fb_src_id, bool copyOnce, bool *hasCopiedPtr) |
| void | ResetFrameBuffer () |
| void | AdjustPixelDepthCoordinates (float &x, float &y) |
| void | GetPixelDepthPrepare (float x, float y) |
| uint16_t | GetPixelDepth (float x, float y) |
| void | RegisterBlendedTexture (const char *name, uint8_t *mask, uint8_t *replacement) |
| void | UnregisterBlendedTexture (const char *name) |
| void | RegisterFbTexture (const void *cpuAddr, int fbId) |
| void | UnregisterFbTexture (const void *cpuAddr) |
| void | SetNativeDimensions (float width, float height) |
| void | SetResolutionMultiplier (float multiplier) |
| void | SetMsaaLevel (uint32_t level) |
| void | GetCurDimensions (uint32_t *width, uint32_t *height) |
| void | Flush () |
| ShaderProgram * | LookupOrCreateShaderProgram (uint64_t id0, uint64_t id1) |
| ColorCombiner * | LookupOrCreateColorCombiner (const ColorCombinerKey &key) |
| void | ShaderCacheClear () |
| void | TextureCacheClear () |
| bool | TextureCacheLookup (int i, const TextureCacheKey &key) |
| void | TextureCacheDelete (const uint8_t *origAddr) |
| void | ImportTextureRgba16 (int tile, bool importReplacement) |
| void | ImportTextureRgba32 (int tile, bool importReplacement) |
| void | ImportTextureIA4 (int tile, bool importReplacement) |
| void | ImportTextureIA8 (int tile, bool importReplacement) |
| void | ImportTextureIA16 (int tile, bool importReplacement) |
| void | ImportTextureI4 (int tile, bool importReplacement) |
| void | ImportTextureI8 (int tile, bool importReplacement) |
| void | ImportTextureCi4 (int tile, bool importReplacement) |
| void | ImportTextureCi8 (int tile, bool importReplacement) |
| void | ImportTextureRaw (int tile, bool importReplacement) |
| void | ImportTextureImg (int tile, bool importReplacement) |
| void | ImportTexture (int i, int tile, bool importReplacement) |
| void | ImportTextureMask (int i, int tile) |
| void | CalculateNormalDir (const F3DLight_t *, float coeffs[3]) |
| void | GfxSpMatrix (uint8_t params, const int32_t *addr) |
| void | GfxSpPopMatrix (uint32_t count) |
| void | GfxSpVertex (size_t numVertices, size_t destIndex, const F3DVtx *vertices) |
| void | GfxSpModifyVertex (uint16_t vtxIdx, uint8_t where, uint32_t val) |
| void | GfxSpTri1 (uint8_t vtx1Idx, uint8_t vtx2Idx, uint8_t vtx3Idx, bool isRect) |
| void | GfxSpGeometryMode (uint32_t clear, uint32_t set) |
| void | GfxSpExtraGeometryMode (uint32_t clear, uint32_t set) |
| void | GfxSpMovememF3dex2 (uint8_t index, uint8_t offset, const void *data) |
| void | GfxSpMovememF3d (uint8_t index, uint8_t offset, const void *data) |
| void | GfxSpMovewordF3dex2 (uint8_t index, uint16_t offset, uintptr_t data) |
| void | GfxSpMovewordF3d (uint8_t index, uint16_t offset, uintptr_t data) |
| void | GfxSpTexture (uint16_t sc, uint16_t tc, uint8_t level, uint8_t tile, uint8_t on) |
| void | GfxDpSetScissor (uint32_t mode, uint32_t ulx, uint32_t uly, uint32_t lrx, uint32_t lry) |
| void | GfxDpSetTextureImage (uint32_t format, uint32_t size, uint32_t width, const char *texPath, uint32_t texFlags, RawTexMetadata rawTexMetdata, const void *addr) |
| void | GfxDpSetTile (uint8_t fmt, uint32_t siz, uint32_t line, uint32_t tmem, uint8_t tile, uint32_t palette, uint32_t cmt, uint32_t maskt, uint32_t shiftt, uint32_t cms, uint32_t masks, uint32_t shifts) |
| void | GfxDpSetTileSize (uint8_t tile, uint16_t uls, uint16_t ult, uint16_t lrs, uint16_t lrt) |
| void | GfxDpLoadTlut (uint8_t tile, uint32_t high_index) |
| void | GfxDpLoadBlock (uint8_t tile, uint32_t uls, uint32_t ult, uint32_t lrs, uint32_t dxt) |
| void | GfxDpLoadTile (uint8_t tile, uint32_t uls, uint32_t ult, uint32_t lrs, uint32_t lrt) |
| void | GfxDpSetCombineMode (uint32_t rgb, uint32_t alpha, uint32_t rgb_cyc2, uint32_t alpha_cyc2) |
| void | GfxDpSetGrayscaleColor (uint8_t r, uint8_t g, uint8_t b, uint8_t a) |
| void | GfxDpSetEnvColor (uint8_t r, uint8_t g, uint8_t b, uint8_t a) |
| void | GfxDpSetPrimColor (uint8_t m, uint8_t r, uint8_t l, uint8_t g, uint8_t b, uint8_t a) |
| void | GfxDpSetFogColor (uint8_t r, uint8_t g, uint8_t b, uint8_t a) |
| void | GfxDpSetBlendColor (uint8_t r, uint8_t g, uint8_t b, uint8_t a) |
| void | GfxDpSetFillColor (uint32_t pickedColor) |
| void | GfxDrawRectangle (int32_t ulx, int32_t uly, int32_t lrx, int32_t lry) |
| void | GfxDpTextureRectangle (int32_t ulx, int32_t uly, int32_t lrx, int32_t lry, uint8_t tile, int16_t uls, int16_t ult, int16_t dsdx, int16_t dtdy, bool flip) |
| void | GfxDpImageRectangle (int32_t tile, int32_t w, int32_t h, int32_t ulx, int32_t uly, int16_t uls, int16_t ult, int32_t lrx, int32_t lry, int16_t lrs, int16_t lrt) |
| void | GfxDpFillRectangle (int32_t ulx, int32_t uly, int32_t lrx, int32_t lry) |
| void | GfxDpSetZImage (void *zBufAddr) |
| void | GfxDpSetColorImage (uint32_t format, uint32_t size, uint32_t width, void *address) |
| void | GfxSpSetOtherMode (uint32_t shift, uint32_t num_bits, uint64_t mode) |
| void | GfxDpSetOtherMode (uint32_t h, uint32_t l) |
| void | Gfxs2dexBgCopy (F3DuObjBg *bg) |
| void | Gfxs2dexBg1cyc (F3DuObjBg *bg) |
| void | Gfxs2dexRecyCopy (F3DuObjSprite *spr) |
| void | AdjustWidthHeightForScale (uint32_t &width, uint32_t &height, uint32_t nativeWidth, uint32_t nativeHeight) const |
| float | AdjXForAspectRatio (float x) const |
| void | AdjustVIewportOrScissor (XYWidthHeight *area) |
| void | CalcAndSetViewport (const F3DVp_t *viewport) |
| void | SpReset () |
| void * | SegAddr (uintptr_t w1) |
Static Public Member Functions | |
| static std::shared_ptr< Fast3dWindow > | GetCurrentWindow () |
| static const char * | CCMUXtoStr (uint32_t ccmux) |
| static const char * | ACMUXtoStr (uint32_t acmux) |
| static void | GenerateCC (ColorCombiner *comb, const ColorCombinerKey &key) |
| static std::string_view | GetBaseTexturePath (std::string_view path) |
| static void | NormalizeVector (float v[3]) |
| static void | TransposedMatrixMul (float res[3], const float a[3], const float b[4][4]) |
| static void | MatrixMul (float res[4][4], const float a[4][4], const float b[4][4]) |
| typedef size_t Fast::Interpreter::ShaderId |
| Fast::Interpreter::Interpreter | ( | ) |
| Fast::Interpreter::~Interpreter | ( | ) |
|
static |
| void Fast::Interpreter::AdjustPixelDepthCoordinates | ( | float & | x, |
| float & | y | ||
| ) |
| void Fast::Interpreter::AdjustVIewportOrScissor | ( | XYWidthHeight * | area | ) |
| void Fast::Interpreter::AdjustWidthHeightForScale | ( | uint32_t & | width, |
| uint32_t & | height, | ||
| uint32_t | nativeWidth, | ||
| uint32_t | nativeHeight | ||
| ) | const |
| float Fast::Interpreter::AdjXForAspectRatio | ( | float | x | ) | const |
| void Fast::Interpreter::CalcAndSetViewport | ( | const F3DVp_t * | viewport | ) |
| void Fast::Interpreter::CalculateNormalDir | ( | const F3DLight_t * | , |
| float | coeffs[3] | ||
| ) |
|
static |
| void Fast::Interpreter::CopyFrameBuffer | ( | int | fb_dst_id, |
| int | fb_src_id, | ||
| bool | copyOnce, | ||
| bool * | hasCopiedPtr | ||
| ) |
| int Fast::Interpreter::CreateFrameBuffer | ( | uint32_t | width, |
| uint32_t | height, | ||
| uint32_t | native_width, | ||
| uint32_t | native_height, | ||
| uint8_t | resize, | ||
| bool | forceFixedAspect = false |
||
| ) |
| void Fast::Interpreter::Destroy | ( | ) |
| void Fast::Interpreter::EndFrame | ( | ) |
| void Fast::Interpreter::Flush | ( | ) |
|
static |
|
static |
| void Fast::Interpreter::GetCurDimensions | ( | uint32_t * | width, |
| uint32_t * | height | ||
| ) |
| GfxRenderingAPI * Fast::Interpreter::GetCurrentRenderingAPI | ( | ) |
|
static |
| void Fast::Interpreter::GetDimensions | ( | uint32_t * | width, |
| uint32_t * | height, | ||
| int32_t * | posX, | ||
| int32_t * | posY | ||
| ) |
| std::shared_ptr< GfxDebugger > Fast::Interpreter::GetGfxDebugger | ( | ) | const |
| uint16_t Fast::Interpreter::GetPixelDepth | ( | float | x, |
| float | y | ||
| ) |
| void Fast::Interpreter::GetPixelDepthPrepare | ( | float | x, |
| float | y | ||
| ) |
| int Fast::Interpreter::GetTargetFps | ( | ) |
| void Fast::Interpreter::GfxDpFillRectangle | ( | int32_t | ulx, |
| int32_t | uly, | ||
| int32_t | lrx, | ||
| int32_t | lry | ||
| ) |
| void Fast::Interpreter::GfxDpImageRectangle | ( | int32_t | tile, |
| int32_t | w, | ||
| int32_t | h, | ||
| int32_t | ulx, | ||
| int32_t | uly, | ||
| int16_t | uls, | ||
| int16_t | ult, | ||
| int32_t | lrx, | ||
| int32_t | lry, | ||
| int16_t | lrs, | ||
| int16_t | lrt | ||
| ) |
| void Fast::Interpreter::GfxDpLoadBlock | ( | uint8_t | tile, |
| uint32_t | uls, | ||
| uint32_t | ult, | ||
| uint32_t | lrs, | ||
| uint32_t | dxt | ||
| ) |
| void Fast::Interpreter::GfxDpLoadTile | ( | uint8_t | tile, |
| uint32_t | uls, | ||
| uint32_t | ult, | ||
| uint32_t | lrs, | ||
| uint32_t | lrt | ||
| ) |
| void Fast::Interpreter::GfxDpLoadTlut | ( | uint8_t | tile, |
| uint32_t | high_index | ||
| ) |
| void Fast::Interpreter::GfxDpSetBlendColor | ( | uint8_t | r, |
| uint8_t | g, | ||
| uint8_t | b, | ||
| uint8_t | a | ||
| ) |
| void Fast::Interpreter::GfxDpSetColorImage | ( | uint32_t | format, |
| uint32_t | size, | ||
| uint32_t | width, | ||
| void * | address | ||
| ) |
| void Fast::Interpreter::GfxDpSetCombineMode | ( | uint32_t | rgb, |
| uint32_t | alpha, | ||
| uint32_t | rgb_cyc2, | ||
| uint32_t | alpha_cyc2 | ||
| ) |
| void Fast::Interpreter::GfxDpSetEnvColor | ( | uint8_t | r, |
| uint8_t | g, | ||
| uint8_t | b, | ||
| uint8_t | a | ||
| ) |
| void Fast::Interpreter::GfxDpSetFillColor | ( | uint32_t | pickedColor | ) |
| void Fast::Interpreter::GfxDpSetFogColor | ( | uint8_t | r, |
| uint8_t | g, | ||
| uint8_t | b, | ||
| uint8_t | a | ||
| ) |
| void Fast::Interpreter::GfxDpSetGrayscaleColor | ( | uint8_t | r, |
| uint8_t | g, | ||
| uint8_t | b, | ||
| uint8_t | a | ||
| ) |
| void Fast::Interpreter::GfxDpSetOtherMode | ( | uint32_t | h, |
| uint32_t | l | ||
| ) |
| void Fast::Interpreter::GfxDpSetPrimColor | ( | uint8_t | m, |
| uint8_t | r, | ||
| uint8_t | l, | ||
| uint8_t | g, | ||
| uint8_t | b, | ||
| uint8_t | a | ||
| ) |
| void Fast::Interpreter::GfxDpSetScissor | ( | uint32_t | mode, |
| uint32_t | ulx, | ||
| uint32_t | uly, | ||
| uint32_t | lrx, | ||
| uint32_t | lry | ||
| ) |
| void Fast::Interpreter::GfxDpSetTextureImage | ( | uint32_t | format, |
| uint32_t | size, | ||
| uint32_t | width, | ||
| const char * | texPath, | ||
| uint32_t | texFlags, | ||
| RawTexMetadata | rawTexMetdata, | ||
| const void * | addr | ||
| ) |
| void Fast::Interpreter::GfxDpSetTile | ( | uint8_t | fmt, |
| uint32_t | siz, | ||
| uint32_t | line, | ||
| uint32_t | tmem, | ||
| uint8_t | tile, | ||
| uint32_t | palette, | ||
| uint32_t | cmt, | ||
| uint32_t | maskt, | ||
| uint32_t | shiftt, | ||
| uint32_t | cms, | ||
| uint32_t | masks, | ||
| uint32_t | shifts | ||
| ) |
| void Fast::Interpreter::GfxDpSetTileSize | ( | uint8_t | tile, |
| uint16_t | uls, | ||
| uint16_t | ult, | ||
| uint16_t | lrs, | ||
| uint16_t | lrt | ||
| ) |
| void Fast::Interpreter::GfxDpSetZImage | ( | void * | zBufAddr | ) |
| void Fast::Interpreter::GfxDpTextureRectangle | ( | int32_t | ulx, |
| int32_t | uly, | ||
| int32_t | lrx, | ||
| int32_t | lry, | ||
| uint8_t | tile, | ||
| int16_t | uls, | ||
| int16_t | ult, | ||
| int16_t | dsdx, | ||
| int16_t | dtdy, | ||
| bool | flip | ||
| ) |
| void Fast::Interpreter::GfxDrawRectangle | ( | int32_t | ulx, |
| int32_t | uly, | ||
| int32_t | lrx, | ||
| int32_t | lry | ||
| ) |
| void Fast::Interpreter::Gfxs2dexBg1cyc | ( | F3DuObjBg * | bg | ) |
| void Fast::Interpreter::Gfxs2dexBgCopy | ( | F3DuObjBg * | bg | ) |
| void Fast::Interpreter::Gfxs2dexRecyCopy | ( | F3DuObjSprite * | spr | ) |
| void Fast::Interpreter::GfxSpExtraGeometryMode | ( | uint32_t | clear, |
| uint32_t | set | ||
| ) |
| void Fast::Interpreter::GfxSpGeometryMode | ( | uint32_t | clear, |
| uint32_t | set | ||
| ) |
| void Fast::Interpreter::GfxSpMatrix | ( | uint8_t | params, |
| const int32_t * | addr | ||
| ) |
| void Fast::Interpreter::GfxSpModifyVertex | ( | uint16_t | vtxIdx, |
| uint8_t | where, | ||
| uint32_t | val | ||
| ) |
| void Fast::Interpreter::GfxSpMovememF3d | ( | uint8_t | index, |
| uint8_t | offset, | ||
| const void * | data | ||
| ) |
| void Fast::Interpreter::GfxSpMovememF3dex2 | ( | uint8_t | index, |
| uint8_t | offset, | ||
| const void * | data | ||
| ) |
| void Fast::Interpreter::GfxSpMovewordF3d | ( | uint8_t | index, |
| uint16_t | offset, | ||
| uintptr_t | data | ||
| ) |
| void Fast::Interpreter::GfxSpMovewordF3dex2 | ( | uint8_t | index, |
| uint16_t | offset, | ||
| uintptr_t | data | ||
| ) |
| void Fast::Interpreter::GfxSpPopMatrix | ( | uint32_t | count | ) |
| void Fast::Interpreter::GfxSpSetOtherMode | ( | uint32_t | shift, |
| uint32_t | num_bits, | ||
| uint64_t | mode | ||
| ) |
| void Fast::Interpreter::GfxSpTexture | ( | uint16_t | sc, |
| uint16_t | tc, | ||
| uint8_t | level, | ||
| uint8_t | tile, | ||
| uint8_t | on | ||
| ) |
| void Fast::Interpreter::GfxSpTri1 | ( | uint8_t | vtx1Idx, |
| uint8_t | vtx2Idx, | ||
| uint8_t | vtx3Idx, | ||
| bool | isRect | ||
| ) |
| void Fast::Interpreter::GfxSpVertex | ( | size_t | numVertices, |
| size_t | destIndex, | ||
| const F3DVtx * | vertices | ||
| ) |
| void Fast::Interpreter::HandleWindowEvents | ( | ) |
| void Fast::Interpreter::ImportTexture | ( | int | i, |
| int | tile, | ||
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureCi4 | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureCi8 | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureI4 | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureI8 | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureIA16 | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureIA4 | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureIA8 | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureImg | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureMask | ( | int | i, |
| int | tile | ||
| ) |
| void Fast::Interpreter::ImportTextureRaw | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureRgba16 | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::ImportTextureRgba32 | ( | int | tile, |
| bool | importReplacement | ||
| ) |
| void Fast::Interpreter::Init | ( | GfxWindowBackend * | wapi, |
| class GfxRenderingAPI * | rapi, | ||
| const char * | game_name, | ||
| bool | start_in_fullscreen, | ||
| uint32_t | width, | ||
| uint32_t | height, | ||
| uint32_t | posX, | ||
| uint32_t | posY, | ||
| std::shared_ptr< Ship::ConsoleVariable > | consoleVariable = nullptr, |
||
| std::shared_ptr< Ship::ResourceManager > | resourceManager = nullptr |
||
| ) |
| bool Fast::Interpreter::IsFrameReady | ( | ) |
| ColorCombiner * Fast::Interpreter::LookupOrCreateColorCombiner | ( | const ColorCombinerKey & | key | ) |
| ShaderProgram * Fast::Interpreter::LookupOrCreateShaderProgram | ( | uint64_t | id0, |
| uint64_t | id1 | ||
| ) |
|
static |
|
static |
| void Fast::Interpreter::RegisterBlendedTexture | ( | const char * | name, |
| uint8_t * | mask, | ||
| uint8_t * | replacement | ||
| ) |
| void Fast::Interpreter::RegisterFbTexture | ( | const void * | cpuAddr, |
| int | fbId | ||
| ) |
| void Fast::Interpreter::ResetFrameBuffer | ( | ) |
| void Fast::Interpreter::Run | ( | Gfx * | commands, |
| const std::unordered_map< Mtx *, MtxF > & | mtx_replacements | ||
| ) |
| void Fast::Interpreter::RunGuiOnly | ( | ) |
| void * Fast::Interpreter::SegAddr | ( | uintptr_t | w1 | ) |
| void Fast::Interpreter::SetFast3dWindow | ( | std::shared_ptr< Fast3dWindow > | window | ) |
| void Fast::Interpreter::SetFrameBuffer | ( | int | fb, |
| float | noiseScale | ||
| ) |
| void Fast::Interpreter::SetGfxDebugger | ( | std::shared_ptr< GfxDebugger > | debugger | ) |
| void Fast::Interpreter::SetMaxFrameLatency | ( | int | latency | ) |
| void Fast::Interpreter::SetMsaaLevel | ( | uint32_t | level | ) |
| void Fast::Interpreter::SetNativeDimensions | ( | float | width, |
| float | height | ||
| ) |
| void Fast::Interpreter::SetResolutionMultiplier | ( | float | multiplier | ) |
| void Fast::Interpreter::SetTargetFps | ( | int | fps | ) |
| void Fast::Interpreter::ShaderCacheClear | ( | ) |
| void Fast::Interpreter::SpReset | ( | ) |
| void Fast::Interpreter::StartFrame | ( | ) |
| void Fast::Interpreter::TextureCacheClear | ( | ) |
| void Fast::Interpreter::TextureCacheDelete | ( | const uint8_t * | origAddr | ) |
| bool Fast::Interpreter::TextureCacheLookup | ( | int | i, |
| const TextureCacheKey & | key | ||
| ) |
|
static |
| void Fast::Interpreter::UnregisterBlendedTexture | ( | const char * | name | ) |
| void Fast::Interpreter::UnregisterFbTexture | ( | const void * | cpuAddr | ) |
| bool Fast::Interpreter::ViewportMatchesRendererResolution | ( | ) |
| std::map<int,FBInfo>::iterator Fast::Interpreter::mActiveFrameBuffer |
| float* Fast::Interpreter::mBufVbo |
| size_t Fast::Interpreter::mBufVboLen {} |
| size_t Fast::Interpreter::mBufVboNumTris {} |
| std::map<ColorCombinerKey, ColorCombiner> Fast::Interpreter::mColorCombinerPool |
| std::shared_ptr<Ship::ConsoleVariable> Fast::Interpreter::mConsoleVariable |
Cached ConsoleVariable, set in Init().
| GfxDimensions Fast::Interpreter::mCurDimensions {} |
| int32_t Fast::Interpreter::mCurWindowPosX {} |
| int32_t Fast::Interpreter::mCurWindowPosY {} |
| bool Fast::Interpreter::mDroppedFrame {} |
| std::weak_ptr<Fast3dWindow> Fast::Interpreter::mFast3dWindow |
Cached Fast3dWindow, set in OnInit().
| bool Fast::Interpreter::mFbActive {} |
| std::unordered_map<uintptr_t, int> Fast::Interpreter::mFbTextures |
| std::map<int, FBInfo> Fast::Interpreter::mFrameBuffers |
| int Fast::Interpreter::mGameFb {} |
| int Fast::Interpreter::mGameFbMsaaResolved {} |
| XYWidthHeight Fast::Interpreter::mGameWindowViewport {} |
| std::unordered_map<std::pair<float, float>, uint16_t, hash_pair_ff> Fast::Interpreter::mGetPixelDepthCached |
| std::set<std::pair<float, float> > Fast::Interpreter::mGetPixelDepthPending |
| GfxDimensions Fast::Interpreter::mGfxCurrentWindowDimensions {} |
| std::shared_ptr<GfxDebugger> Fast::Interpreter::mGfxDebugger |
| uintptr_t Fast::Interpreter::mGfxFrameBuffer {} |
| int Fast::Interpreter::mInterpolationIndex |
| int Fast::Interpreter::mInterpolationIndexTarget |
| bool Fast::Interpreter::mMarkerOn |
| std::map<std::string, MaskedTextureEntry, std::less<> > Fast::Interpreter::mMaskedTextures |
| unsigned int Fast::Interpreter::mMsaaLevel = 1 |
| XYWidthHeight Fast::Interpreter::mNativeDimensions {} |
| std::map<ColorCombinerKey,ColorCombiner>::iterator Fast::Interpreter::mPrevCombiner = mColorCombinerPool.end() |
| XYWidthHeight Fast::Interpreter::mPrevNativeDimensions {} |
| GfxDimensions Fast::Interpreter::mPrvDimensions {} |
| GfxRenderingAPI* Fast::Interpreter::mRapi = nullptr |
| RDP* Fast::Interpreter::mRdp |
| RenderingState Fast::Interpreter::mRenderingState {} |
| bool Fast::Interpreter::mRendersToFb {} |
| std::shared_ptr<Ship::ResourceManager> Fast::Interpreter::mResourceManager |
Cached ResourceManager, set in Init().
| RSP* Fast::Interpreter::mRsp |
| uintptr_t Fast::Interpreter::mSegmentPointers[MAX_SEGMENT_POINTERS] {} |
| std::unordered_map<size_t, const char*> Fast::Interpreter::mShaders |
| size_t Fast::Interpreter::mShadersIndex |
| std::stack<ShaderId> Fast::Interpreter::mShaderStack |
| GfxTextureCache Fast::Interpreter::mTextureCache {} |
| uint8_t* Fast::Interpreter::mTexUploadBuffer = nullptr |
| GfxWindowBackend* Fast::Interpreter::mWapi = nullptr |