The USE_OPENGL_OR_ES feature flag added in r271220 is currently automagic: that is, if neither OpenGL nor OpenGL ES is available at build time, it gets silently disabled. This is not OK because it makes it easy for distributors to accidentally fail to enable OpenGL support. We should require manually disabling the feature with -DUSE_OPENGL_OR_ES=OFF in order to build with OpenGL disabled.
Note that automagic detection of OpenGL ES is OK because that is not a "feature." It doesn't matter to the user whether OpenGL or OpenGL ES gets used under the hood. But it matters very much if neither is used at all.
Created attachment 434169 [details] Patch
Comment on attachment 434169 [details] Patch It's my mistake. Thank you.
Comment on attachment 434169 [details] Patch No problem. Build options are hard....
Committed r280287 (239945@main): <https://commits.webkit.org/239945@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 434169 [details].