Add config option to allow EGL usage when built with MMAL
This commit is contained in:
parent
905b2ecf9e
commit
9cba449092
3 changed files with 14 additions and 2 deletions
|
|
@ -1239,7 +1239,7 @@ bool DrmRenderer::canExportEGL() {
|
|||
return false;
|
||||
}
|
||||
|
||||
#ifdef HAVE_MMAL
|
||||
#if defined(HAVE_MMAL) && !defined(ALLOW_EGL_WITH_MMAL)
|
||||
// EGL rendering is so slow on the Raspberry Pi 4 that we should basically
|
||||
// never use it. It is suitable for 1080p 30 FPS on a good day, and much
|
||||
// much less than that if you decide to do something crazy like stream
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue