c114bab396
Removes mem_get_ptr from the Tex::get_data comment forgotten in 63086f4e26
.
...
This was SVN commit r26237.
2022-01-23 11:59:35 +00:00
ad5377bc0e
Fixes fancy water shores drawing after 1d9a8b2b0b
.
...
Reported By: wraitii
This was SVN commit r26231.
2022-01-20 17:31:21 +00:00
41fe3aafa4
Fixes minimap texture scissoring rect following b5d85e279f
. Fixes #6382
...
This was SVN commit r26229.
2022-01-19 17:40:26 +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
40e75f9c89
Removes binding additional attribute for water shader added in 1d9a8b2b0b
.
...
Reported By: Freagarach
This was SVN commit r26223.
2022-01-15 16:47:42 +00:00
a4a647e9f0
Removes unused variable in ParticleRenderer after fc223e3540
.
...
This was SVN commit r26222.
2022-01-15 16:29:26 +00:00
971b734873
Moves hardcoded blend state in debug overlay and water to their techniques.
...
This was SVN commit r26218.
2022-01-14 18:44:40 +00:00
fc223e3540
Moves hardcoded blend state in ParticleRenderer to the transparent particles technique.
...
This was SVN commit r26217.
2022-01-14 18:18:28 +00:00
829e37371b
Moves hardcoded blend state in CCanvas2D to its technique.
...
This was SVN commit r26216.
2022-01-14 17:44:42 +00:00
1d9a8b2b0b
Splits water surface and shore drawing functions and fixes their switch.
...
Differential Revision: https://code.wildfiregames.com/D4436
This was SVN commit r26215.
2022-01-14 17:34:58 +00:00
9aedcade7f
Draws slider button only inside its element.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4435
This was SVN commit r26213.
2022-01-14 06:50:44 +00:00
5cbd46de94
Removes deprecated GL alpha test.
...
In GL3.0 alpha test mode was deprecated and removed in GL3.3. We should
use discard/kill in shaders instead.
In shaders alpha test was removed in d3a24c26ba
, in FFP it was removed
with FFP in b7e6811ea6
.
Differential Revision: https://code.wildfiregames.com/D4434
This was SVN commit r26211.
2022-01-13 17:50:28 +00:00
a2ab6b9b72
Allow to cap FPS up to the current max refresh rates of gaming screens: 360Hz
...
Patch by: @OptimusShepard
Reviewed by: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4366
This was SVN commit r26207.
2022-01-13 14:30:23 +00:00
712b7ebf9a
Remove JS_New in favour of JS::Construct in preparation for SM91
...
Spidermonkey 91, the next ESR, removes JS_New in favour or
JS::Construct.
See
https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples/blob/migration-guide/docs/Migration%20Guide.md#object-construction
and
https://bugzilla.mozilla.org/show_bug.cgi?id=1491055
This change is SM78 compatible and therefore done beforehand.
Tested by: Freagarach
Refs #5986
Differential Revision: https://code.wildfiregames.com/D4427
This was SVN commit r26205.
2022-01-12 16:51:32 +00:00
6d28c44f0f
Removes unused method from CShaderTechnique.
...
This was SVN commit r26201.
2022-01-11 16:02:27 +00:00
9757cc2539
Removes direct shader binding, uses BeginPass always following e1374252b7
.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4431
This was SVN commit r26199.
2022-01-11 05:56:44 +00:00
2e38c117d2
Fixes comments of CLOSTexture and CTerritoryTexture following 57ba7c4a1c
.
...
This was SVN commit r26197.
2022-01-10 17:58:51 +00:00
0cda752ec3
Uses CVertexBufferManager handle instead of raw VBChunk pointer management.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4430
This was SVN commit r26196.
2022-01-10 16:51:43 +00:00
795fb070af
Removes asking GL of current bind framebuffer to avoid syncs.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4422
This was SVN commit r26193.
2022-01-09 07:36:56 +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
5610c71fc6
Fixes rendering big screenshot pieces onto screen, refs 52a8793450
.
...
This was SVN commit r26186.
2022-01-07 20:15:48 +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
15c40861b4
Separates terrain alphamap combining and uploading.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4419
This was SVN commit r26184.
2022-01-07 14:33:54 +00:00
9d7457da9b
Removes ogl_tex usage from CRenderer.
...
This was SVN commit r26181.
2022-01-06 23:23:36 +00:00
b061a7ead4
Optimizes FBO usages for LOSTexture and water shore foam.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4418
This was SVN commit r26180.
2022-01-06 22:44:54 +00:00
9bc3dd4699
Fixes terrain overlay texture upload after fd976456d7
.
...
Reported By: nwtour
This was SVN commit r26176.
2022-01-06 14:16:32 +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
cee0ce48eb
Disables redundant mipmap generation for postprocessing.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4417
This was SVN commit r26174.
2022-01-06 11:09:42 +00:00
27c8771a3a
Fixes debug drawing of a null shadow texture introduced in 36107cb7e1
, appeared after abc3190c03
.
...
Reported By: nwtour
This was SVN commit r26173.
2022-01-06 11:04:45 +00:00
f07fa81661
Renames LOS framebuffer object to follow CC.
...
This was SVN commit r26171.
2022-01-05 15:37:59 +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
0a8d382657
Fix OpenGL ES 2.0 Warnings.
...
This was SVN commit r26167.
2022-01-04 20:54:37 +00:00
5e3426794c
Moves frame rendering function to CRenderer and combines with making screenshots.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4414
This was SVN commit r26166.
2022-01-04 18:13:45 +00:00
87b5c233c5
Splits CRenderer part about scene to CSceneRenderer.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4412
This was SVN commit r26165.
2022-01-04 13:29:01 +00:00
3d2be697a2
Fix OpenGL ES build after ae32055c9b
.
...
This was SVN commit r26163.
2022-01-04 00:21:37 +00:00
2f90becb28
Removes SkipSubmit and unused friends from Renderer.
...
This was SVN commit r26162.
2022-01-03 12:16:16 +00:00
3e6b0780fa
Removes unused Renderer friends of removed classes, refs 8753f881ee
, 6bc33fe8bd
.
...
This was SVN commit r26161.
2022-01-03 12:00:37 +00:00
3b8f1cdc04
Moves Renderer internals class out of the global namespace.
...
This was SVN commit r26160.
2022-01-03 11:11:58 +00:00
6dc0abebdb
Removes unused includes from Renderer.
...
This was SVN commit r26159.
2022-01-03 10:59:41 +00:00
4fba543488
Unifies providing SkyManager and WaterManager like other managers, refs b889826a3d
.
...
This was SVN commit r26158.
2022-01-03 10:49:12 +00:00
7afe489214
Remove topology.cpp. The data isn't useful to us, and it prevents some players from running the game.
...
Fixes #6028
Differential Revision: https://code.wildfiregames.com/D4402
This was SVN commit r26157.
2022-01-03 10:29:34 +00:00
273d336364
Removes unused Atlas functionality to set clear color added in 2f53eea71a
and removed in 0d6882dad2
.
...
This was SVN commit r26156.
2022-01-03 09:39:54 +00:00
e9070a2630
Removes rand function usage from Atlas and unused rand include from particles.
...
This was SVN commit r26153.
2022-01-02 22:35:17 +00:00
e547704a54
Removes rand function usage from test_cache_adt.
...
This was SVN commit r26152.
2022-01-02 22:32:38 +00:00
8347c94e3a
Moves game load progress update function from GameSetup to CGUIManager.
...
This was SVN commit r26150.
2022-01-01 12:23:24 +00:00
7b8c66ec9f
Adds config settings for borderless fullscreen and window modes.
...
Tested By: bb, Langbart
Differential Revision: https://code.wildfiregames.com/D4106
This was SVN commit r26148.
2021-12-31 12:05:48 +00:00
202e248c93
Removes cinema path recording from atlas added in 2c71c22045
and not removed with ffmpeg in [[SVN:9520]], 4c395f4bf2
and 47b26e56d3
.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4411
This was SVN commit r26147.
2021-12-31 10:35:56 +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
abc3190c03
Removes binding native GLuint textures from public ShaderProgram API.
...
Differential Revision: https://code.wildfiregames.com/D4407
This was SVN commit r26143.
2021-12-30 16:37:51 +00:00