Shyotl
4b6d1934c3
Clear out VAOs properly.
2019-09-29 19:29:03 -05:00
Shyotl
8ed9934a87
Fix memory tracking bug with vertex buffers. (Cosmetic. Only affects debug stats)
2019-04-08 18:13:28 -05:00
Shyotl
04ea11c61e
Make gcc happier.
2018-11-20 02:49:57 -06:00
Shyotl
736696ac36
Track glEnable states via static refs instead of map lookups.
...
Sync light state, bound shader, and various gl context states similarly to render matrices.
Texture handles now refcounted, as multiple viewer textures could ref the same handle (cubemaps do this)
Clean up gl extension loading a bit. Not necessary, but only look for ARB variants if not included in current core version. Removed unused extensions.
Use core shader api if supported, else use ARB. (FN signatures are identical. Just doing some pointer substitution to ARB if not core.)
Attempt at improving VBO update batching. Subdata updates better batched to gether per-frame.
There's probably other stuff I forgot that is in this changeset, too.
Todo: Fix lightstate assertion when toggling fullscreen with shaders off.
2018-11-19 00:37:48 -06:00
Shyotl
92eb988f2a
Pull in vertex buffer changes from alch.
2018-02-05 00:06:54 -06:00
Shyotl
1c627317ec
No longer include llerrorlegacy.h. Updated llstl to include deletion utilites.
2015-06-19 03:54:20 -05:00
Shyotl
061178ad82
Migrated gl matrix stack to LLMatrix4a
2014-06-22 03:34:51 -05:00
Shyotl
7158a3c83d
Fixed an annoying showstopper regarding rigged attachment vertex corruption. Rigged meshes have can have poor weighting, causing potential div-by-zero issues.
2014-05-08 15:11:12 -05:00
Shyotl
033880c8f9
Kill some vertex attribute / shader attribute inconsistencies. (Issue 1287, 1281) Also hopefully improved face edit overlay behavior when editing normal/specular texture/scale/offset/rotation.
2013-12-24 20:15:29 -06:00
Shyotl
af8f8bb040
Mats.
2013-11-02 01:20:05 -05:00
Siana Gearz
19625ea6b8
MAINT-2968 disable client GL namegen, go spec
2013-10-13 17:07:45 +02:00
Shyotl
f25eb07fab
Unstaged changes cleanup. Further vectorization. Change in binormal/bitangent calculation.
2013-10-09 15:43:23 -05:00
Shyotl
2bdd695d5f
Updated LLVertexBuffer to match v3 a bit better. Let's see how it fares.
2013-05-16 01:42:45 -05:00
Shyotl
0173c29630
Resolve compiler warning caused by silly temporary #define.
2012-11-09 23:32:57 -06:00
Shyotl
d54daa19a0
Allow trial of trasform feedback (for testing/benchmark) on hardware that declares support for GL_EXT_transform_feedback. Performance is far less than satisfactory on my hd4870(ogl3.3 gpu), however. Also messes up texcoords. Don't add RenderUseTransformFeedback to settings.xml.
2012-11-09 18:10:39 -06:00
Shyotl
bca4cf8584
Revert LLs recent VBO alterations, as they aren't proving to be all that great..
2012-07-11 17:13:37 -05:00
Shyotl
67e1a3b004
Lindie viewer-dev catchup regarding rendering pipeline.
2012-06-30 20:05:31 -05:00
Siana Gearz
70438fa06f
Catching up with Lindies part 3
2012-03-26 15:01:53 +02:00
Siana Gearz
459751f206
Catching up with Lindies part 1
2012-03-25 09:31:03 +02:00
Shyotl
f7b2139e81
Renderer update. Incl mac fixes, DoF improvements, windlight floater code cleanup. (shining-fixes merge)
2012-02-09 14:26:21 -06:00
Shyotl
afed6dad84
Fix deferred on mac. VBO cleanup. https://bitbucket.org/VirLinden/viewer-development-shining-fixes/changeset/853c76596bdb
2012-01-26 16:09:47 -06:00
Shyotl
b338506229
VBO updates from Vir Lindens shining fixes. VBO mapping perf improvement. Alpha rigged attachments render fix, hopefully. Crashfix in void pushWireframe.
2012-01-19 19:01:44 -06:00
Shyotl
ca96e00135
Enable gl sync fence. Missed a vertexbuffer flush. moved LLMultiFloater out of llfloater.(h|cpp) and into its own header and source file, matching v2.
2011-12-26 23:40:18 -06:00
Shyotl
ffb285c6ff
Huge renderer update (WIP). Still plenty to do, especially pertaining to UI.
...
-Nametag bubble visbility is oddly inconsistent. May vanish with future planned UI merges...
-VBOs are PAINFULLY slow on ATI hardware. This repos self-compiled davep/shining-fixes branch, so I'll leave the ball in LL's court for now regarding that.
2011-12-09 14:02:29 -06:00
Shyotl
174c1800cc
llgl/llglext updated. TODO: repackage glext from ll's viewer-development branch so this will compile. (I manually extracted glext-68-windows-20110406.tar.bz2 in my build environment just for now.)
2011-08-27 04:49:51 -05:00
Shyotl
9bda97786f
Batch indexing/no-fixed-function WIP.
2011-08-09 01:11:05 -05:00
Shyotl
7bcd259821
Added ShyotlRenderVBOStrideMode to toggle between strided and unstrided VBOs.
2011-08-05 19:24:17 -05:00
Shyotl
b75a28ec15
Cleanup. Applied http://hg.secondlife.com/mesh-development/changeset/3031f266784a
2011-08-05 01:18:27 -05:00
Shyotl
48ef9904c1
A pass at cleaning up LLVertexBuffer a bit. Also removing extra unbinds that caused synchronization issues with mapped vbos.
2011-07-21 01:48:46 -05:00
Shyotl
cc19a4c2da
Aligned strided vertexbuffers.
2011-07-20 23:54:16 -05:00
Shyotl
62e3aa10c1
Reasonably safe changes.
...
Using accessor for vertexbuffer in LLFace
Extra occlusion query lookup in llgl (unused)
Const changes.
2011-05-18 14:35:27 -05:00
Siana Gearz
e3f9b4dbbe
Help me keep track of VBOs
2011-05-07 05:47:13 +02:00
Shyotl
1b039a1be6
Deferred has sky and water textures now. Underwater is still borked.
...
Deferred fastalpha behaves a bit better.
Pulled over patch for https://jira.secondlife.com/browse/STORM-336 and https://jira.secondlife.com/browse/STORM-1011 from linden repo
Sky rendered using new LL method. Assuming this fixes issues on AMD cards(works on cat 11.2)
Added a few things missed related to spatial-parition updating.
Added 'SkipReflectOcclusionUpdates' setting that prevents occlusion updates for reflection pass. Less taxing on CPU.
2011-03-10 23:06:46 -06:00
Siana Gearz
5f7840a997
Make VBO optimization partially optional
...
Yuck, there is a vertexbuffer being built on static init -.-
2010-12-31 01:03:24 +01:00
Siana Gearz
b426c3874f
Streamlined writes to bus external memory
2010-11-16 16:46:53 +01:00
Beeks
59d7c33954
Collection of theoretical improvements for ATI cards, as well as a couple memory leaks. Thanks to Shyotl for bringing them up and offering solutions.
...
Signed-off-by: Beeks <HgDelirium@gmail.com >
2010-09-16 16:00:47 -04:00
Hazim Gazov
7a86d01598
Imported existing code
2010-04-02 02:48:44 -03:00