summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2022-11-29Enable GLES3 on Androidclayjohn
Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
2022-11-28Merge pull request #68740 from bruvzg/ios_fixesRémi Verschelde
[iOS] Fix getting Unicode executable path, fix error spam on start.
2022-11-26Changed `RenderingDevice::TextureUsageBits` type to enum flagsYuri Rubinsky
2022-11-24Fix drawing of Mesh2Dclayjohn
The batch was being discarded if no instance buffer was present, but an instance buffer is only needed for MultiMesh and particles.
2022-11-24Improve logic for detecting and tracking extensionsBastiaan Olij
2022-11-22Merge pull request #68942 from Chaosus/barrier_mask_flagsRémi Verschelde
Expose `BarrierMask` as flags enum in `RenderingDevice`
2022-11-22Expose `BarrierMask` as flags enum in `RenderingDevice`Yuri Rubinsky
2022-11-21Expose model_matrix in GLES3 scene fragment shaderclayjohn
2022-11-21Merge pull request #68527 from pkdawson/vertex-array-offsetsRémi Verschelde
Add `offsets` parameter to RenderingDevice::vertex_array_create
2022-11-20Merge pull request #68830 from Ayush-singla27/issuebranchRémi Verschelde
fixed incorrect mesh normals in shaders
2022-11-18Fix drawing of 2D skeletons in the RD renderer.clayjohn
Also clean up skeleton code in preparation for adding them to GLES3 Properly update Mesh2D AABBs when skeleton is updated
2022-11-19fixed incorrect mesh normals in shadersAyush Singla
2022-11-18Merge pull request #68710 from BastiaanOlij/fix_vrsRémi Verschelde
Fix VRS issues
2022-11-16GLES3 TextureStorage - add missing null checksdzil123
2022-11-16[iOS] Fix getting Unicode executable path, fix "!configured" and ↵bruvzg
"!classes.has(ti.inherits)" error spam on start.
2022-11-17Fix VRS issuesBastiaan Olij
2022-11-15Merge pull request #68372 from Riteo/glad2Rémi Verschelde
Regenerate GL loader code with GLAD 2
2022-11-15Merge pull request #68426 from clayjohn/GLES3-particlesRémi Verschelde
Add GPUParticles to the OpenGL3 renderer.
2022-11-15Merge pull request #68628 from clayjohn/shadowsRémi Verschelde
Implement is_animated and casts_shadows
2022-11-14Add GPUParticles to the OpenGL3 renderer.clayjohn
This includes collision (2D SDF, Box, Sphere, Heightmap), attraction (Box, Sphere), and all sorting modes. This does not include 3D SDF collisions, trails, or manual emission.
2022-11-14Merge pull request #68657 from Sauermann/fix-redundant-initializationRémi Verschelde
Remove redundant non-trivial Variant types initializations
2022-11-14Regenerate GL loader code with GLAD 2Riteo
GLAD 1 creates unusable loaders for EGL, while the newly released GLAD 2 does not, so for consistency I thought that it would be a good idea to uniform things beforehand. While it had some API changes some renames were all that was needed and everything works like before, at least on the Wayland branch. I've kept the structure identical, although this new generator has quite a few hefty features, such as a single header mode. I've also added GLAD to `thirdparty/README.md`, but I haven't specified that in the commit title because it's a very small "fix".
2022-11-14Fix periods in editor strings and messagesHugo Locurcio
- Ensure all strings with ellipsis end with 3 periods instead of 2. - Fix extraneous period in "Error calling from signal '...' to callable" messages.
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-14Merge pull request #61884 from Calinou/alpha-hash-use-opaque-pipelineRémi Verschelde
Use opaque rendering pipeline for alpha hash materials
2022-11-13Implement is_animated and casts_shadowsclayjohn
This allows the renderer to correctly decide when to update shadow maps This PR also adds TIME to a few missing places
2022-11-11Implement texture_proxy_update which is needed for AnimatedTextureclayjohn
2022-11-11Add `offsets` parameter to RenderingDevice::vertex_array_createPatrick Dawson
2022-11-11Merge pull request #68307 from EIREXE/goodbye_winblowsRémi Verschelde
Fallback to IAudioClient when IAudioClient3 is not available in a more robust way
2022-11-11Merge pull request #68186 from pkdawson/expose-texture-rdRémi Verschelde
Expose texture_get_rd_texture for scripts
2022-11-11Merge pull request #67374 from MrBlockers/fix-draw-primitiveRémi Verschelde
Fix draw_primitive ignoring texture argument
2022-11-10Fallback to IAudioClient when IAudioClient3 is not available in a more ↵Álex Román Núñez
robust way
2022-11-09Merge pull request #68440 from clayjohn/redraw-TIMERémi Verschelde
Request redraw in OpenGL3 and mobile renderers when TIME used in shader
2022-11-08Request redraw in OpenGL3 and mobile renderers when TIME used in shaderclayjohn
2022-11-08Add support for OpenGL to OpenXRDavid Snopek
2022-11-08Remove duplicate project settings definitionskobewi
2022-11-05RenderingDevice: Fix usage of index offsetPatrick Dawson
2022-11-04Fix pathological corner case in drawing tileset editorclayjohn
Interleaving draw_rect calls with and without a texture forces every rect to have its own draw call. In this case it meant that there is a draw call for every single tile in the atlas. This change makes it so the renderer can batch draw calls which reduced the draw call count by a factor of 512
2022-11-04Merge pull request #68212 from dsnopek/rt-override-one-methodRémi Verschelde
Collapse three seperate texture storage methods into render_target_set_override()
2022-11-03Merge pull request #68102 from BastiaanOlij/fix_render_issues_xrRémi Verschelde
Fix several render issues found while debugging XR
2022-11-03Collapse three seperate texture storage methods into ↵David Snopek
render_target_set_override()
2022-11-03Expose texture_get_rd_texturePatrick Dawson
2022-11-03Merge pull request #67770 from clayjohn/GLES3-flip_yRémi Verschelde
Remove depth correction in GLES3 renderer
2022-11-02Merge pull request #68120 from akien-mga/style-doc-cleanupRémi Verschelde
Style: Misc docs and comment style and language fixes
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02Bind DirectionalLight buffer to uniform slot even when not usedclayjohn
This avoids a WEBGL error causes PanoramaSkys to fail to render
2022-11-02Merge pull request #67639 from clayjohn/GLES3-2d-shadowsRémi Verschelde
Add 2D shadows and canvas SDF to OpenGL3 renderer
2022-11-01Add texture reading code to OpenGL3 renderer for web and mobileclayjohn
This allows using texture_2d_get on all platforms which is needed for the get_image function This commit also fixes some OpenGL warnings on the Web platform that came from attempting to map a buffer with zero length
2022-11-01Fix several render issues found while debugging XRBastiaan Olij
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET