Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4218)

Unified Diff: chrome/gpu/gpu_command_buffer_stub.cc

Issue 6623063: Connect up --disable-gl-multisampling to command buffer (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/gpu/gpu_command_buffer_stub.cc
diff --git a/chrome/gpu/gpu_command_buffer_stub.cc b/chrome/gpu/gpu_command_buffer_stub.cc
index 0bf5427948ae808f801463ed2a5f9932fcf57b70..d4296fa04f9f2d095093d7515018bfc31cedae96 100644
--- a/chrome/gpu/gpu_command_buffer_stub.cc
+++ b/chrome/gpu/gpu_command_buffer_stub.cc
@@ -24,6 +24,7 @@ GpuCommandBufferStub::GpuCommandBufferStub(
gfx::PluginWindowHandle handle,
GpuCommandBufferStub* parent,
const gfx::Size& size,
+ const gpu::gles2::DisallowedExtensions& disallowed,
const std::string& allowed_extensions,
const std::vector<int32>& attribs,
uint32 parent_texture_id,
@@ -35,6 +36,7 @@ GpuCommandBufferStub::GpuCommandBufferStub(
parent_(
parent ? parent->AsWeakPtr() : base::WeakPtr<GpuCommandBufferStub>()),
initial_size_(size),
+ disallowed_extensions_(disallowed),
allowed_extensions_(allowed_extensions),
requested_attribs_(attribs),
parent_texture_id_(parent_texture_id),
@@ -236,6 +238,7 @@ void GpuCommandBufferStub::OnInitialize(
if (processor_->Initialize(
output_window_handle,
initial_size_,
+ disallowed_extensions_,
allowed_extensions_.c_str(),
requested_attribs_,
parent_processor,

Powered by Google App Engine
This is Rietveld 408576698