diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2012-11-14 21:18:28 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-01-03 13:40:41 -0800 |
commit | 20ec126d4b0b2a7bcbc62c76ae9f780828994c04 (patch) | |
tree | 815c39f59ae501feddc6a715a843897fe9a30222 | |
parent | fa36f7a345338018a28f047ee50370bb8889e44b (diff) |
glean: Remove quiesce() functions.
These were used to try and settle the system before a benchmark, and
aren't terribly useful now that there are no benchmarks.
-rw-r--r-- | tests/glean/environ.cpp | 9 | ||||
-rw-r--r-- | tests/glean/environ.h | 2 | ||||
-rw-r--r-- | tests/glean/winsys.cpp | 8 | ||||
-rw-r--r-- | tests/glean/winsys.h | 1 |
4 files changed, 0 insertions, 20 deletions
diff --git a/tests/glean/environ.cpp b/tests/glean/environ.cpp index 68250d90d..a05c165dc 100644 --- a/tests/glean/environ.cpp +++ b/tests/glean/environ.cpp @@ -158,13 +158,4 @@ Environment::imageFileName(string& dbName, string& testName, int n) { return fileName; } // Environment::imageFileName -void -Environment::quiesce() { - winSys.quiesce(); -# if defined(__UNIX__) - sync(); -# elif defined(__MS__) -# endif -} // Environment::quiesce - } // namespace GLEAN diff --git a/tests/glean/environ.h b/tests/glean/environ.h index bb0139e9d..5cd003292 100644 --- a/tests/glean/environ.h +++ b/tests/glean/environ.h @@ -101,8 +101,6 @@ class Environment { return imageFileName(options.db2Name, testName, n); } - void quiesce(); // Settle down before starting a benchmark. - }; // class Environment } // namespace GLEAN diff --git a/tests/glean/winsys.cpp b/tests/glean/winsys.cpp index 76216d0ee..7f9049c3d 100644 --- a/tests/glean/winsys.cpp +++ b/tests/glean/winsys.cpp @@ -262,12 +262,4 @@ WindowSystem::makeCurrent(RenderingContext& r, Window& w) { # endif } // WindowSystem::makeCurrent -void -WindowSystem::quiesce() { -# if defined(__X11__) - XSync(dpy, False); -# elif defined(__WIN__) -# endif -} // WindowSystem::quiesce - } // namespace GLEAN diff --git a/tests/glean/winsys.h b/tests/glean/winsys.h index 595fb64f0..d045f20d9 100644 --- a/tests/glean/winsys.h +++ b/tests/glean/winsys.h @@ -84,7 +84,6 @@ class WindowSystem { bool makeCurrent(); // Remove context/surface binding. bool makeCurrent(RenderingContext& r, Window& w); // Bind given context and surface. - void quiesce(); // Wait for system to go idle. // State information: |