diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-16 18:58:54 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-16 18:58:54 +0000 |
commit | 4bbe6d0c3ceb04efe623184d299867d1f5a320f2 (patch) | |
tree | e3705f4cc2ebbf5c6de112ba92ce2a8cc434c2da /gpu/command_buffer/client/ring_buffer_test.cc | |
parent | 4d1ffe7bb8cf7d97dc66e4a72af992177b293052 (diff) | |
download | chromium_src-4bbe6d0c3ceb04efe623184d299867d1f5a320f2.zip chromium_src-4bbe6d0c3ceb04efe623184d299867d1f5a320f2.tar.gz chromium_src-4bbe6d0c3ceb04efe623184d299867d1f5a320f2.tar.bz2 |
Moved code not relating to GPU scheduling out of GpuScheduler and into GpuCommandBufferStub.
This was mostly a refactor because the code was awkward.
I also deleted the original gles2_demo since we have the gles2 book demos now.
THings still to do are a common way of setting up the few objects involved in initializing a command buffer that is now more-or-less duplicated in the gles2 conformance tests, the gles2 demos, the command buffer stub and the in-process webgl context. I also want to completely remove the reference to the decoder from the scheduler.
I tested WebGL on both windows and mac and saw no regressions. I checked the conformance tests, the gpu tests and am running by the try bots now. The gles2 demos still work.
Review URL: http://codereview.chromium.org/7782041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101545 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/client/ring_buffer_test.cc')
-rw-r--r-- | gpu/command_buffer/client/ring_buffer_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/client/ring_buffer_test.cc b/gpu/command_buffer/client/ring_buffer_test.cc index a816393..ee21614 100644 --- a/gpu/command_buffer/client/ring_buffer_test.cc +++ b/gpu/command_buffer/client/ring_buffer_test.cc @@ -71,7 +71,7 @@ class BaseRingBufferTest : public testing::Test { 0, api_mock_.get()); - gpu_scheduler_.reset(GpuScheduler::CreateForTests( + gpu_scheduler_.reset(new GpuScheduler( command_buffer_.get(), NULL, parser_)); command_buffer_->SetPutOffsetChangeCallback(NewCallback( gpu_scheduler_.get(), &GpuScheduler::PutChanged)); |