Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Side by Side Diff: ui/gl/gpu_timing_fake.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/gpu_timing_fake.h ('k') | ui/gl/gpu_timing_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ui/gl/gpu_timing_fake.h" 5 #include "ui/gl/gpu_timing_fake.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "ui/gl/gl_mock.h" 9 #include "ui/gl/gl_mock.h"
10 10
11 namespace gfx { 11 namespace gl {
12 12
13 using ::testing::_; 13 using ::testing::_;
14 using ::testing::AtLeast; 14 using ::testing::AtLeast;
15 using ::testing::AtMost; 15 using ::testing::AtMost;
16 using ::testing::Exactly; 16 using ::testing::Exactly;
17 using ::testing::Invoke; 17 using ::testing::Invoke;
18 using ::testing::NotNull; 18 using ::testing::NotNull;
19 using ::testing::DoAll; 19 using ::testing::DoAll;
20 using ::testing::Return; 20 using ::testing::Return;
21 using ::testing::SetArgPointee; 21 using ::testing::SetArgPointee;
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 break; 288 break;
289 default: 289 default:
290 FAIL() << "Invalid variable passed to GetIntegerv: " << pname; 290 FAIL() << "Invalid variable passed to GetIntegerv: " << pname;
291 } 291 }
292 } 292 }
293 293
294 GLenum GPUTimingFake::FakeGLGetError() { 294 GLenum GPUTimingFake::FakeGLGetError() {
295 return GL_NO_ERROR; 295 return GL_NO_ERROR;
296 } 296 }
297 297
298 } // namespace gfx 298 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gpu_timing_fake.h ('k') | ui/gl/gpu_timing_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698