Exemplo n.º 1
0
 public void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
     //if (!AppDomain.CurrentDomain.IsDefaultAppDomain())
     //	System.Diagnostics.Debug.WriteLine(AppDomain.CurrentDomain.FriendlyName + " bound " + fb);
     _currentFramebufferBinding = fb;
     GL.BindFramebuffer((FramebufferTarget)target, (int)fb);
 }
Exemplo n.º 2
0
        public void ChangeBackbuffer(GLFramebufferHandle handle)
        {
            _handle = handle;
            var app = Uno.Application.Current;

            if (app != null && app.GraphicsController != null)
            {
                app.GraphicsController.UpdateBackbuffer();
            }
        }
Exemplo n.º 3
0
 public void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
     try
     {
         this.BeginFunc();
         this._gl.BindFramebuffer(target, fb);
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemplo n.º 4
0
 public void DeleteFramebuffer(GLFramebufferHandle fb)
 {
     try
     {
         this.BeginFunc();
         this._gl.DeleteFramebuffer(fb);
     }
     finally
     {
         this.EndFunc();
     }
 }
Exemplo n.º 5
0
Arquivo: GL.cs Projeto: mortend/uno
 public void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
     _currentFramebufferBinding = fb;
     TKGL.BindFramebuffer((FramebufferTarget)target, (int)fb);
 }
Exemplo n.º 6
0
Arquivo: GL.cs Projeto: mortend/uno
 public void DeleteFramebuffer(GLFramebufferHandle fb)
 {
     DisposeAndRemoveObject(_framebuffers, (int)fb);
 }
Exemplo n.º 7
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static void DeleteFramebuffer(GLFramebufferHandle fb)
 {
     GL._gl.DeleteFramebuffer(fb);
 }
Exemplo n.º 8
0
Arquivo: GL.cs Projeto: yongaru/uno
 public static void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
     GL._gl.BindFramebuffer(target, fb);
 }
Exemplo n.º 9
0
 public void BindFramebuffer(GLFramebufferTarget target, GLFramebufferHandle fb)
 {
 }
Exemplo n.º 10
0
 public void DeleteFramebuffer(GLFramebufferHandle fb)
 {
 }