The Glide device of the Glide renderer: its hardware, its window, and the render state each window starts with.
More...
#include <glide.h>
#include <windows.h>
Go to the source code of this file.
|
| void | PresentFrameCallback_GlideBufferSwap (void) |
| | Wait for the buffers Glide has pending, then show the frame drawn.
|
| int | OpenGlideWindowForResolution (int nWidth, int nHeight) |
| | Open the Glide window at the size of the frame buffer of the configuration, and set the render state it starts with.
|
| void | InitGlideDefaultRenderState (int nWidth, int nHeight) |
| | Set the render state a Glide window starts with: the clip window over the frame buffer of the configuration, the w buffer, the clear of the buffers, and the combines of colour, alpha, and texture.
|
The Glide device of the Glide renderer: its hardware, its window, and the render state each window starts with.
◆ PresentFrameCallback_GlideBufferSwap()
| void PresentFrameCallback_GlideBufferSwap |
( |
void | | ) |
|
Wait for the buffers Glide has pending, then show the frame drawn.
- Ghidra address:
- BRGlide: 0x1001dd50
◆ OpenGlideWindowForResolution()
| int OpenGlideWindowForResolution |
( |
int | nWidth, |
|
|
int | nHeight ) |
Open the Glide window at the size of the frame buffer of the configuration, and set the render state it starts with.
A size Glide has no resolution for does not open a window.
- Parameters
-
| nWidth | The width, not read. |
| nHeight | The height, not read. |
- Returns
- 0 when Glide fails to open the window, and 1 otherwise.
- Ghidra address:
- BRGlide: 0x1001dd80
◆ InitGlideDefaultRenderState()
| void InitGlideDefaultRenderState |
( |
int | nWidth, |
|
|
int | nHeight ) |
Set the render state a Glide window starts with: the clip window over the frame buffer of the configuration, the w buffer, the clear of the buffers, and the combines of colour, alpha, and texture.
- Parameters
-
| nWidth | The width, not read. |
| nHeight | The height, not read. |
- Ghidra address:
- BRGlide: 0x1001dfb0
◆ g_nGlideNumTmus
The units of texture of the Glide hardware.
- Ghidra address:
- BRGlide: 0x105ccbd0
◆ g_GlideHwConfig
| GrHwConfiguration g_GlideHwConfig |
|
extern |
The Glide hardware grSstQueryHardware() found.
- Ghidra address:
- BRGlide: 0x105ccbd8
◆ g_dwGlideFbRamMB
The megabytes of the frame buffer of the Glide hardware.
- Ghidra address:
- BRGlide: 0x105ccc6c