summaryrefslogtreecommitdiff
path: root/drivers/gles3/rasterizer_storage_gles3.cpp
AgeCommit message (Collapse)Author
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-07Merge pull request #27527 from BastiaanOlij/render_ext_targetRémi Verschelde
Add option to have viewport render into supplied texture (VR)
2019-04-06GLES3: Fix regression in particles buffer initializationRémi Verschelde
Bug introduced in #26343 where `(float *)` was mistakenly converted to `(uint8_t *)`, so we were getting `2` instead of `8`. Fixes #27705.
2019-04-06Add option to have viewport render into supplied textureBastiaan Olij
2019-04-05Add Open Asset Import Library to Godot.K. S. Ernest (iFire) Lee
FBX support and MMD (pmx) support. Normals, Albedo, Metallic, and Roughness through Arnold 5 Materials for Maya FBX. Maya FBX Stingray PBS support. Importing FBX static meshes work. Importing FBX animations is a work in progress. Supports FBX 4 bone influence animations. Supports FBX blend shapes. MMDs do not have an associated animation import yet. Sponsored by IMVU Inc.
2019-04-02Enable warnings=extra on clang and GCC testers.marxin
And remove 2 warnings from warnings=extra.
2019-03-26Fixed handling of depth texture so it's resolved and bound when neededDaniel Rakos
- Cleaned up and improved the code determining when we need to use a depth prepass (previously it wasn't executed in certain cases even if it was needed) - Added code to prepare and bind the depth texture even when no depth prepass or MRTs (more precisely effect buffers) are used Fixes #25870, #25535, and #25387.
2019-03-07Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733Juan Linietsky
2019-03-04Fix and restore text, material and mesh previewers.Juan Linietsky
2019-03-03Fixed TextureArray and Texture3D issuesDaniel Rakos
- Texture arrays and 3D textures weren't working previously due to an incorrect number of calls to glTexImage3D with incorrect level parameters. This change fixes that. - Fixed the incorrect calculation of the byte size of layered textures. - Added the layer count to the debugger info when viewing video memory usage.
2019-03-03Skeletons can now choose between using local or world coords for processing, ↵Juan Linietsky
fixes #26468
2019-03-01Clean up blend shape support in GLES2 and GLES3.Juan Linietsky
2019-02-25Several fixes to make GLES2 on HTML5 work much better.Juan Linietsky
Changed math class error reporting to be a bit less paranoid.
2019-02-22Properly update materials when adding surface, fixes #23790Juan Linietsky
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-13Remove all references to stencil, fixes problems on iOS.Juan Linietsky
2019-02-13On mobile, check for float and half float frameuffers supported, fixes ↵Juan Linietsky
#25324, fixes #25325.
2019-01-27Fix polygon drawing on WebGL1Konrad Nowakowski
2019-01-27Properly get proxy texture size for canvas light, fixes #17067Juan Linietsky
2019-01-26Further fixes to avoid memory corruption, closes #25336Juan Linietsky
2019-01-24Revert "Fix errors on iOS"Juan Linietsky
2019-01-24Merge pull request #25257 from karroffel/tex3d-get-data-fixRémi Verschelde
implemented texture_get_data() for TextureLayered
2019-01-23implemented texture_get_data() for TextureLayeredthomas.herzog
2019-01-23Fix errors on iOSBastiaan Olij
2019-01-17Fix enum scopeEmanuele Fornara
2019-01-04Merge pull request #24568 from Shinryuuji/fix-wrong-texture-array-targetRémi Verschelde
Fix wrong default target for sampler2DArray
2019-01-04Merge pull request #24575 from nekomatata/android-curve-textureRémi Verschelde
Fixed CurveTexture with GLES3 on Android
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-30Fixed CurveTexture with GLES3 on AndroidPouleyKetchoupp
2018-12-29Fix texture type not being initialisedBastiaan Olij
2018-12-23Fix wrong default target for sampler2DArrayShinryuuji
2018-11-28Check for WebGL RGTC extensionLeon Krause
2018-11-20Remove debug print in RasterizerStorageGLES3Rémi Verschelde
2018-11-19Do not draw particles if they are not processing at all, fixes #19507Juan Linietsky
2018-11-19Ensure bone AABBs are properly transformed to affect mesh AABB, fixes #19281Juan Linietsky
2018-11-16Use hint_color when getting shader default paramsJFonS
2018-11-14Do not error on empty shader, just treat it as invalid by default. Fixes #15998.Juan Linietsky
2018-11-14Cleaned up and fixed the base_changed function in rasterizers, also fixes #15617Juan Linietsky
2018-11-04Simplified boolean logic in GLES2/3 rasterizersWilson E. Alvarez
2018-11-01Merge pull request #23125 from JFonS/fix_texture_get_dataJuan Linietsky
Implement rasterizer texture_get_data on OpenGL ES
2018-11-01Implement rasterizer texture_get_data on OpenGL ESJFonS
2018-10-29Use BufferSubData instead of MapBufferRange in HTML5 platformLeon Krause
WebGL does not support MapBufferRange or UnmapBuffer. Also used in non-ES platforms where an extra-copy is avoided.
2018-10-25Merge pull request #22779 from Superwaitsum/LimitSettingsRémi Verschelde
Limit several project settings
2018-10-24Add some limits on the Editor SettingsSuperwaitsum
2018-10-08Fixes to CPU particles for performance and avoiding NaNs.Juan Linietsky
2018-10-07Merge pull request #22722 from akien-mga/fix-warningsRémi Verschelde
Fix more "may be used initialized" warnings from GCC 7
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-10-04Fix more "may be used initialized" warnings from GCC 7Rémi Verschelde
Fixes the following GCC 7 warnings: ``` core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized] core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized] servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized] ```
2018-10-02Merge pull request #22455 from Calinou/reverse-cull-face-update-lightRémi Verschelde
Update lights when their reverse cull face mode is toggled
2018-09-28-Lightmap and lightmap capture support for GLES2Juan Linietsky
-Added hint to not show some properties when running on low end gfx