coastline 0.0.4
Loading...
Searching...
No Matches
renderer.h
Go to the documentation of this file.
1#ifndef COASTLINE_PLATFORM_WIN_GLIDE_RENDERER_H
2#define COASTLINE_PLATFORM_WIN_GLIDE_RENDERER_H
3
9
10#include <glide.h>
11#include <windows.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
22extern int g_nGlideNumTmus;
23
29extern GrHwConfiguration g_GlideHwConfig;
30
36extern int g_dwGlideFbRamMB;
37
44
54int OpenGlideWindowForResolution(int nWidth, int nHeight);
55
65void InitGlideDefaultRenderState(int nWidth, int nHeight);
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif /* COASTLINE_PLATFORM_WIN_GLIDE_RENDERER_H */
GrHwConfiguration g_GlideHwConfig
The Glide hardware grSstQueryHardware() found.
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 ...
int g_dwGlideFbRamMB
The megabytes of the frame buffer of the Glide hardware.
void InitGlideDefaultRenderState(int nWidth, int nHeight)
Set the render state a Glide window starts with: the clip window over the frame buffer of the configu...
int g_nGlideNumTmus
The units of texture of the Glide hardware.