Commit Graph

280 Commits (4f00a13f5ea9bea712a0313562a86cbff07342ad)

Author SHA1 Message Date
Nicky 985730a52c Merge. 2017-05-18 17:40:24 +02:00
Oz Linden 60aade5ea2 add some extra logging to feature table parsing 2017-05-15 15:09:57 -04:00
Nat Goodspeed 52899ed62a DRTVWR-418, MAINT-6996: Rationalize LLMemory wrt 64-bit support.
There were two distinct LLMemory methods getCurrentRSS() and
getWorkingSetSize(). It was pointless to have both: on Windows they were
completely redundant; on other platforms getWorkingSetSize() always returned
0. (Amusingly, though the Windows implementations both made exactly the same
GetProcessMemoryInfo() call and used exactly the same logic, the code was
different in the two -- as though the second was implemented without awareness
of the first, even though they were adjacent in the source file.)

One of the actual MAINT-6996 problems was due to the fact that
getWorkingSetSize() returned U32, where getCurrentRSS() returns U64. In other
words, getWorkingSetSize() was both useless *and* wrong. Remove it, and change
its one call to getCurrentRSS() instead.

The other culprit was that in several places, the 64-bit WorkingSetSize
returned by the Windows GetProcessMemoryInfo() call (and by getCurrentRSS())
was explicitly cast to a 32-bit data type. That works only when explicitly or
implicitly (using LLUnits type conversion) scaling the value to kilobytes or
megabytes. When the size in bytes is desired, use 64-bit types instead.

In addition to the symptoms, LLMemory was overdue for a bit of cleanup.

There was a 16K block of memory called reserveMem, the comment on which read:
"reserve 16K for out of memory error handling." Yet *nothing* was ever done
with that block! If it were going to be useful, one would think someone would
at some point explicitly free the block. In fact there was a method
freeReserve(), apparently for just that purpose -- which was never called. As
things stood, reserveMem served only to *prevent* the viewer from ever using
that chunk of memory. Remove reserveMem and the unused freeReserve().

The only function of initClass() and cleanupClass() was to allocate and free
reserveMem. Remove initClass(), cleanupClass() and the LLCommon calls to them.

