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

Unified Diff: client/deps/glbench/src/main.h

Issue 1732030: Replaced funky state machines with classes. This is in preparation of doing the same to gl_Bench. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: Got rid of static test list initialization, fixed USE_EGL. Created 10 years, 8 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 | « client/deps/glbench/src/egl_stuff.cc ('k') | client/deps/glbench/src/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/main.h
diff --git a/client/deps/glbench/src/main.h b/client/deps/glbench/src/main.h
index 42d0ed8f96243960e8233e2544d912b6eb0f1bf6..d103f1e2515572adf1e141064cdc4db5b075d68d 100644
--- a/client/deps/glbench/src/main.h
+++ b/client/deps/glbench/src/main.h
@@ -8,9 +8,9 @@
#include <gflags/gflags.h>
#include <sys/time.h>
-#ifdef USE_GLES
+#ifdef USE_EGL
+#include <GLES2/gl2.h>
#include <EGL/egl.h>
-#include <GLES/gl.h>
#else
#include <GL/gl.h>
#include <GL/glx.h>
@@ -29,6 +29,8 @@
F(glGenBuffers, PFNGLGENBUFFERSPROC) \
F(glGetAttribLocation, PFNGLGETATTRIBLOCATIONPROC) \
F(glGetInfoLogARB, PFNGLGETPROGRAMINFOLOGPROC) \
+ F(glGetProgramInfoLog, PFNGLGETPROGRAMINFOLOGPROC) \
+ F(glGetShaderInfoLog, PFNGLGETSHADERINFOLOGPROC) \
F(glGetUniformLocation, PFNGLGETUNIFORMLOCATIONPROC) \
F(glLinkProgram, PFNGLLINKPROGRAMPROC) \
F(glShaderSource, PFNGLSHADERSOURCEPROC) \
@@ -36,7 +38,9 @@
F(glUniform1i, PFNGLUNIFORM1IPROC) \
F(glUseProgram, PFNGLUSEPROGRAMPROC) \
F(glVertexAttribPointer, PFNGLVERTEXATTRIBPOINTERPROC) \
- F(glXSwapIntervalSGI, PFNGLXSWAPINTERVALSGIPROC)
+ F(glXSwapIntervalSGI, PFNGLXSWAPINTERVALSGIPROC) \
+ F(glXBindTexImageEXT, PFNGLXBINDTEXIMAGEEXTPROC) \
+ F(glXReleaseTexImageEXT, PFNGLXRELEASETEXIMAGEEXTPROC)
#define F(fun, type) extern type fun;
LIST_PROC_FUNCTIONS(F)
« no previous file with comments | « client/deps/glbench/src/egl_stuff.cc ('k') | client/deps/glbench/src/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698