Skip to content
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

[Impeller] Use blit for root pass copy #39933

Merged
merged 1 commit into from Feb 28, 2023
Merged

Conversation

bdero
Copy link
Member

@bdero bdero commented Feb 28, 2023

Use a blit for the root pass copy when available in the backend.

Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM

@@ -514,7 +514,7 @@ TEST_P(RendererTest, CanBlitTextureToTexture) {
// Blit `bridge` to the top left corner of the texture.
pass->AddCopy(bridge, texture);

pass->EncodeCommands(context->GetResourceAllocator());
assert(pass->EncodeCommands(context->GetResourceAllocator()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

asserts get stripped away in !defined(NDEBUG). Besides, let's not terminate the process on this error. Return false like elsewhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, fixed.

@chinmaygarde
Copy link
Member

Really supportive of this change except for the stripped away thing that you want to do :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
3 participants