| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "gpu/command_buffer/service/feature_info.h" | 5 #include "gpu/command_buffer/service/feature_info.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 10 #include "gpu/command_buffer/service/gpu_service_test.h" | 12 #include "gpu/command_buffer/service/gpu_service_test.h" |
| 11 #include "gpu/command_buffer/service/gpu_switches.h" | 13 #include "gpu/command_buffer/service/gpu_switches.h" |
| 12 #include "gpu/command_buffer/service/test_helper.h" | 14 #include "gpu/command_buffer/service/test_helper.h" |
| 13 #include "gpu/command_buffer/service/texture_manager.h" | 15 #include "gpu/command_buffer/service/texture_manager.h" |
| 14 #include "gpu/config/gpu_driver_bug_workaround_type.h" | 16 #include "gpu/config/gpu_driver_bug_workaround_type.h" |
| 15 #include "gpu/config/gpu_switches.h" | 17 #include "gpu/config/gpu_switches.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1401 base::IntToString(gpu::DISABLE_MSAA_ON_NON_WEBGL_CONTEXTS)); | 1403 base::IntToString(gpu::DISABLE_MSAA_ON_NON_WEBGL_CONTEXTS)); |
| 1402 SetupInitExpectationsWithGLVersionAndContextTypeAndCommandLine( | 1404 SetupInitExpectationsWithGLVersionAndContextTypeAndCommandLine( |
| 1403 "GL_EXT_multisampled_render_to_texture GL_EXT_framebuffer_multisample", | 1405 "GL_EXT_multisampled_render_to_texture GL_EXT_framebuffer_multisample", |
| 1404 "", "", CONTEXT_TYPE_WEBGL1, command_line); | 1406 "", "", CONTEXT_TYPE_WEBGL1, command_line); |
| 1405 EXPECT_TRUE(info_->feature_flags().multisampled_render_to_texture); | 1407 EXPECT_TRUE(info_->feature_flags().multisampled_render_to_texture); |
| 1406 EXPECT_TRUE(info_->feature_flags().chromium_framebuffer_multisample); | 1408 EXPECT_TRUE(info_->feature_flags().chromium_framebuffer_multisample); |
| 1407 } | 1409 } |
| 1408 | 1410 |
| 1409 } // namespace gles2 | 1411 } // namespace gles2 |
| 1410 } // namespace gpu | 1412 } // namespace gpu |
| OLD | NEW |