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

Unified Diff: blimp/client/support/compositor/blimp_context_provider.h

Issue 2498053004: Add InProcessContextProvider and update InProcessCommandBuffer (Closed)
Patch Set: Remove Surface on RemoveCompositor Created 4 years, 1 month 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
Index: blimp/client/support/compositor/blimp_context_provider.h
diff --git a/blimp/client/support/compositor/blimp_context_provider.h b/blimp/client/support/compositor/blimp_context_provider.h
index 3d0206dd48d701af227e8b83182d4b52aa729319..98fc1fd21cfb61ddeadddb22296f670fa50c5f24 100644
--- a/blimp/client/support/compositor/blimp_context_provider.h
+++ b/blimp/client/support/compositor/blimp_context_provider.h
@@ -13,6 +13,7 @@
#include "base/synchronization/lock.h"
#include "base/threading/thread_checker.h"
#include "cc/output/context_provider.h"
+#include "gpu/ipc/common/surface_handle.h"
#include "gpu/ipc/gl_in_process_context.h"
#include "ui/gl/gl_surface.h"
@@ -27,7 +28,7 @@ namespace client {
class BlimpContextProvider : public cc::ContextProvider {
public:
static scoped_refptr<BlimpContextProvider> Create(
- gfx::AcceleratedWidget widget,
+ gpu::SurfaceHandle widget,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager);
// cc::ContextProvider implementation.
@@ -44,7 +45,7 @@ class BlimpContextProvider : public cc::ContextProvider {
const LostContextCallback& lost_context_callback) override;
protected:
- BlimpContextProvider(gfx::AcceleratedWidget widget,
+ BlimpContextProvider(gpu::SurfaceHandle widget,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager);
~BlimpContextProvider() override;

Powered by Google App Engine
This is Rietveld 408576698