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

Unified Diff: gpu/GLES2/gl2chromium.h

Issue 11679005: Extract Chromium-specific parts out of third_party/khronos/GLES2 . (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for gpu waterfall Created 8 years 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 | « no previous file | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GLES2/gl2chromium.h
diff --git a/gpu/GLES2/gl2chromium.h b/gpu/GLES2/gl2chromium.h
index 7cc84f059513fd9e7669ddebedc77c56792c77da..ff221417a6edc88460cab6918c880907312b2ce7 100644
--- a/gpu/GLES2/gl2chromium.h
+++ b/gpu/GLES2/gl2chromium.h
@@ -6,12 +6,16 @@
// gpu/command_buffer/build_gles2_cmd_buffer.py
// DO NOT EDIT!
-// Because we are using both the real system GL and our own.
-// emulated GL we need to use different names to avoid conflicts.
+// This file contains Chromium-specific GLES2 declarations.
#ifndef GPU_GLES2_GL2CHROMIUM_H_
#define GPU_GLES2_GL2CHROMIUM_H_
+#include <GLES2/gl2platform.h>
+#define GL_CONTEXT_LOST 0x300E
+
+// Because we are using both the real system GL and our own
+// emulated GL we need to use different names to avoid conflicts.
#if defined(GLES2_USE_CPP_BINDINGS)
#define GLES2_GET_FUN(name) gles2::GetGLContext()->name
#else
« no previous file with comments | « no previous file | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698