Commit Graph

11 Commits

Author SHA1 Message Date
Clément Foucault
388fcdb934 Cleanup: Overlay: Rename edit_text.hh to text.hh for consistency 2025-05-08 15:12:26 +02:00
Miguel Pozo
e231adc371 Revert "Overlay: Skip passes not needed"
This reverts commit c0d6675c84.
The DEG_id_type_any_exists function only takes the original type into
account.

Fix #138548
2025-05-07 17:05:48 +02:00
sentharn
69610383b9 Fix #138301: Rename GLSL "select" for Intel GPUs
The GLSL processor appears to dislike a member named "select" when a function named "select" exists.

The member has been renamed to object_select to avoid collisions.

Pull Request: https://projects.blender.org/blender/blender/pulls/138466
2025-05-06 19:42:09 +02:00
Miguel Pozo
c0d6675c84 Overlay: Skip passes not needed
Avoid initializing passes (and requesting their shaders) unless they're
actually needed.
Reduces the number of compiled Overlay shaders at startup
from 70 to 22.
Improves startup times.

Pull Request: https://projects.blender.org/blender/blender/pulls/138457
2025-05-06 16:09:12 +02:00
Miguel Pozo
d3f3dc4d72 Fix: Overlay: Material Preview when !bl_use_eevee_viewport 2025-04-30 20:46:00 +02:00
Clément Foucault
82dd9f68a4 Fix: Overlay: Compilation error on OpenGL
Caused by reserved `active` keyword in GLSL.
2025-04-30 12:44:00 +02:00
Clément Foucault
7714998537 Overlay: Remove macros for globals uniform buffer access
Pull Request: https://projects.blender.org/blender/blender/pulls/138068
2025-04-30 09:55:52 +02:00
Clément Foucault
cac80a9e3c Cleanup: Overlay: Rename GlobalsUboStorage to UniformData 2025-04-30 09:55:48 +02:00
Clément Foucault
27a8c00157 Overlay: Split theme colors and sizes into different structs
Centralize processing of each and allow
more semanticaly correct references.
2025-04-30 09:55:48 +02:00
Clément Foucault
954f7b0965 Fix #138048: Overlay: Transparent meshes hide overlays in Cycles
This happened only in material preview.

This is because the overlay engine was not considering material
preview as using EEVEE.
2025-04-29 16:06:53 +02:00
Clément Foucault
5bd572d4fd Cleanup: Overlay: Remove _next in overlay filename
These are not needed anymore since the legacy codebase
is gone.
2025-04-16 20:51:24 +02:00