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

Side by Side Diff: gpu/blink/webgraphicscontext3d_impl.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 (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 #include "gpu/blink/webgraphicscontext3d_impl.h" 5 #include "gpu/blink/webgraphicscontext3d_impl.h"
6 6
7 #include <stdint.h>
8
7 #include "base/atomicops.h" 9 #include "base/atomicops.h"
8 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
9 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
10 #include "gpu/GLES2/gl2extchromium.h" 13 #include "gpu/GLES2/gl2extchromium.h"
11 #include "gpu/command_buffer/client/gles2_implementation.h" 14 #include "gpu/command_buffer/client/gles2_implementation.h"
12 #include "gpu/command_buffer/client/gles2_lib.h" 15 #include "gpu/command_buffer/client/gles2_lib.h"
13 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 16 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
14 #include "gpu/command_buffer/common/sync_token.h" 17 #include "gpu/command_buffer/common/sync_token.h"
15 18
16 #include "third_party/khronos/GLES2/gl2.h" 19 #include "third_party/khronos/GLES2/gl2.h"
17 #ifndef GL_GLEXT_PROTOTYPES 20 #ifndef GL_GLEXT_PROTOTYPES
18 #define GL_GLEXT_PROTOTYPES 1 21 #define GL_GLEXT_PROTOTYPES 1
19 #endif 22 #endif
(...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 output_attribs->context_type = ::gpu::gles2::CONTEXT_TYPE_WEBGL2; 1298 output_attribs->context_type = ::gpu::gles2::CONTEXT_TYPE_WEBGL2;
1296 break; 1299 break;
1297 default: 1300 default:
1298 NOTREACHED(); 1301 NOTREACHED();
1299 output_attribs->context_type = ::gpu::gles2::CONTEXT_TYPE_OPENGLES2; 1302 output_attribs->context_type = ::gpu::gles2::CONTEXT_TYPE_OPENGLES2;
1300 break; 1303 break;
1301 } 1304 }
1302 } 1305 }
1303 1306
1304 } // namespace gpu_blink 1307 } // namespace gpu_blink
OLDNEW
« no previous file with comments | « gpu/blink/webgraphicscontext3d_impl.h ('k') | gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698