diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-27 23:06:19 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-27 23:06:19 +0000 |
commit | 06b73aa26473f9ec6bec009d11329a10cad27350 (patch) | |
tree | 953a5ab22e1fd30e918a47a0eebd72860c0bad69 /ppapi/shared_impl/ppb_graphics_3d_shared.h | |
parent | d052176a98e0f9803b276dc43daa08b3fd310055 (diff) | |
download | chromium_src-06b73aa26473f9ec6bec009d11329a10cad27350.zip chromium_src-06b73aa26473f9ec6bec009d11329a10cad27350.tar.gz chromium_src-06b73aa26473f9ec6bec009d11329a10cad27350.tar.bz2 |
Revert "Revert 119430 - Make transferbuffer increase in size dynamically"
This reverts commit 2f38c45427c68fe731c1f5c05256b6c141a6a590.
BUG=101431
TEST=
TBR=apatrick@chromium.org
Review URL: http://codereview.chromium.org/9121057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppb_graphics_3d_shared.h')
-rw-r--r-- | ppapi/shared_impl/ppb_graphics_3d_shared.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ppapi/shared_impl/ppb_graphics_3d_shared.h b/ppapi/shared_impl/ppb_graphics_3d_shared.h index 8804181..2a89e40 100644 --- a/ppapi/shared_impl/ppb_graphics_3d_shared.h +++ b/ppapi/shared_impl/ppb_graphics_3d_shared.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// 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. @@ -15,6 +15,7 @@ namespace gpu { class CommandBuffer; +class TransferBuffer; namespace gles2 { class GLES2CmdHelper; class GLES2Implementation; @@ -68,8 +69,8 @@ class PPAPI_SHARED_EXPORT PPB_Graphics3D_Shared void DestroyGLES2Impl(); private: - int32 transfer_buffer_id_; scoped_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_; + scoped_ptr<gpu::TransferBuffer> transfer_buffer_; scoped_ptr<gpu::gles2::GLES2Implementation> gles2_impl_; // Callback that needs to be executed when swap-buffers is completed. |