summaryrefslogtreecommitdiffstats
path: root/drivers/gles3/rasterizer_canvas_gles3.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
|
* Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Clean up two recently introduced WebGL errorsclayjohn2024-09-231-1/+3
|
* Only use backbuffer mipmaps in SCREEN_TEXTURE when generated.clayjohn2024-09-021-7/+8
|
* Simplify and fix Rect2/AABB get_support functionAaron Franke2024-08-191-1/+1
|
* Fix Parallax2D repeats being not relative to its transformkleonc2024-08-191-17/+16
|
* Remove linearization of canvas modulate in GLES3 backendclayjohn2024-07-241-9/+4
| | | | The GLES3 renderer is always in sRGB space, even when using an HDR format
* Linearize color if HDR 2D is onFeiyue Zhang2024-07-241-4/+9
|
* Make query for GL_MAX_VIEWPORT_DIMS compatible with web exportspatwork2024-06-141-2/+1
|
* Fixes SDF Collision Enable/Disablecosparks2024-04-221-1/+1
| | | | | - sets LightOccluderInstance field when sdf collision is updated - adds check for light occluder sdf_collision field in 2d renderers
* Fixed Timestep Interpolation (2D)Ricardo Buring2024-03-231-2/+11
| | | | | | | Adds fixed timestep interpolation to the rendering server (2D only). Switchable on and off with a project setting (default is off). Co-authored-by: lawnjelly <lawnjelly@gmail.com>
* clang-tidy: Enforce `modernize-use-nullptr`Thaddeus Crews2024-03-121-5/+5
|
* Add new Parallax2D nodemarkdibarry2024-03-031-2/+23
|
* Ensure proper vertex input masks are used in 2D compatibility rendererclayjohn2024-02-271-2/+0
|
* Consistently use system_fbo instead of binding 0 as it is needed for iOS devicesclayjohn2024-02-251-3/+3
|
* Merge pull request #86564 from Giwayume/feature/canvas-item-shader-custom-dataRémi Verschelde2024-02-081-10/+16
|\ | | | | | | Support CUSTOM shader attributes in 2D
| * Add custom shader attributes to Canvas Item ShadersGiwayume2024-01-231-10/+16
| |
* | Disable scissor test after rendering batches in compatibility rendererclayjohn2024-01-221-0/+1
| |
* | Fix issue where the UV's were off in CompatibilityJordi Scharp2024-01-111-5/+9
|/ | | | | | Fixes a bug where CanvasTexture's UVs were off when using the Compatibility mode's renderer. Fixes #86746
* Merge pull request #85811 from clayjohn/2D-render-infoRémi Verschelde2023-12-121-10/+42
|\ | | | | | | Implement render info counters for the 2D renderer
| * Implement render info counters for the 2D rendererclayjohn2023-12-061-10/+42
| | | | | | | | This provides information for the debug monitors
* | Ensure that 2D meshes use a proper input maskclayjohn2023-12-091-1/+1
| | | | | | | | The input mask was wrongly ignored in earlier versions. Now it is actually used so the input mask variable needs to be a valid number
* | GLES3: Skip batches with zero instance count while renderingHolySkyMin2023-12-051-0/+5
|/
* Merge pull request #83003 from AThousandShips/null_check_extraRémi Verschelde2023-10-091-2/+2
|\ | | | | | | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
| * Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-10-081-2/+2
| |
* | Replace `sanity` with `safety` for checksA Thousand Ships2023-10-081-1/+1
|/
* Vertex and attribute compression to reduce the size of the vertex format.clayjohn2023-10-051-1/+1
| | | | | | | | | | | | | This allows Godot to automatically compress meshes to save a lot of bandwidth. In general, this requires no interaction from the user and should result in no noticable quality loss. This scheme is not backwards compatible, so we have provided an upgrade mechanism, and a mesh versioning mechanism. Existing meshes can still be used as a result, but users can get a performance boost by reimporting assets.
* Fix GLES3 instanced rendering color and custom data defaultsbitsawer2023-09-291-0/+7
|
* [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add ↵bruvzg2023-09-211-2/+5
| | | | | | EGL_ANDROID_blob_cache caching. Co-authored-by: Riteo <riteo@posteo.net>
* [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-121-7/+7
|
* Fix clear color's alpha value will affects 2D editor in Compatibility modejsjtxietian2023-09-071-1/+1
| | | | When the rt's transparency is false, force the alpha of the clear color to one
* fix glMapBufferRange return null when r_index + last_item_index > max_instancesjsjtxietian2023-08-271-1/+1
|
* fix GLES3 changing 2d shadow atlas size is brokenMounir Tohami2023-08-161-3/+17
|
* Add RENDERING_INFO parameters to GL Compatibility rendererclayjohn2023-06-161-20/+39
| | | | | | | | This also fixes RENDERING_INFO_TOTAL_PRIMITIVES_IN_FRAME for the RD renderers as it was incorrectly reporting vertex/index count at times This also adds memory tracking to textures and buffers to catch memory leaks. This also cleans up some memory leaks that the new system caught.
* [OpenGL] Fix LCD blend mode color caching.bruvzg2023-06-071-2/+4
|
* Fix "Light Only" mode of `CanvasItemMaterial`Danil Alexeev2023-05-131-2/+2
|
* Check for instancing without relying on instance_count when drawing 2D meshesclayjohn2023-04-111-2/+5
| | | | This ensures that Particles and MultiMeshes still draw when instance_count is 1
* Fixes a canvas item set to clip children being drawn as black if no children ↵SlugFiller2023-03-071-10/+18
| | | | are visible
* Merge pull request #73478 from NewDefectus/masterRémi Verschelde2023-02-211-2/+1
|\ | | | | | | Use the original canvas to calculate light positioning
| * Use the original canvas to calculate light positioningAlon Ran2023-02-211-2/+1
| |
* | Fix bufSize parameter for glGetSyncivChibiDenDen2023-02-201-1/+1
| | | | | | | | | | | | According to the docs: https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glGetSynciv.xhtml Bufsize is in integers, not bytes. The current code overflows data unto other stack variables.
* | Avoid unecessary binding of occlusion polygon vertex arrayclayjohn2023-02-171-1/+2
|/ | | | By binding this and unbinding it, the state was getting modified in other parts of the pipeline
* Store blend mode between CanvasItems to preserve batchingclayjohn2023-02-131-1/+1
|
* Properly reset blend mode when resetting canvas in compatibility rendererclayjohn2023-02-091-0/+1
|
* Set instancing flags when using GPUParticles in OpenGL rendererclayjohn2023-02-071-0/+2
|
* Merge pull request #72695 from clayjohn/CanvasGroup-shadingYuri Sizov2023-02-041-0/+2
|\ | | | | Avoid shading CanvasGroup nodes twice
| * Avoid shading CanvasGroup nodes twiceclayjohn2023-02-031-0/+2
| |
* | Ignore instance color and instance custom_data when not used in the OpenGL ↵clayjohn2023-02-031-0/+6
|/ | | | renderer
* Fix texture rect transpose for OpenGLNinni Pipping2023-02-021-1/+1
|
* Avoid crash when CanvasTexture used with light decal atlasclayjohn2023-01-301-0/+3
| | | | The decal atlas is used for Light2Ds, decals, and Light3Ds