|
KiCad PCB EDA Suite
|
Raised when a GPU buffer allocation is predicted to exceed the available video memory. More...
#include <gpu_oom_error.h>
Public Member Functions | |
| GPU_OOM_ERROR (const std::string &aMessage) | |
Raised when a GPU buffer allocation is predicted to exceed the available video memory.
Throwing this before the allocation is issued lets the canvas fall back to software rendering instead of being killed by the graphics driver (e.g. the NVIDIA "Error code: 6" abort, which terminates the process before glGetError() can report GL_OUT_OF_MEMORY).
Definition at line 36 of file gpu_oom_error.h.
|
inlineexplicit |
Definition at line 39 of file gpu_oom_error.h.