Eugene Kozlov
|
e5b53e2f2c
Delete GPU objects when OpenGL context is about to be lost.
|
5 years ago |
urho3d-travis-ci
|
1151b8a2d6
Travis CI: bump copyright to 2020.
|
6 years ago |
urho3d-travis-ci
|
a476f0c401
Travis CI: bump copyright to 2019.
|
7 years ago |
Yao Wei Tjong 姚伟忠
|
d43bf1b3d6
Clang-Tidy - hicpp-signed-bitwise.
|
7 years ago |
Yao Wei Tjong 姚伟忠
|
6d08bcd8c0
Clang-Tidy - hicpp-member-init.
|
7 years ago |
Ricardo Abreu
|
5eea074280
add and employ ShaderParameter constructor for OpenGL use-case and zero-initialize remaining attributes by default - fixes coverity with CID 127650
|
7 years ago |
urho3d-travis-ci
|
70049ba582
Travis CI: bump copyright to 2018.
|
8 years ago |
Yao Wei Tjong 姚伟忠
|
617b2d8cf7
Minor refactor to manually rename the range-based-for-loop index.
|
8 years ago |
Yao Wei Tjong 姚伟忠
|
446247fa8c
Clang-Tidy - modernize-loop-convert.
|
8 years ago |
Eugene Kozlov
|
5a2bec95f1
Automatic upgrade: override, typedef to using, 0 to nullptr.
|
8 years ago |
urho3d-travis-ci
|
ee054a1507
Travis CI: bump copyright to 2017.
|
9 years ago |
Lasse Öörni
|
eb104906aa
Remove API-specific Graphics class headers and code duplication. Closes #1422.
|
9 years ago |
Lasse Öörni
|
6c77b75813
Cleanup ShaderParameter related code.
|
9 years ago |
Lasse Öörni
|
f8d636426c
Make ShaderVariation class header API-agnostic.
|
9 years ago |
Lasse Öörni
|
1ba87dae4c
Get rid of API-specific GPUObject class header & implementation.
|
9 years ago |
Lasse Öörni
|
8215c42e37
OpenGL arbitrary vertex attributes. Change GLSL attribute indexing to zero-based to match HLSL, so the second texcoord (lightmaps, billboard sizes) is now called texCoord1, and instancing texcoords are texCoord4,5,6.
|
9 years ago |
urho3d-travis-ci
|
c4f6f315ff
Travis CI: bump copyright to 2016.
|
10 years ago |
Lasse Öörni
|
6d2853d81d
Add 32-bit integer object index attribute for custom instancing schemes. May not work on GLES2 as it's using attribute index 13. Not supported on D3D9. Closes #1108.
|
10 years ago |
Ivan K
|
3a7e7f058e
LOGWARNING -> URHO3D_LOGWARNING
|
10 years ago |
Jukka Jylänki
|
fc0d427557
Add support for GPU hardware instancing on Emscripten. In WebGL 1 it is exposed by the ANGLE_instanced_arrays ( https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/ ) extension, and in WebGL 2, it is enabled in core.
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
fa77a456f8
Reformat Urho3D source files to get rid of the indents on empty lines.
|
10 years ago |
Lasse Öörni
|
88b05c738f
Remember shader parameter sources inside individual ShaderPrograms to reduce redundant uniform assignments.
|
10 years ago |
Lasse Öörni
|
040b6263f5
Fix crash with null constant buffer slots.
|
10 years ago |
Lasse Öörni
|
2cefd437de
Check if shader uses uniforms outside buffer and invalidate all parameter groups in that case, when switching shaders. Add define in Uniforms.glsl which allows to disable constant buffers on OpenGL 3, as using them may actually be slower.
|
10 years ago |
Lasse Öörni
|
0e5a05afc7
OpenGL 3 constant buffer support.
|
10 years ago |
Lasse Öörni
|
6e6c39c5a8
Add a ShaderProgram class also for D3D9, which holds the combined shader parameters. Cleaned up ShaderProgram handling on OpenGL. Optimized away repeated assignment of constant values from D3D9 SetShaderParameter().
|
10 years ago |
Lasse Öörni
|
bb2ebf7568
Bump copyright to 2015.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
f719e3a429
Remove explicit inclusion of precompiled header file.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
359efb2d37
Move the DebugNew.h from Urho3D/Container subdir to Urho3D subdir.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
b0f96615d8
Further clean up on the include path for the Graphics sub-library.
|
11 years ago |