summaryrefslogtreecommitdiff
path: root/drivers/gles3/shader_gles3.cpp
AgeCommit message (Collapse)Author
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-18Merge pull request #14794 from endragor/remove-debug-logsRémi Verschelde
Remove debug logs that are of no use to end users
2017-12-18Remove debug logs that are of no use to end usersRuslan Mustakov
2017-12-17Cleanup some #if 0'd codeRémi Verschelde
2017-12-05Improve slang, especially in user-visible partsUnknown
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-16Use precision for samples only when #version 300 esFabio Alessandrelli
Fix #10332
2017-08-11Some fixes for shaders and WebGL2Fabio Alessandrelli
Add padding to UBO data to be multiple of 16 bytes Add precision definition for samplers Replace texture2D (deprecated) with texture in shaders
2017-07-22Several changes to better run in mobile.Juan Linietsky
2017-07-08-Added triplanar mapping modesJuan Linietsky
-Some fixes to shader lang
2017-06-26-Fixed SCREEN_TEXTURE and other related 2D shader parameters.Juan Linietsky
-Fixded BackBuffercopy object
2017-06-212D GPU Particles working..Juan Linietsky
2017-06-01Rework shading modes and change location of light shaderJuan Linietsky
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-06-Changed memory functions, Memory::alloc_static*, simplified them, made them ↵Juan Linietsky
aligned to 16 -Changed Vector<> template to fit this.
2016-11-29Screen space reflection effectJuan Linietsky
2016-11-24Blend shapes using transform feedback (GPU)Juan Linietsky
2016-11-23WIP immediates and proper buffers swappingJuan Linietsky
2016-11-22Changed to proper GLSL versionJuan Linietsky
2016-11-22Migrated from GLES to GLAD, fixes many issues.Juan Linietsky
2016-11-11Done with lights and shadows (wonder if i'm missing something..)Juan Linietsky
2016-10-27PBR more or less working, still working on bringing gizmos backJuan Linietsky
2016-10-19Everything returning to normal in 3D, still a long way to goJuan Linietsky
-implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
2016-10-102D Shaders are working again using the new syntax, though all is buggy in ↵Juan Linietsky
general
2016-10-03Begining of GLES3 renderer:Juan Linietsky
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working