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

Unified Diff: third_party/mojo/src/mojo/public/c/gles2/chromium_image.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: third_party/mojo/src/mojo/public/c/gles2/chromium_image.h
diff --git a/third_party/mojo/src/mojo/public/c/gles2/chromium_miscellaneous.h b/third_party/mojo/src/mojo/public/c/gles2/chromium_image.h
similarity index 70%
copy from third_party/mojo/src/mojo/public/c/gles2/chromium_miscellaneous.h
copy to third_party/mojo/src/mojo/public/c/gles2/chromium_image.h
index e7c5aeea083549b99eede34d9e5668b0b6cae993..c73ee22863910ac1d82ce3d63d1e9932190de0b2 100644
--- a/third_party/mojo/src/mojo/public/c/gles2/chromium_miscellaneous.h
+++ b/third_party/mojo/src/mojo/public/c/gles2/chromium_image.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_PUBLIC_C_GLES2_CHROMIUM_MISCELLANEOUS_H_
-#define MOJO_PUBLIC_C_GLES2_CHROMIUM_MISCELLANEOUS_H_
+#ifndef MOJO_PUBLIC_C_GLES2_CHROMIUM_IMAGE_H_
+#define MOJO_PUBLIC_C_GLES2_CHROMIUM_IMAGE_H_
// Note: This header should be compilable as C.
@@ -14,17 +14,19 @@
#include "mojo/public/c/gles2/gles2_types.h"
#include "mojo/public/c/system/types.h"
+extern "C" typedef struct _ClientBuffer* ClientBuffer;
+
#ifdef __cplusplus
extern "C" {
#endif
#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
MOJO_GLES2_EXPORT ReturnType GL_APIENTRY gl##Function PARAMETERS;
-#include "mojo/public/c/gles2/gles2_call_visitor_chromium_miscellaneous_autogen.h"
+#include "mojo/public/c/gles2/gles2_call_visitor_chromium_image_autogen.h"
#undef VISIT_GL_CALL
#ifdef __cplusplus
} // extern "C"
#endif
-#endif // MOJO_PUBLIC_C_GLES2_CHROMIUM_MISCELLANEOUS_H_
+#endif // MOJO_PUBLIC_C_GLES2_CHROMIUM_IMAGE_H_

Powered by Google App Engine
This is Rietveld 408576698