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

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

Issue 604833005: gpu: Remove release-after-use workaround. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-in-process-support-for-images
Patch Set: update bug list version Created 6 years, 3 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 | gpu/command_buffer/service/texture_definition.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4e2834f52d7966a72821c15fb633b037b7b18c79..f7daa56f27419bdf2064f013b9052753fcbc7371 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -984,10 +984,6 @@ void GpuCommandBufferStub::OnRegisterGpuMemoryBuffer(
if (!image.get())
return;
- // For Android specific workaround.
- if (context_group_->feature_info()->workarounds().release_image_after_use)
- image->SetReleaseAfterUse();
-
image_manager->AddImage(image.get(), id);
}
« no previous file with comments | « no previous file | gpu/command_buffer/service/texture_definition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698