In a similar vein, there was an LLMemoryInfo::getPhysicalMemoryClamped()
method that returned U32Bytes. Its job was simply to return a size in bytes
that could fit into a U32 data type, returning U32_MAX if the 64-bit value
exceeded 4GB. Eliminate that; change all its calls to getPhysicalMemoryKB()
(which getPhysicalMemoryClamped() used internally anyway). We no longer care
about any platform that cannot handle 64-bit data types.
2017-05-02 10:51:18 -04:00
Nicky 56d01fc1f6 Skip gpu_benchmark if the startup paramert -noprobe is present. This can be used as a last resort option if gpu_bench hangs or crashes (eg on some Intel chipset/driver/windows combination). 2017-04-24 15:06:36 +02:00
Ansariel 40f8fa3637 With all the meshes with high res textures flying around nowadays this seems to be a good idea... 2017-03-25 14:31:49 +01:00
Ansariel cb968152b0 Merge viewer-bear 2016-05-28 14:34:35 +02:00
AndreyL ProductEngine 0d5edb03a2 MAINT-6435 Deafult preset should set the same settings as the "Reset to recommended settings" button 2016-05-27 03:34:37 +03:00
Ansariel Hiller e5b206c321 Fixed startup crash on Windows 2016-05-02 11:34:14 +00:00
Ansariel d3d6aeb26a Crash fix at startup on Windows 2016-05-02 13:29:47 +02:00
Ansariel 14f0ed0144 Merge viewer-quickgraphics 2016-05-02 09:41:12 +02:00
Oz Linden f495ca8f1a Adjust some avatar complexity defaults (mostly slightly upwards)
Make more settings between mac and windows the same
Remove solaris and xp featuretables, since we don't support them any more
2016-04-29 10:52:43 -04:00
Ansariel 2797c5938a Merge Firestorm LGPL 2016-04-05 10:47:23 +02:00
Oz Linden 9be58e915a merge with 4.0.3-release 2016-04-04 15:53:09 -04:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Oz Linden 5822fb00b6 merge DRTVWR-398 build cleanup fixes 2016-03-07 12:41:11 -05:00
Nicky 6b0da7af72 Merge. 2016-01-17 01:05:13 +01:00
Ansariel 354812cc68 Merge Firestorm LGPL 2016-01-16 19:10:08 +01:00
Oz Linden bc22e58743 merge changes for 4.0.1-release 2016-01-15 16:55:04 -05:00
Rider Linden e7eaa94dfa Merge VR 2016-01-15 13:36:38 -08:00
Oz Linden 9848fc4253 merge changes for 4.0.1-release 2016-01-15 17:01:16 -05:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Ansariel ffbabb46e4 Merge viewer-bear 2015-11-06 19:35:20 +01:00
andreykproductengine d048afe845 MAINT-5743 Fixed Remove gpu_table and references to it from viewer packaging 2015-11-02 20:31:15 +02:00
Nicky c218e524b2 Merge - Step 1; Still enough to do. 2015-10-26 20:20:13 +01:00
Oz Linden d7c8678c3a merge 5.1.0-release 2018-01-17 12:43:28 -05:00
Nat Goodspeed 0c7bc67814 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2017-10-11 14:35:49 -04:00
Oz Linden d62ad1ef8a merge changes for 5.0.8-release 2017-10-11 09:13:55 -04:00
Oz Linden f9e049c9e5 add some extra logging to feature table parsing 2017-05-15 15:09:57 -04:00
Ansariel 5524d38dff Merge viewer-quickgraphics 2015-10-03 16:38:26 +02:00
Rider Linden 75c6549fde Set consistent terminology for yield/wait -> suspend for coroutines. 2015-09-18 11:39:22 -07:00
Rider Linden e0c27db167 Correct use of filename vs. path in llfeaturemanager coroutine. 2015-09-03 12:34:21 -07:00
Oz Linden a35fec156e add some debug logging, fix broken indentation 2015-08-31 17:25:12 -04:00
Nat Goodspeed efa9a0f99c Backed out changeset bab1000e1b2d: restore 'selfless' changes 2015-07-10 19:30:10 -04:00
Rider Linden 247eb0c9c3 Backout selfles merge 738255dbbfd679d9e615baab3398e5e345bbb3c5 2015-07-07 19:41:27 +01:00
Nat Goodspeed b262ded7e0 MAINT-5351: Remove 'self' parameter from coroutine functions.
lleventcoro_test.cpp runs clean (as modified for new API), and all the rest
builds clean, but the resulting viewer is as yet untested.
2015-07-01 18:33:29 -04:00
Oz Linden 95fc2d48ec merge changes for 3.7.30-release 2015-06-15 15:53:45 -04:00
Rider Linden 0d3fb07bfa Remove vestigial httpclient.h include from files that no longer need it. 2015-06-03 16:04:40 -07:00
Rider Linden f26fb73dd8 Address Nat's concerns about the const_cast<> and modification of a binary object wrapped in an LLSD object. 2015-05-15 12:51:18 -07:00
Rider Linden dcac06d7d2 table -> tableName for non windows builds. 2015-05-11 17:36:58 -07:00
Rider Linden 3e004ce66e Updated feature manager downloader to coroutine.
Added "raw" coroutine handler (returns raw result as LLSD::Binary) and split out the guts of the get, put, etc methods.
Moved getStatusFromLLSD from HttpCoroHandler into HttpCorutineAdapter
2015-05-11 16:52:02 -07:00
Oz Linden 5c6cf3e7fb restore the ll[io]fstream because we need them as wrappers on Windows for wide char paths; on other platforms they are now just typedefs to the std classes 2015-04-10 11:02:37 -04:00
Oz Linden 8b42c7898e replace llifstream and llofstream with std::ifstream and std::ofstream respectively 2015-04-07 17:59:28 -04:00
Oz Linden 3a57b18896 convert llifstream and llofstream to std::ifstream and std::ofstream respectively 2015-04-07 17:28:05 -04:00
Nicky 006190f2a1 Merge with tools update. 2015-05-05 13:09:27 +02:00
Oz Linden 3cf8a1ce6e Clean up impostors and visual muting
Rename the settings that control them to be more descriptive
Remove the separate boolean setting (RenderUseImpostors) that governed both
Establish default values based on gpu class for impostors and visual muting
2015-02-20 12:56:45 -05:00
Oz Linden dab5acd972 merge changes for 3.7.22-release 2014-12-15 12:34:18 -05:00
Oz Linden cd4babf94b remove unused gpu table code, improve logging for gpu benchmarks 2014-12-01 16:58:07 -05:00
Graham Linden 4ee98e1fc9 Attempt to thread needle for guesstimation phase of GPU classification 2014-11-24 15:30:11 -08:00
Graham Linden acd0a5ed00 Tweak conversion from tested bandwidth to get better reads on low-end systems 2014-11-21 11:15:39 -08:00
Graham Linden d8040ad434 Put back old thresholds to try to get better match on old/new identification per-card 2014-11-20 12:13:36 -08:00
Graham Linden a730187a5f Adjust gpu_bench thresholds and move VB set outside loop again for speed 2014-11-18 15:28:29 -08:00
Nat Goodspeed b30c8ed9c5 Comment out now-unused GPU_TABLE_FILENAME in llfeaturemanager.cpp.
The "death to the GPU table" change has commented out the only references to
the GPU_TABLE_FILENAME constant, and Xcode 6.x regards that as an error.
2014-11-14 13:29:14 -05:00
Ansariel 824bdebd79 Merge LL V3.7.22 2015-01-15 14:17:42 +01:00
Tank_Master 93c0ece928 Merge LL v3.7.20 2015-01-15 01:17:02 -08:00
Techwolf Lupindo 7cc00567dc Build fix. 2015-01-13 07:28:03 -05:00
Techwolf Lupindo 13c35f19ef GPU table download bugfix. Process the headers to pick up and set mLastModified. 2015-01-12 20:15:43 -05:00
Tank_Master c3466ac315 Backed out changeset: 6e3af080d67a - benchmark code (prep for later mergeing) 2015-01-10 09:43:21 -08:00
Tank_Master 73d73abfb0 Backed out changeset: d72eff9c793b - benchmark code (prep for later mergeing) 2015-01-10 09:42:58 -08:00
Tank_Master 4530305324 Backed out changeset: 6b7f07b5b1c1 - benchmark code (prep for later mergeing) 2015-01-10 09:42:32 -08:00
Ansariel e1ce6e3d58 Merge Firestorm LGPL tip 2015-01-08 23:12:58 +01:00
Ansariel f4bfb1aadf Merge LL V3.7.9 (AIS3 + SSA) 2014-10-22 02:02:08 +02:00
davep 4caa2746f3 MAINT-3131 Discard improbably high memory bandwidth measurements on OSX and default to Class 3 2014-09-19 13:01:41 -05:00
Dave Parks d0428575fb Automated merge with http://bitbucket.org/lindenlab/viewer-release 2014-06-19 13:14:42 -05:00
Brad Payne (Vir Linden) 487ca1bad3 v-r -> s-e merge WIP 2014-05-14 17:50:59 -04:00
Brad Payne (Vir Linden) 7b9708a2e3 sunshine-external merge WIP 2014-05-13 10:02:26 -04:00
Dave Parks c142696f9d MAINT-3131 Actually fallback to GL version guess instead of treating error value from gpu_benchmark as actual memory bandwidth. 2014-03-21 14:33:46 -05:00
Dave Parks 24f8745914 MAINT-3131 Use benchmark to determine GPU class instead of GPU table. 2014-03-19 17:57:00 -05:00
Brad Payne (Vir Linden) d9e3a2948a merge 2014-03-12 17:24:07 -04:00
Richard Linden 5b846ed2a6 merge with release 2014-03-12 12:48:43 -07:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Tank_Master 3d1ac7c0ec Merge LL 3.7.3 (Viewer-Bear fixes) 2014-03-17 14:14:15 -07:00
davep df58a78ece MAINT-3131 Discard improbably high memory bandwidth measurements on OSX and default to Class 3 2014-09-19 13:01:41 -05:00
Dave Parks 3043baba56 MAINT-3131 Actually fallback to GL version guess instead of treating error value from gpu_benchmark as actual memory bandwidth. 2014-03-21 14:33:46 -05:00
Dave Parks fbfd010381 MAINT-3131 Use benchmark to determine GPU class instead of GPU table. 2014-03-19 17:57:00 -05:00
Graham Madarasz (Graham Linden) e7021407cb MAINT-3639 disable ALM for OSX 10.6.8 2014-02-11 10:16:11 -08:00
Brad Payne (Vir Linden) 744cf6be8d merge 2013-12-05 10:39:35 -05:00
Richard Linden 34ff2fc46b merge with release 2013-12-02 14:57:29 -08:00
Brad Payne (Vir Linden) 1f8b37e9ad merge 2013-10-16 11:52:43 -04:00
Richard Linden 80dfbbaacd merge from viewer-release 2013-10-08 11:59:24 -07:00
Graham Linden 0103cac1dd Merge viewer-bear maint RC changes to get this build closer to the RC it will follow 2013-09-26 11:44:40 -07:00
Tank_Master 3603c4f992 Merge ll 3.6.11 2013-11-23 20:22:24 -08:00
maksymsproductengine bd0a8c7ee9 MAINT-3128 FIXED Advanced graphical settings are not changing when dragging "Quality and Speed" slider 2013-09-11 00:41:10 +03:00
Richard Linden 52da9f5f49 merge with viewer-release 2013-09-09 18:58:41 -07:00
Oz Linden 980802e468 STORM-1552: detect, ignore, and delete invalid feature and gpu table files 2013-09-05 22:06:16 -04:00
Brad Payne (Vir Linden) 144eb1912d merge 2013-09-04 13:41:51 -04:00
Richard Linden 612892b45a SH-4433 WIP: Interesting: Statistics > Ping Sim is always 0 ms
continued conversion to units system
made units perform type promotion correctly and preserve type in arithmetic
e.g. can now do LLVector3 in units
added typedefs for remaining common unit types, including implicits
2013-08-18 22:30:27 -07:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Richard Linden a2e22732f1 Summer cleaning - removed a lot of llcommon dependencies to speed up build times
consolidated most indra-specific constants in llcommon under indra_constants.h
fixed issues with operations on mixed unit types (implicit and explicit)
made LL_INFOS() style macros variadic in order to subsume other logging methods
such as ll_infos
added optional tag output to error recorders
2013-07-30 19:13:45 -07:00
Nat Goodspeed c08b60ac6f CHOP-959: Streamline processing for --graphicslevel switch.
Use map-to in cmd_line.xml to inform the command-line processor that the
target variable for --graphicslevel is RenderQualityPerformance.
That lets us eliminate clunky llappviewer.cpp switch from '0' to 0, etc.
Moreover, previous switch statement only accepted 0 - 3, whereas
LLFeatureManager::setGraphicsLevel() actually accepts 0 - 6. Introduce
LLFeatureManager::isValidGraphicsLevel() and use that to validate.
Replace switch statement in setGraphicsLevel() mapping int constants to string
literals with static vector of level names, using same data for mapping as for
validating level numbers.
2013-06-28 15:26:18 -04:00
Brad Payne (Vir Linden) a04a706c1b merge 2013-05-21 16:18:48 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Don Kjer f945415210 Large changes to the LLCurl::Responder API, as well as pulling in some changes to common libraries from the server codebase:
* Additional error checking in http handlers.
* Uniform log spam for http errors.
* Switch to using constants for http heads and status codes.
* Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error.
* Reduced spam regarding LLSD parsing errors in the default completedRaw http handler.  It should not longer be necessary to short-circuit completedRaw to avoid spam.
* Ported over a few bug fixes from the server code.
* Switch mode http status codes to use S32 instead of U32.
* Ported LLSD::asStringRef from server code; avoids copying strings all over the place.
* Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob.
* Ported server pretty notation format (and pretty binary format) to llsd serialization.

