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

Side by Side Diff: client/deps/glbench/src/utils.h

Issue 897003: set resource loading path relative to the executable (Closed)
Patch Set: Created 10 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BENCH_GL_UTILS_H_ 5 #ifndef BENCH_GL_UTILS_H_
6 #define BENCH_GL_UTILS_H_ 6 #define BENCH_GL_UTILS_H_
7 7
8 #include "GL/gl.h" 8 #include "GL/gl.h"
9 9
10 10
11 void SetBasePathFromArgv0(const char* argv0, const char* relative);
11 void *MmapFile(const char *name, size_t *length); 12 void *MmapFile(const char *name, size_t *length);
12 GLuint InitShaderProgram(const char *vertex_src, const char *fragment_src); 13 GLuint InitShaderProgram(const char *vertex_src, const char *fragment_src);
13 14
14 #endif // BENCH_GL_UTILS_H_ 15 #endif // BENCH_GL_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698