1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-03 19:12:02 +00:00
Ryujinx/Ryujinx.Graphics/Gal
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
..
OpenGL Timing: Optimize Timestamp Aquisition (#479) 2018-10-28 19:31:13 -03:00
Shader Fix for render target and a shader compilation issue (#471) 2018-10-23 17:59:52 -03:00
EmbeddedResource.cs Somewhat better NvFlinger (I guess) (fixes #30) 2018-02-23 18:48:27 -03:00
GalBlendEquation.cs Fix for current framebuffer issues (#78) 2018-04-13 15:12:58 -03:00
GalBlendFactor.cs Add FaceAttr in GLSL, unmanaged case in EmitTex and ConstantColorG80 blend factor (#207) 2018-07-03 20:06:13 -03:00
GalClearBufferFlags.cs Merge shader branch, adding support for GLSL decompilation, a macro 2018-04-08 16:41:38 -03:00
GalColorF.cs Merge shader branch, adding support for GLSL decompilation, a macro 2018-04-08 16:41:38 -03:00
GalComparisonOp.cs Implement some GPU features (#209) 2018-07-05 15:47:29 -03:00
GalCullFace.cs Implement some GPU features (#209) 2018-07-05 15:47:29 -03:00
GalFrontFace.cs Implement some GPU features (#209) 2018-07-05 15:47:29 -03:00
GalImage.cs Allow "reinterpretation" of framebuffer/zeta formats (#418) 2018-09-18 01:30:35 -03:00
GalImageFormat.cs Improve texture tables (#457) 2018-10-17 18:02:23 -03:00
GalIndexFormat.cs Merge shader branch, adding support for GLSL decompilation, a macro 2018-04-08 16:41:38 -03:00
GalMemoryLayout.cs Allow "reinterpretation" of framebuffer/zeta formats (#418) 2018-09-18 01:30:35 -03:00
GalPipelineState.cs Fix Color Mask values (#473) 2018-10-25 18:30:09 -03:00
GalPrimitiveType.cs Split main project into core,graphics and chocolarm4 subproject (#29) 2018-02-20 17:09:23 -03:00
GalShaderType.cs Merge shader branch, adding support for GLSL decompilation, a macro 2018-04-08 16:41:38 -03:00
GalStencilOp.cs Implement some GPU features (#209) 2018-07-05 15:47:29 -03:00
GalSurfaceFormat.cs Allow "reinterpretation" of framebuffer/zeta formats (#418) 2018-09-18 01:30:35 -03:00
GalTextureFilter.cs Merge shader branch, adding support for GLSL decompilation, a macro 2018-04-08 16:41:38 -03:00
GalTextureFormat.cs Improve texture tables (#457) 2018-10-17 18:02:23 -03:00
GalTextureMipFilter.cs Merge shader branch, adding support for GLSL decompilation, a macro 2018-04-08 16:41:38 -03:00
GalTextureSampler.cs Merge shader branch, adding support for GLSL decompilation, a macro 2018-04-08 16:41:38 -03:00
GalTextureSource.cs Added more shader instructions, including BFE, BRA (partial), FMNMX, ISCADD, SHL, LD_C, some shader related fixes, added support for texture component selection 2018-05-17 15:25:42 -03:00
GalTextureType.cs Rendertarget attachments, texture and image changes (#358) 2018-08-19 22:25:26 -03:00
GalTextureWrap.cs Merge shader branch, adding support for GLSL decompilation, a macro 2018-04-08 16:41:38 -03:00
GalVertexAttrib.cs Quads, QuadStrip, const attributes and half-float attributes support (#447) 2018-10-13 01:37:01 +00:00
GalVertexAttribSize.cs Split main project into core,graphics and chocolarm4 subproject (#29) 2018-02-20 17:09:23 -03:00
GalVertexAttribType.cs Split main project into core,graphics and chocolarm4 subproject (#29) 2018-02-20 17:09:23 -03:00
GalVertexBinding.cs Quads, QuadStrip, const attributes and half-float attributes support (#447) 2018-10-13 01:37:01 +00:00
GalZetaFormat.cs Improve texture tables (#457) 2018-10-17 18:02:23 -03:00
IGalConstBuffer.cs Low level graphics API prerequisites (#319) 2018-08-10 01:09:40 -03:00
IGalMemory.cs Improve shader sending method to GAL, use a memory interface instead of reading a fixed array size and sending every time 2018-05-22 22:43:31 -03:00
IGalPipeline.cs Improve texture tables (#457) 2018-10-17 18:02:23 -03:00
IGalRasterizer.cs Improve texture tables (#457) 2018-10-17 18:02:23 -03:00
IGalRenderer.cs Move GPU emulation from Ryujinx.HLE to Ryujinx.Graphics and misc changes (#402) 2018-09-08 14:51:50 -03:00
IGalRenderTarget.cs Fix multiple rendertargets (#427) 2018-09-26 00:55:30 +02:00
IGalShader.cs Avoid querying and setting texture bindings in hot code (#376) 2018-08-23 01:54:32 -03:00
IGalTexture.cs Allow "reinterpretation" of framebuffer/zeta formats (#418) 2018-09-18 01:30:35 -03:00
ShaderDeclInfo.cs Add partial support to the TEX.B shader instruction (#342) 2018-08-13 18:22:09 -03:00
ShaderDumper.cs Improve texture tables (#457) 2018-10-17 18:02:23 -03:00
ShaderException.cs Merge shader branch, adding support for GLSL decompilation, a macro 2018-04-08 16:41:38 -03:00