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

Unified Diff: client/deps/glbench/src/egl_stuff.cc

Issue 894003: Teartest with -o flag to specify override redirect window and -r number to specify refresh rate. (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 side-by-side diff with in-line comments
Download patch
Index: client/deps/glbench/src/egl_stuff.cc
diff --git a/client/deps/glbench/src/egl_stuff.cc b/client/deps/glbench/src/egl_stuff.cc
index 62a6a492af807d7fd3c01d39d37c123d17251e7d..27885c6535876efaefd945ecd247eaae24868634 100644
--- a/client/deps/glbench/src/egl_stuff.cc
+++ b/client/deps/glbench/src/egl_stuff.cc
@@ -86,3 +86,7 @@ void TerminateGL() {
void SwapBuffers() {
eglSwapBuffers(egl_display, egl_surface);
}
+
+bool SwapInterval(int interval) {
+ return eglSwapInterval(interval) == EGL_TRUE;
+}

Powered by Google App Engine
This is Rietveld 408576698