Shyotl
c9954cf14e
Some cleanup missed in merge.
2013-01-08 17:07:05 -06:00
Shyotl
54771409d6
Merge branch 'master' into sunshine
...
Conflicts:
indra/llimage/llimage.cpp
indra/llui/llui.cpp
indra/newview/llvoavatar.cpp
2013-01-08 17:05:29 -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
d71210e942
Trivial changes, mostly to clean up diff noise. Majority of changes are comment corrections or licenseinfo updates. (does not include newview directory)
2013-01-07 14:44:54 -06:00
Shyotl
9596514c79
Dragged over lltexlayer, lldriverparam, lllocaltextureobject, llwearabledata
2013-01-04 20:50:35 -06:00
Siana Gearz
66083d6531
Removing leftover dead code
2012-12-28 21:07:19 +01:00
Shyotl
dd15b9234f
Migrated LLTexLayerParams. Renamed LLTexLayerSet(Buffer) to LLViewerTexLayerSet(Buffer), and provided simple bases in llappearance/lltexlayer.h to mimic new usage. Reworked various bits to work with these changes, and performed some basic cleanup of LLVOAvatar(Self)
2012-12-24 17:20:46 -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
b20f39d09f
Retain shader error logs across entire session.
2012-12-19 19:06:59 -06:00
Shyotl
2424d2a082
A little bit of postprocess shader tinkering.
2012-12-12 03:10:05 -06:00
Shyotl
6b05022530
Applied Tofu Linden's SSAO improvements. e189d55a7b
2012-12-08 16:51:38 -06:00
Shyotl
7aac61859f
Avoid excess calls to gGL.flush when bound texture hasn't actually changed.
2012-12-08 01:01:47 -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
794dbacea3
Merge branch 'master' of https://github.com/AlericInglewood/SingularityViewer.git into testpit
...
Conflicts:
indra/newview/lldrawpoolavatar.cpp
indra/newview/llviewertexturelist.cpp
indra/newview/llworldmap.cpp
indra/newview/pipeline.cpp
2012-11-29 11:54:41 -06:00
Shyotl
f25ca2ac80
Fixed small #if/#ifdef typo. Also fixed formatting error in strings.xml
2012-11-12 00:12:39 -06:00
Siana Gearz
303c74f4c9
Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer
...
Conflicts:
indra/llmessage/llurlrequest.cpp
indra/newview/llvoavatar.cpp
2012-11-12 06:46:58 +01:00
Siana Gearz
562acd6e2c
Merge branch 'master' of https://github.com/Shyotl/SingularityViewer
2012-11-12 04:12:57 +01: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
1a741b97d2
Fixed LLGLState::checkStates() failing upon context re-creation:
...
-After new context creation, immediately call LLRender::refreshState() after LLViewerWindow::initGLDefaults() in order to force states to apply.
--LLRender::initGLDefaults optimizes out gl calls by caching states, but the cached values are only applicable to the old context, not the new, so this optimization must be skipped (LLRender::mDirty).
-LLViewerWindow::mStatesDirty also triggered a redundant shader reload, since restoreGL also called setShaders().
Fixed somewhat annoying flicker of a single frame whilst recovering from screen resizing.
-Skip frame if LLViewerWindow::checkSettings() called LLViewerWindow::reshape. (reshape will set gWindowResized to true)
--True optimal fix will require some refactoring.
Reworked how window position is saved in LLViewerWindow::changeDisplaySettings. Hopefully reduces chances of odd behavior (had WindowX and WindowY get stuck at massive negative values before)
2012-10-25 20:42:58 -05:00
Shyotl
19390eaec3
Remove pointless framebuffer status check. glReadBuffer doesn't work with gl_depth_attachment, thus will always complain about readbuffer being absent. (it checks GL_COLOR_ATTACHMENT0, which isn't present because this check is before we attach color attachments.)
2012-10-22 02:55:21 -05:00
Shyotl
1b89e5c973
Dragged in a bunch of alignment fixes from LL. Should allow disabling of tcmalloc on windows/linux32 if such is ever implemented.
2012-10-16 02:33:05 -05:00
Shyotl
e8ec81bf04
Experimentation with normalpacking and component precision.
2012-10-14 04:00:02 -05:00
Lirusaito
fb713226a0
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
2012-10-12 13:50:56 -04:00
Shyotl
efbd339dc8
No return value? VisualStudio don' care.
2012-09-26 19:52:17 -05:00
Lirusaito
cb0c13a1a1
Merge branch 'master' of https://github.com/LightDrake/SingularityViewer
2012-09-23 10:25:22 -04:00
Aleric Inglewood
f3780998ed
Always reset stream state after using std::hex
2012-09-20 16:50:03 +02:00
Shyotl
ff81d9461a
Added motionblur postprocess shader.
...
Conflicts:
indra/newview/skins/default/xui/en-us/floater_post_process.xml
2012-09-19 15:33:58 -05:00
Drake Arconis
ffb847bbc0
Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer
2012-09-16 16:40:49 -04:00
Drake Arconis
f50d23a0d4
Fast Timers brought up to linden equiv
2012-09-14 00:30:52 -04:00
Siana Gearz
c8e3935648
GCC build fix
2012-09-14 02:56:40 +02:00
Shyotl
435b9cd1bb
Including these changes to llglshader might've been a good thing to do a few commits ago. Eups.
2012-09-14 02:44:51 +02:00
Shyotl
afc7c2b449
Better robustness when loading shaders. Redundant shaders (eg: "deferred/shadowF.glsl") will only need to be compiled once, and LLShaderMgr::mShaderObjects won't have previous entries mistakenly overwritten as a result.
2012-09-14 02:33:07 +02:00
Siana Gearz
04bb15a108
Fix anti-aliasing in FBO mode
2012-09-08 08:09:30 +02:00
Siana Gearz
29adc28d80
ivec4 still needed as texture index on some SONY VAIO and Toshiba ATI drivers.
...
This reverts commit b8b235df09 .
2012-09-02 19:26:28 +02:00
Shyotl
6ec4c65f04
A few nullchecks, and removal of pointless uint < 0 bounds checks.
2012-09-02 08:48:52 +02:00
Shyotl
a957d58939
SH-3238: Textures are loaded at lower detail on subsequent log-ins. http://hg.secondlife.com/viewer-development/changeset/e9975f600436ab692e541662bcadfa7a04c97e1d
2012-09-02 08:44:25 +02:00
Siana Gearz
e460bd9a69
Yet another attempt at getting old ATI drivers not to do all pink
2012-09-01 01:35:35 +02:00
Siana Gearz
e1a6b7e249
Correct a whoopsie there
2012-08-25 19:41:34 +02:00
Shyotl
b8276fd8e3
MAINT-685: Fix for disabling basic shaders making high detail terrain render incorrectly. http://hg.secondlife.com/viewer-development/changeset/218a7b78dcc5f53f38de063f3a229a7462fe052f
2012-08-20 05:10:15 +02:00
Lirusaito
f4324e8890
Merge branch 'future' of git://github.com/Lirusaito/SingularityViewer
...
Conflicts:
indra/llrender/llpostprocess.cpp
2012-08-10 23:39:06 -04:00
Siana Gearz
7743843a27
Merge branch 'AltCompilers' of git://github.com/LightDrake/SingularityViewer
...
Conflicts:
indra/newview/skins/default/xui/en-us/strings.xml
2012-08-09 03:46:03 +02:00
Siana Gearz
c84e145557
Merge branch 'future' of https://github.com/Shyotl/SingularityViewer
...
Conflicts:
indra/llrender/llrendertarget.cpp
indra/newview/lloverlaybar.cpp
2012-08-09 02:11:14 +02:00
Siana Gearz
de74443d76
Merge branch 'master' of https://github.com/Shyotl/SingularityViewer
...
Conflicts:
indra/newview/llvovolume.cpp
indra/newview/skins/default/xui/fr/panel_overlaybar.xml
2012-08-09 00:42:23 +02:00
Shyotl
d2b13f515d
Avoid several excessive per-frame LLView::getChildView calls by instead caching the results in postBuild. (Added CachedUICtrl, which is basically just a self-nulling pointer to not have to make ui ctors dirtier)
2012-08-03 20:51:53 -05:00
Shyotl
d9e5601e10
Manually vectorized some of the UI vertex operations.
2012-08-03 13:12:02 -05:00
Shyotl
c385133c84
Fixed noisemap not binding for the nightvision shader.
2012-08-03 13:10:16 -05:00
Drake Arconis
828b2c9bc0
Merge remote-tracking branch 'shyotl/master' into AltCompilers
2012-08-01 21:41:36 -04:00
Lirusaito
73fedf453c
Compile fixies~
2012-08-01 09:13:40 -04:00
Lirusaito
e03de192c8
Merge branch 'future' of git://github.com/Shyotl/SingularityViewer
...
Conflicts:
indra/newview/llvovolume.cpp
2012-08-01 06:48:42 -04:00