yuzu-android/src/video_core/renderer_opengl
Patrick Elsässer a8974f0556 video_core: Arithmetic overflow warning fix for gl_rasterizer (#1262)
* video_core: Arithmetic overflow fix for gl_rasterizer

- Fixed warnings, which were indicating incorrect behavior from integral
promotion rules and types larger than those in which arithmetic is
typically performed.

- Added const for variables where possible and meaningful.

* Changed the casts from C to C++ style

Changed the C-style casts to C++ casts as proposed.
Took also care about signed / unsigned behaviour.
2018-09-08 02:59:59 -04:00
..
gl_buffer_cache.cpp gl_buffer_cache: Make GetHandle() a const member function 2018-09-06 15:07:15 -04:00
gl_buffer_cache.h gl_buffer_cache: Default initialize member variables 2018-09-06 15:07:15 -04:00
gl_rasterizer_cache.cpp gl_rasterizer: Skip TODO log. 2018-09-05 20:20:20 +02:00
gl_rasterizer_cache.h gl_rasterizer_cache: Also use reserve cache for RecreateSurface. 2018-08-31 13:07:28 -04:00
gl_rasterizer.cpp video_core: Arithmetic overflow warning fix for gl_rasterizer (#1262) 2018-09-08 02:59:59 -04:00
gl_rasterizer.h gl_rasterizer: Implement a VAO cache. 2018-09-05 18:46:35 +02:00
gl_resource_manager.h renderer_opengl: Namespace OpenGL code 2018-08-22 06:14:47 -04:00
gl_shader_cache.cpp gl_shader_cache: Use an u32 for the binding point cache. 2018-09-04 21:04:41 +02:00
gl_shader_cache.h gl_shader_cache: Use an u32 for the binding point cache. 2018-09-04 21:04:41 +02:00
gl_shader_decompiler.cpp gl_shader_decompiler: Implement saturate mode for IPA. 2018-09-06 17:40:03 -04:00
gl_shader_decompiler.h renderer_opengl: Namespace OpenGL code 2018-08-22 06:14:47 -04:00
gl_shader_gen.cpp gl_shader_gen: Initialize position. 2018-09-06 13:37:50 +02:00
gl_shader_gen.h gl_shader_cache: Use an u32 for the binding point cache. 2018-09-04 21:04:41 +02:00
gl_shader_manager.cpp renderer_opengl: Implement a new shader cache. 2018-08-27 18:26:46 -04:00
gl_shader_manager.h renderer_opengl: Implement a new shader cache. 2018-08-27 18:26:46 -04:00
gl_shader_util.cpp renderer_opengl: Namespace OpenGL code 2018-08-22 06:14:47 -04:00
gl_shader_util.h renderer_opengl: Namespace OpenGL code 2018-08-22 06:14:47 -04:00
gl_state.cpp gl_state: Update to handle stencil front/back face separately. 2018-08-23 11:08:46 -04:00
gl_state.h gl_state: Update to handle stencil front/back face separately. 2018-08-23 11:08:46 -04:00
gl_stream_buffer.cpp renderer_opengl: Namespace OpenGL code 2018-08-22 06:14:47 -04:00
gl_stream_buffer.h renderer_opengl: Namespace OpenGL code 2018-08-22 06:14:47 -04:00
maxwell_to_gl.h gl_rasterizer: Implement stencil test. 2018-08-23 11:08:49 -04:00
renderer_opengl.cpp core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
renderer_opengl.h renderer_opengl: Namespace OpenGL code 2018-08-22 06:14:47 -04:00