diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-22 21:21:48 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-22 21:21:48 +0000 |
commit | 351b6592239ee36d7f218396c1bd84514fd35a59 (patch) | |
tree | 919172b47fb6eaf9bc0e2679e04e911727ba55d0 /app | |
parent | 4f4944de169927bb5edf8927b1f0a8bfc96d464b (diff) | |
download | chromium_src-351b6592239ee36d7f218396c1bd84514fd35a59.zip chromium_src-351b6592239ee36d7f218396c1bd84514fd35a59.tar.gz chromium_src-351b6592239ee36d7f218396c1bd84514fd35a59.tar.bz2 |
Pepper3D plugin tests enabled for Windows.
OSMesa (offscreen 3D renderer) allows us to now run these on the bots. Once OSMesa is working on linux and max, we can enable the tests for those platforms too.
TEST=trybots, checked they fail when OSMesa is not built and pass when OSMesa is built
BUG=none
Review URL: http://codereview.chromium.org/1752006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r-- | app/gfx/gl/gl_context_win.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/gfx/gl/gl_context_win.cc b/app/gfx/gl/gl_context_win.cc index b3a8243..0f4d570 100644 --- a/app/gfx/gl/gl_context_win.cc +++ b/app/gfx/gl/gl_context_win.cc @@ -411,6 +411,10 @@ void OSMesaViewGLContext::Destroy() { } bool OSMesaViewGLContext::MakeCurrent() { + // TODO(apatrick): This is a bit of a hack. The window might have had zero + // size when the context was initialized. Assume it has a valid size when + // MakeCurrent is called and resize the back buffer if necessary. + UpdateSize(); return osmesa_context_.MakeCurrent(); } |