Skip to content

Random crashes due to GL out of memory #34065

Closed
@oeleo1

Description

@oeleo1

Godot version:
3.2.beta3

OS/device including version:
mobile platforms, iOS, Android

Issue description:
Recent changes to GL buffer management cause random crashes following PR #33527. @akien-mga @clayjohn I got evidence by putting glGetError() checks surrounding the buffer orphaning statements introduced for mobile. Obviously the currently irresponsible systematic reallocation of 128K + 128K for the poly buffer doesn't fly. Need to switch to double-buffering to fix pipeline stalls hurting mobile performance or revert the changes as a last resort if a proper fix is not ready in time.

Steps to reproduce:

Minimal reproduction project:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions