summaryrefslogtreecommitdiffstats
path: root/o3d/tests
diff options
context:
space:
mode:
authorpetersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 02:39:33 +0000
committerpetersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 02:39:33 +0000
commite73d4f7b1f150436dae5d589fd73c8d17c2dcb56 (patch)
treeabdc8f4fba62512c716f14b67badd7993c0394fe /o3d/tests
parenta4369599f7e9c15c66bcf66cc1c9bd158666eea4 (diff)
downloadchromium_src-e73d4f7b1f150436dae5d589fd73c8d17c2dcb56.zip
chromium_src-e73d4f7b1f150436dae5d589fd73c8d17c2dcb56.tar.gz
chromium_src-e73d4f7b1f150436dae5d589fd73c8d17c2dcb56.tar.bz2
Created new build target for opengl command buffer service, fixed various bugs in opengl command buffers service code until unit tests passed on windows.
Review URL: http://codereview.chromium.org/165279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24415 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/tests')
-rw-r--r--o3d/tests/common/win/testing_common.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/o3d/tests/common/win/testing_common.cc b/o3d/tests/common/win/testing_common.cc
index 44c12658..8fb350b 100644
--- a/o3d/tests/common/win/testing_common.cc
+++ b/o3d/tests/common/win/testing_common.cc
@@ -104,12 +104,15 @@ int WINAPI WinMain(HINSTANCE instance,
if (!::RegisterClassEx(&wc))
return false;
+ // Leaving this window onscreen leads to a redraw error which makes it
+ // a hassle to debug tests in an IDE, so we place the window somewhere that
+ // won't happen.
g_window_handle = ::CreateWindowExW(NULL,
wc.lpszClassName,
L"",
WS_OVERLAPPEDWINDOW,
- CW_USEDEFAULT,
- CW_USEDEFAULT,
+ -1000,
+ 0,
512,
512,
0,