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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2748533002: Remove ui_compositor_image_transport, it has no effect. (Closed)
Patch Set: Created 3 years, 9 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 | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 46620828f85d7d7c261a207988eae4ecfe5f2ea0..19eaf29d6db9317861b4e8bafc4f5e0d28f96226 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -5140,11 +5140,6 @@ error::Error GLES2DecoderImpl::HandleResizeCHROMIUM(
width = std::max(1U, width);
height = std::max(1U, height);
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && \
- !defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
- // Make sure that we are done drawing to the back buffer before resizing.
Nico 2017/03/11 18:30:01 I'm unsure about this bit; it might still be neede
- glFinish();
-#endif
bool is_offscreen = !!offscreen_target_frame_buffer_.get();
if (is_offscreen) {
if (!ResizeOffscreenFramebuffer(gfx::Size(width, height))) {
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698