Coder Social home page Coder Social logo

Comments (8)

zakarumych avatar zakarumych commented on June 15, 2024

It seems example holds on Surface object longer that it should.
It works otherwise. It is coded to shutdown in few seconds.

from rendy.

trsh avatar trsh commented on June 15, 2024

@omni-viral can this be fixed? Suggestions?

from rendy.

zakarumych avatar zakarumych commented on June 15, 2024

The fix is easy. One must destroy Surface before dropping Factory

from rendy.

trsh avatar trsh commented on June 15, 2024

@omni-viral why Im trying to study and understand the example code, could drop some lines how that surface drooping should be like. Or maybe update the example? Pls
Im trying to hack out the surface from graph, as its is moved into its node, but somehave stuck:

let s = graph.take().unwrap().nodes; // field `nodes` of struct `rendy_graph::graph::Graph` is private
            graph.take().unwrap().dispose(&mut factory, &());

from rendy.

trsh avatar trsh commented on June 15, 2024

Been looking all day long how to get to surface to destroy it with no luck. Any help appreciated

from rendy.

foltik avatar foltik commented on June 15, 2024

Happens for me on Linux with Vulkan as well

from rendy.

trsh avatar trsh commented on June 15, 2024

I think Rendy should handle the surface destroying before Factory, so this is a bug.

from rendy.

HellButcher avatar HellButcher commented on June 15, 2024

gfx_hal::Instance::destroy_surface is never called (I didn't find it in the whole repository).

rendy::Factory::destroy_surface just drops the surface without calling gfx_hal::Instance::destroy_surface. Is this by intention?

from rendy.

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.