Date: Sun, 24 Aug 2014 13:25:15 +0200 From: Carlos Jacobo Puga Medina <cpm@fbsd.es> To: freebsd-chromium@freebsd.org Subject: Re: chromium 37 up for testing (and polishing) Message-ID: <20140824132515.2c262e1216c0028aca3d634c@fbsd.es> In-Reply-To: <20140824131700.e6a1f95aa9a97b94b9d1084b@fbsd.es> References: <20140823191817.72221ad837a5bce62f4dfeba@fbsd.es> <CADL2u4h%2B%2Bvp9=S_kOoAafQBF%2Bi5bVhj27uKK1Y64%2BJEtLT5a7A@mail.gmail.com> <20140823215526.4248b76f3d04bc34d73f70fd@fbsd.es> <20140823230710.b8589229dd2e62817645da4d@fbsd.es> <20140824001855.77e65f14e9cc9bd60f2f37a6@fbsd.es> <20140824012528.dfd1f295a8fd8b27a9442f43@fbsd.es> <20140824115656.6ca036b6745c123146c4c747@fbsd.es> <20140824131700.e6a1f95aa9a97b94b9d1084b@fbsd.es>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Aug 2014 13:17:00 +0200 Carlos Jacobo Puga Medina <cpm@fbsd.es> wrote: > On Sun, 24 Aug 2014 11:56:56 +0200 > Carlos Jacobo Puga Medina <cpm@fbsd.es> wrote: >=20 > > Hi Ren=E9, > >=20 > > I fixed patch-third_party__khronos__GLES2__gl2.h which missed include <= cstddef> > >=20 > > Cheers, >=20 > All patches were reviewed and are attached to this mail. --- ./gpu/command_buffer/common/gles2_cmd_format.h.orig 2014-08-20 21:02:37= .000000000 +0200 +++ ./gpu/command_buffer/common/gles2_cmd_format.h 2014-08-24 00:50:27.0000= 00000 +0200 @@ -39,8 +39,8 @@ typedef double GLdouble; typedef double GLclampd; typedef void GLvoid; -typedef khronos_intptr_t GLintptr; -typedef khronos_ssize_t GLsizeiptr; +typedef ptrdiff_t GLintptr; +typedef ptrdiff_t GLsizeiptr; =20 namespace gpu { namespace gles2 { --- ./third_party/mesa/src/include/GLES2/gl2.h.orig 2014-08-20 21:03:54.000= 000000 +0200 +++ ./third_party/mesa/src/include/GLES2/gl2.h 2014-08-24 01:13:41.00000000= 0 +0200 @@ -4,6 +4,7 @@ /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ =20 #include <GLES2/gl2platform.h> +#include <cstddef> =20 #ifdef __cplusplus extern "C" { @@ -35,8 +36,8 @@ typedef khronos_int32_t GLfixed; =20 /* GL types for handling large vertex buffer objects */ -typedef khronos_intptr_t GLintptr; -typedef khronos_ssize_t GLsizeiptr; +typedef ptrdiff_t GLintptr; +typedef ptrdiff_t GLsizeiptr; =20 /* OpenGL ES core versions */ #define GL_ES_VERSION_2_0 1 --- ./third_party/khronos/GLES2/gl2.h.orig 2014-08-20 21:03:05.000000000 +0= 200 +++ ./third_party/khronos/GLES2/gl2.h 2014-08-24 11:39:22.000000000 +0200 @@ -38,6 +38,7 @@ =20 #include <GLES2/gl2chromium.h> #include <GLES2/gl2platform.h> +#include <cstddef> =20 /* Generated on date 20131202 */ =20 @@ -67,8 +68,8 @@ typedef unsigned int GLuint; typedef char GLchar; typedef khronos_float_t GLfloat; -typedef khronos_ssize_t GLsizeiptr; -typedef khronos_intptr_t GLintptr; +typedef ptrdiff_t GLsizeiptr; +typedef ptrdiff_t GLintptr; typedef unsigned int GLbitfield; typedef int GLint; typedef unsigned char GLboolean; --- ./gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc.orig 2014-08-24 12:2= 6:40.000000000 +0200 +++ ./gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc 2014-08-24 12:33:01.= 000000000 +0200 @@ -31,8 +31,8 @@ functions->fBindVertexArray =3D glBindVertexArrayOES; functions->fBlendColor =3D glBlendColor; functions->fBlendFunc =3D glBlendFunc; - functions->fBufferData =3D glBufferData; - functions->fBufferSubData =3D glBufferSubData; + functions->fBufferData =3D (GrGLBufferDataProc)glBufferData; + functions->fBufferSubData =3D (GrGLBufferSubDataProc)glBufferSubData; functions->fClear =3D glClear; functions->fClearColor =3D glClearColor; functions->fClearStencil =3D glClearStencil; @@ -74,7 +74,7 @@ functions->fInsertEventMarker =3D glInsertEventMarkerEXT; functions->fLineWidth =3D glLineWidth; functions->fLinkProgram =3D glLinkProgram; - functions->fMapBufferSubData =3D glMapBufferSubDataCHROMIUM; + functions->fMapBufferSubData =3D (GrGLMapBufferSubDataProc)glMapBufferSu= bDataCHROMIUM; functions->fMapTexSubImage2D =3D glMapTexSubImage2DCHROMIUM; functions->fPixelStorei =3D glPixelStorei; functions->fPopGroupMarker =3D glPopGroupMarkerEXT; --=20 Carlos Jacobo Puga Medina <cpm@fbsd.es>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140824132515.2c262e1216c0028aca3d634c>