Interface UpstreamSurfaceHook

    • Method Detail

      • getUpstreamSurface

        NativeSurface getUpstreamSurface()
        Returns the optional upstream NativeSurface if used by implementation, otherwise null.

        One example is the JOGL EGLWrappedSurface, which might be backed up by a native platform NativeSurface (X11, WGL, CGL, ..).

      • getSurfaceWidth

        int getSurfaceWidth​(ProxySurface s)
        Returns the width of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set.
      • getSurfaceHeight

        int getSurfaceHeight​(ProxySurface s)
        Returns the height of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set.