Brad Davis
|
7be40a48a1
|
Merge branch 'master' into fix_stored_size
|
2017-04-26 19:08:04 -07:00 |
|
Brad Davis
|
fa0fb11329
|
Remove uneeded memory to memory copy for mip transfers
|
2017-04-26 17:14:39 -07:00 |
|
Ryan Huffman
|
f509403b25
|
Update prioritization of memory pressure states
|
2017-04-26 16:31:42 -07:00 |
|
Ryan Huffman
|
a71d246e75
|
Replace canPopulate with _minAllocatedMip
|
2017-04-26 15:09:26 -07:00 |
|
Ryan Huffman
|
51ee058c0b
|
Update GLTexture to not promote if we can't populate
|
2017-04-26 10:49:23 -07:00 |
|
Ryan Huffman
|
382fe5d38d
|
Update gpu backend to only transfer if it can populate
|
2017-04-26 10:49:23 -07:00 |
|
Ryan Huffman
|
6e307dd6eb
|
Remove debug logging
|
2017-04-26 10:48:57 -07:00 |
|
Ryan Huffman
|
970be9d2c5
|
Add check for canPopulate to gpu backend
|
2017-04-26 10:48:57 -07:00 |
|
Ryan Huffman
|
d5f1e6fb37
|
Adjust handling of requested mips in gl backend
|
2017-04-26 10:48:24 -07:00 |
|
Ryan Huffman
|
ce12a216c0
|
I think it might be working.
|
2017-04-26 10:48:24 -07:00 |
|
Ryan Huffman
|
70eaac8d6c
|
Add persisting of ktx min mips available to ktx cache file
|
2017-04-26 10:48:24 -07:00 |
|
Ryan Huffman
|
5594e81fe4
|
Improve gl backend handling of unavailable mips
|
2017-04-26 10:48:24 -07:00 |
|
Ryan Huffman
|
00cbfa0f70
|
Add start of progressive ktx-loading
|
2017-04-26 10:45:50 -07:00 |
|
Atlante45
|
33f58f99d1
|
CR
|
2017-04-25 16:09:31 -07:00 |
|
Atlante45
|
5ceb30b69c
|
Make sure mips are copied to memory
|
2017-04-25 15:56:22 -07:00 |
|
Brad Davis
|
472835d65c
|
Port fix from master
|
2017-04-19 11:22:20 -07:00 |
|
Brad Davis
|
2a2102c7fe
|
Recompute memory pressure state after each promote / demote call
|
2017-04-18 15:12:34 -07:00 |
|
Brad Davis
|
b2aa3271f7
|
Adding support for variable allocated textures to the GL 4.1 backend
|
2017-04-12 15:09:20 -07:00 |
|
samcake
|
13b3809fe3
|
removing includes if possible
|
2017-03-24 11:04:52 -07:00 |
|
Sam Cake
|
022e91b35d
|
Clean comments and pixel format used
|
2017-03-24 00:26:14 -07:00 |
|
Bradley Austin Davis
|
7fb7aa87eb
|
Working on new texture management strategy
|
2017-02-17 07:53:16 -08:00 |
|
Bradley Austin Davis
|
9e929ca629
|
Re-enable downsampling for non-sparse textures
|
2016-11-09 12:09:24 -08:00 |
|
Brad Hefta-Gaub
|
c1841f9add
|
more conservative texture memory budget
|
2016-11-03 14:10:07 -07:00 |
|
Brad Davis
|
78d55011a4
|
Limit sparse textures to 1 GB for now
|
2016-10-25 17:47:41 -07:00 |
|
samcake
|
507d3e5a39
|
IMprove the counting and namoing of the new couters the gl swapchain
|
2016-10-25 12:28:07 -07:00 |
|
samcake
|
58b81e3b0c
|
Adding counter for the amount of memory used in texture for Framebuffers
|
2016-10-24 18:34:16 -07:00 |
|
Brad Davis
|
7900fd3e18
|
New texture memory scheme
|
2016-10-24 13:10:41 -07:00 |
|
Brad Davis
|
7879bf37f2
|
Fix typo in comment
|
2016-10-22 18:12:40 -07:00 |
|
Brad Davis
|
b572fb2a91
|
Only use sparse texture memory for the memory pressure calculation (since that's all we can modify)
|
2016-10-22 14:49:10 -07:00 |
|
Brad Davis
|
62de2af944
|
Add more GPU stats, make stats easier to read
|
2016-10-22 14:38:46 -07:00 |
|
Brad Davis
|
8f42e564b4
|
Disable 'min free GPU memory', bump max texture memory 65%
|
2016-10-11 16:34:54 -07:00 |
|
Brad Davis
|
1e7dd7db64
|
Fix GPU texture counter, better logging for memory pressure
|
2016-10-11 16:28:16 -07:00 |
|
Brad Davis
|
8c5028158f
|
Fix crash on destroying web entities and overlays
|
2016-10-03 18:02:21 -07:00 |
|
Brad Davis
|
ca3572f991
|
Support external GL textures with proper fencing
|
2016-10-03 17:09:10 -07:00 |
|
Brad Davis
|
5a91116c06
|
Fix debug build, fix typo in available texture memory calculation
|
2016-09-23 12:05:13 -07:00 |
|
Brad Davis
|
ab8a67e84d
|
Code review comments
|
2016-09-23 12:05:11 -07:00 |
|
Brad Davis
|
ee476a6048
|
GLTextures store the source for easier debugging
|
2016-09-23 12:05:01 -07:00 |
|
Brad Davis
|
5734332150
|
Fix sparse texture deallocation
|
2016-09-23 12:04:53 -07:00 |
|
Brad Davis
|
74481b3c1f
|
Re-enable threaded texture transfer
|
2016-09-23 12:04:51 -07:00 |
|
Brad Davis
|
50233f6ffb
|
Don't re-report texture memory usage until the returned value changes
|
2016-09-23 12:04:50 -07:00 |
|
Brad Davis
|
12de36a534
|
Check the total GPU memory usage from the card as well as our computed memory usage
|
2016-09-23 12:04:49 -07:00 |
|
Brad Davis
|
151df32519
|
Check sparse texture support before enabling
|
2016-09-23 12:04:44 -07:00 |
|
Brad Davis
|
93b0364f73
|
Working on sparse stability
|
2016-09-23 12:04:43 -07:00 |
|
Brad Davis
|
a7f0ba24ed
|
Dynamic texture memory management
|
2016-09-23 12:04:42 -07:00 |
|
Brad Davis
|
f18b8f80fe
|
Sparse texture transfers
Conflicts:
libraries/gpu-gl/src/gpu/gl/GLTextureTransfer.cpp
|
2016-09-08 22:19:15 -07:00 |
|
Brad Davis
|
617633b85c
|
Moving to custom context creation
|
2016-08-29 11:21:54 -07:00 |
|
Brad Davis
|
7ffa212006
|
Don't use textures that are in the transfer pipeline
|
2016-08-26 19:04:24 -07:00 |
|
Brad Davis
|
c66ed3e009
|
Use weak pointers instead of references for deallocation safety
|
2016-08-12 22:28:44 -07:00 |
|
Brad Davis
|
c2509e9492
|
Working on draw crash bug, adding render thread trash handling
|
2016-08-12 22:28:27 -07:00 |
|
Brad Davis
|
0f240d39b6
|
Actually delete textures we're not using
|
2016-07-18 11:21:09 -07:00 |
|