| Index: gpu/command_buffer/tests/gl_manager.cc
|
| diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc
|
| index 64b8ce45684ebbee0892b72c2e46e5053bb910a4..cc3a818d6642f2eb4e120456bf8fb319c7a9a1fd 100644
|
| --- a/gpu/command_buffer/tests/gl_manager.cc
|
| +++ b/gpu/command_buffer/tests/gl_manager.cc
|
| @@ -185,7 +185,8 @@ GLManager::Options::Options()
|
| lose_context_when_out_of_memory(false),
|
| context_lost_allowed(false),
|
| context_type(gles2::CONTEXT_TYPE_OPENGLES2),
|
| - force_shader_name_hashing(false) {}
|
| + force_shader_name_hashing(false),
|
| + multisampled(false) {}
|
|
|
| GLManager::GLManager()
|
| : sync_point_manager_(nullptr),
|
| @@ -286,6 +287,8 @@ void GLManager::InitializeWithCommandLine(
|
| attribs.depth_size = 16;
|
| attribs.stencil_size = 8;
|
| attribs.context_type = options.context_type;
|
| + attribs.samples = options.multisampled ? 4 : 0;
|
| + attribs.sample_buffers = options.multisampled ? 1 : 0;
|
|
|
| if (!context_group) {
|
| GpuDriverBugWorkarounds gpu_driver_bug_workaround(&command_line);
|
|
|