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

Unified Diff: mojo/services/gles2/command_buffer_impl.h

Issue 354933002: Connect X11 ConfigureNotify events to Mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed X11 support for --start-fullscreen, --start-maximized Created 6 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: mojo/services/gles2/command_buffer_impl.h
diff --git a/mojo/services/gles2/command_buffer_impl.h b/mojo/services/gles2/command_buffer_impl.h
index 5d1c7bdd2051de72915440421436a59246a0870d..f010388a83c4e240e6410e488fc319815849cfc9 100644
--- a/mojo/services/gles2/command_buffer_impl.h
+++ b/mojo/services/gles2/command_buffer_impl.h
@@ -21,6 +21,10 @@ class GLES2Decoder;
}
}
+namespace gfx {
+class GLSurface;
+}
+
namespace mojo {
namespace services {
@@ -49,6 +53,8 @@ class CommandBufferImpl : public InterfaceImpl<CommandBuffer> {
private:
bool DoInitialize(mojo::ScopedSharedBufferHandle shared_state);
+ void OnResize(gfx::Size size, float scale_factor);
+
void OnParseError();
void DrawAnimationFrame();
@@ -61,6 +67,7 @@ class CommandBufferImpl : public InterfaceImpl<CommandBuffer> {
scoped_ptr<gpu::gles2::GLES2Decoder> decoder_;
scoped_ptr<gpu::GpuScheduler> scheduler_;
scoped_ptr<gpu::GpuControlService> gpu_control_;
+ scoped_refptr<gfx::GLSurface> surface_;
base::RepeatingTimer<CommandBufferImpl> timer_;
DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl);

Powered by Google App Engine
This is Rietveld 408576698