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

Unified Diff: mandoline/ui/aura/surface_context_factory.h

Issue 1181013010: Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit warning Created 5 years, 6 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
Index: mandoline/ui/aura/surface_context_factory.h
diff --git a/mandoline/ui/aura/surface_context_factory.h b/mandoline/ui/aura/surface_context_factory.h
index abf8d9b040a4c96456754d68cfc25336bb5e580b..90b99343a2e6d83eb2e10be51309603e0b0831d1 100644
--- a/mandoline/ui/aura/surface_context_factory.h
+++ b/mandoline/ui/aura/surface_context_factory.h
@@ -5,6 +5,8 @@
#ifndef MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_
#define MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_
+#include "components/view_manager/gles2/mojo_gpu_memory_buffer_manager.h"
+#include "components/view_manager/gles2/raster_thread_helper.h"
#include "mandoline/ui/aura/surface_binding.h"
#include "ui/compositor/compositor.h"
@@ -41,6 +43,8 @@ class SurfaceContextFactory : public ui::ContextFactory {
SurfaceBinding surface_binding_;
uint32_t next_surface_id_namespace_;
+ gles2::RasterThreadHelper raster_thread_helper_;
+ gles2::MojoGpuMemoryBufferManager gpu_memory_buffer_manager_;
DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory);
};

Powered by Google App Engine
This is Rietveld 408576698