From ce9eea60c922efff7c680a7a127480a799e06e94 Mon Sep 17 00:00:00 2001 From: "jbates@chromium.org" Date: Tue, 12 Apr 2011 20:09:57 +0000 Subject: 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 --- webkit/plugins/ppapi/ppb_context_3d_impl.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webkit/plugins') 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(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; -- cgit v1.1