Code Monkey home page Code Monkey logo

Comments (9)

campagnola avatar campagnola commented on May 17, 2024

On all backends as well?

from vispy.

almarklein avatar almarklein commented on May 17, 2024

This might be related to the autoswap functionality that I added this weekend. If you remove the call to swap_buffers(), is the effect gone?

from vispy.

rossant avatar rossant commented on May 17, 2024

@lcampagn Ah, good idea. I just tried spinning cube with different backends:

  • pyglet: same issue
  • glut: works great
  • qt: same problem

from vispy.

rossant avatar rossant commented on May 17, 2024

@almarklein yes! removing the call to swap_buffers makes it it work on all backends. So this issue does not occur on any of your computers?

from vispy.

almarklein avatar almarklein commented on May 17, 2024

I only tested on Linux. But all backends work ok. I was actually surprised, because I expected problems if you swap buffers twice.

Ok, so now we know that swapping buffers twice should be avoided. We could make Canvas.swap_buffers() only work if the autoswap flag is off, so that the examples would just work. But I think we should accept this "problem" and fix the examples as soon as we have a new release.

from vispy.

almarklein avatar almarklein commented on May 17, 2024

@rossant Can we close this?

from vispy.

rossant avatar rossant commented on May 17, 2024

Is the auto-swap thing fixed on all machines? I think someone had an issue
yesterday on Windows during the sprint?

2013/8/26 Almar Klein [email protected]

@rossant https://github.com/rossant Can we close this?


Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-23250234
.

from vispy.

almarklein avatar almarklein commented on May 17, 2024

Yeah, but the issue was that he was accidentally using an old installed vispy 0.1.0

from vispy.

rossant avatar rossant commented on May 17, 2024

Oh yes you're right! Anyway the examples work fine now, I guess we can close this.

from vispy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.