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

Side by Side Diff: public/platform/WebGraphicsContext3D.h

Issue 207783002: Omit "int" when using "unsigned" modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Tools/Scripts/webkitpy/thirdparty/coverage/tracer.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "WebNonCopyable.h" 35 #include "WebNonCopyable.h"
36 #include "WebString.h" 36 #include "WebString.h"
37 37
38 struct GrGLInterface; 38 struct GrGLInterface;
39 39
40 namespace blink { 40 namespace blink {
41 41
42 // WGC3D types match the corresponding GL types as defined in OpenGL ES 2.0 42 // WGC3D types match the corresponding GL types as defined in OpenGL ES 2.0
43 // header file gl2.h from khronos.org. 43 // header file gl2.h from khronos.org.
44 typedef char WGC3Dchar; 44 typedef char WGC3Dchar;
45 typedef unsigned int WGC3Denum; 45 typedef unsigned WGC3Denum;
46 typedef unsigned char WGC3Dboolean; 46 typedef unsigned char WGC3Dboolean;
47 typedef unsigned int WGC3Dbitfield; 47 typedef unsigned WGC3Dbitfield;
48 typedef signed char WGC3Dbyte; 48 typedef signed char WGC3Dbyte;
49 typedef unsigned char WGC3Dubyte; 49 typedef unsigned char WGC3Dubyte;
50 typedef short WGC3Dshort; 50 typedef short WGC3Dshort;
51 typedef unsigned short WGC3Dushort; 51 typedef unsigned short WGC3Dushort;
52 typedef int WGC3Dint; 52 typedef int WGC3Dint;
53 typedef int WGC3Dsizei; 53 typedef int WGC3Dsizei;
54 typedef unsigned int WGC3Duint; 54 typedef unsigned WGC3Duint;
55 typedef float WGC3Dfloat; 55 typedef float WGC3Dfloat;
56 typedef float WGC3Dclampf; 56 typedef float WGC3Dclampf;
57 typedef signed long int WGC3Dintptr; 57 typedef signed long int WGC3Dintptr;
58 typedef signed long int WGC3Dsizeiptr; 58 typedef signed long int WGC3Dsizeiptr;
59 59
60 // Typedef for server-side objects like OpenGL textures and program objects. 60 // Typedef for server-side objects like OpenGL textures and program objects.
61 typedef WGC3Duint WebGLId; 61 typedef WGC3Duint WebGLId;
62 62
63 // This interface abstracts the operations performed by the 63 // This interface abstracts the operations performed by the
64 // GraphicsContext3D in order to implement WebGL. Nearly all of the 64 // GraphicsContext3D in order to implement WebGL. Nearly all of the
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor) { } 469 virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor) { }
470 470
471 // GL_EXT_multisampled_render_to_texture 471 // GL_EXT_multisampled_render_to_texture
472 virtual void framebufferTexture2DMultisampleEXT(WGC3Denum target, WGC3Denum attachment, WGC3Denum textarget, WebGLId texture, WGC3Dint level, WGC3Dsizei sam ples) { } 472 virtual void framebufferTexture2DMultisampleEXT(WGC3Denum target, WGC3Denum attachment, WGC3Denum textarget, WebGLId texture, WGC3Dint level, WGC3Dsizei sam ples) { }
473 virtual void renderbufferStorageMultisampleEXT(WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { }; 473 virtual void renderbufferStorageMultisampleEXT(WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { };
474 }; 474 };
475 475
476 } // namespace blink 476 } // namespace blink
477 477
478 #endif 478 #endif
OLDNEW
« no previous file with comments | « Tools/Scripts/webkitpy/thirdparty/coverage/tracer.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698