-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make vkFrameBoundaryANDROID trigger screenshots #1498
Conversation
CI gfxreconstruct build queued with queue ID 168788. |
CI gfxreconstruct build # 4013 running. |
8007e2d
to
045c7b0
Compare
CI gfxreconstruct build queued with queue ID 168811. |
CI gfxreconstruct build # 4014 running. |
CI gfxreconstruct build # 4014 passed. |
This commit is part of what is requested in LunarG#1494 Change-Id: Ie448deebfb9858588779200ba6e78a9a0c5d6424
045c7b0
to
df498f6
Compare
CI gfxreconstruct build queued with queue ID 169478. |
CI gfxreconstruct build # 4023 running. |
CI gfxreconstruct build # 4023 passed. |
@panos-lunarg @locke-lunarg could you take a look at this PR, please? It would be helpful to merge for other sponsors so we should prioritize it. Thank you! |
These code is duplicated with |
Some thoughts on |
I'm not sure if the image on And then
to avoid the duplicated code. |
instance_table->GetPhysicalDeviceMemoryProperties(device_info->parent, &memory_properties); | ||
|
||
screenshot_handler_->WriteImage(filename_prefix, | ||
device, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
devivce_info
instead of device
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure to understand... WriteImage takes a VkDevice as an argument, not a DeviceInfo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I saw a compilation error when I cherry picked this patch in dev. In this branch this is correct but from what I see in current dev, ScreenshotHandler::WriteImage
has changed.
Yes, I agree with this suggestion. |
Good point. For virtual swapchain, |
Sure the duplication is ugly, but the only code "really" duplicated here is the computation of the screenshot size. I cannot create the proposed function simply because there is no |
CI gfxreconstruct build queued with queue ID 189483. |
Sorry. That's a wrong click. |
CI gfxreconstruct build # 4230 running. |
CI gfxreconstruct build # 4230 passed. |
@marius-pelegrin-arm Please solve the conflict, and then it's good to merge. |
CI gfxreconstruct build queued with queue ID 198014. |
Hi, @locke-lunarg ! I resolved a conflict but that wasn't sufficient; there are compile errors. Will you check out Marius' branch and see if the fix is obvious? |
Never mind, I think I see the issue. |
CI gfxreconstruct build queued with queue ID 198040. |
CI gfxreconstruct build # 4257 running. |
CI gfxreconstruct build # 4257 passed. |
This commit is part of what is requested in #1494