| Message ID | 20260618122245.946138-17-bryan.odonoghue@linaro.org |
|---|---|
| State | RFC |
| Headers | show |
| Series |
|
| Related | show |
On 18.06.26 14:22, Bryan O'Donoghue wrote: > To make textures of floats we need GLES 3.0. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- > include/libcamera/internal/egl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/libcamera/internal/egl.h b/include/libcamera/internal/egl.h > index d88617afa..3956c6669 100644 > --- a/include/libcamera/internal/egl.h > +++ b/include/libcamera/internal/egl.h > @@ -26,7 +26,7 @@ > #include <EGL/egl.h> > #include <EGL/eglext.h> > #define GL_GLEXT_PROTOTYPES > -#include <GLES2/gl2.h> > +#include <GLES3/gl32.h> > #include <GLES2/gl2ext.h> > > namespace libcamera { If a 3.0 context becomes a requirement in later patches, then EGL_CONTEXT_MAJOR_VERSION (in initEGLContext()) should also be bumped to 3 so GLES 2.0-only devices fall back to software.
diff --git a/include/libcamera/internal/egl.h b/include/libcamera/internal/egl.h index d88617afa..3956c6669 100644 --- a/include/libcamera/internal/egl.h +++ b/include/libcamera/internal/egl.h @@ -26,7 +26,7 @@ #include <EGL/egl.h> #include <EGL/eglext.h> #define GL_GLEXT_PROTOTYPES -#include <GLES2/gl2.h> +#include <GLES3/gl32.h> #include <GLES2/gl2ext.h> namespace libcamera {
To make textures of floats we need GLES 3.0. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- include/libcamera/internal/egl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)