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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_buffers.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
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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 7 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
8 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest.h" 8 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest.h"
9 9
10 using ::gfx::MockGLInterface; 10 using ::gl::MockGLInterface;
11 using ::testing::_; 11 using ::testing::_;
12 using ::testing::Return; 12 using ::testing::Return;
13 using ::testing::SetArgPointee; 13 using ::testing::SetArgPointee;
14 14
15 namespace gpu { 15 namespace gpu {
16 namespace gles2 { 16 namespace gles2 {
17 17
18 using namespace cmds; 18 using namespace cmds;
19 19
20 namespace { 20 namespace {
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 { // UnmapBuffer fails. 511 { // UnmapBuffer fails.
512 UnmapBuffer cmd; 512 UnmapBuffer cmd;
513 cmd.Init(kTarget); 513 cmd.Init(kTarget);
514 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); 514 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
515 EXPECT_EQ(GL_INVALID_OPERATION, GetGLError()); 515 EXPECT_EQ(GL_INVALID_OPERATION, GetGLError());
516 } 516 }
517 } 517 }
518 518
519 } // namespace gles2 519 } // namespace gles2
520 } // namespace gpu 520 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698