SamGondelman
9e20d92241
CR changes
2016-08-10 10:35:18 -07:00
SamGondelman
5a4d15dd5b
fix warning
2016-08-09 14:02:42 -07:00
Andrew Meadows
85d87fe13f
Merge pull request #8218 from huffman/feat/load-improvements
...
Speed up gamma correction in cube map processing
2016-08-09 11:10:36 -07:00
Ryan Huffman
b800aa793d
Fix gamma correction adjusting uchar to float when unnecessary
2016-08-08 15:45:05 -07:00
SamGondelman
676f4bdfcf
misc fixes from particles branch
2016-07-29 15:36:32 -07:00
Bradley Austin Davis
54a7265be8
Removing empty file, because jenkins
2016-07-26 16:32:56 -07:00
Bradley Austin Davis
a9740b803f
Defer batch execution to the end of the frame generation
2016-07-26 16:13:48 -07:00
Bradley Austin Davis
a455f3a435
Add frame concept to gpu library
2016-07-26 15:25:36 -07:00
samcake
3a7c33165b
add missing include ?
2016-07-23 20:20:50 -07:00
samcake
2618741505
Merging with upstream master and updating my old PR
2016-07-21 17:59:00 -07:00
samcake
4742f40128
Separating the normal packing into it s own file and make sure to sclae the filter radius correctly dpeending on the resolution of diffusion
2016-07-19 12:23:57 -07:00
samcake
22ac95d463
REvisiting the RangeTimer to measure the real gpu duration
2016-07-15 09:12:16 -07:00
samcake
89ec547161
Trying to get the gpu timer to work correctly
2016-07-14 18:20:20 -07:00
samcake
f6671b34fa
Fix the transformation problem for rendering the mini mirror (scattering is still screwed though)
2016-07-13 18:26:53 -07:00
samcake
219b41e813
Fix the mini mirror perf issue and improve the debugDeferredLighting script
2016-07-13 17:37:35 -07:00
samcake
cde17ecaab
Clenaing the rendering and the framebuffer allocations
2016-07-12 14:34:54 -07:00
samcake
0e99a4ac97
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-07-11 10:49:28 -07:00
Ryan Huffman
611779b58b
Improve gamma correction implementation in cube map processing
2016-07-08 16:25:50 -07:00
samcake
ed67fe4051
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-07-08 09:04:40 -07:00
Brad Davis
790f74da1d
Support geometry shaders
2016-07-07 13:36:47 -07:00
Brad Davis
b73fe24848
PR feedback
2016-07-07 11:12:55 -07:00
Brad Davis
eff1c65388
Reduce the number of temporary objects in batch commands
2016-07-07 11:12:55 -07:00
Brad Davis
721cd79b57
Aggressive batch pre-allocation
2016-07-07 11:12:54 -07:00
samcake
b37df393e2
Merging with the new GL45Backend
2016-06-29 10:40:28 -07:00
Brad Davis
b16812aa4d
Adding GL 4.5 backend
2016-06-28 18:55:24 -07:00
samcake
90e5697940
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-06-22 09:06:47 -07:00
SamGondelman
34d18da4e4
remove mutable
2016-06-20 11:11:54 -07:00
SamGondelman
c30c2b64b2
first pass at preventing repeated compileShader error prints
2016-06-17 17:49:27 -07:00
samcake
37a6d29406
Finally clean the lighting pass for global and local lights, split it into global and locals and make it work with the stereo single drawcall
2016-06-17 17:19:49 -07:00
SamGondelman
f32e29ac2d
small changes
2016-06-10 13:46:02 -07:00
SamGondelman
da98ee0916
reorganized procedural shader code, added getWorldEyeWorldPos(), removed iWorldEyePosition
2016-06-10 13:42:19 -07:00
SamGondelman
8cccd5416a
try to fix mac errors
2016-06-09 16:10:27 -07:00
SamGondelman
24e5000aeb
exposed orientation and eye position to procedural entity shaders
2016-06-08 18:26:54 -07:00
samcake
3fe9b67e45
FIxing the reflection jittering by moving the normal into world space
2016-05-27 19:24:56 -07:00
Seth Alves
40e862cf9e
quiet gcc 5 warnings
2016-05-21 16:53:01 -07:00
Brad Davis
7efcad38d2
PR feedback
2016-05-18 23:11:36 -07:00
samcake
2cc425e256
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-05-18 15:34:05 -07:00
Zach Pomerantz
a55179101e
Fix invalidFormat check
2016-05-18 15:11:29 -07:00
Zach Pomerantz
ca364c2227
Fix vao usage
2016-05-18 14:58:12 -07:00
Brad Davis
3cc08cdcfc
Breaking up GL agnostic code from 4.1 specific code
2016-05-18 14:35:53 -07:00
Zach Pomerantz
854c6d839c
Style nit
2016-05-18 14:01:02 -07:00
Zach Pomerantz
804e6a805e
Simplify sync
2016-05-18 14:01:02 -07:00
Zach Pomerantz
e6664d9441
Initialize buffers
2016-05-18 14:01:02 -07:00
Zach Pomerantz
92e26169f6
Move define for vao to one header
2016-05-18 14:01:02 -07:00
Zach Pomerantz
df3fb2a0e8
Guard buffer copy on size
2016-05-18 10:56:48 -07:00
Zach Pomerantz
e8c86a3fe4
Fix warnings in updateInput
2016-05-18 10:53:12 -07:00
Zach Pomerantz
281c6dc82b
Always return input from sync
2016-05-18 10:52:58 -07:00
samcake
c627a555bf
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-05-16 16:27:51 -07:00
Brad Davis
0d6b0eef59
PR feedback
2016-05-16 15:27:14 -07:00
Brad Davis
5ba8372c21
Moving GL backend out of GPU
2016-05-16 12:54:17 -07:00
Brad Davis
84f4945840
Fix sampler mode lookup
2016-05-15 13:05:50 -07:00
Brad Davis
e8bd97c761
Fix GPU buffer memory statistics
2016-05-14 08:28:51 -07:00
Brad Davis
9509e32928
PR feedback
2016-05-14 08:28:51 -07:00
Brad Davis
eb84459f03
Support partial CPU->GPU buffer transfers
2016-05-14 08:28:50 -07:00
samcake
d5a9d39edf
Defaulting the color formats used in the rendering pipeline to sRGB
2016-05-11 18:01:19 -07:00
samcake
c6a081fb46
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-05-11 16:56:37 -07:00
Geenz
043fe3508a
Add SRGBA color format.
2016-04-30 15:47:42 -04:00
samcake
fa28286274
Merge with master and include fix to debus eception, still crashing on particular drawcalls when in stereo?
2016-04-26 15:26:56 -07:00
Geenz
d6ee569963
Add sRGB conversions to shaders.
2016-04-25 23:52:33 -04:00
Geenz
97931d96b8
Move sRGB calcs to ColorUtils
...
And start consolidating any conversions with calls into ColorUtils.
2016-04-25 12:59:16 -04:00
Geenz
ed9c0dd74d
Apply the correct sRGB conversions.
...
sRGB does not use a gamma curve of 2.2 - instead it uses a piece-wise
gamma curve that 2.2 is approximate of. This will cause very subtle
color differences between proper sRGB and "approximate" sRGB -
differences that are noticeable nonetheless.
2016-04-25 02:35:26 -04:00
Brad Hefta-Gaub
f1f9c6740d
Merge pull request #7745 from jherico/mac_texture_fix
...
Fixing texture storage allocation on OSX/GL 4.1
2016-04-22 17:07:12 -07:00
Bradley Austin Davis
472d3dc45f
Still working on mac breakage
2016-04-22 16:25:23 -07:00
Bradley Austin Davis
407e0c0dd7
Fixing texture storage allocation on OSX/GL 4.1
2016-04-22 15:48:18 -07:00
Chris Collins
9bd9de5710
Merge pull request #7636 from samcake/red
...
Stereo drawcall amplification
2016-04-22 15:46:18 -07:00
Brad Davis
33ec73bfd8
PR comments
2016-04-21 15:11:11 -07:00
Brad Davis
ef466a64bf
Add GPUIdent logic for determining video memory
2016-04-21 14:46:13 -07:00
Brad Davis
6c30194916
Support lowering the minimum mip of a texture at runtime
2016-04-21 14:46:12 -07:00
samcake
018196a070
One more review comment
2016-04-21 09:58:36 -07:00
howard-stearns
904e87313e
Match the gpu adapter names gainst the vendor and renderer names used by
...
the ogl we're using, so that we pick the right GPU to get info from.
2016-04-20 22:57:32 -07:00
samcake
d727e3b493
Trying to explore the bug with separate vertex format
2016-04-20 19:09:31 -07:00
samcake
2bc8191fa6
one more comment from review
2016-04-20 18:04:11 -07:00
samcake
f2f092e9c8
Cleanup thanks to review
2016-04-20 15:42:30 -07:00
Zach Pomerantz
948af75f8a
Transfer loaded resources with smart ptrs to avoid shutdown deadlock
2016-04-20 13:00:35 -07:00
samcake
8eb89b394c
Trying to use separate vertex attribute format
2016-04-20 12:30:50 -07:00
samcake
d471cc4ec5
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-04-20 09:37:54 -07:00
Andrew Meadows
a9cfb5bf16
fix linux build
2016-04-19 18:12:35 -07:00
samcake
c62b5a5e58
First pass
2016-04-19 17:13:00 -07:00
samcake
4c2cdc8704
A bit more clean up
2016-04-19 12:46:56 -07:00
samcake
71edae6d76
Removing the different versions of stereo drawcall to make a simple PR
2016-04-19 12:38:33 -07:00
samcake
33835ba6a1
Introducing the INput FOrmat gpu Object to optimize the changes
2016-04-19 12:04:42 -07:00
samcake
fb363180c8
Starting to expose the number of changes to the input format
2016-04-19 12:03:57 -07:00
samcake
3dad4f576e
Merging with master
2016-04-19 11:59:44 -07:00
Brad Davis
882267e08f
Merge pull request #7709 from samcake/blue
...
Introduce Shader Compilation versions
2016-04-19 11:14:22 -07:00
samcake
1a154bb3be
Revert the changes to use SSAO AND 2 buffers
2016-04-19 10:47:54 -07:00
samcake
265f6f1275
Updating & Merging with master
2016-04-19 10:05:44 -07:00
Brad Hefta-Gaub
5d550197bd
Merge pull request #7697 from samcake/orange
...
Introduce a simple state sort for drawing opaque items
2016-04-19 08:41:49 -07:00
Brad Hefta-Gaub
2780ade3bd
Merge pull request #7686 from zzmp/clean/bufferview
...
Consolidate BufferView ctors to cpp
2016-04-19 07:21:57 -07:00
samcake
7c7cd6e9e5
Go simple with a a true map for the unifrom mappings
2016-04-18 19:05:49 -07:00
samcake
4bbe0ddc6d
Go simple with a a true map for the unifrom mappings
2016-04-18 19:01:15 -07:00
samcake
cadb53b703
Adding shader versioning and defines from GLBackendShader allowing for runtime defines injection to shaders and more
2016-04-18 18:24:27 -07:00
samcake
c6deff16d6
Resoving to master...
2016-04-18 17:24:55 -07:00
samcake
d25a366962
Resoving to master...
2016-04-18 17:23:57 -07:00
samcake
7951284e9c
Merge branch 'master' of https://github.com/highfidelity/hifi into yellow
2016-04-18 16:54:17 -07:00
samcake
dccf549118
Merge pull request #7676 from jherico/perf_testing
...
Manually generate mipmaps for textures while loading
2016-04-18 15:09:12 -07:00
samcake
d746fba142
Cleaning up the stats.qml
2016-04-18 11:18:28 -07:00
Seth Alves
dea748d132
Merge pull request #7683 from zzmp/clean/texture
...
Remove unused static method gpu::Texture
2016-04-18 10:25:53 -07:00
Brad Davis
0d3bf366c1
Support loading multiple mips in texture transfer
2016-04-17 10:22:24 -07:00
Brad Davis
ac3d6c77b9
Add default parameter to mip loaded notifications
2016-04-17 10:20:02 -07:00
Brad Davis
f3e5306f90
Working on an automated performance test
2016-04-17 10:20:00 -07:00
samcake
c1ed0e2e14
Enabling sbo
2016-04-15 20:02:15 -07:00
samcake
554247193c
Trying SSBO for the object matrices
2016-04-15 19:55:52 -07:00
Zach Pomerantz
f2b9acd84d
Rm Texture::createFromStorage
2016-04-15 16:40:05 -07:00
Zach Pomerantz
5c004e2a5c
Add comment on storage texture ptr
2016-04-15 16:40:04 -07:00
Zach Pomerantz
263dcbb535
Consolidate BufferView ctors to cpp
2016-04-15 16:40:00 -07:00
samcake
fc29397d91
Clening up from review comments
2016-04-15 10:10:04 -07:00
samcake
30d0bfcfd3
FIxing the bump map loading which got broken in the past PR, fixed a double call to the glTexSUbIMage function and fixed a texel.Format
2016-04-15 00:41:37 -07:00
samcake
a9fefcc802
Trying ti debug the bad normal maps
2016-04-14 18:16:14 -07:00
samcake
c6414208e8
Use the dumber version of the stereo technique and fix a warning
2016-04-14 03:25:32 -07:00
samcake
6c3e011b89
Expose cleanely the 3 different techniques
2016-04-14 02:43:28 -07:00
samcake
41d4d3b2d7
Providing a cleaner way to try different paths and exploring a simpler way
2016-04-13 19:21:17 -07:00
samcake
7653fa2c37
Fixing the resize of framebuffer to avoid reassigning the render buffer every frame
2016-04-13 10:56:29 -07:00
samcake
e4d3e848f6
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-04-13 10:05:06 -07:00
Brad Hefta-Gaub
0f8842f582
Merge pull request #7637 from zzmp/fix/tex-transfer-free
...
Cleanly shutdown the texture transfer thread on quit
2016-04-12 19:28:51 -07:00
samcake
0477f89b1b
Justing exposing the timer correctly
2016-04-12 17:05:23 -07:00
samcake
ff1df0d45e
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-04-12 15:29:58 -07:00
samcake
ab9f41f5eb
Trying something a bit more radical for timing
2016-04-12 15:29:31 -07:00
Zach Pomerantz
c72a5f3605
Exit cleanly in debug with GL logger
2016-04-11 16:32:55 -07:00
Zach Pomerantz
666bf8d42b
Reset GL tex canvas while still running
2016-04-11 14:04:34 -07:00
Zach Pomerantz
1b7256d344
Clean shutdown for Texture Transfer thread
2016-04-11 12:59:53 -07:00
samcake
8a233ec9a1
the stereo rendering is working correctly, will now look for more performances
2016-04-11 12:32:59 -07:00
samcake
1138af9765
FIrst real stereo version
2016-04-11 01:19:46 -07:00
samcake
8964c2427d
adding support for the 2 versions of the shaders nad solving the mapping of uniforms that arise with it
2016-04-08 18:47:21 -07:00
samcake
ef70d41cf4
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-04-08 09:41:35 -07:00
samcake
2f8d30e7ce
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-04-08 09:34:55 -07:00
samcake
be178e9e09
fixing warnings
2016-04-07 23:44:28 -07:00
samcake
04e71df3bc
fixing a stupid code and a warning
2016-04-07 23:05:50 -07:00
samcake
76dd740578
Cleaning up to test before merge, not solved the stuttering happening when using compressed textures. cleaned up a bit of the TextureMap doanload callbacks
2016-04-07 20:05:05 -07:00
samcake
cf983e627d
fixing the warnings
2016-04-06 19:36:52 -07:00
samcake
a6bac7ad92
Experimenting with a hidden gltexture object while beeing transfered
2016-04-06 18:30:18 -07:00
samcake
16174df0f3
POlishing the size evaluation and trying to debug the compression scheme
2016-04-06 16:33:45 -07:00
Brad Davis
e194fc39f4
Move the texture transfer context back to the main thread for shutdown
2016-04-06 11:29:03 -07:00
samcake
d9bc06d92d
Trying to ge5t the proper behavior for the Compression texture and textures in genral...
2016-04-05 19:13:24 -07:00
samcake
710c4a1b8f
TRying to merge and expose counters for in flights transfers
2016-04-05 12:18:30 -07:00
samcake
71fa898654
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-04-05 09:45:45 -07:00
samcake
d3a87f8db2
need to merge, commiting at a broken state
2016-04-04 18:25:23 -07:00
Brad Davis
c168e2cc58
PR feedback
2016-04-04 16:53:30 -07:00
samcake
f3e6c490a4
merging with master, moving the TexelFOrmat function to a cpp
2016-04-04 12:03:37 -07:00
samcake
8732090073
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-04-04 11:22:21 -07:00
Brad Davis
d98abbc7df
First pass at threaded texture transfers
2016-04-04 10:23:01 -07:00
Brad Davis
667c27866e
Pushing texel format translation into header
2016-04-03 20:41:35 -07:00
samcake
0ba6c89c6e
WOrk in progress, generating several versions of the shader
2016-04-03 18:25:38 -07:00
samcake
9aface432d
Steping into 2 version tshaders
2016-04-01 19:10:14 -07:00
samcake
5baaad9b6e
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-04-01 17:20:05 -07:00
samcake
64fef2cfe2
Updating counters correctly
2016-04-01 17:19:41 -07:00
samcake
be38de3239
Cleaning up the TextureMap loaders and cleaning for pr
2016-04-01 17:16:22 -07:00
samcake
582a6b7db3
Adding the correct mip evaluation
2016-04-01 01:34:33 -07:00
samcake
9404846ca4
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-03-31 22:58:36 -07:00
samcake
9d1f91fa19
First pass at using compressed format when uploading textures
2016-03-31 19:27:35 -07:00
Zach Pomerantz
33d56d974e
Set texture size in cache post-proc
2016-03-31 17:02:40 -07:00