* The new LLCurl::Responder API no longer has two error handlers to choose from.  Overriding the following methods have been deprecated:
** error - use httpFailure
** errorWithContent - use httpFailure
** result - use httpSuccess
** completed - use httpCompleted
** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers.

* In order to 'catch' a completed http request, override one of these methods:
** httpSuccess - Called for any 2xx status code.
** httpFailure - Called for any non-2xx status code.
** httpComplete - Called for all status codes.  Default implementation is to call either httpSuccess or httpFailure.
* It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below).

* Uniform error handling should followed whenever possible by calling a variant of this during httpFailure:
** llwarns << dumpResponse() << llendl;
* Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context.

* In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed.
* Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class).
* Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods:
** successResult - Sets results and calls httpSuccess
** failureResult - Sets results and calls httpFailure
** completedResult - Sets results and calls httpCompleted

* To obtain information about a the response from a reponder method, use the following getters:
** getStatus - HTTP status code
** getReason - Reason string
** getContent - Content (Parsed body LLSD)
** getResponseHeaders - Response Headers (LLSD map)
** getHTTPMethod - HTTP method of the request
** getURL - URL of the request

* It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO.

* See indra/llmessage/llcurl.h for more information.
2013-03-13 06:26:25 +00:00
Graham Madarasz 3c5ac77a92 For MAINT-2157 Codereview: DaveP 2013-02-07 09:02:51 -08:00
Tank_Master 119ce81029 Merge viewer bear updates + merge fixes 2013-09-23 22:10:59 -07:00
Tank_Master 52d9b07503 Merge viewer-bear 2013-09-12 21:15:34 -07:00
Tank_Master 5a8d94c50f Merge LL 3.6.4 pass 1 2013-08-28 00:10:39 -07:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Nicky 3b94a2f8de Properly handle unicode pathnames in llfeaturemanager under Windows. 2013-06-17 16:53:20 +02:00
Techwolf Lupindo 91363ed5bf Downloadable gpu/feature table support.
Backout changesets 22574/c36e39f86509 22769/922e34c3d661 22766/b729996184e5 by hand.
Change filename saved/downloaded to shortVersion instead of fullVersion.
Added "last modified" for proper cacheing of the downloaded files.
2013-06-14 00:43:35 -04:00
Dave Parks 954ebaed84 Automated merge with https://bitbucket.org/lindenlab/viewer-tiger 2013-01-08 13:40:59 -06:00
simon@Simon-PC.lindenlab.com 716e2ea3b1 Pull and merge viewer-development 2012-12-12 10:58:47 -08:00
Nat Goodspeed e1da5bda78 merge changes for DRTVWR-257 2012-12-05 18:18:16 -05:00
Dave Parks 1f2b88803e MAINT-1953 Run through viewer stats and update GPU table with missing entries and new expected OpenGL versions 2012-12-04 16:10:15 -06:00
Dave Parks e83700b56d MAINT-1991 Attempt to mitigate crashes in GL drivers by encouraging people to update their drivers.
Reviewed by Simon
2012-11-30 17:03:12 -06:00
Dave Parks 73d1b4f79c MAINT-1950 Add hashmarks to detail slider and put "Ultra" back in setGraphicsLevel
Reviewed by Simon
2012-11-26 13:22:25 -06:00
Dave Parks 4aa818055e MAINT-1950 Add hashmarks to detail slider and put "Ultra" back in setGraphicsLevel
Reviewed by Simon
2012-11-26 13:22:25 -06:00
Dave Parks ccef9ab267 MAINT-2086 Separate GPU class from settings more completely to avoid GPU dependent behavior when manually adjusting detail slider. 2012-12-12 16:42:06 -06:00
Dave Parks fd3cbbaa27 MAINT-2090 Make gcc happy 2012-12-12 15:23:50 -06:00
Dave Parks e0bc069af2 MAINT-2090 Never enable lighting and shadows by default on OS X 2012-12-12 14:52:36 -06:00
Nat Goodspeed b6f0921099 Automated merge with file:///Users/nat/linden/davep-viewer-development-rebased 2012-09-06 19:02:39 -04:00
Dave Parks 9611356556 MAINT-1491 Integration of statistically generated GPU table -- enable shadows by default where appropriate. 2012-08-28 13:52:14 -05:00
Tank_Master 5494524b61 Update graphics defaults based on team vote
Used code in llfeaturetable instead of modifying goutable to reduce merge conflicts
Changed some geforce cards to openGL 4.2 to not get propted to update when already on latest driver.
2013-02-02 23:17:03 -08:00
Tank_Master 169263d8b0 Merge LL 3.4.5 beta 3 2013-01-28 01:56:00 -08:00
Tank_Master bab1c95df8 Increase max defaultable graphics level to mid-high for OSX
We don’t have deferred rendering enabled at this level, unlike LL
2013-01-21 15:43:51 -08:00
Tank_Master 88f2332505 redisable defaulting of RenderCompressTextures on in some cases 2013-01-03 23:49:48 -08:00
Tank_Master cc44316aed Merge LL 3.4.3,
Note: aligned some of our code with LL's, spcifically feature table, gpu table, texture fetching, and some rendering defaults behavior.
2012-12-18 00:36:35 -08:00
Dave Parks f5254d532b MAINT-1262 Fix for crash when setting graphics to Low 2012-07-12 16:53:31 -05:00
Tank_Master cb24ec2e0d merge LL 3.3.4 beta
autoreplace does not work (needs a hook in nearby chat), no cmd line option to add new stuff
spellcheck only works when packaged
2012-07-16 21:59:14 -07:00
Dave Parks 513c1d9744 SH-795 Potential fix for crash after setting graphics detail to low. 2012-03-20 16:05:29 -05:00
Tank_Master db0761845d disable use of texture compression in feature table, fixes FIRE-6792 and FIRE-6767
RenderCompressTextures will be set to disabled for all systems by default
RenderCompressTextures can be enabled in preferences -> graphics -> hardware should the user want it enabled
2012-06-30 10:30:31 -07:00
Tank_Master f2a9376865 Add file name into copyright info on growl files and disable logging growl messages on Linux 2012-06-30 09:08:47 -07:00
Tank_Master bddd3cbe9a enable texture compression by default on systems with a nvidia card or has less than 480MB vid ram 2012-06-22 17:34:34 -07:00
Tank_Master 991d43709c merge LL 3.3.3 beta 2012-06-16 07:22:27 -07:00
Dave Parks 83e69659e2 MAINT-708 Add checkbox to hardware settings for controlling texture compression. Default texture compression to on for cards with 512MB of VRAM or less, off otherwise. 2012-03-08 15:22:56 -06:00
Tank_Master a8a7f4d0f5 Correction to 26918 - Lets actually disable texture compression by default instead of enabeling it... 2012-03-14 07:58:47 -07:00
Tank_Master 59a742505d disable texture compression by deafult for all memory amounts, remove option from preference 2012-03-12 15:52:40 -07:00
Tank_Master ba95bbc8a3 MAINT-708 Add checkbox to hardware settings for controlling texture compression. (By DaveP)
Default texture compression to on for cards with 512MB of VRAM or less, off otherwise.
2012-03-08 23:13:29 -08:00
Nicky 161c1b019f Merge up from 24496 / a656486925e8 (FS tip) to 25952 / 931cb0061118 (V/Dev FUI tip)
Observations and broken stuff so far:
- LLSideTray is gone.
- LLBottomTray is gone.
- LLFloaterSnapshot was changed and gave lots of merge conflicts. Flickr upload will be broken.
- LLNearbyChat is derived from LLPanel now. That broke quite some stuff rearding autohiding and docking of chatbar.
- Profile floaters are gone and all web based now.
- Russian translation gave huge mere conflicts with the new russian xml files from LL. Unmergeable. I took the LL files.
- XUI files in general will need some love and testing.
2012-01-17 17:57:52 +01:00
Dave Parks f5b10238af SH-2240 Forcibly disable shaders on hardware that's specifically flagged as unsupported. 2011-10-24 13:10:26 -05:00
Dave Parks 1762cc4939 SH-2570 Don't minimize viewer when reloading shaders (revert hack that didn't work) and pause shader loading until after all feature masks have been applied when switching detail levels 2011-10-20 14:20:12 -05:00
Richard Linden 25f1653ca0 EXP-1080 FIX Console gets spammed with VertexShaderEnable messages making the viewer unusable
converted LL_WARNS to LL_WARNS_ONCE
2011-08-11 14:21:20 -07:00
Dave Parks f1443579b3 SH-2038 Potential fix for a myriad of performance problems concering VBO usage. 2011-07-09 02:28:34 -05:00
Loren Shih 303a59e7bc dos2unix fixes for newview files. 2011-05-26 14:16:56 -04:00
Loren Shih 781addcbc1 Automated merge up from viewer-development into mesh-development 2011-05-20 11:41:28 -04:00
Leslie Linden 19a06478d9 SH-1618 FIX -- Lighting and shadows crash ATI macs
* Fixed ATI mac "lighting and shadows" related crash
* Fixed up numerous GL errors on macs related to multiple color formats,
  the use of glEnable/glDisable on textures above the texture unit count
  and old ATI-specific code that was not appropriate for Mac.
