Closed jvcleave closed 11 years ago
Maybe in the platform specific makefiles for the moment?
Here perhaps?
i.e.
...
PLATFORM_DEFINES += USE_EXTERNAL_LIBBCM_HOST
PLATFORM_DEFINES += USE_VCHIQ_ARM
PLATFORM_DEFINES += EGL_EGLEXT_PROTOTYPES
...
I'm curious to know where they define it in omxplayer.
https://raw.github.com/huceke/omxplayer/master/Makefile
It's not in their makefile ... so it must be elsewhere.
Also, I've been meaning to add public const getters for the EGL window vars in this section:
If you need them for omxplayer, let me know and I can expose them (or you can).
according to grep it looks like omxplayer isn't using eglCreateImageKHR
Have you confirmed that this needs to be added at a platform/conditional core level? Are there any disadvantages to doing that?
it can be done with
PROJECT_DEFINES = EGL_EGLEXT_PROTOTYPES
in config.make
inside a project
i've added it in ofConstants.h we have similar defines for the gl extensions in linux and android so i think it's ok to have it there
In working on an OMX player I trying to use the function
eglCreateImageKHR
which requires#define EGL_EGLEXT_PROTOTYPES 1
Should this be done in core
ofConstants.h
?https://github.com/raspberrypi/firmware/blob/master/opt/vc/include/EGL/eglext.h#L89