summaryrefslogtreecommitdiff
path: root/drivers/gles2
AgeCommit message (Collapse)Author
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
2019-01-25Fix depth prepass in GLES2, closes #23321Juan Linietsky
2019-01-24Ensure WebGL uses highp by default, and fix some wrong mediump usages. Fixes ↵Juan Linietsky
#22962.
2019-01-24Fix crash with cube shadows in gles2, closes #22635Juan Linietsky
2019-01-24Makes screen texture work in GLES2 (2D for now), fixes #23604Juan Linietsky
2019-01-23Fix problem with texture2Dlod, closes #25263Juan Linietsky
2019-01-23Remove unused method in RasterizerStorageGLES2Rémi Verschelde
Added in 4f4e46edd539b0c26a6b086aa19c303b10de66b1 but not used in the end.
2019-01-22Implement unpacking for compressed vertex formats on GLES2 when not ↵Juan Linietsky
supported, fixes #22957
2019-01-22Do not use shadow cubemaps if depth write is not supported to avoid errors, ↵Juan Linietsky
closes #25219
2019-01-22Changes to GLES2 renderer to not use cube shadows if not available, fixes #25132Juan Linietsky
2019-01-22WebGL1 some changessantouits
glRenderBufferStorage doesn't accept the _DEPTH_COMPONENT24_OES so I changed it to GL_DEPTH_COMPONENT16 https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage https://www.khronos.org/registry/webgl/extensions/rejected/OES_depth24/ Enabled ext_shader_texture_lod extension. I guess it does the same like the GL_ARB_shader_texture_lod extension, but in WebGL1 https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/ And last WebGL1 doesn't allow indexes not constant, so I changed it into a loop reading this: https://stackoverflow.com/questions/19529690/index-expression-must-be-constant-webgl-glsl-error
2019-01-21webgl1 doesn't like backslashes in #definesantouits
According to https://www.khronos.org/registry/OpenGL/specs/es/2.0/GLSL_ES_Specification_1.00.pdf , backslashes aren't necessary supported as line continuation characters in preprocessor directives
2019-01-19Check for null pointer in RasterizerSceneGLES2::render_shadowStanislav
Fixes #25131
2019-01-18Use 16 bit indices on phones that dont support 32, fixes #19797Juan Linietsky