summaryrefslogtreecommitdiff
path: root/drivers/gles2/rasterizer_storage_gles2.cpp
AgeCommit message (Collapse)Author
2019-06-04use def ANDROID_ENABLED so android features are not included in javascript ↵clayjohn
builds
2019-05-13Implement ability to render viewports directly to screenclayjohn
2019-05-13Merge pull request #28518 from clayjohn/GLES2-MSAARémi Verschelde
Added MSAA to GLES2 backend
2019-05-08Fix texture resource reload bugDaniel Rakos
If a non-imported texture resource file (e.g. DDS) gets updated the editor doesn't reload it. The cause of the problem is two-fold: First, the code of ImageTexture assumes that textures are always imported from an image, but that's not the case for e.g. DDS. This change thus adds code to issue a resource reload in case an image reload is not possible (which is the case for non-imported texture resources). Second, the code is filled with bogus calls to Image::get_image_data_size() to determine the mipmap offset when that should be done using Image::get_image_mipmap_offset(). Previous code literally passed the integer mip level value to Image::get_image_data_size() where that actually expects a boolean. Thus this part of the change might actually solve some other issues as well. To be pedantic, the texture_get_data() funciton of the rasterizer drivers is still quite a mess, as it only ever returns the whole mipchain when GLES_OVER_GL is set (practically only on desktop builds) but this change does not attempt to resolve that.
2019-05-02added MSAA to GLES backendclayjohn
2019-04-30Merge pull request #25670 from aqnuep/bake_mode_affect_gi_proveRémi Verschelde
Disable GI probe capturing lights with bake mode disabled
2019-04-23Disable GI probe capturing lights with bake mode disabledDaniel Rakos
The bake mode property of lights previously didn't affect GI probes. This change makes the GI probe ignore lights that have their bake mode set to disabled.
2019-04-08Fix hint_range for GLES2 shader uniformsJFonS
2019-04-06Add option to have viewport render into supplied textureBastiaan Olij
2019-04-05Merge pull request #27411 from KidRigger/raster_storeRémi Verschelde
Added GLES2 RenderStorage Info calculations.
2019-04-02Enable warnings=extra on clang and GCC testers.marxin
And remove 2 warnings from warnings=extra.
2019-03-25Added GLES2 RenderStorage Info calculations.Anish Bhobe
Proper counting code has been added to update info struct. Extra: Added the render_info_capture calculations. Fixes: #27273
2019-03-12GLES2: Convert unsupported float texture types to 8-bit typesRémi Verschelde
2019-03-11Enable seamless cubemap only if extension is present.Juan Linietsky
2019-03-10increase size of radiance map in gles2clayjohn
2019-03-09gles2 reallocate texture when transparent is setclayjohn
2019-03-07Use glCopyTexSubImage2D instead of glCopyTexImage2D, should be safer and faster.Juan Linietsky
May be a solution to #26500
2019-03-03Skeletons can now choose between using local or world coords for processing, ↵Juan Linietsky
fixes #26468
2019-03-01Fixed RGTC (and other compressed) texture supports in GLES2. Fixes #26414 an ↵Juan Linietsky
probably others.
2019-03-01Skeleton was not providing prober AABB in GLES2, fixed.Juan Linietsky
2019-03-01Fixed some crashers, closes #26393Juan Linietsky
2019-03-01Remove unused include from previous commitRémi Verschelde
2019-03-01Clean up blend shape support in GLES2 and GLES3.Juan Linietsky
2019-03-01Strive for maximum compatibility in GLES2 regarding depth buffers.Juan Linietsky
2019-02-27Detect for 24 bits oes support on GLES2, closes #26344Juan Linietsky
2019-02-27Fix GCC 5 build after #26331 and cleanup styleRémi Verschelde
Also cleanup after 01a3dd3.
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-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-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-24Fixed issue with buffers being wrongly cleared, closes #25484Juan 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-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-01-27Properly get proxy texture size for canvas light, fixes #17067Juan Linietsky
2019-01-26fix s3tc support detection for webglmuiroc
2019-01-26Further fixes to avoid memory corruption, closes #25336Juan Linietsky
2019-01-24Makes screen texture work in GLES2 (2D for now), fixes #23604Juan 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-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-18Use 16 bit indices on phones that dont support 32, fixes #19797Juan Linietsky
2019-01-17Fixes to 2D lights, closes #24750Juan Linietsky
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-29Fix texture type not being initialisedBastiaan Olij
2018-12-27-Implented 2D Mesh support for GLES2Juan Linietsky
-Implemented 2D Skeleton deform for GLES2 -Implement Multimesh support for GLES2, closes #20524, closes #21839
2018-12-21Reverse RGBA shadow test on GLES2Juan Linietsky