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

Unified Diff: remoting/client/display/gl_render_layer.h

Issue 2591363002: Adding drawable to CRD andorid and iOS gl rendering pipeline. (Closed)
Patch Set: Cleanup and adding interfaces based on review feedback.: 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
Index: remoting/client/display/gl_render_layer.h
diff --git a/remoting/client/display/gl_render_layer.h b/remoting/client/display/gl_render_layer.h
index 153e2e3e4644ab578d1feaadd7b076a3484235c9..155eef9905e2823eb5539b8156d5ae7d40a12109 100644
--- a/remoting/client/display/gl_render_layer.h
+++ b/remoting/client/display/gl_render_layer.h
@@ -13,7 +13,7 @@
#include "remoting/client/display/sys_opengl.h"
namespace remoting {
-class GlCanvas;
+class Canvas;
// This class is for drawing a texture on the canvas. Must be deleted before the
// canvas is deleted.
@@ -23,7 +23,7 @@ class GlRenderLayer {
// texture_id: An integer in range [0, GL_MAX_TEXTURE_IMAGE_UNITS], defining
// which slot to store the texture.
- GlRenderLayer(int texture_id, GlCanvas* canvas);
+ GlRenderLayer(int texture_id, Canvas* canvas);
~GlRenderLayer();
// Sets the texture (RGBA 8888) to be drawn. Please use UpdateTexture() if the
@@ -78,7 +78,7 @@ class GlRenderLayer {
bool* should_reset_row_length);
int texture_id_;
- GlCanvas* canvas_;
+ Canvas* canvas_;
GLuint texture_handle_;
GLuint buffer_handle_;

Powered by Google App Engine
This is Rietveld 408576698