Yuri Kunde Schlesner
eb10f25025
Move screen size constants from video_core to core
video_core didn't even properly use them, and they were the source of
many otherwise-unnecessary dependencies from core to video_core.
9 years ago
Yuri Kunde Schlesner
6665557ff7
OpenGL: Remove unused RendererOpenGL fields
9 years ago
wwylele
90c8d09098
gl_shader: refactor texture sampler into its own function
9 years ago
wwylele
4d62e75fb2
gl_rasterizer: implement procedural texture
9 years ago
wwylele
039b293092
pica: shader_dirty if texture2 coord changed
9 years ago
wwylele
0f664ef89d
pica: use correct coordinates for texture 2
9 years ago
wwylele
2c2e872b31
gl_shader_gen: remove TODO about Lerp behaviour verification. The implementation is verified against hardware
9 years ago
wwylele
b624a95205
rasterizer: implement combiner operation 7 (Dot3_RGBA)
9 years ago
Yuri Kunde Schlesner
52a4489d65
OpenGL: Pass Pica regs via parameter
9 years ago
Yuri Kunde Schlesner
a6fd4533f6
OpenGL: Move PicaShaderConfig to gl_shader_gen.h
Also move the implementation of CurrentConfig to the cpp file.
9 years ago
Yuri Kunde Schlesner
40e28f6217
OpenGL: Move Attributes enum to a more appropriate file
9 years ago
wwylele
e02c4b7195
Input: remove unused stuff & clean up
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID
2. removed button handling in EmuWindow
3. removed key_map
4. cleanup #include
10 years ago
Yuri Kunde Schlesner
fb1979d7e2
Core: Re-write frame limiter
Now based on std::chrono, and also works in terms of emulated time
instead of frames, so we can in the future frame-limit even when the
display is disabled, etc.
The frame limiter can also be enabled along with v-sync now, which
should be useful for those with displays running at more than 60 Hz.
10 years ago
Yuri Kunde Schlesner
b285c2a4ed
Core: Make PerfStats internally locked
More ergonomic to use and will be required for upcoming changes.
10 years ago
Yuri Kunde Schlesner
3b4e400333
Remove built-in (non-Microprofile) profiler
10 years ago
Yuri Kunde Schlesner
c75ae6c585
Add performance statistics to status bar
10 years ago
Jannik Vogel
e594e63bb5
OpenGL: Check if uniform block exists before updating it ( #2581 )
10 years ago
Yuri Kunde Schlesner
af65e1c0a0
OpenGL: Remove unused duplicate of IsPassThroughTevStage
This copy was left behind when the shader generation code was moved to a
separate file.
10 years ago
Yuri Kunde Schlesner
60fc0b086f
VideoCore: Split regs.h inclusions
10 years ago
Yuri Kunde Schlesner
5759d94b5c
VideoCore: Move Regs to its own file
10 years ago
Yuri Kunde Schlesner
f443c7e5b0
VideoCore: Split lighting regs from Regs struct
10 years ago
Yuri Kunde Schlesner
23713d5dee
VideoCore: Split framebuffer regs from Regs struct
10 years ago
Yuri Kunde Schlesner
9017093f58
VideoCore: Split texturing regs from Regs struct
10 years ago
Yuri Kunde Schlesner
000e78144c
VideoCore: Split rasterizer regs from Regs struct
10 years ago
Yuri Kunde Schlesner
09a750e866
Pica/Texture: Simplify/cleanup texture tile addressing
10 years ago
Yuri Kunde Schlesner
a1c9ac7845
VideoCore: Move LookupTexture out of debug_utils.h
10 years ago
Yuri Kunde Schlesner
bbc7844021
VideoCore: Change misleading register names
A few registers had names such as "count" or "number" when they actually
contained the maximum (that is, count - 1). This can easily lead to hard
to notice off by one errors.
10 years ago
Kloen
eee37b857b
video_core: gl_rasterizer_cache.cpp removed unused type alias
10 years ago
Kloen
6a3a3964b0
video_core: gl_rasterizer.cpp removed unused type alias
10 years ago
Kloen
4652d70572
video_core: silence unused-local-typedef boost related warning on GCC
10 years ago
Kloen
753fea5d65
video_core: gl_rasterizer float to int warning
10 years ago
Kloen
b6063d9a93
video_core: fix gl_rasterizer warning on MSVC
10 years ago
bunnei
22ad9094e6
config: Add option for specifying screen resolution scale factor.
10 years ago
Jannik Vogel
6ed4206f87
Minor cleanup in GLSL code
10 years ago
Jannik Vogel
88f409aec9
Offset lighting LUT samples correctly
10 years ago
MerryMage
64f98f4d0f
core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
10 years ago
Albin Bernhardsson
ddec9cb369
Use GL_TRUE when setting color_mask
10 years ago
Yuri Kunde Schlesner
ac9f937477
VideoCore: Make profiling scope more representative
10 years ago
Markus Wick
d0d49bb951
OpenGL: Drop framebuffer completeness check.
This OpenGL call synchronize the worker thread of the nvidia blob.
It can be verified on linux with the __GL_THREADED_OPTIMIZATIONS=1 environment variable.
Those errors should not happen on tested drivers.
It was used as a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=94148
10 years ago
Jannik Vogel
fc4591fa49
ASSERT that shader was linked successfully
10 years ago
Jannik Vogel
4088afe23c
Report shader uniform block size in case of mismatch
10 years ago
Jannik Vogel
0edc986861
Print broken shader code to log
10 years ago
Yuri Kunde Schlesner
8a1f96011d
OpenGL: Non-zero stride only makes sense for linear buffers
10 years ago
Yuri Kunde Schlesner
2600633b89
OpenGL: Ensure framebuffer binding is restored if completion check fails
10 years ago
Yuri Kunde Schlesner
ba7f213655
OpenGL: Fix DisplayTransfer accel when input width != output width
Fixes #2246 , #2261
10 years ago
Subv
e3e4f27447
ClangFormat: Fixed the clang-format errors
10 years ago
Subv
aea9a91100
Build: Fixed a few warnings.
10 years ago
Subv
4623415026
RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1
10 years ago
Subv
743b0e71d9
Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.
10 years ago
James Rowe
d9305b0a07
Add default hotkey to swap primary screens.
Also minor style changes
10 years ago