[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (bcd0c2cf79bbf3902c6f9c44dd7585fbdb0aa1f7)



The branch, master has been updated
       via  bcd0c2cf79bbf3902c6f9c44dd7585fbdb0aa1f7 (commit)
      from  6aea7bc11cabdf89cedbc59fca18d4c276c27233 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/hid/gtk/gtkhid-gl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit bcd0c2cf79bbf3902c6f9c44dd7585fbdb0aa1f7
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: (GL Renderer) Use direct rendering for off-screen pixmaps
    
    We use direct rendering for the rest (where possible), so why slow down
    pixmap rendering. Also fixes a bug on my pcb+gl_experimental branch
    where pixel shaders can't be shared between the direct rendered widgets
    and the pixmap rendering code.

:100644 100644 b9a569f... 069380e... M	src/hid/gtk/gtkhid-gl.c

=========
 Changes
=========

commit bcd0c2cf79bbf3902c6f9c44dd7585fbdb0aa1f7
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: (GL Renderer) Use direct rendering for off-screen pixmaps
    
    We use direct rendering for the rest (where possible), so why slow down
    pixmap rendering. Also fixes a bug on my pcb+gl_experimental branch
    where pixel shaders can't be shared between the direct rendered widgets
    and the pixmap rendering code.

diff --git a/src/hid/gtk/gtkhid-gl.c b/src/hid/gtk/gtkhid-gl.c
index b9a569f..069380e 100644
--- a/src/hid/gtk/gtkhid-gl.c
+++ b/src/hid/gtk/gtkhid-gl.c
@@ -1107,7 +1107,7 @@ ghid_render_pixmap (int cx, int cy, double zoom, int width, int height, int dept
   pixmap = gdk_pixmap_new (NULL, width, height, depth);
   glpixmap = gdk_pixmap_set_gl_capability (pixmap, glconfig, NULL);
   gldrawable = GDK_GL_DRAWABLE (glpixmap);
-  glcontext = gdk_gl_context_new (gldrawable, NULL, FALSE, GDK_GL_RGBA_TYPE);
+  glcontext = gdk_gl_context_new (gldrawable, NULL, TRUE, GDK_GL_RGBA_TYPE);
 
   /* Setup zoom factor for drawing routines */
 




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs