samcake
|
9c154122d3
|
Introdicing the format factor and merging with master becasue of protocol change...
|
2017-05-18 13:08:13 -07:00 |
|
samcake
|
2c6e10fbe1
|
Merge branch 'master' of https://github.com/highfidelity/hifi into ambient
|
2017-05-18 09:21:02 -07:00 |
|
Brad Hefta-Gaub
|
fbc32e5ba1
|
Merge pull request #10485 from samcake/orange
Add protections when accessing the mip bytes of a texture when provided from a KtxStorage
|
2017-05-18 08:47:58 -07:00 |
|
samcake
|
80b6fd65ae
|
Cleaning up counters and naming schemes...
|
2017-05-17 18:31:28 -07:00 |
|
samcake
|
b19b0007c8
|
Merge branch 'master' of https://github.com/highfidelity/hifi into ambient
|
2017-05-17 13:02:37 -07:00 |
|
samcake
|
ab3ea65d54
|
Simply add protections when accessing the mip bytes of a texture when provided from a KtxStorage
|
2017-05-17 12:36:12 -07:00 |
|
samcake
|
b466964817
|
REvisiting the stats counter for the gpu context in the hope of better understanding the gpu texture streaming behavior
|
2017-05-16 18:21:24 -07:00 |
|
Ryan Huffman
|
e0212ac32b
|
Remove _fullImageSize from ktx header
|
2017-05-16 15:53:07 -07:00 |
|
Ryan Huffman
|
bfd1274ed3
|
Fix progressive loading of cubemaps
In various places we were using the KTX _imageSize as the size of the
entire mip level, when it is actually the size of the face for cubemaps.
|
2017-05-16 15:12:47 -07:00 |
|
samcake
|
d734358290
|
Adding a comment for debug sake
|
2017-05-12 18:15:00 -07:00 |
|
samcake
|
5bc8e09865
|
Fixing the test...
|
2017-05-12 18:10:48 -07:00 |
|
samcake
|
bdb0414add
|
Adding a validation step at runtime for the cached KTX file in order to regenerate them if anything seems wrong
|
2017-05-12 18:04:22 -07:00 |
|
Brad Hefta-Gaub
|
a88f72024d
|
Merge pull request #10243 from birarda/bake-textures
Add an internal tool for domain/model/skybox KTX texture baking
|
2017-05-12 12:26:33 -07:00 |
|
Chris Collins
|
fd836dcd68
|
Merge pull request #10366 from Atlante45/feat/normal-map-compression
Feat/normal map compression
|
2017-05-05 10:03:01 -07:00 |
|
Atlante45
|
542923839d
|
Change name to VEC2NU8_XY
|
2017-05-04 10:33:34 -07:00 |
|
Atlante45
|
10289f5423
|
Format non compressed normal maps to new format.
|
2017-05-04 10:33:34 -07:00 |
|
Atlante45
|
5e36bebc96
|
Store irradiance in the KTX files.
|
2017-05-03 19:46:17 -07:00 |
|
Sam Gateau
|
8507fffcc2
|
Merge pull request #10313 from samcake/ambient-bis
Fixing the the mip gpu copy for compressed format texture in GL41Backend
|
2017-05-03 14:50:55 -07:00 |
|
samcake
|
32d675c82b
|
Clean up the new code and adress review comments
|
2017-05-02 11:46:51 -07:00 |
|
samcake
|
8240c3f761
|
Fixing the spam issue triggered by the external textures, removed 2 warnings
|
2017-04-27 18:05:52 -07:00 |
|
samcake
|
7c15609136
|
Fixing the broken texture copy (during texture streaming) for compressed format in GL41Backend
|
2017-04-27 17:28:10 -07:00 |
|
Ryan Huffman
|
d8e4604b18
|
Fix gpu access of ktx file not being thread-safe
|
2017-04-27 13:03:04 -07:00 |
|
Brad Davis
|
7be40a48a1
|
Merge branch 'master' into fix_stored_size
|
2017-04-26 19:08:04 -07:00 |
|
Stephen Birarda
|
49e7ae6dbc
|
call image library for texture baking
|
2017-04-26 18:37:35 -07:00 |
|
Ryan Huffman
|
fee36453a3
|
Move hifi.minMip
|
2017-04-26 17:53:17 -07:00 |
|
Ryan Huffman
|
cb299695f4
|
Update imageOffset to size_t
|
2017-04-26 17:52:53 -07:00 |
|
Brad Davis
|
960c29edb7
|
Fix excessive copying when querying the size of a KTX backed texture
|
2017-04-26 17:12:48 -07:00 |
|
Ryan Huffman
|
47cf44dc60
|
Store offset to min mip kv in KtxStorage
|
2017-04-26 17:11:19 -07:00 |
|
Ryan Huffman
|
f15a34e145
|
Cleanup data pointer calculations in assignMipData
|
2017-04-26 16:31:42 -07:00 |
|
Ryan Huffman
|
c7ac82b4e2
|
Remove magic number for kv and image sizes
|
2017-04-26 15:09:26 -07:00 |
|
Ryan Huffman
|
e4e554aaea
|
Remove dead code from Texture.h
|
2017-04-26 15:09:26 -07:00 |
|
Ryan Huffman
|
29641ba69a
|
Fix min mip not being written to ktx correctly
|
2017-04-26 11:32:36 -07:00 |
|
Ryan Huffman
|
674e767513
|
Remove MipInterestListener
|
2017-04-26 10:49:49 -07:00 |
|
Atlante45
|
6fb074715e
|
Fix alpha rendering bug
|
2017-04-26 10:48:57 -07:00 |
|
Stephen Birarda
|
3c5754282f
|
write the source hash in ktx header in binary
|
2017-04-26 10:48:57 -07:00 |
|
Atlante45
|
927efc88f0
|
Fix GPUKTXPayload conflict across platforms
|
2017-04-26 10:48:57 -07:00 |
|
Ryan Huffman
|
14f8c91e23
|
Adjust gl45 backend to request interest in mips and keep track of min requested
|
2017-04-26 10:48:57 -07:00 |
|
Ryan Huffman
|
8d03d50d35
|
Cleanup progressive ktx debugging
|
2017-04-26 10:48:57 -07:00 |
|
Ryan Huffman
|
bc6d476a4d
|
Cleanup Texture_ktx.cpp
|
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
|
841d301dec
|
Fix build errors due to TexturePointer change
|
2017-04-26 10:48:24 -07:00 |
|
Ryan Huffman
|
cc7169b754
|
Add debug logging for ktx downloads
|
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
|
11751611e1
|
Update NetworkTexture to track current KTX download state
|
2017-04-26 10:48:23 -07:00 |
|
Ryan Huffman
|
20f4d14e07
|
Add compressed KTX size evaluation
|
2017-04-26 10:48:23 -07:00 |
|
Ryan Huffman
|
b21dc12cc6
|
Cleanup NetworkTexture ktx handling
|
2017-04-26 10:47:32 -07:00 |
|
Ryan Huffman
|
ab7099b3eb
|
Add loading of lower mips to NetworkTexture
|
2017-04-26 10:47:32 -07:00 |
|
Ryan Huffman
|
39c3fee838
|
Add caching of imageOffset to ktx ImageDescriptor
|
2017-04-26 10:47:32 -07:00 |
|
Ryan Huffman
|
e9bb895bff
|
Implement KTXStorage::assignMipData and add writing of mips to
TextureCache
|
2017-04-26 10:47:32 -07:00 |
|
Ryan Huffman
|
cf3dc12542
|
Add object labels to GL objects and add ktx min mip kv
|
2017-04-26 10:47:32 -07:00 |
|
Ryan Huffman
|
aca7ad27c6
|
Fix ktx dependencies
|
2017-04-26 10:47:32 -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
|
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
|
9dbae4b54e
|
CR
|
2017-04-25 15:56:23 -07:00 |
|
Atlante45
|
b98cd7355e
|
Code cleanup
|
2017-04-25 15:56:23 -07:00 |
|
Atlante45
|
ad16a935e9
|
Texture::create returns shared pointer
|
2017-04-25 15:56:23 -07:00 |
|
Atlante45
|
63e564c178
|
Add source hash to KTX metadata
|
2017-04-25 15:56:23 -07:00 |
|
Atlante45
|
d9a7615cc8
|
Add compression support for skyboxes
|
2017-04-25 15:56:23 -07:00 |
|
Atlante45
|
ae73cf4038
|
Add support for Grayscale and NormalMap textures
|
2017-04-25 15:56:23 -07:00 |
|
Atlante45
|
69a27d516f
|
Fix roughness
|
2017-04-25 15:56:22 -07:00 |
|
Atlante45
|
5ceb30b69c
|
Make sure mips are copied to memory
|
2017-04-25 15:56:22 -07:00 |
|
Atlante45
|
a450f52427
|
Start to setup image library
|
2017-04-25 15:56:22 -07:00 |
|
sam gateau
|
733e268391
|
FIx the SSBO usage on amd, needed a bit more explanation on the glsl side
|
2017-04-21 16:17:18 -07:00 |
|
sam gateau
|
0a615f35a7
|
Merge branch 'master' of https://github.com/highfidelity/hifi into brown
|
2017-04-21 14:31:15 -07:00 |
|
Sam Cake
|
96960a505d
|
COmpleted the Resource Buffer, compilation and binding works. Now need to help on the shader side
|
2017-04-14 23:22:45 -07:00 |
|
Sam Cake
|
29545f0918
|
FInally bringing all the shader compilation related fuinctions in the Backend in the same cpp, making specialized version based on the Backend
|
2017-04-13 23:53:56 -07:00 |
|
samcake
|
d41f34ce8d
|
Adding support for the resource buffer
|
2017-04-12 19:07:27 -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 |
|
Brad Davis
|
057a9feaf1
|
Don't crash if KTX file is invalid
|
2017-04-06 10:09:57 -07:00 |
|
samcake
|
467ea787c6
|
Adress Seth's review
|
2017-03-31 14:54:00 -07:00 |
|
samcake
|
6a0c07a692
|
Fixing a bad counter for numFaces
|
2017-03-31 10:39:13 -07:00 |
|
Sam Cake
|
dd73cb7b8e
|
Use a magic number gpu::Texture::SINGLE_MIP instead of 1
|
2017-03-30 23:46:37 -07:00 |
|
Sam Cake
|
61d78bc931
|
BRinging the cool texture management of the gl45 backend to gl41, which fixes the broken ao on 41 among other things
|
2017-03-30 23:29:37 -07:00 |
|
samcake
|
25edb44b75
|
Fix the problem with the cursor and scattering,
|
2017-03-30 15:15:14 -07:00 |
|
samcake
|
5584853340
|
Keep on cleaning
|
2017-03-29 18:22:21 -07:00 |
|
samcake
|
b6504bba56
|
Moving the num mips per texture to the creator so it s immutable and simpler
|
2017-03-29 17:58:56 -07:00 |
|
samcake
|
a2b2e3e169
|
Revert "Revert "Don't hold KTX files open for longer than transfers require""
|
2017-03-28 14:45:04 -07:00 |
|
samcake
|
08e1a2ba4c
|
Revert "Don't hold KTX files open for longer than transfers require"
|
2017-03-28 14:06:09 -07:00 |
|
samcake
|
e42cb52bd1
|
Merge pull request #10020 from jherico/ktx_refactor
Don't hold KTX files open for longer than transfers require
|
2017-03-28 14:06:02 -07:00 |
|
Bradley Austin Davis
|
638364497d
|
Trying a different tactic to avoid multiple concurrent file access
|
2017-03-27 16:18:04 -07:00 |
|
Andrew Meadows
|
ff2f4da4b2
|
final changes as per samcake
|
2017-03-27 15:19:28 -07:00 |
|
Andrew Meadows
|
fcf18cba91
|
render pipeline support for normalized intergers
|
2017-03-27 14:40:31 -07:00 |
|
Bradley Austin Davis
|
f764cd614b
|
Don't hold KTX files open for longer than transfers require
|
2017-03-27 13:33:00 -07:00 |
|
samcake
|
618344fe98
|
Fixing the bug regarding the numMIps allocated by GLBackend and breaking the HalfRezDepthTexture
|
2017-03-23 18:10:09 -07:00 |
|
Brad Davis
|
4868a1618a
|
Add initialization to sampler stamp
|
2017-03-22 18:10:54 -07:00 |
|
Brad Davis
|
9a3686fc1a
|
Fixing merge conflict
|
2017-03-22 14:55:11 -07:00 |
|
Brad Davis
|
85c80f3be8
|
Merge remote-tracking branch 'upstream/master' into smarter_textures
Conflicts:
libraries/gpu/src/gpu/Texture.cpp
|
2017-03-22 14:25:23 -07:00 |
|
Andrew Meadows
|
a463013d90
|
Merge pull request #9960 from samcake/blue
Fix Ambient Lighting equation
|
2017-03-22 14:13:31 -07:00 |
|
Brad Davis
|
e60108cc8c
|
PR comments
|
2017-03-21 17:26:24 -07:00 |
|
samcake
|
e05abf2a2f
|
Fixing the spherical harmonics gneration
|
2017-03-20 16:41:21 -07:00 |
|
Seth Alves
|
200550aba9
|
ModelScriptingInterface::appendMeshes
|
2017-03-16 15:22:34 -07:00 |
|
Brad Davis
|
399270d243
|
Still trying to fix OSX build
|
2017-03-08 09:03:59 -08:00 |
|
Bradley Austin Davis
|
62fcd238ae
|
Fix shared pointer usage in storage abstraction
|
2017-03-08 09:03:58 -08:00 |
|
sam
|
1b036b7225
|
Implement the ktx keyvalue feature for read and write and use it with gpu::Texture to store meat data required for full serialization
|
2017-03-07 00:58:22 -08:00 |
|
Bradley Austin Davis
|
9051c84b6d
|
Fix warnings
|
2017-03-03 14:16:27 -08:00 |
|