I never got that specific example to work, but assuming you're building with the Android NDK, you can include:
#include <GLES2/gl2.h> #include <EGL/egl.h> Which will give you access to *eglGetCurrentContext()*. I'm using the r10e ndk, since that's what works with Qt at the moment. GLES v3 is available in toolchain v21: $ ls ~/Code/Android/android-ndk-r10e//platforms/android-21/arch-arm/usr/lib/ crtbegin_dynamic.o libGLESv2.so libdl.so libstdc++.a crtbegin_so.o libGLESv3.so libjnigraphics.so libstdc++.so crtbegin_static.o libOpenMAXAL.so liblog.so libthread_db.so crtend_android.o libOpenSLES.so libm.a libz.a crtend_so.o libandroid.so libm.so libz.so libEGL.so libc.a libm_hard.a rs libGLESv1_CM.so libc.so libmediandk.so If you want to link against OpenCL, you still need to pull a *libOpenCL.so* from an actual device though. /René On Wed, 4 Apr 2018 at 01:52 Jason H <jh...@gmx.com> wrote: > > http://blog.qt.io/blog/2015/03/20/introducing-video-filters-in-qt-multimedia/ > announced video filter support, and hardware accelerated too! > > Code: > http://code.qt.io/cgit/qt/qtmultimedia.git/tree/examples/multimedia/video/qmlvideofilter_opencl > > I'm trying to get it running on Android, but I'm going down a rabbit hole > with OpenCL 2.0 and EGL 3.2. I have been hacking on it but I don't know > where EGLContext is declared. > > Had anyone gotten this running in Android? > > Thanks! > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest