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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 2584363002: gpu: Move ContextProviderCommandBuffer into mus gpu client-lib. (Closed)
Patch Set: tot merge Created 4 years 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 | « content/browser/renderer_host/context_provider_factory_impl_android.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index a8f20b0ca3adfb75ad8cdd463d1a479a358f703d..9959a73d73a619d001f4ce9db679d67bf30a27a0 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -146,7 +146,7 @@ class GLHelperHolder {
void OnContextLost();
void OnApplicationStatusChanged(ApplicationState new_state);
- scoped_refptr<ContextProviderCommandBuffer> provider_;
+ scoped_refptr<ui::ContextProviderCommandBuffer> provider_;
std::unique_ptr<display_compositor::GLHelper> gl_helper_;
// Set to |false| if there are only stopped activities (or none).
@@ -211,11 +211,11 @@ void GLHelperHolder::Initialize() {
constexpr bool support_locking = false;
const GURL url("chrome://gpu/RenderWidgetHostViewAndroid");
- provider_ = new ContextProviderCommandBuffer(
+ provider_ = new ui::ContextProviderCommandBuffer(
std::move(gpu_channel_host), gpu::GPU_STREAM_DEFAULT,
gpu::GpuStreamPriority::NORMAL, gpu::kNullSurfaceHandle, url,
automatic_flushes, support_locking, limits, attributes, nullptr,
- command_buffer_metrics::BROWSER_OFFSCREEN_MAINTHREAD_CONTEXT);
+ ui::command_buffer_metrics::BROWSER_OFFSCREEN_MAINTHREAD_CONTEXT);
if (!provider_->BindToCurrentThread())
return;
provider_->ContextGL()->TraceBeginCHROMIUM(
« no previous file with comments | « content/browser/renderer_host/context_provider_factory_impl_android.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698