summaryrefslogtreecommitdiffstats
path: root/gpu/gles2_conform_support
diff options
context:
space:
mode:
authordglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-06 20:21:44 +0000
committerdglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-06 20:21:44 +0000
commitbd45bd252aeb8babac62547a5c605fbf64287cd3 (patch)
tree97cbf2f8bec035b6cf77c723a4b3b89c61338d79 /gpu/gles2_conform_support
parent32b6bae0bccbf704fbd07085e6334af7c90957f2 (diff)
downloadchromium_src-bd45bd252aeb8babac62547a5c605fbf64287cd3.zip
chromium_src-bd45bd252aeb8babac62547a5c605fbf64287cd3.tar.gz
chromium_src-bd45bd252aeb8babac62547a5c605fbf64287cd3.tar.bz2
Revert 113250 - Add CommandBuffer::SetGetBuffer
As well as remove CommandBuffer::GetRingBuffer and change CommandBuffer::Initialize Before this change the service allocated and managed the command buffer. After this change the client uses CreateTransferBuffer, GetTransferBuffer, end potentially DeleteTransferBufffer to manage the command buffer. Another CL will actually make the client delete the command buffer on demand. TEST=unit tests and run some samples and a NaCl 3D game BUG=103989 Review URL: http://codereview.chromium.org/8566059 TBR=gman@chromium.org Review URL: http://codereview.chromium.org/8827005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gles2_conform_support')
-rw-r--r--gpu/gles2_conform_support/egl/display.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
index 928d5fd..18c9727 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -32,7 +32,7 @@ Display::~Display() {
bool Display::Initialize() {
scoped_ptr<gpu::CommandBufferService> command_buffer(
new gpu::CommandBufferService);
- if (!command_buffer->Initialize())
+ if (!command_buffer->Initialize(kCommandBufferSize))
return false;
int32 transfer_buffer_id =