summaryrefslogtreecommitdiff
path: root/drivers/gles2
AgeCommit message (Collapse)Author
2019-02-27Massive improvement to GLES2 performance, rewrote most ShaderGLES2 class.Juan Linietsky
This fixes #26337
2019-02-27Detect for 24 bits oes support on GLES2, closes #26344Juan Linietsky
2019-02-27Merge pull request #26134 from marxin/fix-Wsign-compareRémi Verschelde
Fix -Wsign-compare warnings.
2019-02-27Fix GCC 5 build after #26331 and cleanup styleRémi Verschelde
Also cleanup after 01a3dd3.
2019-02-27Fix -Wsign-compare warnings.marxin
I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
2019-02-26Remove references to OES24, which is incompatible with many devices.Juan Linietsky
2019-02-26-Remove harcoded opengl extension testing from OS, ask rasterizer instead.Juan Linietsky
-Fixed a bug where etc textures were imported broken
2019-02-26Merge pull request #26286 from kaadmy/gles2_ortho_shadowRémi Verschelde
Fix orthographic shadow color when using GLES2
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-25Fix orthographic shadow color when using GLES2KaadmY
2019-02-24Removed debug function.Juan Linietsky
2019-02-24Many separate fixes to ensure non power of 2 textures work on GLES2, closes ↵Juan Linietsky
#25897 and many others
2019-02-24Explicitly use floating point numbers in the our shadersHein-Pieter van Braam
We need to be explicit about using floating point numbers in our shaders for compatibility with mobile GLES drivers.
2019-02-24Fixed issue with buffers being wrongly cleared, closes #25484Juan Linietsky
2019-02-23Fix vertex lighting in GLES2, closes #25365Juan Linietsky
2019-02-22Properly update materials when adding surface, fixes #23790Juan Linietsky
2019-02-22Remove unused variable after aab8f44Rémi Verschelde
2019-02-22-Support DEPTH_TEXTURE in GLES2, fixes #25106Juan Linietsky
-Fix use of transparent framebuffers in GLES2 -Fix use of ambient color clearing in GLES2 when no environment exists.
2019-02-22Fix code style issuesRémi Verschelde
2019-02-21Make alpha 1.0 when using texscreen, fixes #25850Juan Linietsky
2019-02-21Revert back to ignoring LIGHT_VEC for 2D shadowsJFonS
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-18Merge pull request #26005 from clayjohn/gles2_shadow_colorRémi Verschelde
Added shadow_color property to gles2
2019-02-17added shadow_color property to gles2clayjohn
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-13Merge pull request #25821 from akien-mga/sync-class-and-filenamesRémi Verschelde
Ensure classes match their header filename
2019-02-12Fix infinite recursion in GLES2 _copy_texscreenRémi Verschelde
Bug introduced in 9430e68cf3013aaa0673a4dfff844324a9c1274a, likely a typo.
2019-02-12Support SCREEN_TEXTURE in GLES2, fixes #25405Juan Linietsky
2019-02-12Ability to vflip viewports in GLES2, fixes #24555Juan Linietsky
Also culling was reversed somehow.
2019-02-12Use UVs with the nvidia rendering hack, fixes #24563Juan Linietsky
2019-02-12Fix fog in GLES2 by using epic hack, closes #25410Juan Linietsky
2019-02-12Missing canvas end left mask turned on, fixes #25666Juan Linietsky
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-02-12Merge pull request #25481 from hpvb/fix-ubsan-asan-reportsRémi Verschelde
Fix many asan and ubsan reported issues
2019-02-12Merge pull request #25623 from clayjohn/multimesh_color_bugRémi Verschelde
[GLES2] Initialize color buffer to white in gles2 multimesh
2019-02-12Merge pull request #25682 from JFonS/fix_light_canvas_gles2Rémi Verschelde
Fix canvas light shaders on GLES2
2019-02-12Merge pull request #25779 from JFonS/fix_25581Rémi Verschelde
Make LIGHT_VEC affect 2D shadows again
2019-02-12Merge pull request #25134 from staddy/masterJuan Linietsky
Check for null pointer in RasterizerSceneGLES2::render_shadow
2019-02-10Make LIGHT_VEC affect 2D shadows againJFonS
2019-02-07Fix canvas light shaders on GLES2JFonS
2019-02-04initialize color buffer to white in gles2 multimeshclayjohn
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-28Cleanup and identify ShaderCompilerGLES[23] differencesRémi Verschelde
2019-01-28GLES2: Define LIGHT Spatial shader builtinRémi Verschelde
Fixes #25421.
2019-01-27Properly discard fragments during depth prepass opaque pass, fixes #23321Juan Linietsky
2019-01-27Properly get proxy texture size for canvas light, fixes #17067Juan Linietsky
2019-01-27Use transparent framebuffer only when set to transparent, closes #21827Juan Linietsky
2019-01-26fix s3tc support detection for webglmuiroc
2019-01-26Further fixes to avoid memory corruption, closes #25336Juan Linietsky
2019-01-25Properly dispose of custom shaders, closes #19300Juan Linietsky