|
3ed4eaf247
|
Removes ogl_WarnIfError from regular renderer code.
This was SVN commit r26850.
|
2022-05-02 21:52:21 +00:00 |
|
|
a493a9f07f
|
Removes ARB switch optimization as it triggers slow down. Fixes #6525
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4635
This was SVN commit r26849.
|
2022-05-02 21:25:13 +00:00 |
|
|
04bd96cee0
|
Moves uniform and texture binding to CDeviceCommandContext.
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4631
This was SVN commit r26848.
|
2022-05-02 20:57:22 +00:00 |
|
|
d8b8128abb
|
Adds AsFloatArray to CMatrix3D.
This was SVN commit r26834.
|
2022-04-27 19:53:42 +00:00 |
|
|
b26aa5936d
|
Avoids scoped binding of the already bound backend buffer.
This was SVN commit r26831.
|
2022-04-26 18:25:52 +00:00 |
|
|
df612ab8b4
|
Moves GLSL-specific uniform name workaround (added in 227f9e403f ) to CShaderProgramGLSL.
This was SVN commit r26816.
|
2022-04-23 21:39:15 +00:00 |
|
|
aba7a170d9
|
Moves vertex attribute binding to CDeviceCommandContext.
Tested By: Langbart, Stan
Differential Revision: https://code.wildfiregames.com/D4610
This was SVN commit r26815.
|
2022-04-23 20:11:14 +00:00 |
|
|
7bd075d570
|
Moves glReadPixels to GL backend.
This was SVN commit r26802.
|
2022-04-17 14:55:00 +00:00 |
|
|
e02b402a14
|
Uses vertex attribute name only for GLSL. Fixes #6500
This was SVN commit r26799.
|
2022-04-17 08:00:10 +00:00 |
|
|
eaac0b0dbe
|
Uses vertex streams to get attribute locations reducing duplication in XML.
Also adds missing streams.
This was SVN commit r26792.
|
2022-04-15 18:13:33 +00:00 |
|
|
37645670c1
|
Fixes crash in shader preprocessor introduced in d295dacb9b and appeared after 25332f9b86 . Fixes #6033
This was SVN commit r26791.
|
2022-04-15 17:45:15 +00:00 |
|
|
2c8f4c4837
|
Moves AssertPointersBound to draw commands to not forget to call it for new shaders.
In the future it allows to call AssertPointersBound in a more lazy way.
This was SVN commit r26784.
|
2022-04-12 18:02:08 +00:00 |
|
|
8c1a469253
|
Uses GL device capabilities for all vertex attribute locations.
This was SVN commit r26782.
|
2022-04-12 16:49:04 +00:00 |
|
|
ad2068dae0
|
Uses sequential numbering of GL vertex attributes for modern hardware. Refs #3054
Differential Revision: https://code.wildfiregames.com/D4601
This was SVN commit r26781.
|
2022-04-12 16:13:47 +00:00 |
|
|
f6837978e8
|
Adds GL debug labels only if they are supported (forgotten in 3db24af763 ). Fixes #6495
This was SVN commit r26780.
|
2022-04-12 06:44:06 +00:00 |
|
|
e6dd9f944e
|
Moves Vulkan report code to its device to prevent crashing when a GL device is created. Fixes #6270
Differential Revision: https://code.wildfiregames.com/D4577
This was SVN commit r26779.
|
2022-04-12 06:39:14 +00:00 |
|
|
811a540382
|
Simplifies GL::CShaderProgram to store less data.
This was SVN commit r26777.
|
2022-04-11 22:10:21 +00:00 |
|
|
3db24af763
|
Adds names to GL shaders and programs.
This was SVN commit r26776.
|
2022-04-11 20:30:23 +00:00 |
|
|
73c0e40045
|
Fixes warnings about unused function arguments in renderer.
This was SVN commit r26763.
|
2022-04-08 06:49:38 +00:00 |
|
|
e08590ee34
|
Fixes warning about unused captured variable in CDeviceCommandContext.
This was SVN commit r26749.
|
2022-04-02 20:40:40 +00:00 |
|
|
2ed2e9de0c
|
Invalidates CDeviceCommandContext texture bind cache properly.
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4553
This was SVN commit r26664.
|
2022-03-17 18:17:11 +00:00 |
|
|
b4253d48cb
|
Moves CShaderProgram to backend and handling via CDeviceCommandContext.
Differential Revision: https://code.wildfiregames.com/D4548
This was SVN commit r26652.
|
2022-03-14 22:16:14 +00:00 |
|
|
992c18aabb
|
Enables ARB shaders only once since we should not mix different backends.
This was SVN commit r26629.
|
2022-03-12 22:10:47 +00:00 |
|
|
12c304e494
|
Removes duplication of backend format in VertexArray usages, optimizes vertex color attribute of quad overlay.
This was SVN commit r26609.
|
2022-03-08 23:28:31 +00:00 |
|
|
647fccd410
|
Replaces native GL types by backend format in vertex attributes in CShaderProgram.
This was SVN commit r26594.
|
2022-03-07 02:21:05 +00:00 |
|
|
3399791677
|
Adds renderer backend vertex formats and normalizes texture formats.
This was SVN commit r26588.
|
2022-03-06 22:14:57 +00:00 |
|
|
3a4bbd11fd
|
Moves all GL draw commands to CDeviceCommandContext.
Differential Revision: https://code.wildfiregames.com/D4518
This was SVN commit r26525.
|
2022-03-03 07:09:59 +00:00 |
|
|
da4ec670c1
|
Moves glViewport from CRenderer to CDeviceCommandContext.
This was SVN commit r26497.
|
2022-02-26 23:17:48 +00:00 |
|
|
680b0215fc
|
Adds depth bias to PipelineState and its management to CDeviceCommandContext.
Refs #2368
This was SVN commit r26495.
|
2022-02-26 21:49:32 +00:00 |
|
|
bf8fe51dea
|
Moves enabling of GL multisample to CDevice.
This was SVN commit r26494.
|
2022-02-26 21:10:14 +00:00 |
|
|
d5d1754991
|
Moves polygon mode handling to PipelineState and CDeviceCommandContext.
This was SVN commit r26486.
|
2022-02-25 22:05:06 +00:00 |
|
|
a87cb6c94d
|
Moves GL depth comparison function to SamplerDesc.
This was SVN commit r26485.
|
2022-02-25 20:02:03 +00:00 |
|
|
d1f1d41a9f
|
Uses triangles for drawing lines in CCanvas2D.
Differential Revision: https://code.wildfiregames.com/D4444
This was SVN commit r26479.
|
2022-02-25 06:59:57 +00:00 |
|
|
36833d1df2
|
Moves max texture size to backend device capabilities.
This was SVN commit r26409.
|
2022-02-18 23:17:48 +00:00 |
|
|
5eb21cbfbf
|
Adds debug labels to backend framebuffers.
This was SVN commit r26408.
|
2022-02-18 23:00:11 +00:00 |
|
|
b949f19875
|
Moves GL debug information toggle to run-time to make it easier to test after release.
This was SVN commit r26407.
|
2022-02-18 22:38:45 +00:00 |
|
|
cff79b421a
|
Moves GL vertex and index buffer management to CDeviceCommandContext.
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4493
This was SVN commit r26406.
|
2022-02-18 17:33:12 +00:00 |
|
|
aaf378f041
|
Moves backend capabilities to CDevice.
This was SVN commit r26366.
|
2022-02-13 21:46:03 +00:00 |
|
|
4de89c3db1
|
Moves texture management to CDeviceCommandContext, adds quality options.
Comments By: nwtour, Stan
Tested By: nwtour, Stan
Differential Revision: https://code.wildfiregames.com/D4488
This was SVN commit r26365.
|
2022-02-13 19:30:28 +00:00 |
|
|
a17fad722a
|
Moves framebuffer management to CDeviceCommandContext.
Tested By: Langbart, nwtour
Differential Revision: https://code.wildfiregames.com/D4475
This was SVN commit r26302.
|
2022-02-05 16:59:23 +00:00 |
|
|
ac77d1c3e0
|
Moves scissor test management to DeviceCommandContext.
This was SVN commit r26288.
|
2022-02-01 17:58:21 +00:00 |
|
|
aeaf495da3
|
Renames GL::CTexture levelCount to MIPLevelCount to match Tex.
This was SVN commit r26287.
|
2022-02-01 16:48:24 +00:00 |
|
|
a1f98b016b
|
Moves depth and stencil tests to PipelineState and DeviceCommandContext.
Differential Revision: https://code.wildfiregames.com/D4471
This was SVN commit r26286.
|
2022-02-01 16:38:55 +00:00 |
|
|
709e8292b0
|
Moves color mask, depth mask and function management from CShaderPass to DeviceCommandContext.
Tested By: Langbart
Comments By: Stan
Differential Revision: https://code.wildfiregames.com/D4465
This was SVN commit r26284.
|
2022-01-31 20:10:06 +00:00 |
|
|
22db9202f1
|
Fixes EOL in PipelineState files after 5adbe4f1a3 .
This was SVN commit r26283.
|
2022-01-31 11:47:58 +00:00 |
|
|
d4d1bc039f
|
Moves culling mode and front face state management to DeviceCommandContext.
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4456
This was SVN commit r26259.
|
2022-01-27 17:25:37 +00:00 |
|
|
acb043f4a2
|
Adds a rasterization state to the renderer backend pipeline state.
This was SVN commit r26248.
|
2022-01-25 16:28:58 +00:00 |
|
|
5adbe4f1a3
|
Moves blend state management to DeviceCommandContext. Fixes #6420
Tested By: Langbart
Comments By: Stan
Differential Revision: https://code.wildfiregames.com/D4441
This was SVN commit r26228.
|
2022-01-19 17:28:47 +00:00 |
|
|
95318d34ff
|
Removes redundant layer check added in f715b73f4f .
Reported By: Freagarach
This was SVN commit r26189.
|
2022-01-08 13:44:40 +00:00 |
|
|
9924450d36
|
Moves default GL state setup to GL device.
This was SVN commit r26187.
|
2022-01-07 22:21:22 +00:00 |
|
|
f715b73f4f
|
Uploads cube textures in SkyManager via DeviceCommandContext.
Commented By: Stan
Differential Revision: https://code.wildfiregames.com/D4421
This was SVN commit r26185.
|
2022-01-07 20:00:41 +00:00 |
|
|
912202ff0c
|
Uses core GL functions for GLSL shaders.
Tested By: nwtour, Stan
Differential Revision: https://code.wildfiregames.com/D4416
This was SVN commit r26175.
|
2022-01-06 11:41:04 +00:00 |
|
|
fd976456d7
|
Performs texture uploads via DeviceCommandContext interface.
Tested By: Langbart, Stan
Differential Revision: https://code.wildfiregames.com/D4415
This was SVN commit r26170.
|
2022-01-05 14:49:54 +00:00 |
|
|
c9ba9299a3
|
Ignores sampler settings for multisample GL textures.
Reported By: Stan
This was SVN commit r26144.
|
2021-12-30 17:31:16 +00:00 |
|
|
0837e369cf
|
Moves PostProcManager and SkyManager to GL texture class continuing 57ba7c4a1c .
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4398
This was SVN commit r26126.
|
2021-12-27 21:01:43 +00:00 |
|
|
60a422b668
|
Moves water textures and terrain alpha composite map to GL texture class following 57ba7c4a1c .
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4394
This was SVN commit r26120.
|
2021-12-27 08:14:47 +00:00 |
|
|
c2c3a3b663
|
Moves shadow map and terrain overlay to GL texture class continuing 57ba7c4a1c .
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4393
This was SVN commit r26117.
|
2021-12-26 09:48:48 +00:00 |
|
|
57ba7c4a1c
|
Encapsulates GL texture creation in a separate class.
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4389
This was SVN commit r26107.
|
2021-12-25 00:26:10 +00:00 |
|
|
478164962f
|
Removes static linking of OpenGL library.
Tested By: Langbart, Stan
Differential Revision: https://code.wildfiregames.com/D4387
This was SVN commit r26104.
|
2021-12-24 08:02:27 +00:00 |
|
|
c9bea80e0d
|
Use GLAD2 a multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator.
Comments by: @nwtour, @Langbart, @bb
Based on patch by: @echotangoecho
Tested on Windows 7 & 10, Ubuntu and macos.
Differential Revision: https://code.wildfiregames.com/D721
This was SVN commit r26093.
|
2021-12-21 22:03:31 +00:00 |
|
|
a32ab00f4d
|
Moves backbuffer swap and error check to GL device.
This was SVN commit r26092.
|
2021-12-21 17:02:04 +00:00 |
|
|
3b9b7cd605
|
Moves GL report from HWDetect to GL device.
Tested By: Freagarach, Stan
Differential Revision: https://code.wildfiregames.com/D4376
This was SVN commit r26081.
|
2021-12-16 06:36:46 +00:00 |
|
|
eb004e5c98
|
Uses forward declaration for SDL in GL device.
This was SVN commit r26078.
|
2021-12-15 10:50:31 +00:00 |
|
|
89c181ded1
|
Encapsulates information about GL inside device.
Commented By: Stan
Differential Revision: https://code.wildfiregames.com/D4375
This was SVN commit r26072.
|
2021-12-15 06:43:41 +00:00 |
|