1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-25 04:46:01 +00:00
Ryujinx/Ryujinx.Graphics/Gal/OpenGL
jduncanator c1b7340023 Timing: Optimize Timestamp Aquisition (#479)
* Timing: Optimize Timestamp Aquisition

Currently, we make use of Environment.TickCount in a number of places. This has some downsides, mainly being that the TickCount is a signed 32-bit integer, and has an effective limit of ~25 days before overflowing and wrapping around. Due to the signed-ness of the value, this also caused issues with negative numbers. This resolves these issues by using a 64-bit tick count obtained from Performance Counters (via the Stopwatch class). This has a beneficial side effect of being significantly more accurate than the TickCount.

* Timing: Rename ElapsedTicks to ElapsedMilliseconds and expose TicksPerX

* Timing: Some style changes

* Timing: Align static variable initialization
2018-10-28 19:31:13 -03:00
..
DeleteValueCallback.cs Texture/Vertex/Index data cache (#132) 2018-06-08 21:15:56 -03:00
ImageHandler.cs Allow "reinterpretation" of framebuffer/zeta formats (#418) 2018-09-18 01:30:35 -03:00
OGLCachedResource.cs Timing: Optimize Timestamp Aquisition (#479) 2018-10-28 19:31:13 -03:00
OGLConstBuffer.cs Rendertarget attachments, texture and image changes (#358) 2018-08-19 22:25:26 -03:00
OGLEnumConverter.cs Improve texture tables (#457) 2018-10-17 18:02:23 -03:00
OGLExtension.cs Fix multiple rendertargets (#427) 2018-09-26 00:55:30 +02:00
OGLPipeline.cs Fix Color Mask values (#473) 2018-10-25 18:30:09 -03:00
OGLRasterizer.cs Improve texture tables (#457) 2018-10-17 18:02:23 -03:00
OGLRenderer.cs Move GPU emulation from Ryujinx.HLE to Ryujinx.Graphics and misc changes (#402) 2018-09-08 14:51:50 -03:00
OGLRenderTarget.cs Fix for render target and a shader compilation issue (#471) 2018-10-23 17:59:52 -03:00
OGLShader.cs Improve texture tables (#457) 2018-10-17 18:02:23 -03:00
OGLShaderProgram.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
OGLStreamBuffer.cs Low level graphics API prerequisites (#319) 2018-08-10 01:09:40 -03:00
OGLTexture.cs Fix for render target and a shader compilation issue (#471) 2018-10-23 17:59:52 -03:00