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

Unified Diff: webkit/common/gpu/context_provider_in_process.h

Issue 841773006: Extract WebGraphicsContext3DInProcessCommandBufferImpl from webkit/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « webkit/common/gpu/BUILD.gn ('k') | webkit/common/gpu/context_provider_in_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/gpu/context_provider_in_process.h
diff --git a/webkit/common/gpu/context_provider_in_process.h b/webkit/common/gpu/context_provider_in_process.h
index 28673090e6f65142ed32f4c63237ec7c2903e7f7..0e38083eebf5ed32f72ff6c40ddf7fd15437fc7f 100644
--- a/webkit/common/gpu/context_provider_in_process.h
+++ b/webkit/common/gpu/context_provider_in_process.h
@@ -9,8 +9,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "base/threading/thread_checker.h"
+#include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h"
#include "webkit/common/gpu/context_provider_web_context.h"
-#include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h"
#include "webkit/common/gpu/webkit_gpu_export.h"
namespace blink { class WebGraphicsContext3D; }
@@ -23,7 +23,8 @@ class WEBKIT_GPU_EXPORT ContextProviderInProcess
: NON_EXPORTED_BASE(public ContextProviderWebContext) {
public:
static scoped_refptr<ContextProviderInProcess> Create(
- scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context3d,
+ scoped_ptr<gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl>
+ context3d,
const std::string& debug_name);
// Uses default attributes for creating an offscreen context.
@@ -49,7 +50,8 @@ class WEBKIT_GPU_EXPORT ContextProviderInProcess
protected:
ContextProviderInProcess(
- scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context3d,
+ scoped_ptr<gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl>
+ context3d,
const std::string& debug_name);
~ContextProviderInProcess() override;
@@ -61,7 +63,7 @@ class WEBKIT_GPU_EXPORT ContextProviderInProcess
base::ThreadChecker main_thread_checker_;
base::ThreadChecker context_thread_checker_;
- scoped_ptr<webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl>
+ scoped_ptr<gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl>
context3d_;
scoped_ptr<webkit::gpu::GrContextForWebGraphicsContext3D> gr_context_;
« no previous file with comments | « webkit/common/gpu/BUILD.gn ('k') | webkit/common/gpu/context_provider_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698