Shyotl
4043130f75
Update texturelist/volumetexture management with changes from upstream. Note: TEX_LIST_SCALE not utilized in singu... yet.
2019-10-19 04:05:34 -05:00
Shyotl
279d919164
Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer.git into animesh
2019-07-03 19:42:40 -05:00
Shyotl
b5cb6459b0
Tweak memory detection algorithm.
2019-07-03 16:00:16 -05:00
Router Gray
58d94e9883
Change some instances of {0} to {} to pacify compilers.
2019-05-24 12:06:30 -05:00
Shyotl
d7e7701927
Make texture fetch type (mFTType) a const member variable and remove from init() call. forceRefetch was clobbering mFFType via init call and firstinit boolean is a stupid hack.
2019-04-26 22:52:48 -05:00
Shyotl
e0194d4d06
Allow more than 2gigs of texture memory... Fix shader buggles.
2019-03-18 00:11:24 -05:00
Shyotl
3a78568a6f
Intermediary commit #2 .
2019-03-16 21:35:33 -05:00
Shyotl
5a7e0b05a4
Fixup texture compression.
2019-03-05 03:11:04 -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
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
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
Shyotl
a39844f9f3
Double the maximum texture memory.
2018-02-04 23:01:44 -06:00
Shyotl
f4a713a500
Merge.
2017-03-14 04:02:53 -05:00
Shyotl
027c3be694
Fix pickmasks.
2016-06-15 02:19:08 -05:00
Shyotl
f26a5e9d62
Added FTType to texture fetch methods. Baked texture fetch now uses dynamic retry policy.
2016-05-01 19:44:06 -05:00
Shyotl
55b5f60b68
V3 mesh, texture, and hover merge.
2016-04-26 13:36:39 -05:00
Shyotl
0841479ccc
llcommon merge. Added LLUnits.
2016-04-06 01:31:20 -05:00
Inusaito Sayori
990b5f9bb4
Linux Build Foxes
2015-06-19 19:55:56 -04:00
Shyotl
1c627317ec
No longer include llerrorlegacy.h. Updated llstl to include deletion utilites.
2015-06-19 03:54: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
Shyotl
96df7b82de
Change texture default to non-auto-alphamaskable, non-pickable. Only 'fetchable' textures may qualify for either.
2014-06-22 03:53:08 -05:00
Siana Gearz
e182173ee2
Fatal paranoia cure
2013-12-09 03:39:47 +01:00
Shyotl
af8f8bb040
Mats.
2013-11-02 01:20:05 -05:00
Shyotl
7c7c64bde3
Minor upstream catchup. Added LLImageRaw::duplicate and no_copy parameter to LLImageRaw::LLImageRaw
2013-10-26 16:39:31 -05:00
Shyotl
c47f6405d2
Texfetch/cache changes:
...
Added SEND_UDP_REQ and WAIT_UDP_REQ fetch states.
Parse 'content-range' from headers.
Purge 'complete' textures from the cache if they lack 'end of codestream' marker.
Added boostlevel/category to textureview display.
More diagnostic output.
Discard handling tweaks/bugfixes from v3.
2013-09-23 17:19:44 -05:00
Shyotl
ef3e918558
Initial moap commit. /VERY/ WIP. Primarily committed to clean up unstaged changes. Do not run this, even if it may compile, as it will NOT work (for a myriad of reasons)!
2013-05-31 05:33:41 -05:00
Drake Arconis
b800320a49
Remove LLMemType and related files
2013-03-04 12:02:01 -05:00
Shyotl
76f3dc9e19
Massive sunshine/viewer-dev catchup. Further implemented serverside baking and added/updated metrics feedback.
2013-02-19 01:50:46 -06:00
Shyotl
c5c1294d7d
Finished LLGLTexture. Migrated opengl related code from llui.h/cpp to llrender2dutils.h/cpp. Moved lluiimage to llrender library.
2013-01-07 20:12:14 -06:00
Shyotl
1083d7e0ef
Added LLGLTexture. Virtually completely virtual for now. Also added LLTextureManagerBridge, although not yet utilized.
2012-12-22 23:58:42 -06:00
Shyotl
0554ecae5c
Added explicit texture reloading. Accessable in the 'tools' submenus for the agent, avatars, and selected objects.
2012-12-02 17:06:54 -06:00
Shyotl
71deb8925e
Added some nullchecks, removed some dead code, and cleaned up a few small things.
2012-11-04 21:16:53 -06:00
Shyotl
67ee544231
Clear saved raw discard level upon texfetch cleanup. (missed this in an earlier commit)
2012-10-24 03:21:51 -05:00
Shyotl
5c45979783
Resolve issue with sculpties loading with incorrect discard levels.
2012-10-22 15:26:53 -05:00
Siana Gearz
6b8c58e3b5
Safe and probably pointless crash workarounds from FS and LL
2012-08-13 06:14:16 +02:00
Shyotl
349006637e
LL has played with texture discard priority/bias. Giving it a trial here.
2012-06-11 07:04:02 -05:00
Siana Gearz
70438fa06f
Catching up with Lindies part 3
2012-03-26 15:01:53 +02:00
Siana Gearz
83a3bbb48e
Fixies from viewer-development
2012-03-06 09:01:01 +01:00
Shyotl
e327e7a15e
Converted some frequent setting lookups to LLCachedControl
2012-01-30 03:49:52 -06:00
Shyotl
6374f012de
new fasttimers, including ui.
2012-01-23 18:30:54 -06:00
Lirusaito
61beedd3d9
Changed style of comments with asterisks to avoid highlighting errors on //* with weak highlighters, change is to all files that could potentially break highlights
...
Most were needed, though some were just for possible problems with highlighting, should not affect performance whatsoever.
2012-01-09 05:40:03 -05:00
CobraElDiablo
aad10c9b8d
SH-2516 Fix: Full Bright Geometry Rendering Increases Rapidly, Destroying Frame Rate. By Bao Linden
2011-12-28 04:27:04 +01:00
Shyotl
b607650d5c
V3 merge. Supposedly improves baked texture loading on other avatars. Also increase discard bias on ati if vram starts running out.
2011-12-16 05:57:48 -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
36600462d1
Merge branch 'future' of git://github.com/siana/SingularityViewer.git into BatchIndexing
...
Conflicts:
indra/newview/hippopanelgrids.cpp
indra/newview/llstartup.cpp
indra/newview/llsurface.cpp
indra/newview/llviewermessage.cpp
indra/newview/llviewerparceloverlay.cpp
indra/newview/llviewertexturelist.cpp
indra/newview/llworld.cpp
2011-09-09 16:53:12 -05:00
Shyotl
8d23a7d1d4
LLViewerTexture now has the ability to prevent raw images from being dumped for a specified period of time. Unused for now. Relates to mesh import. Also, BOOST_PREVIEW textures bumped to PO2.
2011-08-29 03:46:13 -05:00