Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2859)

Unified Diff: cc/blink/web_external_texture_layer_impl.cc

Issue 1957583002: cc: Add GpuMemoryBufferId to TextureMailbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unsigned -> signed Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/texture_layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_external_texture_layer_impl.cc
diff --git a/cc/blink/web_external_texture_layer_impl.cc b/cc/blink/web_external_texture_layer_impl.cc
index d119dd7b7151b23890ea1e023435d99f5322793e..fabb571fd119408ff43b143f3e7a20932142d472 100644
--- a/cc/blink/web_external_texture_layer_impl.cc
+++ b/cc/blink/web_external_texture_layer_impl.cc
@@ -92,9 +92,10 @@ bool WebExternalTextureLayerImpl::PrepareTextureMailbox(
client_mailbox.textureSize.height);
}
- *mailbox =
- cc::TextureMailbox(name, sync_token, client_mailbox.textureTarget, size,
- client_mailbox.allowOverlay, false);
+ *mailbox = cc::TextureMailbox(
+ name, sync_token, client_mailbox.textureTarget, size,
+ gfx::GpuMemoryBufferId(client_mailbox.gpuMemoryBufferId),
+ client_mailbox.allowOverlay, false);
}
mailbox->set_nearest_neighbor(client_mailbox.nearestNeighbor);
« no previous file with comments | « no previous file | cc/layers/texture_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698