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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.cc

Issue 634643002: content: Out-of-process GPU service support for SurfaceTexture backed GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one last build fix Created 6 years, 2 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
Index: content/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 89bc97ed89818843d96c86b069d80bcdf9e3b997..e66d71335e06be7031c87d53471530707ad8f714 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -950,14 +950,6 @@ void GpuCommandBufferStub::OnRegisterGpuMemoryBuffer(
uint32 height,
uint32 internalformat) {
TRACE_EVENT0("gpu", "GpuCommandBufferStub::OnRegisterGpuMemoryBuffer");
-#if defined(OS_ANDROID)
- // Verify that renderer is not trying to use a surface texture it doesn't own.
- if (handle.type == gfx::SURFACE_TEXTURE_BUFFER &&
- handle.surface_texture_id.secondary_id != channel()->client_id()) {
- LOG(ERROR) << "Illegal surface texture ID for renderer.";
- return;
- }
-#endif
if (!decoder_)
return;

Powered by Google App Engine
This is Rietveld 408576698