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

Unified Diff: services/ui/surfaces/direct_output_surface_ozone.cc

Issue 2176303002: services/ui: Remove deprecated gpu code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 4 years, 5 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 | « services/ui/surfaces/direct_output_surface_ozone.h ('k') | services/ui/surfaces/display_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/direct_output_surface_ozone.cc
diff --git a/services/ui/surfaces/direct_output_surface_ozone.cc b/services/ui/surfaces/direct_output_surface_ozone.cc
index 57e1c860753aeb2475dea3d5b9acdb90e35acd5d..38bf776d22e3add2271dde980aa1afc6f298608c 100644
--- a/services/ui/surfaces/direct_output_surface_ozone.cc
+++ b/services/ui/surfaces/direct_output_surface_ozone.cc
@@ -35,16 +35,9 @@ DirectOutputSurfaceOzone::DirectOutputSurfaceOzone(
context_provider->ContextSupport()),
synthetic_begin_frame_source_(synthetic_begin_frame_source),
weak_ptr_factory_(this) {
- if (!GpuService::UseChromeGpuCommandBuffer()) {
- ozone_gpu_memory_buffer_manager_.reset(new OzoneGpuMemoryBufferManager());
- buffer_queue_.reset(new BufferQueue(
- context_provider->ContextGL(), target, internalformat, &gl_helper_,
- ozone_gpu_memory_buffer_manager_.get(), widget));
- } else {
- buffer_queue_.reset(new BufferQueue(
- context_provider->ContextGL(), target, internalformat, &gl_helper_,
- MusGpuMemoryBufferManager::current(), widget));
- }
+ buffer_queue_.reset(new BufferQueue(
+ context_provider->ContextGL(), target, internalformat, &gl_helper_,
+ MusGpuMemoryBufferManager::current(), widget));
capabilities_.uses_default_gl_framebuffer = false;
capabilities_.flipped_output_surface = true;
« no previous file with comments | « services/ui/surfaces/direct_output_surface_ozone.h ('k') | services/ui/surfaces/display_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698