summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 20:06:02 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 20:06:02 +0000
commit34ff8b0ce22406a4f8777ea3da9e08fc02af6beb (patch)
treec59971cc688bbb3aeb383e3a36cb29164bbde589 /chrome/plugin
parent1599077a645a03c31c09efe57befaefbe00c958a (diff)
downloadchromium_src-34ff8b0ce22406a4f8777ea3da9e08fc02af6beb.zip
chromium_src-34ff8b0ce22406a4f8777ea3da9e08fc02af6beb.tar.gz
chromium_src-34ff8b0ce22406a4f8777ea3da9e08fc02af6beb.tar.bz2
Add offscreen context creation attributes to GGL.
View contexts and more extensive color format picking not handled yet. BUG=39849 TEST=WebGL conformance tests (context*.html) Review URL: http://codereview.chromium.org/3302019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61220 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/command_buffer_stub.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/plugin/command_buffer_stub.cc b/chrome/plugin/command_buffer_stub.cc
index 116fb4d..7f699ba 100644
--- a/chrome/plugin/command_buffer_stub.cc
+++ b/chrome/plugin/command_buffer_stub.cc
@@ -93,7 +93,8 @@ void CommandBufferStub::OnInitialize(int32 size,
// Initialize the GPUProcessor.
processor_.reset(new gpu::GPUProcessor(command_buffer_.get()));
- if (!processor_->Initialize(window_, gfx::Size(), NULL, 0)) {
+ if (!processor_->Initialize(window_, gfx::Size(), std::vector<int32>(),
+ NULL, 0)) {
Destroy();
return;
}