Commit graph

447 commits

Author SHA1 Message Date
kaetemi
338b9b8a7f GL: Fix switch from different resolution fullscreen to borderless display 2014-08-07 04:45:14 +02:00
kaetemi
60c4e36fec Clean handling of display mode switching in client 2014-08-07 04:36:51 +02:00
kaetemi
c2d39e8bdf GL: Handle borderless fullscreen to specified monitor internally 2014-08-07 04:18:17 +02:00
kaetemi
7bd9216a6f Specify monitor when changing display mode 2014-08-07 01:04:58 +02:00
kaetemi
240889b03d 3D: Render target matrix context fix 2014-08-05 02:21:30 +02:00
kaetemi
a72b200fe8 Fix crash on AMD with legacy clouds 2014-08-04 01:05:53 +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
f9aa0bf7cc GL: Share depth and stencil to get similar behaviour to D3D driver 2014-08-03 18:59:19 +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
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
0c3baeb4de Implement occlusion queries for AMD/ATI in the OpenGL driver 2014-06-19 21:49:33 +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
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
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
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
7d4b89afc9 Fixed: Warnings with clang: wrong ! and == operators order 2014-03-27 15:50:58 +01:00
kervala
b03b2cc5fb Changed: Removed useless definitions 2014-03-27 13:39:46 +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
5333ec3420 Changed: Detect available video memory with OpenGL extensions 2014-03-26 14:34:07 +01:00
kervala
9fd642d24b Changed: Use OpenGL ES functions prototypes from official headers 2014-03-26 14:32:00 +01:00
kervala
091c22bf10 Changed: Optimize OpenGL driver PCH 2014-03-26 14:31:32 +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
botanic
777aa0b6ae Add CMAKE option and NVIDIA PerfHUD support 2014-02-07 19:49:40 -08: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
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
kaetemi
4adbfd4e4e Update supportVertexProgram calls 2013-09-14 16:43:36 +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
edec14807f Use named uniform indices for lighted vertex program 2013-09-13 21:31:47 +02:00
kaetemi
ce7357ffa4 Do not use old interface here 2013-09-13 17:17:11 +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
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
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
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
7be6891bd7 Cleanup driver interface 2013-09-08 21:57:27 +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
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
2315ae9c5a Prefer NPOT texture over RECT texture 2013-07-02 18:43:15 +02:00
kaetemi
3b630492aa Fix a render target issue, see #43 2013-07-02 00:53:45 +02:00
kaetemi
1f68025931 Rename some functions to follow the same naming convention of others 2013-06-19 23:49:39 +02:00
kaetemi
1ed0d46026 Cleanup 2013-06-19 23:34:40 +02:00
kaetemi
aa3462b7bc Add support for fp40 with opengl 2013-06-19 22:41:03 +02:00
kaetemi
0d1e405d3e Activate textures for postprocessing material under direct3d 2013-06-19 21:16:13 +02:00
kaetemi
4cc4a84578 Fix linux compile 2013-06-19 16:18:09 +02:00
kaetemi
3865e6e56f Add function to check which pixel program profiles are available on a driver 2013-06-19 05:03:47 +02:00
kaetemi
0c1bfe0f63 Cleanup more unneeded code 2013-06-19 02:36:57 +02:00
kaetemi
72035e936a Removed unneeded parser related code from the opengl pixel program implementation 2013-06-19 02:33:19 +02:00
kaetemi
7dcc86c717 Add direct3d diff for old nevrax pixel program code, marked a todo in the comments 2013-06-19 02:10:38 +02:00
kaetemi
acf8ec653c Added diff to opengl driver for old nevrax pixel program code, marked todos in comments 2013-06-19 02:01:12 +02:00
kaetemi
fd42d61af9 Add some files from old nevrax shader code for exposing pixel programs in the drivers 2013-06-19 01:14:30 +02:00
kaetemi
ad6cc747b9 Backed out changeset ea4b76b7213a, bad approach 2013-06-19 01:03:20 +02:00
kaetemi
abdeee4b81 Add info structure for multipass camera rendering effects #43 2013-06-16 20:48:17 +02:00
kervala
5794497a79 Changed: French comments translated to English 2013-02-11 22:24:48 +01:00
kervala
98606fb5b5 Changed: Typo fixes (thanks to Vagrant!) 2013-02-08 13:17:44 +01:00
kervala
0a2429c05e Changed: OpenGL headers not being found by PCH 2013-01-09 09:29:15 +01:00
kervala
ccc51e18b8 Changed: Simplification of OpenGL ES driver 2012-12-06 10:48:46 +01:00
kervala
a1942b9dd4 Changed: Updated OpenGL registries 2012-12-06 09:39:53 +01:00
kervala
76b6d1de72 Changed: Display HRESULT when D3DXCreateEffect fails 2012-12-03 09:37:21 +01:00
kervala
d68e03b816 Changed: NPOT textures finally don't need that in D3D 2012-10-27 18:44:38 +02:00
kervala
40227ccec5 Fixed #1: Implement anisotropic filtering for textures 2012-10-27 17:46:13 +02:00
kervala
100923cb6c Changed: Minor changes 2012-10-27 16:39:06 +02:00
kervala
0dd9100e85 Changed: Simplify OpenGL ES driver by using some aliases 2012-10-27 16:27:13 +02:00
kervala
ddfc526d0c Changed: #573 Add anti-aliasing to the OpenGL Driver 2012-10-17 11:05:51 +02:00
kervala
6085e9bba4 Fixed: Compilation under Mac OS X 2012-10-05 20:36:10 +02:00
kervala
74e69d4bc2 Changed: Added zbuffer formats (commented) 2012-09-26 12:47:13 +02:00
kervala
c4f90a40d2 Changed: Drivers runtimes should go in NL_DRIVER_PREFIX 2012-09-26 12:46:43 +02:00
kervala
4dfb33fb22 Changed: Added a warning when a texture can't be created in D3D driver 2012-09-26 00:02:27 +02:00
kervala
38c5e6840d Fixed: #1493 MultiArch support 2012-09-22 22:57:38 +02:00
kervala
6d66d824d9 Fixed: Replaced "Reqiures" by "Requires" in pkg-config files 2012-09-22 22:42:02 +02:00
kervala
993969d1de Changed: #878 Fix typos in comments/code 2012-09-11 20:16:26 +02:00
kaetemi
4739dfef9b Fixed: A strange loading crash with bad textures 2012-07-28 12:40:36 +02:00
sfb
2f9410f22d Fixed EOL issues and added .hgeol file. 2012-05-29 08:31:11 -05:00