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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_buffers.cc

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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>
6
5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 7 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
6 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest.h" 8 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest.h"
7 9
8 using ::gfx::MockGLInterface; 10 using ::gfx::MockGLInterface;
9 using ::testing::_; 11 using ::testing::_;
10 using ::testing::Return; 12 using ::testing::Return;
11 using ::testing::SetArgPointee; 13 using ::testing::SetArgPointee;
12 14
13 namespace gpu { 15 namespace gpu {
14 namespace gles2 { 16 namespace gles2 {
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 { // UnmapBuffer fails. 464 { // UnmapBuffer fails.
463 UnmapBuffer cmd; 465 UnmapBuffer cmd;
464 cmd.Init(kTarget); 466 cmd.Init(kTarget);
465 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); 467 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
466 EXPECT_EQ(GL_INVALID_OPERATION, GetGLError()); 468 EXPECT_EQ(GL_INVALID_OPERATION, GetGLError());
467 } 469 }
468 } 470 }
469 471
470 } // namespace gles2 472 } // namespace gles2
471 } // namespace gpu 473 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698