* Disabled SSAO for ATI macs due to it not working with shadows
* Ongoing work to properly get shadows and SSAO functioning on ATI macs is required.

Reviewed by davep
2011-05-19 17:28:23 -07:00
Oz Linden 5eb6cb8d86 merge up latest viewer-development (post mesh) 2011-05-18 07:33:08 -04:00
Oz Linden 27fd0d1a93 storm-1100: merged many more updates and refinements to table, added tester and files to test with 2011-05-13 13:27:56 -04:00
Leslie Linden 4268700fcf SH-1521 update -- Lighting and Shadows grayed out on mac
* Disabled SSAO on macs with 8 or less texture units.
* Slight cleanup of sunlight fragment shaders to remove unused texture units.

Reviewed by davep
2011-05-12 13:30:47 -07:00
Oz Linden 2eb19ccc13 STORM-1100 (diagnosis) improve logging to aid in debugging recognition errors 2011-04-15 20:46:31 -04:00
Dave Parks 5fd953df8f SH-874 Properly detect available video memory on ATI cards and disable vertex buffer objects when available vram is under 256MB. 2011-03-10 00:41:46 -06:00
Dave Parks 8f9edd3874 SH-534 Don't allow deferred rendering to be enabled on windows PC's with GL version less than 3.0. 2011-02-08 17:19:54 -06:00
Aleric Inglewood 9b341ec012 VWR-24317: remove warning caused by reading the last line of the featuretable twice 2011-01-20 15:03:48 -05:00
Selo eced4c97bc FIX FIRE-2209 Don't use any stray Feature_table.version.txt in USER_PATH 2011-10-03 23:58:54 +02:00
Selo 6cfab19a9d Fix FIRE-2209 - Prevent stray GPU_table.version.txt being downloaded to USER PATH 2011-10-03 23:32:54 +02:00
Tank_Master 3a8d53929f Stop trying to fetch GPU and feature tables from LL. 2011-09-12 23:16:19 -07:00
Richard Linden 7e9482a670 EXP-1080 FIX Console gets spammed with VertexShaderEnable messages making the viewer unusable
converted LL_WARNS to LL_WARNS_ONCE
2011-08-11 14:21:20 -07:00
Dave Parks 35ad7ace90 Add featuretable_xp, set default VolumeLODFactor to 0.5 for class 0 hardware, and disable impostors on Intel 965 on xp. 2010-09-01 17:55:56 -05:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Karl Stiefvater (qarl) d0a8ae4557 EXT-7910 allow GPU and feature table to load from a custom location 2010-06-18 12:33:17 -05:00
Karl Stiefvater (qarl) e3753ed8b2 S3 feature/gpu table implementation. reviewed by palmer and davep. 2010-05-21 16:11:21 -05:00