summaryrefslogtreecommitdiff
path: root/servers/visual
AgeCommit message (Collapse)Author
2019-02-17Fix update of canvas AABB with update_when_visibleJFonS
Ensure the AABB of canvas items is always updated when `update_when_visible` is enabled.
2019-02-13Fix typos with codespellRémi Verschelde
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-02-12Drivers, main, servers: Ensure classes match their header filenameRémi Verschelde
Renamed: - `drivers/alsamidi/alsa_midi.h` -> `midi_driver_alsamidi.h` (same for `coremidi` and `winmidi`) - `main/timer_sync.h` -> `main_timer_sync.h` - `servers/visual/visual_server_global.h` -> `visual_server_globals.h`
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-01-30Fix many asan and ubsan reported issuesHein-Pieter van Braam
This allows most demos to run without any ubsan or asan errors. There are still some things in thirdpart/ and some things in AudioServer that needs a look but this fixes a lot of issues. This should help debug less obvious issues, hopefully. This fixes #25217 and fixes #25218
2019-01-27Merge pull request #25314 from marxin/fix-24417-class-memaccessRémi Verschelde
Fix class memaccess
2019-01-27Properly get proxy texture size for canvas light, fixes #17067Juan Linietsky
2019-01-26Add a check to help find transforms that are passes invalid.Juan Linietsky
2019-01-25Use placement new in visual_server_scene.cpp (#24417).marxin
2019-01-22Changes to GLES2 renderer to not use cube shadows if not available, fixes #25132Juan Linietsky
2019-01-21Cleanup after @reduz :)Rémi Verschelde
Fixes #25172.
2019-01-17Fixes to 2D lights, closes #24750Juan Linietsky
2019-01-09Fix a nested ysort invalid memory read againBojidar Marinov
Fixes #24755
2019-01-04Merge pull request #24539 from BastiaanOlij/override_gl_positionRémi Verschelde
Override GL_position
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-30Always treat exponent as floatBastiaan Olij
2018-12-29Override GL_positionBastiaan Olij
2018-12-15Adding option to re-orient our skyBastiaan Olij
2018-12-12Merge pull request #23469 from clayjohn/fragment_camera_matrixRémi Verschelde
Added CAMERA_MATRIX to fragment shader
2018-12-11Merge pull request #23483 from clayjohn/fragment_camera_viewRémi Verschelde
Make VIEW vector available in fragment shader
2018-12-11make VIEW vector available in fragmentclayjohn
2018-12-11Merge pull request #24163 from clayjohn/light_uv_constRémi Verschelde
Make LIGHT_UV constant in canvas_item light shader
2018-12-04Fix error when adding children to YSortBojidar Marinov
If it weren't for this warning, it would have crashed in release builds. Fix #23889, fixup 6b8d6e3b07c83da1c365f9ad79e84e5147ec26f7
2018-12-04make LIGHT_UV constantclayjohn
2018-11-28Added luminance capping to avoid glitches on small dots. closes #17996Juan Linietsky
2018-11-24Allow *= operator between vec and mat types in shadersKanabenki
2018-11-21Removed noperspective (not in GLSL ES 3.0), do not write smooth if not ↵Juan Linietsky
specified. Fixes #20435
2018-11-21Merge pull request #23878 from bojidar-bg/23775-ysort-crashRémi Verschelde
Fix YSort crash when removing a child
2018-11-21Fix YSort crash when removing a childBojidar Marinov
Fixup of 8e4837f35778e917370e802c167ce1fbd07b068c Fixes #23775
2018-11-19Do not draw particles if they are not processing at all, fixes #19507Juan Linietsky
2018-11-16Use hint_color when getting shader default paramsJFonS
2018-11-14Proper validation of out arguments in built-in shader functions, closes #16244Juan Linietsky
2018-11-14Merge pull request #23248 from dlasalle/fogJuan Linietsky
Add parameters for fog end depth and use alpha as density.
2018-11-14Cleaned up and fixed the base_changed function in rasterizers, also fixes #15617Juan Linietsky
2018-11-13Add parameter for fog max depth and use alpha as density.Dominique LaSalle
2018-11-12Merge pull request #23407 from bojidar-bg/3281-ysort-recursiveRémi Verschelde
Y-Sort children together in nested YSorts
2018-11-12Do not allow samplers where they dont belong (variables/return types), fixes ↵Juan Linietsky
#15133
2018-11-08Effectively ensure that surface materials are the right size when setting ↵Juan Linietsky
them, fixes #23596
2018-11-04Remove animation loop from ParticlesMaterial + improvements to CPUParticles2DJFonS
Remove animation loop from ParticlesMaterial and move it to SpatialMaterial for 3D particles and Particles2D for the 2D case. Added animation to CPUParticles2D as well as the "Convert to CPUParticles2D" to the PAarticles2D menu.
2018-11-02added CAMERA_MATRIX to fragment shaderclayjohn
2018-10-30Fix canvas stacking not deterministic on same layerPedro J. Estébanez
Fixes #22687.
2018-10-30Y-Sort children together in nested YSortsBojidar Marinov
Closes #3281
2018-10-25fixed uninitialized variables and false positives found by CppCheckSimon Wenner
2018-10-19Fixing warnings generated by MSVCDualtagh Murray
Fixes #22684.
2018-10-11Merge pull request #22800 from QbieShay/depth_writeRémi Verschelde
Added the ability to write to gl_FragDepth.
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-10-06Added the ability to write to gl_FragDepth. It doesn't affect the depth prepass.QbieShay
2018-10-02Merge pull request #22574 from BastiaanOlij/mobile_vr_gles2Rémi Verschelde
Moving lens distortion shader into drivers and adding GLES2 support
2018-10-02Fix warnings on virtual methods [-Woverloaded-virtual] ↵Rémi Verschelde
[-Wdelete-non-virtual-dtor] Fixes the following Clang 7 warnings: ``` editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual] servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual] core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] ```
2018-10-02Moving lens distortion shader into drivers and adding GLES2 supportBastiaan Olij