Example #1
0
        public static EGLSurface CreatePbufferSurface(EGLDisplay dpy, EGLConfig config, int[] attrib_list)
        {
            IntPtr     ptr = eglCreatePbufferSurface(dpy, config, attrib_list);
            EGLSurface ret = new EGLSurface();

            ret.Pointer = ptr;
            return(ret);
        }
Example #2
0
File: egl.cs Project: koush/Xaml
 public static extern bool CopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
Example #3
0
File: egl.cs Project: koush/Xaml
 public static extern bool SwapBuffers(EGLDisplay dpy, EGLSurface surface);
Example #4
0
File: egl.cs Project: koush/Xaml
 public static extern bool MakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
Example #5
0
File: egl.cs Project: koush/Xaml
 public static extern bool ReleaseTexImage(EGLDisplay dpy, EGLSurface surface, int buffer);
Example #6
0
File: egl.cs Project: koush/Xaml
 public static extern bool SurfaceAttrib(EGLDisplay dpy, EGLSurface surface, int attribute, int value);
Example #7
0
File: egl.cs Project: koush/Xaml
 public static extern bool QuerySurface(EGLDisplay dpy, EGLSurface surface, int attribute, out int value);
Example #8
0
File: egl.cs Project: koush/Xaml
 public static extern bool DestroySurface(EGLDisplay dpy, EGLSurface surface);
Example #9
0
File: egl.cs Project: koush/Xaml
 public static EGLSurface CreateWindowSurface(EGLDisplay dpy, EGLConfig config, IntPtr win, int[] attrib_list)
 {
     IntPtr ptr = eglCreateWindowSurface(dpy, config,  win, attrib_list);
     EGLSurface ret = new EGLSurface();
     ret.Pointer = ptr;
     return ret;
 }
Example #10
0
 public static extern bool CopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
Example #11
0
 public static extern bool SwapBuffers(EGLDisplay dpy, EGLSurface surface);
Example #12
0
 public static extern bool MakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
Example #13
0
 public static extern bool ReleaseTexImage(EGLDisplay dpy, EGLSurface surface, int buffer);
Example #14
0
 public static extern bool SurfaceAttrib(EGLDisplay dpy, EGLSurface surface, int attribute, int value);
Example #15
0
 public static extern bool QuerySurface(EGLDisplay dpy, EGLSurface surface, int attribute, out int value);
Example #16
0
 public static extern bool DestroySurface(EGLDisplay dpy, EGLSurface surface);