Commit Graph

267 Commits

Author SHA1 Message Date
Shyotl
c340dde03d Speculative fixes. 2020-02-29 22:15:27 -06:00
Shyotl
5c2c2a8c01 Minor cleanup. Octree vfunc reduction. Range-based for loops with map/array llsd types. 2020-02-25 01:50:50 -06:00
Rye Mutt
bcadee8575 Apply a lil alchemy blackmagic 2019-10-07 12:40:30 -04:00
Shyotl
f09b828217 Use wgl shared context lists to avoid re-creating gl context from scratch. 2019-08-07 23:02:34 -05:00
Shyotl
ea2b1e179e Removed unnecessary lighting assertions. Fixed compiler warning. 2019-07-23 20:49:17 -05:00
Shyotl
e49b484c2f Updated rigged mesh selection/cursor hover handling. 2019-04-11 01:16:50 -05:00
Shyotl
af8bb2a992 Trivial cleanup. 2019-04-03 13:56:26 -05:00
Shyotl
f3afe45e72 Fixed some gl errors. 2019-03-25 02:56:20 -05:00
Shyotl
b81373366b Animesh test changes. Also stop screwing with my commit messages, github. 2019-03-17 02:35:07 -05:00
Shyotl
aa37a0b539 Intermediary commit #3 2019-03-17 01:08:34 -05:00
Shyotl
3a78568a6f Intermediary commit #2. 2019-03-16 21:35:33 -05:00
Shyotl
2d8fbb89c9 Intermiediary commit. 2019-03-16 17:51:00 -05:00
Shyotl
5a7e0b05a4 Fixup texture compression. 2019-03-05 03:11:04 -06:00
Shyotl
e1cf05c327 Enable compressed texture. Also minor cleanup. 2019-03-01 22:19:11 -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
fe764ae97f Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2018-08-07 21:46:07 -05:00
Shyotl
0fc962454d Fix shadows on basic alpha faces. 2018-08-07 01:53:06 -05:00
Lirusaito
c056eacfab Fix SV-2179: Wireframe - Rendering. Works only when Adv.light.model is disabled.
(Don't toggle ALM while in wireframe, bad things will happen...
or do, who am I to tell you how to live your life?
It'll look pretty cool actually, to fix that noise just toggle Wireframe once or twice.)
2018-07-15 06:26:04 -04:00
Shyotl
a3b37f58e3 Tweak shadows to look a little less crap. 2018-02-04 23:00:55 -06:00
Shyotl
647e6afa14 Tweak shadows to look a little less crap. 2017-11-25 19:20:21 -06:00
Shyotl
f95be54bd5 Merge https://github.com/Lirusaito/SingularityViewer/tree/Release
# Conflicts:
#	indra/newview/app_settings/settings_sh.xml
2017-03-27 23:25:33 -05:00
Shyotl
97a6f3a7b2 noisemap tweaks and cleanup. 2017-03-27 23:13:56 -05:00
Lirusaito
8e59d9800d Merge branch 'master' of git://github.com/Shyotl/SingularityViewer into Release
Fixed pipeline conflict over Mika/Shyotl variable naming differences.
2017-03-20 08:08:06 -04:00
Shyotl
f4a713a500 Merge. 2017-03-14 04:02:53 -05:00
Shyotl
d42e380698 Minor cleanup. 2017-03-13 23:54:56 -05:00
Shyotl
75c47e96b6 Fixed numerous bugs. 2017-03-09 23:49:56 -06:00
Shyotl
d39ad79986 Update more full-screen shaders to no longer require texcoord attribs. 2017-02-18 01:18:39 -06:00
Shyotl
b9c3ca535d Remove temporary render target used for debugging prior changes. 2017-02-17 23:41:10 -06:00
Shyotl
5e501b9611 Removed TT_RECT_TEXTURE and removed unnecessary shaders. 2017-02-17 23:37:46 -06:00
Shyotl
693781a014 Remove all QUADS usage. Replaced with TRIANGLES and TRIANGLE_STRIP. May do another pass and replace un-textured TRIANGLE_STRIPs with TRIANGLES to reduce flush calls. 2017-02-11 02:03:06 -06:00
miKaぴょん
14ee1c5189 Make Second Life glow again.
Thank you Shyotl for hand-holding and instructions!
2017-01-14 08:38:00 +01:00
Shyotl
583ea76c85 Experimental amd gpu workaround. 2016-08-22 22:33:28 -05:00
Shyotl
0841479ccc llcommon merge. Added LLUnits. 2016-04-06 01:31:20 -05:00
Lirusaito
e62261edb2 Sync with Alchemy, includes much awaited lib updates for Linux
Applies ALCH-420 - Replace all invisiprims with fully transparent texture and remove dead code paths
-ARC no longer takes invisis into consideration.

Syncs some script keywords updates.

Changes all "\n" in llfloaterabout.cpp to '\n' because screw.dat
2016-03-27 23:24:17 -04:00
miKaぴょん
6be5a24d5e Draw physics shapes instead of black screen. 2015-11-02 16:48:01 +01:00
Shyotl
0b6e69de7e Better handling of texture filtering in deferred post-process passes. TODO: Investigate incorrect fxaa behavior when resolution divisor isn't 1.0. 2015-07-23 01:38:03 -05:00
Shyotl
dbd1eb0d68 Apply occlusion refactor. 2015-07-23 01:24:12 -05:00
Shyotl
1c627317ec No longer include llerrorlegacy.h. Updated llstl to include deletion utilites. 2015-06-19 03:54:20 -05:00
Shyotl
0688cda8d2 More thorough VBO teardown in resetVertexBuffers/stopGL. Also, found cases where gGL.init failed to be called when it should have been. 2015-06-01 17:58:19 -05:00
Shyotl
7a9a4f3e1e Local light setting toggle behavior was incorrect with shaders enabled. 2015-06-01 16:54:36 -05:00
Shyotl
d4a56c6d94 Toss attachments into their own bridge that sets their type to TYPE_AVATAR, and use generic bridge for plain old 'active' volumes. Resolves issue where non-attached ACTIVE flagged linksets would be included in the avatar render type, and thus would vanish when such type was disabled. 2015-05-22 16:14:57 -05:00
Shyotl
af020ad558 LLViewerShaderMgr::setShaders() should be called unconditionally upon restoreGL. 2015-05-18 15:36:50 -05:00
Shyotl
966c5aa409 Remove redundant methods of checking if shaders are enabled. Just use LLGLSLShader::sNoFixedFunction. 2015-05-16 02:31:06 -05:00
Inusaito Sayori
eef7596aeb Combine renderPhysicsDisplay code loops, but don't actually fix any bugs X3 2015-01-13 00:46:20 -05:00
Shyotl
e59757e3e8 Clean up a few harmless compiler warnings (signed/unsigned, double to float) 2014-08-20 19:43:32 -05:00
Lirusaito
f82d12d381 Fix linker errors on linux after merging Shyotl 2014-08-07 01:54:56 -05:00
Shyotl
16fe6d0dcf Fix compile. Remove call to temporary matrix sanity check. 2014-07-21 01:27:45 -05:00
Shyotl
7d8af7d413 Use one shared vbo to draw fullscreen rectangles in LLPipeline, for both deferred and non-deferred. Provides a nice bit of cleanup. 2014-07-03 17:09:27 -05:00
Shyotl
39810ed516 Removed several unused variables from LLPipeline 2014-07-03 02:34:10 -05:00
Shyotl
21f677cf58 Remove glh::matrix4f variant of glh_get_current_modelview. 2014-06-24 01:23:08 -05:00