Commit Graph

229 Commits (779e132cbfc46a0eda97a0331e39cbc6e686c07b)

Author SHA1 Message Date
Brad Payne (Vir Linden) c7a7347a42 still more build failure fixing 2013-03-19 09:34:58 -04:00
Brad Payne (Vir Linden) 6fe9886133 SH-3980 FIX - fixed most cases of server-bake blurring by disabling caching of server bakes. A better solution is desirable, may not be for initial release 2013-03-18 18:44:21 -04:00
Brad Payne (Vir Linden) ea9a71972d Fix for build error 2013-03-18 17:00:48 -04:00
Brad Payne (Vir Linden) a365d7fb3f more urgent notification (DEBUG->WARN) for some texture fetch error cases 2013-03-18 16:41:42 -04:00
Brad Payne (Vir Linden) 409e9202dd merge 2013-03-18 11:46:12 -04:00
Brad Payne (Vir Linden) e288ff9695 SH-3850 WIP, SH-3959 WIP - added additional debug logging for texture loading 2013-03-15 13:26:31 -04:00
Brad Payne (Vir Linden) dd1f89d3a9 SH-3975 WIP - consolidated texture fetch state changes to simplify tracking 2013-03-13 17:21:26 -04:00
prep e0c9174609 merge 2013-03-11 15:05:47 -04:00
prep 207d9fd767 Viewer-chui merge 2013-03-11 14:45:53 -04:00
Brad Payne (Vir Linden) 5a436e46f6 SH-3959 WIP - pass information about type of fetched image - server bake, host bake, map tile, etc - down the chain so LLTextureFetchWorker can adjust behavior as needed 2013-03-08 17:07:17 -05:00
Nyx Linden 11fe124ae9 merging in viewer-beta.
Most of the merge was clean, a couple conflicts.
Brought over a couple patches manually for llpolymesh.
2013-01-24 16:22:49 -05:00
Monty Brandenberg cc0a4bf6ac Merge. Pull viewer-development in prior to filing DRTVWR merge request. 2013-01-09 16:39:30 -05:00
Monty Brandenberg 11e506f2eb SH-3357 Texture fetch debugger not running correctly under drano-
http phase 1 Some missing counter initialization kept the debugger
from entering the startup state giving the appearance of a do-
nothing floater.  Also found some unbound recursion that might need
looking at in the future.  (There's a comment.)
2012-12-21 22:24:34 +00:00
Monty Brandenberg 6c3375356e SH-3331 Fix incorrect overrun message when sending body with HTTP
request.  During readcallback, would generate an overrun-type message
about reading position beyond end-of-data.  Mistake was is messaging
when state is exactly at end of data (which is expected) versus an
overrun.  Both result in declaring end-of-data to libcurl.  Also
changed some of the status logging for the metrics payload to be
less chatty on success, more informative on error.
2012-12-21 22:21:58 +00:00
simon@Simon-PC.lindenlab.com 7fe4fbe674 Pull in upstream viewer-development via viewer-lion 2012-12-04 15:03:34 -08:00
simon@Simon-PC.lindenlab.com 40e78a80cc Pull and merge viewer-development 2012-12-04 14:31:15 -08:00
prep e0432f98ee SH-3563. Pull and merge from viewer-development. Modest code changes to fix alignment issue in llAppearance. 2012-11-28 16:36:34 -05:00
Dave Parks 5d34ac552f Automated merge with https://bitbucket.org/lindenlab/viewer-development 2012-11-20 17:03:55 -06:00
Brad Payne (Vir Linden) d4dc41dbd5 misc error detection, debug coloration for avatar meshes 2012-11-01 14:19:00 -04:00
simon@Simon-PC.lindenlab.com d6e3b0445a Merge in viewer-development code and fix build 2012-10-15 14:23:29 -07:00
Oz Linden 1709952adb pull back 3.4.1-beta6 fixes 2012-10-10 21:40:10 -04:00
Dave Parks 374f20edf0 Fix non-thread-safe refcounting of LLHTTPClient::Responder and fix out-of-order deletion of LLTextureFetch on shutdown 2012-10-03 14:30:21 -05:00
Monty Brandenberg 4091e47cf2 DRTVWR-209 Merge of viewer-development with SH-3316 drano-http code.
cmake and other files didn't get moved over, do it by hand.
2012-09-08 18:56:43 -04:00
Monty Brandenberg 09cd2a4b1a DRTVWR-209 Additional merge of viewer-development with SH-3316 drano-http code.
Restore original deleteRequest/removeRequest implementation removing
a small race.  Remove a short-lived additional timeout scheme on requests
which really isn't appropriate as originally implemented as we can have
very long-lived requests on big regions.
2012-09-07 15:08:12 -04:00
Monty Brandenberg 04e8d074b2 DRTVWR-209 Merge of viewer-development with SH-3316 drano-http code.
This was yet another refresh from v-d because of significant changes
to lltexturefetch that would not have been resolvable by casual
application of any merge tool.  There are still a few questions
outstanding but this is the initial, optimistic merge.
2012-09-07 12:53:07 -04:00
simon@Simon-PC.lindenlab.com 38acb45af8 Merge in latest viewer-development 2012-09-05 17:17:54 -07:00
Don Kjer 41301004e1 Cleanup actions from code review of llappearance with nyx 2012-09-04 22:49:26 +00:00
Don Kjer 7b4385420e More clean-up to closer match original file order. For llavatarappearance diffs 2012-09-04 04:24:47 +00:00
Richard Linden 93578f7e51 Automated merge with http://bitbucket.org/lindenlab/viewer-cat 2012-08-24 16:31:29 -07:00
Monty Brandenberg 67553c99f6 Pointless edit to tickle TC/codeticket. 2012-08-21 14:02:53 -04:00
Monty Brandenberg 7bee4b58ff SH-3325 texture load slow on some machines
This doesn't really address 3325 directly but it is the result of research
done while hunting it down.  First, this is a thread safety improvement for
canceled requests that have gone into resource wait state.  I don't think
we've seen a failure there but there was a window.  It also cleans the
resource wait queue earlier which lets us do less work and get requests
more quickly into llcorehttp by bypassing the resource wait state.  With
this, I finally feel comfortable about rundown of requests.
2012-08-21 12:28:51 -04:00
Monty Brandenberg 4b86f8983a SH-3329 Cached scene loads slower than same scene with cleared cache.
A/B comparison with original code showed the newer issuing lower-priority
requests of the cache reader and some other minor changes.  Brought them
into agreement (this is cargo-cult programming).  Made the HTTP resource
semaphore an atomic int for rigorous correctness across threads.  I
swear I'm going to tear down this code someday.
2012-08-19 18:51:21 -04:00
Monty Brandenberg 9de14fe45b SH-3327 HTTP transfers not showing up in texture console 'net tot tex' value.
Dropped an argument during integration which made the total byte count read
lower than expected.  Everything else is fine, however.
2012-08-17 12:33:12 -04:00
Aura Linden efdcf045b0 Merged in from viewer-development. 2012-08-17 08:07:15 -07:00
Oz Linden 97106c2dea merge changes for DRTVWR-194 2012-08-15 17:07:10 -04:00
Monty Brandenberg f5e35cbc53 Merge from viewer-development. 2012-08-13 12:09:04 -04:00
Monty Brandenberg fdb2ae8335 Merge of viewer-development (3.4.1). 2012-08-03 11:57:51 -04:00
Brad Payne (Vir Linden) 58d5e223b8 merge 2012-07-30 15:02:02 -04:00
Monty Brandenberg 3f032e33f2 SH-3280 Better init/shutdown functionality for llcorehttp by llappviewer
Isolate llcorehttp initialization into a utility class (LLAppCoreHttp)
that provides glue between app and library (sets up policies, handles
notifications).  Introduce 'TextureFetchConcurrency' debug setting to
provide some field control when absolutely necessary.
2012-07-19 13:41:18 -04:00
Richard Linden df7d6c9075 SH-3275 WIP Run viewer metrics for object update messages
continued clean up of llstats stuff
2012-07-18 12:37:52 -07:00
Monty Brandenberg c9f5bc7cae SH-3189 Improve naive data structures
Move releaseHttpWaiters() to commonUpdate from doWork.
More appropriate home for it.  Have deleteOK() defer deletion
of anything in WAIT_HTTP_RESOURCE2 state to keep pointers valid
for the releaseHttpWaiters() method.  It will then transition
canceled operations to SEND_HTTP_REQ where they can be deleted.
2012-07-17 11:24:52 -04:00
Richard Linden 5564fcb271 SH-3275 WIP Run viewer metrics for object update messages
clean up of llstats stuff
2012-07-16 19:15:46 -07:00
Monty Brandenberg d238341afa SH-3189 Remove/improve naive data structures
When releasing HTTP waiters, avoid unnecessary sort activity.
For Content-Type in responses, let libcurl do the work and removed
my parsing of headers.  Drop Content-Encoding as libcurl will deal
with that.  If anyone is interested, they can parse.
2012-07-16 11:53:04 -04:00
Xiaohong Bao 0cbeee19d7 fix for SH-3137: delay to issue new http fetching requests if http connection failure happens 2012-07-11 16:09:07 -06:00
Monty Brandenberg bc72acbfd2 SH-3244 Syscall avoidance in HttpRequest::update() method
Well, achieved that by doing work in bulk when needed.  But
turned into some additional things.  Change timebase from
mS to uS as, well, things are headed that way.  Implement
an HttpReplyQueue::fetchAll method (advertised one, hadn't
implemented it).
2012-07-10 18:50:21 -04:00
Monty Brandenberg a5ba9c0eb3 SH-3276 Handle 416 status back from texture fetches as okay.
A 416 will just mean there's no more data and whatever we have
is complete.
2012-07-10 16:56:38 -04:00
Monty Brandenberg d6cbe006d3 Take body size as the reply size when Content-Range header isn't available. 2012-07-09 17:29:21 -04:00
Monty Brandenberg b3659f2eba Safe implementation of the HTTP resource waiter release method.
Doesn't use sets or maps and so there's no ordering assumption to
be violated when priorities are changed.  Should also be faster.
Still want to get rid of the ancillary list, however...
2012-07-09 17:04:07 -04:00
Monty Brandenberg 348db20b92 SH-3187 Issue smarter 'Range' requests for textures.
First, try to issue ranged GETs that are always at least partially
satisfiable.  This will keep Varnish-type caches from simply sending
back 200/full asset responses to unsatisfiable requests.  Implement
awareness of Content-Range headers as well.  Currently they're not
coming back but they will be someday.
2012-07-09 11:47:47 -04:00
Xiaohong Bao d99e867284 fix for MAINT-1201: 404 errors appear in the log when opening the world map 2012-07-06 16:36:12 -06:00