OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // These tests are run twice: | 5 // These tests are run twice: |
6 // Once in a gpu test with an in-process WebGraphicsContext3D. | 6 // Once in a gpu test with an in-process command buffer. |
7 // Once in a browsertest with a gpu-process WebGraphicsContext3D. | 7 // Once in a browsertest with an out-of-process command buffer and gpu-process. |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
11 #include "gpu/GLES2/gl2extchromium.h" | 11 #include "gpu/GLES2/gl2extchromium.h" |
12 #include "gpu/command_buffer/client/context_support.h" | 12 #include "gpu/command_buffer/client/context_support.h" |
13 #include "gpu/command_buffer/client/gles2_interface.h" | 13 #include "gpu/command_buffer/client/gles2_interface.h" |
14 #include "gpu/command_buffer/common/sync_token.h" | 14 #include "gpu/command_buffer/common/sync_token.h" |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 // Signalling something that doesn't exist should run the callback | 129 // Signalling something that doesn't exist should run the callback |
130 // immediately. | 130 // immediately. |
131 TestSignalQuery(928729087); | 131 TestSignalQuery(928729087); |
132 TestSignalQuery(928729086); | 132 TestSignalQuery(928729086); |
133 TestSignalQuery(928729085); | 133 TestSignalQuery(928729085); |
134 TestSignalQuery(928729083); | 134 TestSignalQuery(928729083); |
135 TestSignalQuery(928729082); | 135 TestSignalQuery(928729082); |
136 TestSignalQuery(928729081); | 136 TestSignalQuery(928729081); |
137 }; | 137 }; |
138 }; | 138 }; |
OLD | NEW |