Ryan Huffman
8d03d50d35
Cleanup progressive ktx debugging
2017-04-26 10:48:57 -07:00
Ryan Huffman
70b816827e
Improve handling of KTX downloads in NetworkTexture
2017-04-26 10:48:24 -07:00
Ryan Huffman
11751611e1
Update NetworkTexture to track current KTX download state
2017-04-26 10:48:23 -07:00
Ryan Huffman
b20fcbfcdb
Add a way to write data to a storage object
2017-04-26 10:45:50 -07:00
Ryan Huffman
ccd9c4697b
Add extended ktx header/high-mip request handling to NetworkTexture
2017-04-26 10:45:50 -07:00
Ryan Huffman
1fec531c68
Add basic mip writing to gpu::Texture
2017-04-26 10:45:50 -07:00
Ryan Huffman
105d17e85e
Add byte range support to HTTPResourceRequest
2017-04-26 10:45:14 -07:00
ZappoMan
95a3e0a092
fix whitespace
2017-04-24 18:06:33 -07:00
ZappoMan
ff45ad53a3
some more CR cleanup
2017-04-21 10:40:41 -07:00
ZappoMan
f133713d0e
CR feedback
2017-04-21 10:21:34 -07:00
ZappoMan
e89b6c5d2c
some initial debugging on tpose avatars
2017-04-20 17:26:31 -07:00
humbletim
6f2f1d6452
call finished() when cached resource has already failed to load
2017-03-29 19:42:19 -04:00
Brad Davis
127a014b46
Clear caches on domain switch
2017-02-15 15:21:08 -08:00
Brad Davis
e58623bcc0
Working on test/trace script interface
2016-12-22 11:46:40 -08:00
Brad Davis
30a9961362
tracing polish
2016-12-16 14:02:27 -08:00
Ryan Huffman
7bb2755913
Add chrome tracing support
2016-12-16 01:14:01 -08:00
Zander Otavka
246a8457e1
Add some asserts
2016-08-08 15:12:17 -07:00
Zach Pomerantz
09d879e19f
Remove delayLoad
2016-05-09 18:09:48 -07:00
Zach Pomerantz
9ac783a88d
Black box asynch resource retrieval
2016-05-09 18:03:19 -07:00
Brad Hefta-Gaub
22081a8606
Merge pull request #7833 from zzmp/fix/scriptable-resource
...
Fix prefetching
2016-05-09 15:09:20 -07:00
Brad Hefta-Gaub
312ea20e15
Merge pull request #7797 from zzmp/fix/cache-thread-safety
...
Make ResourceCache::resetResourceCounters threadsafe
2016-05-09 11:52:57 -07:00
Zach Pomerantz
3f4f10a27e
Fix prefetch state changes
2016-05-06 15:08:45 -07:00
Zach Pomerantz
79c8001d7a
Audit thread safety of ResourceCache
2016-05-05 11:17:38 -07:00
Zach Pomerantz
854c0ea3e3
Clean out updateMemoryCost
2016-04-27 19:20:43 -07:00
Zach Pomerantz
1e8d45aecb
Put ScriptableResource state enum in prototype
2016-04-27 19:20:43 -07:00
Zach Pomerantz
0c78d5bdd1
Change ScriptableResource signal to state
2016-04-27 19:20:42 -07:00
Zach Pomerantz
bc8a171fde
Merge branch 'master' of github.com:highfidelity/hifi into feat/resource-prefetch
2016-04-27 11:55:24 -07:00
Zach Pomerantz
6b53c1e85d
Avoid leaking ScriptableResource
2016-04-27 11:55:02 -07:00
Brad Hefta-Gaub
c410242fb2
Merge pull request #7688 from jherico/texture_derez
...
Reducing GPU texture memory footprint
2016-04-22 13:20:54 -07:00
Stephen Birarda
5ea8b83745
use noquote so URLs are not quoted
2016-04-21 17:16:21 -07:00
Zach Pomerantz
069065dc23
Fix recursive invokes of ResourceCache::prefetch
2016-04-21 17:15:11 -07:00
Stephen Birarda
19702a9cd4
cleanup check for resource retry
2016-04-21 17:14:07 -07:00
Stephen Birarda
8cd330f431
add back on fail when server unavailable
2016-04-21 17:07:29 -07:00
Stephen Birarda
3a8c2144bf
move asset retry debug to print before retry
2016-04-21 16:55:49 -07:00
Brad Davis
e9959df2df
Decoupling resourcecache from nodelist
2016-04-21 14:46:09 -07:00
Zach Pomerantz
2fd88d9fe1
Add sanity check to ResourceCache::updateTotalSize
2016-04-21 10:45:51 -07:00
Zach Pomerantz
92e372f385
Expose Resource progress as a signal
2016-04-20 20:18:22 -07:00
Zach Pomerantz
1a0a623d5f
Report ScriptableResource memory cost to engine
2016-04-20 20:18:22 -07:00
Zach Pomerantz
5ec82fa43d
Add release invokable to ScriptableResource
2016-04-20 20:18:22 -07:00
Zach Pomerantz
825431829d
Add url property to ScriptableResource
2016-04-20 20:18:22 -07:00
Zach Pomerantz
df4857947b
Add prefetch overload for texture specificity
2016-04-20 20:18:22 -07:00
Zach Pomerantz
8ad8b5d0d9
Return ScriptableResource from prefetch
2016-04-20 20:14:15 -07:00
Zach Pomerantz
74e1f817a5
Add prefetch to all resource caches
2016-04-20 20:14:15 -07:00
Zach Pomerantz
2cc48a6ca6
Add url to resource retry debug
2016-04-20 12:20:05 -07:00
Brad Hefta-Gaub
523d365ce7
Merge pull request #7680 from Atlante45/fix/clear-atp-cache
...
Don't use invalidated iterators
2016-04-19 07:24:07 -07:00
Zach Pomerantz
0d06d8ea93
Clear freed loading resources
2016-04-15 17:34:45 -07:00
Zach Pomerantz
d2426f30c6
Mv ResourceCacheShared to top of impl
2016-04-15 16:40:07 -07:00
Atlante45
dfc3e5d488
Don't use invalidated iterators
2016-04-15 13:57:48 -07:00
Zach Pomerantz
cff5886313
Use correct resources lock
2016-04-15 10:46:19 -07:00
Zach Pomerantz
fc9de4b7e6
Merge branch 'master' of github.com:highfidelity/hifi into fix/cache-tallies
2016-04-15 00:37:03 -07:00
Atlante45
b3b2f98f6c
Merge branch 'master' of https://github.com/highfidelity/hifi into fix/clear-atp-cache
2016-04-14 17:59:36 -07:00
Zach Pomerantz
f803ecd2e7
Merge pull request #7633 from Atlante45/fix/shared-resource
...
Fix raw pointers in shared resource cache items
2016-04-14 17:52:04 -07:00
Atlante45
4ed8573f74
CR
2016-04-14 17:28:24 -07:00
Zach Pomerantz
32e9c49cf0
Fix cache tallies for uncached resources
2016-04-14 17:00:20 -07:00
Zach Pomerantz
e20acb1d42
Track resources as they fall out of cache
2016-04-13 15:44:14 -07:00
Atlante45
0f62d5c997
clear ATP assets on domain change
2016-04-12 15:30:53 -07:00
Atlante45
7c652aa3ca
Add lock on ResourceCache data structs
2016-04-12 15:30:39 -07:00
Atlante45
364f935b89
Allow cleanup of the old request
2016-04-12 13:51:11 -07:00
Atlante45
05895f628a
Revert to using a Resource
2016-04-12 13:51:11 -07:00
Atlante45
e45939d18f
Make sure ResourceCacheSharedItems deals with strong refs
2016-04-12 13:51:11 -07:00
Atlante45
afdfef1482
Make sure we don't use raw resource ptr
2016-04-12 13:51:11 -07:00
Clément Brisset
680ab1e38b
Merge pull request #7578 from zzmp/fix/delete-resource-later
...
Delete resource the Qt way
2016-04-06 17:17:47 -07:00
Zach Pomerantz
4300f2e415
Delete resource the Qt way
2016-04-06 14:43:48 -07:00
Zach Pomerantz
107cfcf10b
Change Resource setBytes->setSize
2016-04-04 13:59:57 -07:00
Zach Pomerantz
f34e951c3f
Make resource cache props thread-safe
2016-04-04 13:59:56 -07:00
Zach Pomerantz
3c86191a59
Add resources prop to caches
2016-04-02 17:37:51 -07:00
Zach Pomerantz
b70a4d043b
Expose resource cache count props
2016-04-01 19:52:42 -07:00
Zach Pomerantz
3b45a57e1d
Remove resource completely when uncached
2016-04-01 17:42:36 -07:00
Zach Pomerantz
809b489146
Don't cache 0-sized Resources
2016-03-31 17:15:20 -07:00
Zach Pomerantz
b80f0fc8a6
Add actual byte size to Resource
2016-03-31 17:02:40 -07:00
Zach Pomerantz
aad40f5de0
Drop network data after processing
2016-03-25 09:58:34 -07:00
Brad Hefta-Gaub
cd5beabf10
Revert "Drop resource data after load"
2016-03-24 20:37:16 -07:00
Zach Pomerantz
afc853572a
Drop resource data after load
2016-03-24 15:50:51 -07:00
Atlante45
69c516caaf
Have ATP respect request limit
2016-03-23 19:09:28 -07:00
Zach Pomerantz
17aa2845a8
Add finished signal to Resource loading
2016-03-23 13:00:02 -07:00
Andrew Meadows
f58a00f75a
Merge pull request #7409 from huffman/fix-handle-reply-finished
...
Fix edge-case where resource can receive a signal after request deleted
2016-03-21 13:10:24 -07:00
Ryan Huffman
4f32749c17
Fix edge-case where resource can receive a signal after request deleted
2016-03-21 11:54:41 -07:00
Bradley Austin Davis
16e6d9a4f9
Make shared lists thread safe
2016-03-18 11:15:35 -07:00
Mark Johnson
b7a47d7bf2
Tabs -> Spaces
2016-03-12 17:35:57 -08:00
Mark Johnson
d868b541c4
Separate the request limit value from the active request value
...
Use _requestLimit as the download limit, and track active downloads using
_requestsActive. If the limit is changes below the active count, it will
continue downloading all active requests, but not allow new requests until
the active count gets below the limit. If the limit increases, the pending
request queue will be checked immediately to fill the available download slots.
2016-03-12 17:19:29 -08:00
Zach Pomerantz
54af58834a
Mark Resource loaded after postprocessing
2016-03-09 10:34:07 -08:00
Zach Pomerantz
925ea8bcda
Add Resource::isCacheable
2016-03-08 13:30:58 -08:00
Seth Alves
d243132b5c
quiet some logging
2015-12-10 10:28:24 -08:00
Atlante45
b7ba99380a
Pretty up loading debug
2015-10-12 15:32:44 -07:00
Sam Gateau
d0f7ddd3a6
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-09-18 00:03:19 -07:00
Atlante45
9678e70444
Asset caching
2015-09-16 15:17:15 +02:00
Sam Gateau
c37cdce750
Merging back with master
2015-09-10 17:53:50 -07:00
Atlante45
0de4c02e8d
Add time unit in debug
2015-08-31 23:24:14 +02:00
Atlante45
3f5394281b
Fix HTTPS timeout issue
2015-08-31 23:20:07 +02:00
Atlante45
8f74935e96
Don't reload on error
2015-08-31 22:34:16 +02:00
Atlante45
9a9c703a78
Some code cleanup
2015-08-31 22:31:24 +02:00
Atlante45
15e9797827
CR
2015-08-31 22:12:42 +02:00
Atlante45
729fd96539
Fix bug where _requestLimit is stuck at 0
2015-08-28 22:10:33 +02:00
Atlante45
993217491f
Retry to load only on timeout
2015-08-28 20:35:39 +02:00
Ryan Huffman
c6d98f3c67
Update ResourceCache to retry an asset request when the node is unavailable
2015-08-28 10:59:38 -07:00
Atlante45
ea05fcea0c
Forward AssetResourceRequest loading errors
2015-08-28 16:03:31 +02:00
Ryan Huffman
2a4b25dd76
Update names of ResourceRequest enums
2015-08-27 22:23:06 -07:00
Ryan Huffman
147fbd4b54
Update ResourceCache to only emit failure when not retrying
2015-08-27 21:11:12 -07:00
Ryan Huffman
4bbbd892bd
Fix atp scheme checking in ResourceCache
2015-08-27 16:46:33 -07:00
Ryan Huffman
31bdeed396
Remove cache limit for atp urls
2015-08-27 16:43:40 -07:00