Comments (5)
I noticed an exchange on this on the khronosdevs.slack #vulkan channel. Did you file an issue with Nvidia?
from vulkansamples.
Hey, the best I can gather is that the claim is the app needs to respond to X11's request to resize the window in order to paint before the next swap. As I'm less familiar with the X11 protocol, I may need to defer to someone's expertise who knows more until I find time to research it myself.
from vulkansamples.
When I resize Hologram, the window goes dark until I stop the resize and then the rendering continues. Is that what you're seeing?
Resizing in general is an expensive operation and the X server sends dozens of XCB_CONFIGURE_NOTIFY events as the window resizes, each requiring the sample to tear down the swapchain, and create a new swapchain using the new window size.
One thing you can try is to turn off vertical sync. That will cause the sample to use VK_PRESENT_MODE_IMMEDIATE_KHR instead of VK_PRESENT_MODE_FIFO_KHR and the resize looks smoother at the risk of seeing tearing in the rendering.
from vulkansamples.
I forgot to mention that you turn off vertical sync by running Hologram with "-b" on the command line.
from vulkansamples.
Not sure what more Hologram can do to smooth resize, so closing this issue. Re-open if you feel there's more to be addressed
from vulkansamples.
Related Issues (20)
- VK_FORMAT_D24_UNORM_S8_UINT incorrectly assumed supported on Android HOT 1
- gradle issues HOT 6
- Samples never deal with present queues different from rendering queue HOT 2
- Missing dependency on VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT HOT 2
- It's not really clear you need a semaphore per frame HOT 1
- Mweb HOT 2
- Missing include folder HOT 4
- [Can not find ]fatal error: '15-draw_cube.vert.h' file not found HOT 31
- Vulkan Samples
- your advice for create the makefile in build.md don't work the makefile keep missing HOT 8
- Dependency on removed VK_DYNAMIC_STATE_RANGE_SIZE HOT 1
- Existing gradlew breaks with Java version 14 HOT 2
- Overlay layer gets vkCreateDevice pointer illegally HOT 2
- Samples should query existence and enable portability extension
- Any additional informations for "issue with the dynamic viewport(or scissors) on Android" ? HOT 1
- YOUR EXAMPLES ARE NOT COLLECTING !!!!!!!!! YOUR EXAMPLES ARE NOT COLLECTING !!!!!!!!! ВАШИ ПРИМЕРЫ НЕ СОБИРАЮТСЯ !!!!!!!!! NOT GOING TO YOUR EXAMPLES !!!!!!!!! HOT 1
- Build infrastructure assumes amd64 architecture
- VulkanSamples for MacOS HOT 2
- Suggestion to update the android samples to use Volk
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 vulkansamples.