Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glPushAttrib( GL_ALL_ATTRIB_BITS ) #18

Open
ulmangt opened this issue Oct 19, 2012 · 0 comments
Open

glPushAttrib( GL_ALL_ATTRIB_BITS ) #18

ulmangt opened this issue Oct 19, 2012 · 0 comments
Assignees
Labels

Comments

@ulmangt
Copy link
Member

ulmangt commented Oct 19, 2012

com.metsci.glimpse.painter.base.GlimpsePainterImpl pushes all attrib bits every time it is rendered. This is potentially quite slow and probably not something we want to do automatically for every GlimpsePainter.

    gl.glPushClientAttrib( ( int ) GL.GL_CLIENT_ALL_ATTRIB_BITS );
    gl.glPushAttrib( GL.GL_ALL_ATTRIB_BITS );

    gl.glMatrixMode( GL.GL_MODELVIEW );
    gl.glPushMatrix( );

    gl.glMatrixMode( GL.GL_PROJECTION );
    gl.glPushMatrix( );
@ghost ghost assigned ulmangt Jul 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant