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

Side by Side Diff: gpu/gles2_conform_support/egl/egl.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
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | gpu/gles2_conform_support/egl/surface.h » ('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 #include <EGL/egl.h> 5 #include <EGL/egl.h>
6 #include <stdint.h>
6 7
7 #include "base/command_line.h" 8 #include "base/command_line.h"
8 #include "gpu/command_buffer/client/gles2_lib.h" 9 #include "gpu/command_buffer/client/gles2_lib.h"
9 #include "gpu/gles2_conform_support/egl/display.h" 10 #include "gpu/gles2_conform_support/egl/display.h"
10 #include "ui/gl/gl_context.h" 11 #include "ui/gl/gl_context.h"
11 #include "ui/gl/gl_surface.h" 12 #include "ui/gl/gl_surface.h"
12 13
13 #if REGAL_STATIC_EGL 14 #if REGAL_STATIC_EGL
14 extern "C" { 15 extern "C" {
15 16
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 return EGL_FALSE; 432 return EGL_FALSE;
432 } 433 }
433 434
434 /* Now, define eglGetProcAddress using the generic function ptr. type */ 435 /* Now, define eglGetProcAddress using the generic function ptr. type */
435 EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY 436 EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY
436 eglGetProcAddress(const char* procname) { 437 eglGetProcAddress(const char* procname) {
437 return reinterpret_cast<__eglMustCastToProperFunctionPointerType>( 438 return reinterpret_cast<__eglMustCastToProperFunctionPointerType>(
438 gles2::GetGLFunctionPointer(procname)); 439 gles2::GetGLFunctionPointer(procname));
439 } 440 }
440 } // extern "C" 441 } // extern "C"
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | gpu/gles2_conform_support/egl/surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698