GithubHelp home page GithubHelp logo

Can not resize window about gorgon HOT 5 CLOSED

tape-worm avatar tape-worm commented on May 27, 2024
Can not resize window

from gorgon.

Comments (5)

Tape-Worm avatar Tape-Worm commented on May 27, 2024

Well window resizing is definitely supported. As for transitioning between full screen and windowed mode, it should allow that as well.

Did you get an error message when you tried to switch between modes? If so, can you please tell me what it says?

from gorgon.

Tape-Worm avatar Tape-Worm commented on May 27, 2024

I did find a bug in switching to full screen mode, but I'm not 100% convinced that it applies to your situation. Regardless, I've repaired it and I'll push up an update when I'm able.

I tried your code and I'm not seeing any issues for switching video modes. But I suspect there's more to your code than what you've pasted here? If that's the case, I can't fully create a test case for the bug, so I'll need your full code (Idle method, startup method, etc...) so I can create a test case.

Edit:
I also updated the code to switch to full screen exclusive mode (EnterFullScreen without parameters just does borderless windowed mode) and I was able to switch back and forth with no issues.

from gorgon.

dominota avatar dominota commented on May 27, 2024

Yes, Tape-Worm. My project is quite heavy so i cannot send you to check.
Thank you so much! Please point me where you added a check in code before you fix it.
By the way, i want to display video on 2D texture as background, how can i display it fast? I cant display directly on backbuffer of swapchain because it is hidden.

from gorgon.

Tape-Worm avatar Tape-Worm commented on May 27, 2024

I don't need your entire project, I just need a small project to reproduce the error you're seeing. I am currently unable to reproduce it on my side. If I can't reproduce it, I can't fix it.

The error that you're getting is not due to the bug fix that I put in because according to the code you wrote above, you're using full screen borderless windowed mode, and according to Microsoft, the bug does not affect windowed mode, only full screen exclusive mode. So it's not likely that'll help you.

By video I'm assuming you mean files such as avi, wmv, mkv, mpg, etc... If so, then Gorgon does not support rendering video files at this time, so I'm afraid you'll have to look elsewhere for that.

from gorgon.

dominota avatar dominota commented on May 27, 2024

Yes, you are right. The problem is in my code. It is not relate to your API. Thanks

from gorgon.

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.