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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_utils.h

Issue 2523663002: Remove remaining base dependencies from base/numerics (Closed)
Patch Set: fix gcc compile Created 4 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
« no previous file with comments | « crypto/signature_verifier_unittest.cc ('k') | gpu/command_buffer/tests/gl_test_utils.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file is here so other GLES2 related files can have a common set of 5 // This file is here so other GLES2 related files can have a common set of
6 // includes where appropriate. 6 // includes where appropriate.
7 7
8 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ 8 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
9 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ 9 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
10 10
11 #include <stddef.h> 11 #include <stddef.h>
12 #include <stdint.h> 12 #include <stdint.h>
13 13
14 #include <limits> 14 #include <limits>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/logging.h"
18 #include "base/macros.h" 19 #include "base/macros.h"
19 #include "base/numerics/safe_math.h" 20 #include "base/numerics/safe_math.h"
20 #include "gpu/command_buffer/common/gles2_utils_export.h" 21 #include "gpu/command_buffer/common/gles2_utils_export.h"
21 #include "ui/gfx/geometry/size.h" 22 #include "ui/gfx/geometry/size.h"
22 #include "ui/gl/gpu_preference.h" 23 #include "ui/gl/gpu_preference.h"
23 24
24 namespace gpu { 25 namespace gpu {
25 namespace gles2 { 26 namespace gles2 {
26 27
27 // Does a multiply and checks for overflow. If the multiply did not overflow 28 // Does a multiply and checks for overflow. If the multiply did not overflow
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 bool should_use_native_gmb_for_backbuffer; 329 bool should_use_native_gmb_for_backbuffer;
329 330
330 ContextType context_type; 331 ContextType context_type;
331 }; 332 };
332 333
333 } // namespace gles2 334 } // namespace gles2
334 } // namespace gpu 335 } // namespace gpu
335 336
336 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ 337 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
337 338
OLDNEW
« no previous file with comments | « crypto/signature_verifier_unittest.cc ('k') | gpu/command_buffer/tests/gl_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698