Commit Graph

7051 Commits

Author SHA1 Message Date
Shyotl
5a7e0b05a4 Fixup texture compression. 2019-03-05 03:11:04 -06:00
Shyotl
6dc2e9e6df Use proper symbol names 2019-03-04 11:12:20 -06:00
Shyotl
7317f28ab3 Clean up compressed texture handling. Exclude dynamic/client generated/local textures. Got rid of glh headers. 2019-03-04 02:03:45 -06:00
Shyotl
64931839cc Add compression textbox. Don't compress local assets. 2019-03-02 03:47:48 -06:00
Shyotl
e1cf05c327 Enable compressed texture. Also minor cleanup. 2019-03-01 22:19:11 -06:00
Shyotl
04ea11c61e Make gcc happier. 2018-11-20 02:49:57 -06:00
Shyotl
523717477d Experimental. Just busyloop mesh repo thread (hardcoded 60updates/second) instead of semaphore pingpong. Client behavior sucks and fetched meshes weren't being processed unless new mesh requests were being generated. 2018-11-19 00:48:50 -06:00
Shyotl
6d0b1889f2 Draw terrain before grass, because terrain is pretty cheap to draw, and hills are a thing and it would be nice if they z-culled. 2018-11-19 00:45:26 -06:00
Shyotl
bb67cba384 Bring alpha specular face blending in line with official viewer. 2018-11-19 00:43:51 -06:00
Shyotl
14e7b4aefe scrolllists were incredibly slow to render. This included the friends and groups lists. Should be much faster now due to not thrashing the bound texture quite as much. Also ui elements are culled on the cpu side if they are out of the current scissor region. list cells also had no clip logic, so added to that as well. 2018-11-19 00:43:00 -06:00
Shyotl
1b9ce0b511 Prevent camera from freaking (shaking violently and eventually displaying pinkscreen) out if zoomed in unreasonably close. 2018-11-19 00:40:41 -06:00
Shyotl
bf5e7b794e Change mesh fetch strategy a bit. Was getting stuck on stalled downloads forever instead of going on to other pending ones. 2018-11-19 00:39:49 -06:00
Shyotl
d7ee098a10 floorf was eating a fair bit of cpu time here. 2018-11-19 00:38:13 -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
0b4d789afb Altered LLIndexedVector. There's zero point to having a lookup map into an array like this. Just iterating down the array is faster than the map lookup (which iterates down a linked list...). A hash map would be a different case entirely. 2018-10-12 02:07:45 -05:00
Shyotl
55ad048b3a Bring specular behavior back in line with LL viewer. 2018-10-12 01:40:31 -05:00
Shyotl
f03249f5d5 Update manifest and lldir_linux to use new crt file. 2018-08-12 19:53:07 -05:00
Shyotl
0d8dfb41bc Fix gcc 4.9 build errors. 2018-08-12 18:26:07 -05:00
Shyotl
38c6302f11 Attempt to make mesh loading a little less choppy. 2018-08-11 01:09:04 -05:00
Shyotl
dcc13b447c Fix compile post liru merge. 2018-08-10 23:07:27 -05:00
Shyotl
5d2eb3e4cf Fixed hot spot in volume generation. 2018-08-10 23:07:13 -05:00
Shyotl
c8427140bd Merge branch 'master' of https://github.com/Lirusaito/SingularityViewer.git 2018-08-10 19:30:01 -05:00
Shyotl
23228e111c Ohgodthistypobrokeeverything. 2018-08-10 19:29:08 -05:00
Shyotl
2257e8ebe7 Add new required lib to newview. 2018-08-10 18:58:29 -05:00
Shyotl
3c87835f82 Delay mesh fetch retries to avoid hammering server endlessly if something goes wrong. 2018-08-10 18:57:39 -05:00
Shyotl
bc8c95a7f7 Minor cleanup. 2018-08-10 18:17:30 -05:00
Shyotl
369a3ed909 Replace CA file. 2018-08-10 18:16:48 -05:00
Shyotl
eb747e2304 Fix CURL failures 2018-08-10 18:05:00 -05:00
Lirusaito
e0df1a763c Optimize resync_anims so we don't have to iterate over Every Single Object
Also minor opt to partial name2key code.
2018-08-10 15:15:20 -04: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
Shyotl
b1b415e862 Actually deallocate oversized mesh loading buffer. 2018-08-07 01:12:09 -05:00
Shyotl
b5f0355015 Dpi awareness should be set before creating the application window. In theory dpi awareness shouldn't have worked without this. 2018-08-07 01:10:48 -05:00
Shyotl
d11899561b Optimization pass. 2018-08-07 01:09:53 -05:00
Shyotl
71f3002717 Merge branch 'master' of github.com:Shyotl/SingularityViewer
# Conflicts:
#	indra/newview/app_settings/shaders/class2/deferred/sunLightF.glsl
2018-08-06 20:42:32 -05:00
Lirusaito
9f03d1be05 How to enable "show muted text" box by default
Have a feature, Torric.
I should've already set this up long ago, sorry about that!
2018-07-27 15:38:01 -04:00
Lirusaito
899d1955c0 More SV-1908 2018-07-23 06:12:34 -04:00
Lirusaito
c962922e75 SV-1908 2018-07-23 05:53:00 -04:00
Lirusaito
562353929e Actually fix SV-2181 this time? I think. It seems to work. 2018-07-16 02:55:40 -04:00
Lirusaito
4c8bd8d3ca Sync some voice stuff 2018-07-15 12:12:21 -04:00
Lirusaito
e31c088470 Modernize the voice remote some. 2018-07-15 12:09:47 -04:00
Lirusaito
172eee49e5 Give local speakers lists a more radar-like menu 2018-07-15 11:56:35 -04:00
Lirusaito
14fd78a5af Do the scroll list menu thing more cleanly. 2018-07-15 11:54:23 -04: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
Lirusaito
ca2477a521 Update certificates 2018-07-15 06:00:09 -04:00
Lirusaito
c06c627002 Add four settings left out of 55b5f60b68 2018-07-13 20:54:49 -04:00
Lirusaito
6edd21bfe6 Don't limit the length of notecards and scripts, let the server scream at us instead. 2018-07-13 17:38:23 -04:00
Lirusaito
f1e6092b94 Sync LLViewerTexture with upstream 2018-05-02 19:30:47 -04:00
Lirusaito
1014841e2c Feature Request: Repair Uploaded by functionality
Clean up llviewertexture a bit while doing so.
Sync LLImage

Thanks to Cinder and the Alchemy Team for this buncha code.
2018-05-02 19:30:22 -04:00
Lirusaito
dd49033a08 Remove VSTool 2018-05-02 19:20:38 -04:00