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

Unified Diff: remoting/client/opengl/gl_helpers.h

Issue 2045963004: [Remoting] OpenGL Rendering Layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: remoting/client/opengl/gl_helpers.h
diff --git a/remoting/client/opengl/gl_helpers.h b/remoting/client/opengl/gl_helpers.h
new file mode 100644
index 0000000000000000000000000000000000000000..2029db283eee29e01cf1a512ae3a1c1ae38dd43c
--- /dev/null
+++ b/remoting/client/opengl/gl_helpers.h
@@ -0,0 +1,20 @@
+// 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_HELPERS_H_
+#define REMOTING_CLIENT_GL_HELPERS_H_
+
+#include "base/macros.h"
+#include "remoting/client/opengl_wrapper.h"
+
+namespace remoting {
+
+GLuint CompileShader(GLenum shaderType, const char* shaderSource);
Sergey Ulanov 2016/06/27 23:15:29 shader_type, shader_source
Sergey Ulanov 2016/06/27 23:15:30 add documentation for each of these functions
Yuwei 2016/06/28 22:51:11 Done.
+GLuint CreateProgram(GLuint vertex_shader, GLuint fragment_shader);
+GLuint CreateTexture();
+GLuint CreateBuffer(const void* data, int size);
+
+} // namespace remoting
+
+#endif // REMOTING_CLIENT_GL_HELPERS_H_

Powered by Google App Engine
This is Rietveld 408576698