Lioncash
|
c0fd319295
|
VideoOGL: Move X11 wxWidgets utilities to DolphinWX
|
2014-11-24 21:15:52 -05:00 |
Lioncash
|
8b337120db
|
Merge pull request #1588 from rohit-n/zero-nullptr
Silence a few "zero as null pointer" warnings.
|
2014-11-24 19:26:55 -05:00 |
Stevoisiak
|
6da394a4d0
|
More formatting and consistency fixes
|
2014-11-24 17:16:59 -05:00 |
Rohit Nirmal
|
4d931c16ad
|
Silence a few "zero as null pointer" warnings.
|
2014-11-24 12:36:46 -06:00 |
Jules Blok
|
145e0cc84c
|
OGL: Display the stereoscopy support warning before the stereo setting is reset.
Previously the message would never display, because stereoscopy would be turned off before the warning.
|
2014-11-24 15:11:00 +01:00 |
Jules Blok
|
a04edbcb9a
|
VideoConfig: Add separation and convergence modifiers to the game ini.
|
2014-11-24 15:10:52 +01:00 |
Jules Blok
|
f64aadd362
|
VideoConfig: Limit the StereoMonoEFBDepth option to the game ini and introduce a separate section for it.
|
2014-11-24 12:25:35 +01:00 |
Jules Blok
|
0f4d59f612
|
VideoConfig: Rename StereoFocalLength to StereoConvergence.
|
2014-11-24 11:58:38 +01:00 |
Jules Blok
|
9b2cd82da5
|
GeometryShaderGen: Set the properties of the VS_OUTPUT struct in the uid.
|
2014-11-23 14:30:12 +01:00 |
degasus
|
ed9f258b27
|
GeometryShader: Don't read from output variables
|
2014-11-23 14:30:12 +01:00 |
Jules Blok
|
106df04e8e
|
GeometryShaderGen: Declare the vertex array size.
|
2014-11-23 14:30:12 +01:00 |
Jules Blok
|
422125c1a9
|
GeometryShaderGen: Add comments.
|
2014-11-23 14:30:12 +01:00 |
Jules Blok
|
a565317a6a
|
VideoConfigDiag: Update convergence description.
The switch to the Nvidia formula reversed this setting.
|
2014-11-23 14:30:12 +01:00 |
Jules Blok
|
72c01e3083
|
VideoConfigDiag: Remove value labels.
|
2014-11-23 14:30:12 +01:00 |
Jules Blok
|
77078a8d75
|
GameSettings: Force mono EFB depth copies in Luigi's Mansion.
This game uses stencil shadows which should not be stereoized.
|
2014-11-23 14:30:12 +01:00 |
Jules Blok
|
24e4de3643
|
VideoConfig: Move stereoscopy settings to the Enhancements section.
|
2014-11-23 14:30:12 +01:00 |
Jules Blok
|
6e62dd3415
|
Add stereoscopy hotkeys.
|
2014-11-23 14:30:12 +01:00 |
Jules Blok
|
21eabc1b9d
|
OGL: Add warning message when stereoscopic 3D is enabled but unsupported.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
0f63186371
|
TextureCache: Add "Mono EFB Depth Copy" stereoscopy option.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
9994ccb342
|
PostProcessing: Invalidate shader when anaglyph stereoscopy is toggled.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
f3ddf37d07
|
VideoCommon: Switch to Nvidia stereoscopy offset formula.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
8210b9c915
|
TextureCache: Ensure that all render target textures have as many layers as the frame buffer.
Also fixes a case where the D3D code path did not initialize num_layers leading to undefined behaviour.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
02ad1a36ea
|
VideoConfigDiag: Update descriptions.
Since we cannot accurately calculate the eye seperation or the focal length without headtracking these values are purely virtual.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
27f3f804a0
|
ShaderGen: Only pass VS_OUTPUT between shaders if stereo 3D is enabled.
GLSL130 doesn't support passing structs between shaders.
This is not a problem for stereo 3D which has a GLSL150 requirement.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
51a4d6a4be
|
GeometryShader: Adjust positions after projection.
By adjusting the positions in clip space we can avoid the re-projection.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
ee76c03160
|
TextureCache: Recompile EFB2Tex shaders when stereo 3D is toggled.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
4d075c2efb
|
ProgramShaderCache: Abort shader compilation if geometry shader failed to compile.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
6642af2404
|
OGL: Remove Virtual XFB SBS support.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
acc65ee608
|
GeometryShader: Replicate missing position manipulations from vertex shader.
|
2014-11-23 14:27:40 +01:00 |
Jules Blok
|
940c628eb7
|
Shaders: Remove fake stereoscopic shaders.
We have actual stereoscopy now, no need to pretend.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
ab76cf8b5e
|
PostProcessing: Apply color correction to the anaglyph shader.
The eyes were accidentally swapped, the left filter only allows red to pass so the left eye texture should be used in the red channel.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
081212b765
|
TextureCache: Force mono copies of the depth buffer.
Fixes stereoscopic stencil shadows in some games.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
3baa01fc73
|
VideoConfig: Use a smaller focal length default.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
6b2261deca
|
VideoConfigDiag: Update descriptions of stereoscopy settings.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
2cb2290910
|
TextureCache: Fix invalid cast.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
c0a5ae1746
|
OGL: Also redefine glFramebufferTexture on OpenGL ES.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
aa57feb9a8
|
ProgramShaderCache: Don't call glAttachShader if no geometry shader was compiled.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
f74d1b16ed
|
OGL: Add Top-and-Bottom stereoscopy mode.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
1261bd02ca
|
VertexShaderManager: Add stereoscopy options to swap the left and right eye.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
c3ad6e7820
|
PostProcessing: Add support for anaglyph stereoscopy mode.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
6c8f3fa861
|
VideoConfig: Add StereoMode enumeration.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
0eb0c47eba
|
Render: Improve SBS presentation.
New calculation properly takes pillar boxing into account.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
d7804a4d3e
|
Cosmetics.
|
2014-11-23 14:27:39 +01:00 |
Jules Blok
|
9b22e15180
|
VideoConfigDiag: Add stereoscopy options group.
|
2014-11-23 14:27:38 +01:00 |
Jules Blok
|
4d9589b35f
|
Cosmetics.
|
2014-11-23 14:27:38 +01:00 |
Jules Blok
|
9b4185ffdf
|
ShaderGen: Make use of padding to store the stereo flag.
|
2014-11-23 14:27:38 +01:00 |
Jules Blok
|
35342664e3
|
OGL: Disable stereoscopy if the GPU does not support geometry shaders.
|
2014-11-23 14:27:38 +01:00 |
Jules Blok
|
f370cb386c
|
ProgramShaderCache: Always generate a geometry shader UID, even if stereoscopy is disabled.
|
2014-11-23 14:27:38 +01:00 |
Jules Blok
|
6cacfad010
|
GeometryShader: Transform the projection within the geometry shader.
Reduces the amount of data transferred through uniforms.
The shearing transformation is reduced to a single multiplication/addition for optimization.
|
2014-11-23 14:27:38 +01:00 |
Jules Blok
|
4fd943aedd
|
VideoConfig: Limit the Stereo 3D option to the OpenGL backend.
|
2014-11-23 14:27:38 +01:00 |