Git Product home page Git Product logo

gpipe-glfw's People

Contributors

chatanga avatar grtlr avatar kludgy avatar linuxuser404 avatar maciekflis avatar plredmond avatar sorki avatar swiftsnamesake avatar tobbebex avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gpipe-glfw's Issues

Planning changes to GPipe-GLFW

@sorki @SwiftsNamesake @grtlr @Kludgy @LinuxUser404 @MaciekFlis @bch29

Hello! I'm thinking of making some breaking changes to GPipe-GLFW to simplify the codebase.

  • If you don't care about this, please let me know below and I'll remove your name from this issue so you don't get any more notifications. Sorry!
  • If you do care about this, please read below and let me know whether these changes would cause you trouble in your projects.

GPipe-GLFW code is too complex because it was originally supposed to support multithreaded use. Since that was removed from GPipe, the corresponding code in GPipe-GLFW could be simplified too. I'm thinking of making some potentially breaking changes as a result.

  • Do you, in any way, call GPipe or GPipe-GLFW functions from another thread? (If so, how? This isn't supported in ContextT currently)
    • If I remove the automatic RPCing of GLFW calls to a "correct" thread it could break multithreaded code, if any exists.
  • Do you use the "mulitple contexts" or the "multiple windows" feature of GPipe?
    • If I remove this feature from GPipe-GLFW it would dramatically simplify things, but it would no longer be a correct implementation for GPipe. I'm curious whether anybody uses it.
    • Multiple contexts is kind of pointless since ContextT provides no way to fork a thread, but multiple windows might be a thing that people use.
  • Do you use the "mainloop" or "mainstep" functions in GPipe-GLFW?
    • I'm considering simplifying or removing these.
  • Would it break your code if GLFW callbacks were changed from IO to ContextT?

See also tobbebex/GPipe-Core#77

Quiet mode

The application I've built recently is like hybrid CLI/GUI thingie and its output gets interleaved with debug messages.

Would you accept a PR changing debug function to debug = const $ return () while retaining the old one as e.g. debug' so it can be switched if needed?

Btw thanks for setWindowSizeCallback, I've added it and noticed it's already there during rebase!

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.