Changes
Page history
u
authored
Apr 18, 2021
by
Hannu Hanhi
Hide whitespace changes
Inline
Side-by-side
OpenGL-Backend.md
View page @
b08e4627
...
@@ -24,21 +24,30 @@ All textures are deleted from the GPU.
...
@@ -24,21 +24,30 @@ All textures are deleted from the GPU.
Returns the number of bytes used by the textures uploaded to the GPU.
Returns the number of bytes used by the textures uploaded to the GPU.
***
-
`void SetPalette (RGBA_t *ppal)`
-
`void SetPalette (RGBA_t *ppal)`
-
`void SetSpecialState (hwdspecialstate_t IdState, INT32 Value)`
-
`void SetSpecialState (hwdspecialstate_t IdState, INT32 Value)`
-
`void GClipRect (INT32 minx, INT32 miny, INT32 maxx, INT32 maxy, float nearclip)`
-
`void GClipRect (INT32 minx, INT32 miny, INT32 maxx, INT32 maxy, float nearclip)`
-
`void SetTransform (FTransform *ptransform)`
-
`void SetTransform (FTransform *ptransform)`
**
-
`void SetBlend (FBITFIELD PolyFlags)`
-
`void SetBlend (FBITFIELD PolyFlags)`
***
-
`void ClearBuffer (FBOOLEAN ColorMask, FBOOLEAN DepthMask, FRGBAFloat *ClearColor)`
-
`void ClearBuffer (FBOOLEAN ColorMask, FBOOLEAN DepthMask, FRGBAFloat *ClearColor)`
-
`void Draw2DLine (F2DCoord *v1, F2DCoord *v2, RGBA_t Color)`
-
`void Draw2DLine (F2DCoord *v1, F2DCoord *v2, RGBA_t Color)`
-
`void DrawPolygon (FSurfaceInfo *pSurf, FOutVector *pOutVerts, FUINT iNumPts, FBITFIELD PolyFlags)`
-
`void DrawPolygon (FSurfaceInfo *pSurf, FOutVector *pOutVerts, FUINT iNumPts, FBITFIELD PolyFlags)`
-
`void DrawIndexedTriangles (FSurfaceInfo *pSurf, FOutVector *pOutVerts, FUINT iNumPts, FBITFIELD PolyFlags, UINT32 *IndexArray)`
-
`void DrawIndexedTriangles (FSurfaceInfo *pSurf, FOutVector *pOutVerts, FUINT iNumPts, FBITFIELD PolyFlags, UINT32 *IndexArray)`
***
-
`void RenderSkyDome (gl_sky_t *sky)`
-
`void RenderSkyDome (gl_sky_t *sky)`
***
-
`void FlushScreenTextures (void)`
-
`void FlushScreenTextures (void)`
-
`void StartScreenWipe (void)`
-
`void StartScreenWipe (void)`
-
`void EndScreenWipe (void)`
-
`void EndScreenWipe (void)`
...
@@ -49,6 +58,8 @@ Returns the number of bytes used by the textures uploaded to the GPU.
...
@@ -49,6 +58,8 @@ Returns the number of bytes used by the textures uploaded to the GPU.
-
`void DrawScreenFinalTexture (int width, int height)`
-
`void DrawScreenFinalTexture (int width, int height)`
-
`void PostImgRedraw (float points[SCREENVERTS][SCREENVERTS][2])`
-
`void PostImgRedraw (float points[SCREENVERTS][SCREENVERTS][2])`
***
-
`boolean CompileShaders (void)`
-
`boolean CompileShaders (void)`
-
`void CleanShaders (void)`
-
`void CleanShaders (void)`
-
`void SetShader (int type)`
-
`void SetShader (int type)`
...
@@ -56,7 +67,11 @@ Returns the number of bytes used by the textures uploaded to the GPU.
...
@@ -56,7 +67,11 @@ Returns the number of bytes used by the textures uploaded to the GPU.
-
`void SetShaderInfo (hwdshaderinfo_t info, INT32 value)`
-
`void SetShaderInfo (hwdshaderinfo_t info, INT32 value)`
-
`void LoadCustomShader (int number, char *code, size_t size, boolean isfragment)`
-
`void LoadCustomShader (int number, char *code, size_t size, boolean isfragment)`
***
-
`void DrawModel (model_t *model, INT32 frameIndex, INT32 duration, INT32 tics, INT32 nextFrameIndex, FTransform *pos, float scale, UINT8 flipped, UINT8 hflipped, FSurfaceInfo *Surface)`
-
`void DrawModel (model_t *model, INT32 frameIndex, INT32 duration, INT32 tics, INT32 nextFrameIndex, FTransform *pos, float scale, UINT8 flipped, UINT8 hflipped, FSurfaceInfo *Surface)`
-
`void CreateModelVBOs (model_t *model)`
-
`void CreateModelVBOs (model_t *model)`
***
-
`void ReadRect (INT32 x, INT32 y, INT32 width, INT32 height, INT32 dst_stride, UINT16 *dst_data)`
-
`void ReadRect (INT32 x, INT32 y, INT32 width, INT32 height, INT32 dst_stride, UINT16 *dst_data)`
\ No newline at end of file