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

Unified Diff: ui/compositor/test/in_process_context_provider.h

Issue 2498053004: Add InProcessContextProvider and update InProcessCommandBuffer (Closed)
Patch Set: Add missing dep in blimp 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: ui/compositor/test/in_process_context_provider.h
diff --git a/ui/compositor/test/in_process_context_provider.h b/ui/compositor/test/in_process_context_provider.h
index d61a77db0ccb8daea69a6ff162b75dfaab8c926e..2d2501f46fbfb6575ebb244e6c5fd6264385c3c6 100644
--- a/ui/compositor/test/in_process_context_provider.h
+++ b/ui/compositor/test/in_process_context_provider.h
@@ -15,6 +15,7 @@
#include "base/threading/thread_checker.h"
#include "cc/output/context_provider.h"
#include "gpu/command_buffer/common/gles2_cmd_utils.h"
+#include "gpu/ipc/common/surface_handle.h"
#include "ui/gfx/native_widget_types.h"
namespace gpu {
@@ -36,7 +37,7 @@ class InProcessContextProvider : public cc::ContextProvider {
InProcessContextProvider* shared_context,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
gpu::ImageFactory* image_factory,
- gfx::AcceleratedWidget window,
+ gpu::SurfaceHandle window,
const std::string& debug_name);
// Uses default attributes for creating an offscreen context.
@@ -68,7 +69,7 @@ class InProcessContextProvider : public cc::ContextProvider {
InProcessContextProvider* shared_context,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
gpu::ImageFactory* image_factory,
- gfx::AcceleratedWidget window,
+ gpu::SurfaceHandle window,
const std::string& debug_name);
~InProcessContextProvider() override;
@@ -83,7 +84,7 @@ class InProcessContextProvider : public cc::ContextProvider {
InProcessContextProvider* shared_context_;
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_;
gpu::ImageFactory* image_factory_;
- gfx::AcceleratedWidget window_;
+ gpu::SurfaceHandle window_;
std::string debug_name_;
base::Lock context_lock_;

Powered by Google App Engine
This is Rietveld 408576698