summaryrefslogtreecommitdiff
path: root/indra/newview/llfeaturemanager.cpp
AgeCommit message (Collapse)Author
2013-09-04mergeBrad Payne (Vir Linden)
2013-08-18SH-4433 WIP: Interesting: Statistics > Ping Sim is always 0 msRichard Linden
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-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-30Summer cleaning - removed a lot of llcommon dependencies to speed up build timesRichard Linden
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-06-28CHOP-959: Streamline processing for --graphicslevel switch.Nat Goodspeed
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-05-21mergeBrad Payne (Vir Linden)
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-13Large changes to the LLCurl::Responder API, as well as pulling in some ↵Don Kjer
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-02-07For MAINT-2157 Codereview: DavePGraham Madarasz
2013-01-08Automated merge with https://bitbucket.org/lindenlab/viewer-tigerDave Parks
2012-12-12Pull and merge viewer-developmentsimon@Simon-PC.lindenlab.com
2012-12-05merge changes for DRTVWR-257Nat Goodspeed
2012-12-04MAINT-1953 Run through viewer stats and update GPU table with missing ↵Dave Parks
entries and new expected OpenGL versions
2012-11-30MAINT-1991 Attempt to mitigate crashes in GL drivers by encouraging people ↵Dave Parks
to update their drivers. Reviewed by Simon
2012-11-26MAINT-1950 Add hashmarks to detail slider and put "Ultra" back in ↵Dave Parks
setGraphicsLevel Reviewed by Simon
2012-11-26MAINT-1950 Add hashmarks to detail slider and put "Ultra" back in ↵Dave Parks
setGraphicsLevel Reviewed by Simon
2012-12-12MAINT-2086 Separate GPU class from settings more completely to avoid GPU ↵Dave Parks
dependent behavior when manually adjusting detail slider.
2012-12-12MAINT-2090 Make gcc happyDave Parks
2012-12-12MAINT-2090 Never enable lighting and shadows by default on OS XDave Parks
2012-09-06Automated merge with file:///Users/nat/linden/davep-viewer-development-rebasedNat Goodspeed
2012-08-28MAINT-1491 Integration of statistically generated GPU table -- enable ↵Dave Parks
shadows by default where appropriate.
2012-07-12MAINT-1262 Fix for crash when setting graphics to LowDave Parks
2012-03-20SH-795 Potential fix for crash after setting graphics detail to low.Dave Parks
2012-03-08MAINT-708 Add checkbox to hardware settings for controlling texture ↵Dave Parks
compression. Default texture compression to on for cards with 512MB of VRAM or less, off otherwise.
2011-10-24SH-2240 Forcibly disable shaders on hardware that's specifically flagged as ↵Dave Parks
unsupported.
2011-10-20SH-2570 Don't minimize viewer when reloading shaders (revert hack that ↵Dave Parks
didn't work) and pause shader loading until after all feature masks have been applied when switching detail levels
2011-08-11EXP-1080 FIX Console gets spammed with VertexShaderEnable messages making ↵Richard Linden
the viewer unusable converted LL_WARNS to LL_WARNS_ONCE
2011-07-09SH-2038 Potential fix for a myriad of performance problems concering VBO usage.Dave Parks
2011-05-26dos2unix fixes for newview files.Loren Shih
2011-05-20Automated merge up from viewer-development into mesh-developmentLoren Shih
2011-05-19SH-1618 FIX -- Lighting and shadows crash ATI macsLeslie Linden
* 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-18merge up latest viewer-development (post mesh)Oz Linden
2011-05-13storm-1100: merged many more updates and refinements to table, added tester ↵Oz Linden
and files to test with
2011-05-12SH-1521 update -- Lighting and Shadows grayed out on macLeslie Linden
* 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-04-15STORM-1100 (diagnosis) improve logging to aid in debugging recognition errorsOz Linden
2011-03-10SH-874 Properly detect available video memory on ATI cards and disable ↵Dave Parks
vertex buffer objects when available vram is under 256MB.
2011-02-08SH-534 Don't allow deferred rendering to be enabled on windows PC's with GL ↵Dave Parks
version less than 3.0.
2011-01-20VWR-24317: remove warning caused by reading the last line of the ↵Aleric Inglewood
featuretable twice
2010-09-01Add featuretable_xp, set default VolumeLODFactor to 0.5 for class 0 ↵Dave Parks
hardware, and disable impostors on Intel 965 on xp.
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-06-18EXT-7910 allow GPU and feature table to load from a custom locationKarl Stiefvater (qarl)
2010-05-21S3 feature/gpu table implementation. reviewed by palmer and davep.Karl Stiefvater (qarl)
2010-04-19Change Linux fasttimer implementation back to RDTSC - using a reliable ↵Tofu Linden
syscall was REALLY chewing CPU time. Sigh. I didn't realize how incredibly often this gets called. So, back to the assembly. But be more careful with CPU clock count on linux, so the fasttimer values are much more accurate than they were the last time we were with RDTSC, in absolute terms - back in the right order of magnitude anyway. Also change many instances of Mhz to MHz. Also some minor comment fixes.
2010-02-11CID-64Tofu Linden
Checker: FORWARD_NULL Function: LLFeatureManager::loadFeatureTables() File: /indra/newview/llfeaturemanager.cpp not a bug.
2009-07-30Merged in viewer-2.0.0-3 changes up through r129050. Boost got clobbered so ↵brad kittenbrink
I'll need to rebuild that, plus a couple other minor clenaups.
2009-07-10merge QAR-1579: texture-cleanup-1.Xiaohong Bao
2009-07-06Merge xui-army-5 to viewer-2, includes layout, art, and color changes, also ↵James Cook
UI color refactoring and new FreeType font library on Linux. svn merge -r126038:126164 svn+ssh://svn.lindenlab.com/svn/linden/branches/skinning/xui-army-5
2009-05-22DEV-27646 dll linkage for login module.Brad Kittenbrink
Ok, finally got this to a point where it doesn't break the build and I can check in. llcommon can be built as a shared library (disabled but can be enabled with cmake cache var LLCOMMON_LINK_SHARED. reviewed by Mani on tuesday (I still need to get his suggested changes re-reviewed)
2009-01-08Result of svn merge -r107256:107258 ↵Aaron Brashears
svn+ssh://svn/svn/user/phoenix/license_2009_merge into trunk. QAR-1165
2008-12-23QAR-1142 merging 1.22 RC0-RC4 changes.Mark Palange
svn merge -c 106471 svn+ssh://svn.lindenlab.com/svn/linden/qa/viewer_1-22-106055_merge