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

Unified Diff: remoting/client/gl_renderer_delegate.h

Issue 2614443003: Moving the GL implementation details into a sub folder for client display. (Closed)
Patch Set: Adding deps restriction on r/c/display; Moving sys_opengl.h Created 3 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 | « remoting/client/gl_renderer.cc ('k') | remoting/client/gl_renderer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/gl_renderer_delegate.h
diff --git a/remoting/client/gl_renderer_delegate.h b/remoting/client/gl_renderer_delegate.h
deleted file mode 100644
index 5d15a1e7a1740ff68b0ae863dd7ed7a7f3960cf1..0000000000000000000000000000000000000000
--- a/remoting/client/gl_renderer_delegate.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_CLIENT_GL_RENDERER_DELEGATE_H_
-#define REMOTING_CLIENT_GL_RENDERER_DELEGATE_H_
-
-#include "base/macros.h"
-
-namespace remoting {
-
-// Interface to interact with GlRenderer. All functions will be called on the
-// display thread.
-class GlRendererDelegate {
- public:
- // Called when GlRenderer is about to render a frame on current OpenGL
- // surface. Return true if GlRenderer can continue the render process.
- virtual bool CanRenderFrame() = 0;
-
- // Called after GlRenderer has successfully rendered a frame on current OpenGL
- // surface.
- virtual void OnFrameRendered() = 0;
-
- // Called when the size of the canvas (= size of desktop frame) is changed.
- virtual void OnSizeChanged(int width, int height) = 0;
-
- protected:
- virtual ~GlRendererDelegate() {}
-};
-
-} // namespace remoting
-#endif // REMOTING_CLIENT_GL_RENDERER_DELEGATE_H_
« no previous file with comments | « remoting/client/gl_renderer.cc ('k') | remoting/client/gl_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698