| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 #include <string.h> | 8 #include <string.h> |
| 9 #include <cmath> | 9 #include <cmath> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include <GLES2/gl2.h> | 13 #include <GLES2/gl2.h> |
| 14 #include <GLES2/gl2ext.h> | 14 #include <GLES2/gl2ext.h> |
| 15 #include <GLES2/gl2extchromium.h> | 15 #include <GLES2/gl2extchromium.h> |
| 16 | 16 |
| 17 #include "base/at_exit.h" | 17 #include "base/at_exit.h" |
| 18 #include "base/bind.h" | 18 #include "base/bind.h" |
| 19 #include "base/command_line.h" | 19 #include "base/command_line.h" |
| 20 #include "base/files/file_util.h" | 20 #include "base/files/file_util.h" |
| 21 #include "base/json/json_reader.h" | 21 #include "base/json/json_reader.h" |
| 22 #include "base/macros.h" | 22 #include "base/macros.h" |
| 23 #include "base/memory/ref_counted_memory.h" |
| 23 #include "base/message_loop/message_loop.h" | 24 #include "base/message_loop/message_loop.h" |
| 24 #include "base/run_loop.h" | 25 #include "base/run_loop.h" |
| 25 #include "base/strings/stringprintf.h" | 26 #include "base/strings/stringprintf.h" |
| 26 #include "base/synchronization/waitable_event.h" | 27 #include "base/synchronization/waitable_event.h" |
| 27 #include "base/test/launcher/unit_test_launcher.h" | 28 #include "base/test/launcher/unit_test_launcher.h" |
| 28 #include "base/test/test_suite.h" | 29 #include "base/test/test_suite.h" |
| 29 #include "base/time/time.h" | 30 #include "base/time/time.h" |
| 30 #include "base/trace_event/trace_event.h" | 31 #include "base/trace_event/trace_event.h" |
| 31 #include "content/common/gpu/client/gl_helper.h" | 32 #include "content/common/gpu/client/gl_helper.h" |
| 32 #include "content/common/gpu/client/gl_helper_readback_support.h" | 33 #include "content/common/gpu/client/gl_helper_readback_support.h" |
| (...skipping 1953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1986 } | 1987 } |
| 1987 } | 1988 } |
| 1988 } | 1989 } |
| 1989 | 1990 |
| 1990 TEST_F(GLHelperTest, CheckOptimizations) { | 1991 TEST_F(GLHelperTest, CheckOptimizations) { |
| 1991 // Test in baseclass since it is friends with GLHelperScaling | 1992 // Test in baseclass since it is friends with GLHelperScaling |
| 1992 CheckOptimizationsTest(); | 1993 CheckOptimizationsTest(); |
| 1993 } | 1994 } |
| 1994 | 1995 |
| 1995 } // namespace content | 1996 } // namespace content |
| OLD | NEW |