diff options
author | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 20:09:57 +0000 |
---|---|---|
committer | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 20:09:57 +0000 |
commit | ce9eea60c922efff7c680a7a127480a799e06e94 (patch) | |
tree | 6e34093d78d48fe4d1132c4d8eef2817d32e2203 /webkit/plugins | |
parent | 8c3bd1d8c71d8432beb624ce1434ca962665de90 (diff) | |
download | chromium_src-ce9eea60c922efff7c680a7a127480a799e06e94.zip chromium_src-ce9eea60c922efff7c680a7a127480a799e06e94.tar.gz chromium_src-ce9eea60c922efff7c680a7a127480a799e06e94.tar.bz2 |
implemented latch support in renderer process. this corresponds with a webkit patch.
https://bugs.webkit.org/show_bug.cgi?id=58003
BUG=72671
TEST=see attachment in bug for test. only green should be seen.
Review URL: http://codereview.chromium.org/6810009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81295 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins')
-rw-r--r-- | webkit/plugins/ppapi/ppb_context_3d_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/plugins/ppapi/ppb_context_3d_impl.cc b/webkit/plugins/ppapi/ppb_context_3d_impl.cc index 9494459..7d3b498 100644 --- a/webkit/plugins/ppapi/ppb_context_3d_impl.cc +++ b/webkit/plugins/ppapi/ppb_context_3d_impl.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -199,7 +199,7 @@ int32_t CreateTransferBuffer(PP_Resource context_id, uint32_t size) { Resource::GetAs<PPB_Context3D_Impl>(context_id)); if (!context.get() || !context->command_buffer()) return 0; - return context->command_buffer()->CreateTransferBuffer(size); + return context->command_buffer()->CreateTransferBuffer(size, -1); } PP_Bool DestroyTransferBuffer(PP_Resource context_id, int32_t id) { @@ -310,7 +310,7 @@ bool PPB_Context3D_Impl::CreateImplementation() { // Create a transfer buffer used to copy resources between the renderer // process and the GPU process. transfer_buffer_id_ = - command_buffer->CreateTransferBuffer(kTransferBufferSize); + command_buffer->CreateTransferBuffer(kTransferBufferSize, -1); if (transfer_buffer_id_ < 0) return false; |