Comments (5)
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.
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.
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.
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.
Yes, you are right. The problem is in my code. It is not relate to your API. Thanks
from gorgon.
Related Issues (20)
- OnAssignDirtyItem(int, GorgonStreamOutBinding)': no suitable method found to override HOT 2
- Change editor file system UI
- Editor plug in system is under documented, and kind of a mess.
- Error when calling GorgonGraphics.EnumerateAdapters HOT 4
- Question HOT 5
- Overload LoadTrueTypeFontFamily HOT 6
- Error starting any of the examples HOT 4
- Question regarding Direct3D 11.4 HOT 6
- Add a means in the editor exclude folders from packed files. HOT 1
- Add GUI controls to graphics library HOT 1
- Go back through the animation builder object and document it to make reference to the track registration system.
- Add editor API usage example
- Add an example for particle system. HOT 1
- Add examples for editor plug in creation.
- Add font editor to Editor HOT 1
- Add another tool to the editor that allows us to pack multiple images into a texture atlas.
- Can not register a device (mouse/keyboard) when my project is build in x64 mode HOT 6
- Can not override WndProc function HOT 1
- Noesis Gui integration HOT 1
- Upgrade to .NET 8.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gorgon.