1ff3b45a1e
Adds more checks for vertex and index buffer creations.
...
This was SVN commit r26502.
2022-02-27 20:21:07 +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
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
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
92cf0c784c
Removes Handle from ShaderProgram to use more high-level objects.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4403
This was SVN commit r26138.
2021-12-29 07:07:08 +00:00
0c23e595fa
Include CStrInternStatic where necessary only.
...
This makes incremental recompilation faster when changing static
interned strings.
Differential Revision: https://code.wildfiregames.com/D3975
This was SVN commit r25457.
2021-05-18 11:09:54 +00:00
5ff4fa19c0
Removes unused and outdated includes, replaces some includes by forward declarations.
...
This was SVN commit r25444.
2021-05-15 17:27:01 +00:00
c56c856ed5
Moves Frustum from graphics to maths to more related geometric primitives like bounding ones.
...
This was SVN commit r25159.
2021-03-29 17:28:13 +00:00
9ae084519f
Fix most of the new vs2017 induced warnings.
...
Refs: https://code.wildfiregames.com/D3096
https://code.wildfiregames.com/D3103 #5862
Reviewed by: @wraitii
Comments by: @Angen
Differential Revision: https://code.wildfiregames.com/D3126
This was SVN commit r24268.
2020-11-26 22:28:50 +00:00
8c77c4b2b6
Refactors coordinates of SOverlayTexturedLine, replaces array of floats by array of CVector2D.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D3072
This was SVN commit r24144.
2020-11-08 14:47:25 +00:00
df329d1b81
Optimise out of frustum rendering of texture overlays.
...
Reviewed By: wraitii
Commented By: Stan
Differential Revision: https://code.wildfiregames.com/D1847
This was SVN commit r23229.
2019-12-10 23:13:37 +00:00
f1de8eb4ba
Removes usages of duplication of Clamp function in gui, ps and renderer. Refs D1763.
...
This was SVN commit r22926.
2019-09-18 14:44:31 +00:00
5c01b50ca4
Add FALLTHROUGH, which in the best case is just [[fallthrough]].
...
Note that this does not fix the warnings in AtlasObjectXML, someone
interested
in fixing those should check whether using ICU would be a nicer
solution.
Reviewed By: echotangoecho
Differential Revision: https://code.wildfiregames.com/D740
This was SVN commit r20095.
2017-09-01 20:04:53 +00:00
be2b2faa77
Properly apply texture to the last quad of an overlay textured line. Reviewed by vladislavbelov.
...
Fix #4617 .
Differential Revision: https://code.wildfiregames.com/D663
This was SVN commit r19833.
2017-06-26 13:04:21 +00:00
9f50bf3f1e
Only dereference cmpWaterManager if it is non-null.
...
Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D259
This was SVN commit r19340.
2017-03-24 21:32:49 +00:00
6149dd3841
Actually remove trailing whitespace for non-header files as well.
...
This was SVN commit r18989.
2016-11-23 13:02:58 +00:00
b1c081e36d
Set svn:eol-style=native, fix some inconsistent line endings
...
This was SVN commit r14299.
2013-12-06 00:42:50 +00:00
994ebd9836
Add a list of statically-constructed CStrIntern strings
...
Switch all the constant strings in graphics code to use the new
variables.
This avoids the cost of instantiating CStrInterns at runtime every
frame.
This was SVN commit r13906.
2013-09-29 13:19:52 +00:00
821cfe8862
Removed reverse dependency on SOverlayTexturedLine from CTexturedLineRData; fixes dangling pointer dereference. Fixes #1495 .
...
This was SVN commit r11979.
2012-06-17 03:40:35 +00:00
da719b883c
Split out code specific to textured overlay lines construction from OverlayRenderer into its own files.
...
This was SVN commit r11933.
2012-06-02 21:19:20 +00:00