Commit graph

675 commits

Author SHA1 Message Date
kaetemi
925aa9c715 Remove debug 2014-08-04 06:19:03 +02:00
kaetemi
946128cdca 3D: User higher quality FXAA version 2014-08-04 06:11:47 +02:00
kaetemi
650e634e68 3D: Add FXAA 2014-08-04 04:44:27 +02:00
kaetemi
a72b200fe8 Fix crash on AMD with legacy clouds 2014-08-04 01:05:53 +02:00
kaetemi
5e9fc17402 Move default render target handling to CDriverUser 2014-08-04 00:57:43 +02:00
kaetemi
8c6d46bed0 Adjust render target handling for effects 2014-08-03 22:15:44 +02:00
kaetemi
996dd9aa16 Merge with default 2014-08-03 22:15:39 +02:00
kaetemi
2ad030f5f9 GL: Occlusion query bugfix 2014-08-03 22:15:12 +02:00
kaetemi
f03f73e5c8 3D: Cleanup bloom effect 2014-08-03 21:09:55 +02:00
kaetemi
2bccba1ddc 3D: Cleanup bloom effect 2014-08-03 20:35:05 +02:00
kaetemi
f9aa0bf7cc GL: Share depth and stencil to get similar behaviour to D3D driver 2014-08-03 18:59:19 +02:00
kaetemi
54f4d5bac3 Simplify GUI projection settings 2014-08-03 00:56:26 +02:00
kaetemi
9d883e227c Off-center GUI cylinder 2014-08-02 20:11:28 +02:00
kaetemi
5580d0b761 Cylindrical GUI 2014-08-02 19:50:26 +02:00
kaetemi
9e23a689ae Project GUI into space 2014-08-01 15:44:12 +02:00
kaetemi
6de844b43c Temporary crashfix, ref #68 2014-08-01 15:23:13 +02:00
kaetemi
0adb5be855 Restore camera and scene viewport after disabling VR 2014-08-01 13:20:55 +02:00
kaetemi
03e367be86 Merge with default 2014-08-01 11:50:40 +02:00
kaetemi
655d709ceb Render target format (for alpha) 2014-07-31 18:25:50 +02:00
kaetemi
74c4c09211 Fix issue with render target in OpenGL when size not specified 2014-07-31 17:41:56 +02:00
kaetemi
029d9bddfe Mode2D selection 2014-07-31 03:53:38 +02:00
kaetemi
a6812f5844 Merge with game-device 2014-07-31 02:07:20 +02:00
kaetemi
64666c302a Add render target manager, issue #47 2014-07-31 00:46:00 +02:00
kaetemi
7d835464f0 Crash workaround in IG loading, ref #171 2014-07-31 19:50:25 +02:00
kaetemi
b74a24a312 Remove a debug assert 2014-07-29 14:39:07 +02:00
kervala
875ab80728 Changed: Minor optimization and warning 2014-07-19 14:01:44 +02:00
kervala
853b6aba0b Changed: Replaced tests with .size() by .empty() because faster 2014-07-19 14:01:03 +02:00
kaetemi
18ade6cbd4 Trash DirectInput 2014-07-12 17:17:24 +02:00
kaetemi
0f5f1f9047 Trash DirectInput 2014-07-08 22:21:11 +02:00
kaetemi
dd52a05d02 Don't enforce native fragment programs on modern hardware. Fixes water for the open source ATI/AMD driver, which reports fragment programs as not native (as they are translated to modern hardware). 2014-06-21 06:41:14 +02:00
kaetemi
502d81c428 Fix compile 2014-06-20 23:38:44 +02:00
kaetemi
2a87923ced SSE2: Replace prefetch 2014-06-14 01:09:05 +02:00
kaetemi
f51843a721 SSE2: Remove dead code 2014-06-13 22:21:07 +02:00
kaetemi
b9576c93dd Merge with default 2014-06-20 03:01:32 +02:00
kaetemi
0c3baeb4de Implement occlusion queries for AMD/ATI in the OpenGL driver 2014-06-19 21:49:33 +02:00
kaetemi
8967f57fdf Backed out changeset: f665fcc42968 (except dru.cpp) 2014-06-19 20:22:12 +02:00
kaetemi
a4c86ddf20 Fix D3D driver compile under MinGW 2014-06-18 16:29:02 +02:00
kaetemi
275f18d6ab Fix linking of OpenGL driver under MinGW 2014-06-18 01:21:05 +02:00
kaetemi
6807d72136 Fix compilation of NL3D under MinGW 2014-06-17 22:33:56 +02:00
kaetemi
7929f78dd7 SSE2: Align CMatrix 2014-06-13 19:33:09 +02:00
kaetemi
e0f0fe2650 Set additional preferred memory 2014-06-05 15:51:25 +02:00
kaetemi
70d798d5fb Cleanup extension initialization 2014-06-05 15:03:09 +02:00
kaetemi
35b01fc3a9 Implement volatile vertex buffer for opengl driver, should provide considerable performance improvements for particle systems. Needs additional testing. 2014-06-04 18:59:54 +02:00
kaetemi
fb56ef3fdc Merge 2014-04-30 12:57:54 +02:00
kaetemi
c93b04df1d Backed out changeset: 897087f1fa71, 7c3f1f0dc9d8, 61d11f94e3ea 2014-04-30 12:54:20 +02:00
kervala
22374fb124 Fusion avec default 2014-04-24 19:16:42 +02:00
Nimetu
6217b46193 Fix compiling on linux with new OpenGL headers (issue #145) 2014-04-23 23:23:23 +03:00
kervala
59042ccb6a Changed: Updated OpenGL and OpenGL ES headers 2014-04-17 10:44:03 +02:00
kervala
396948f89a Fixed: nglXSwapIntervalEXT return type should be void 2014-04-17 10:16:30 +02:00
kaetemi
9edd54c446 Add interface for HMD with player death support 2014-04-01 13:14:44 +02:00
kervala
cd04a596cd Backed out changeset: 3937923211ec 2014-03-29 12:45:22 +01:00
kervala
213749f410 Changed: Replaced some Mac OS X warnings by TODO comments 2014-03-27 16:36:00 +01:00
kervala
85ab0dba81 Fixed: Switch not handled warnings 2014-03-27 15:53:19 +01:00
kervala
479f31ef3b Fixed: Warnings with clang: wrong ! and == operators order 2014-03-27 15:50:58 +01:00
kervala
7d4b89afc9 Fixed: Warnings with clang: wrong ! and == operators order 2014-03-27 15:50:58 +01:00
kervala
0d98d8d0b3 Changed: Removed useless definitions 2014-03-27 13:39:46 +01:00
kervala
b03b2cc5fb Changed: Removed useless definitions 2014-03-27 13:39:46 +01:00
kervala
4b89a89004 Changed: Updated OpenGL headers 2014-03-27 13:39:16 +01:00
kervala
46fccf9902 Changed: Updated OpenGL headers 2014-03-27 13:39:16 +01:00
kervala
ed1b73948d Changed: Give priority to ARB extensions in tests 2014-03-26 14:36:00 +01:00
kervala
654583807c Changed: Detect available video memory with OpenGL extensions 2014-03-26 14:34:07 +01:00
kervala
5333ec3420 Changed: Detect available video memory with OpenGL extensions 2014-03-26 14:34:07 +01:00
kervala
d7f7523bdf Changed: Use OpenGL ES functions prototypes from official headers 2014-03-26 14:32:00 +01:00
kervala
9fd642d24b Changed: Use OpenGL ES functions prototypes from official headers 2014-03-26 14:32:00 +01:00
kervala
741f806f16 Changed: Optimize OpenGL driver PCH 2014-03-26 14:31:32 +01:00
kervala
091c22bf10 Changed: Optimize OpenGL driver PCH 2014-03-26 14:31:32 +01:00
kervala
efcdbd2424 Changed: Use OpenGL functions prototypes from official headers
Fixed: glDeleteObjectBufferATI replaced by glFreeObjectBufferATI since 2002
2014-03-26 14:14:36 +01:00
kervala
1f60ea7fdf Changed: Use OpenGL functions prototypes from official headers
Fixed: glDeleteObjectBufferATI replaced by glFreeObjectBufferATI since 2002
2014-03-26 14:14:36 +01:00
kaetemi
ad40eb6450 Fix the bug that caused the shape exporter to crash 2014-02-09 22:12:44 +01:00
botanic
777aa0b6ae Add CMAKE option and NVIDIA PerfHUD support 2014-02-07 19:49:40 -08:00
kaetemi
9dce6793b2 Fix thread lockup in zone lighter 2014-02-07 02:01:23 +01:00
kaetemi
7989e9e6bc Do not select stereo display debugger when HMD is set to Auto in Snowballs 2014-02-04 20:52:15 +01:00
kervala
f256e78b2c Changed: Best fix for Freetype new layout (we only just need to include ft2build.h as done in font_generator.h) 2014-01-26 11:03:33 +01:00
kervala
0e57ad38c3 Fixed: Compilation with freetype 2014-01-25 10:45:57 +01:00
kervala
5df1ebf8ba Fixed: Compilation under Mac OS X 2013-11-13 22:23:24 +01:00
kervala
1d46a6f94e Changed: Don't need to change _PolygonSmooth if value is the same 2013-11-13 21:55:14 +01:00
kervala
1a5100bd93 Changed: Implement VSync under Mac OS X 2013-11-13 21:54:45 +01:00
kervala
b7feea6c95 Fixed: Warning with clang 2013-11-13 21:40:41 +01:00
kervala
5f0a674ad2 Changed: Updated OpenGL registry 2013-11-13 20:31:08 +01:00
kaetemi
08a4d9eb11 Fix #67 bad NELID in vertex program parser 2013-10-06 20:06:53 +02:00
kervala
2becb762f8 Fixed: Some warnings 2013-09-29 16:26:24 +02:00
kaetemi
185709734d Fix warnings 2013-09-27 01:32:01 +02:00
kervala
4b6ca1e628 Fixed: Wrong variable used to compute array length 2013-09-22 13:23:03 +02:00
kervala
4f1897208c Fixed: OpenGL ES driver compilation 2013-09-22 13:20:53 +02:00
kervala
df8c6e9b08 Changed: Created NELID macro to fix warning "multi-character character constant" 2013-09-22 13:10:57 +02:00
kaetemi
64d8faddd0 Fix typo 2013-09-14 19:05:54 +02:00
kaetemi
adcb3e032b Fix regression from stereo branch in wind tree 2013-09-14 18:58:23 +02:00
kaetemi
60cd1f6116 Fix compile error in vertex program 2013-09-14 17:53:47 +02:00
kaetemi
4adbfd4e4e Update supportVertexProgram calls 2013-09-14 16:43:36 +02:00
kaetemi
102f0080af Cleanup unused code 2013-09-14 16:23:11 +02:00
kaetemi
0386673d13 Rename 2013-09-14 00:46:10 +02:00
kaetemi
08f37643b7 Cleanup 2013-09-14 00:36:06 +02:00
kaetemi
7d0a84b2d1 Merge with default 2013-09-13 23:07:49 +02:00
kaetemi
291c5d6012 Cleanup 2013-09-13 23:02:35 +02:00
kaetemi
881949a5d7 Use named indices with wind tree program 2013-09-13 22:20:52 +02:00
kaetemi
7176cbc0af Use named indices for per pixel light vertex program 2013-09-13 21:47:42 +02:00
kaetemi
edec14807f Use named uniform indices for lighted vertex program 2013-09-13 21:31:47 +02:00
kaetemi
a0fbb152ee Updated wind tree program container 2013-09-13 20:45:06 +02:00
kaetemi
ba945f30a8 Use lighted vertex program container for per pixel light program 2013-09-13 20:00:20 +02:00
kaetemi
482c13fd1a Add container for lighted vertex program 2013-09-13 19:03:05 +02:00
kaetemi
f7e80187ad Adjust order for meshvp 2013-09-13 18:25:52 +02:00
kaetemi
ce7357ffa4 Do not use old interface here 2013-09-13 17:17:11 +02:00
kaetemi
7d854d54d1 Modify calls in bloom effect 2013-09-13 17:11:42 +02:00
kaetemi
2f384d9789 Update veget implementation 2013-09-13 17:09:05 +02:00
kaetemi
2ee6843cd9 Fixes for d3d 2013-09-13 17:08:56 +02:00
kaetemi
b77101cdd4 Update d3d implementation and add some debugging code 2013-09-11 01:12:37 +02:00
kaetemi
f0177268b4 Rename of a d3d specific class 2013-09-10 19:53:41 +02:00
kaetemi
a798aecd71 Partial update of veget vp 2013-09-10 19:52:14 +02:00
kaetemi
776f198df3 Update some test code 2013-09-10 16:42:51 +02:00
kaetemi
7462d731f1 Small adjustment to landscape vp parameter setting 2013-09-10 16:24:45 +02:00
kaetemi
26f4073ad7 Simplify 2013-09-10 15:59:31 +02:00
kaetemi
4de5eeb586 Adjust landscape vertex program to use new interface 2013-09-10 15:42:42 +02:00
kaetemi
32288eabe8 Use new program interface for water vertex program 2013-09-10 02:07:16 +02:00
kaetemi
dd490a0cc4 Set driver parameters 2013-09-10 02:01:57 +02:00
kaetemi
c9a2f9dbfc Some fixes 2013-09-10 01:29:53 +02:00
kaetemi
680f260803 Use CSmartPtr for vertex program 2013-09-10 00:31:26 +02:00
kaetemi
14026e6f08 Set params from storage 2013-09-09 23:39:18 +02:00
kaetemi
1447e2f2d8 Replace temporary CMaterial code 2013-09-09 21:44:14 +02:00
kaetemi
01577f9f95 Implement param storage copy 2013-09-09 21:05:12 +02:00
kaetemi
aa85673b3b Flag some TODO's 2013-09-09 20:55:23 +02:00
kaetemi
0bcb0d6ffd Add glsl pixel program for stereo distortion 2013-09-09 20:49:59 +02:00
kaetemi
057eab4680 Cleanup abstract gpu program interface 2013-09-09 18:33:38 +02:00
kaetemi
fcb0ee720e Implement new driver interface in Direct3D driver 2013-09-09 16:36:29 +02:00
kaetemi
99a48d5511 Implement new driver interface in OpenGL driver 2013-09-09 14:43:10 +02:00
kaetemi
ea25e5375d Expand parameter interface 2013-09-09 12:18:20 +02:00
kaetemi
0cf5dbab8a Reduce function duplication 2013-09-09 02:03:40 +02:00
kaetemi
c512dfbb3d Separate count and size 2013-09-09 01:31:15 +02:00
kaetemi
7be6891bd7 Cleanup driver interface 2013-09-08 21:57:27 +02:00
kervala
a023ab89d7 Changed: Updated Freetype libraries variable 2013-09-08 12:54:05 +02:00
kaetemi
48493b225d Add additional set functions 2013-09-08 01:49:34 +02:00
kaetemi
58a8982ba5 Add gpu program params storage structure 2013-09-08 01:36:01 +02:00
kaetemi
f4d05d25c5 Implement new gpu program interface in direct3d driver 2013-09-07 22:00:07 +02:00
kaetemi
f4fccab548 Implement new gpu program interface in opengl driver 2013-09-07 21:30:40 +02:00
kaetemi
47716d7247 Make gpu programs use abstract gpu program class 2013-09-07 20:41:07 +02:00
kaetemi
d54774f978 Add abstract gpu program and source classes 2013-09-07 18:33:18 +02:00
Thibaut Girka
a45299bfe5 Add support for LibVR 2013-08-28 08:08:22 +02:00
kaetemi
beb66b19b7 Merge with default 2013-09-07 16:25:45 +02:00
kervala
d2a9cb90d0 Changed: Formatting 2013-08-26 12:34:04 +02:00
kaetemi
d0a4f5ed75 Fix warning 2013-08-03 21:29:47 +02:00
kaetemi
9dc9acd68f Merge with default 2013-08-01 23:02:49 +02:00
kaetemi
7bbf40ea19 Improve performance of UsedTexture debugging info in OpenGL driver 2013-07-29 03:41:10 +02:00
kaetemi
fd285cc703 Merge with default 2013-07-25 00:37:00 +02:00
kaetemi
f83fdf5a2f Fix bug #45 crash in zone lighter with large number of CPU cores 2013-07-24 20:51:43 +02:00
Michael Witrant
59dc1a6c16 Fixed definition tests for optional LibOVR 2013-07-06 20:40:42 +02:00
Michael Witrant
69c194f57f LibOVR is optional, and is disabled by default 2013-07-06 20:05:19 +02:00
Michael Witrant
67ebf920ec Added LibOVR finder and Linux support, ref #43 2013-07-06 19:33:07 +02:00
kaetemi
cb9e5762db Don't render to texture when in wireframe mode, re #43 2013-07-05 03:42:38 +02:00
kaetemi
c3f6f5b8ff Put stereo render loop inside ryzom client main loop, see #43 2013-07-05 02:38:56 +02:00
kaetemi
541f75920b Init/release VR interfaces in ryzom client, ref #43 2013-07-05 02:04:34 +02:00
kaetemi
6113b07673 Distort 2D gui as well, ref #43 2013-07-04 21:12:11 +02:00