Chromium Code Reviews| Index: chrome/gpu/gpu_channel.cc |
| diff --git a/chrome/gpu/gpu_channel.cc b/chrome/gpu/gpu_channel.cc |
| index dbbb9a51e37f487065d8b0a9b04e9f466240c0b2..af1be57a5f4fc4a2efe3ffeee06f58a85d54d85b 100644 |
| --- a/chrome/gpu/gpu_channel.cc |
| +++ b/chrome/gpu/gpu_channel.cc |
| @@ -32,6 +32,7 @@ GpuChannel::GpuChannel(GpuThread* gpu_thread, |
| DCHECK(renderer_id); |
| const CommandLine* command_line = CommandLine::ForCurrentProcess(); |
| log_messages_ = command_line->HasSwitch(switches::kLogPluginMessages); |
| + disallowed_extensions_.multisampling = command_line->HasSwitch(switches::kDisableGLMultisampling); |
|
zmo
2011/03/07 23:34:29
here also: 80 per line.
|
| } |
| GpuChannel::~GpuChannel() { |
| @@ -95,7 +96,8 @@ void GpuChannel::CreateViewCommandBuffer( |
| #if defined(ENABLE_GPU) |
| *route_id = GenerateRouteID(); |
| scoped_ptr<GpuCommandBufferStub> stub(new GpuCommandBufferStub( |
| - this, window, NULL, gfx::Size(), init_params.allowed_extensions, |
| + this, window, NULL, gfx::Size(), disallowed_extensions_, |
| + init_params.allowed_extensions, |
| init_params.attribs, 0, *route_id, renderer_id_, render_view_id)); |
| router_.AddRoute(*route_id, stub.get()); |
| stubs_.AddWithID(stub.release(), *route_id); |
| @@ -174,6 +176,7 @@ void GpuChannel::OnCreateOffscreenCommandBuffer( |
| gfx::kNullPluginWindow, |
| parent_stub, |
| size, |
| + disallowed_extensions_, |
| init_params.allowed_extensions, |
| init_params.attribs, |
| parent_texture_id, |