diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-17 18:27:38 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-17 18:27:38 +0000 |
commit | 63c9b0574fc9a7d6420815b3eb64873ca50fe01b (patch) | |
tree | eeeb24ef1b2fa672eb72b2dcf12e295c0fa84888 /gpu/command_buffer/service/gl_surface_mock.cc | |
parent | e9c7bcfa90d8ed49bb11e1d31f95258d73f26c15 (diff) | |
download | chromium_src-63c9b0574fc9a7d6420815b3eb64873ca50fe01b.zip chromium_src-63c9b0574fc9a7d6420815b3eb64873ca50fe01b.tar.gz chromium_src-63c9b0574fc9a7d6420815b3eb64873ca50fe01b.tar.bz2 |
Allow GLES2CmdDecoder to change the GLSurface associated with the default FBO.
This is part 1. It can't actually be used yet because there are assumptions that the surface never changed.
It is intended to allow each renderer process to create only one command buffer for use by the compositor while being able to switch the surface between different windows, for examnple if a single renderer process handles multiple tabs of the same site.
Review URL: https://chromiumcodereview.appspot.com/10388131
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gl_surface_mock.cc')
-rw-r--r-- | gpu/command_buffer/service/gl_surface_mock.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gl_surface_mock.cc b/gpu/command_buffer/service/gl_surface_mock.cc new file mode 100644 index 0000000..9706a18 --- /dev/null +++ b/gpu/command_buffer/service/gl_surface_mock.cc @@ -0,0 +1,14 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "gpu/command_buffer/service/gl_surface_mock.h" + +namespace gpu { + +GLSurfaceMock::GLSurfaceMock() { +} + +GLSurfaceMock::~GLSurfaceMock() { +} +} // namespace gpu |