~vanvugt/mir/fix-1642473

Viewing all changes in revision 3820.

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2016-11-14 00:28:49 UTC
  • mfrom: (3789.4.34 mirbuffer-import)
  • Revision ID: tarmac-20161114002849-akck6hrqb3m2og1b
client: propose that MirBuffer is the EGLNativePixmapType for the mir platform. Include an example of buffer import to GL texture via the mir client api.

Also introduce the MIR_EXTENSION_ANDROID_EGL, with hooks for getting the EGLNativePixmapType and EGLNativeDisplayType. EGLNativeWindowType will be added after some MirRenderSurface improvements are proposed.

note: egldiamond will only import buffers on android, as the example shim subloads EGL_NATIVE_BUFFER_ANDROID. Other platforms have a sensible fallback.

Approved by Andreas Pokorny, mir-ci-bot, Chris Halse Rogers.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: