diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-01-28 08:15:04 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-01-28 08:15:04 +0000 |
commit | 1c5c7896c1d54abd25c0f33ca996165b359eecb3 (patch) | |
tree | bc5a10bbe89ecd4008a5bed7a029babc992f66b5 /lib/mesa/src/mapi/es1api | |
parent | c55dff45ea3a2c70e45601240b248017acc48198 (diff) |
Import Mesa 22.3.4
Diffstat (limited to 'lib/mesa/src/mapi/es1api')
-rw-r--r-- | lib/mesa/src/mapi/es1api/gles1.def.in | 146 | ||||
-rw-r--r-- | lib/mesa/src/mapi/es1api/meson.build | 12 |
2 files changed, 156 insertions, 2 deletions
diff --git a/lib/mesa/src/mapi/es1api/gles1.def.in b/lib/mesa/src/mapi/es1api/gles1.def.in new file mode 100644 index 000000000..b09aff6a8 --- /dev/null +++ b/lib/mesa/src/mapi/es1api/gles1.def.in @@ -0,0 +1,146 @@ +; stdcall calling convention have @number suffix on 32 bits architecture for gcc +glActiveTexture@4 +glAlphaFunc@8 +glAlphaFuncx@8 +glBindBuffer@8 +glBindTexture@8 +glBlendFunc@8 +glBufferData@16 +glBufferSubData@16 +glClear@4 +glClearColor@16 +glClearColorx@16 +glClearDepthf@4 +glClearDepthx@4 +glClearStencil@4 +glClientActiveTexture@4 +glClipPlanef@8 +glClipPlanex@8 +glColor4f@16 +glColor4ub@16 +glColor4x@16 +glColorMask@16 +glColorPointer@16 +glCompressedTexImage2D@32 +glCompressedTexSubImage2D@36 +glCopyTexImage2D@32 +glCopyTexSubImage2D@32 +glCullFace@4 +glDeleteBuffers@8 +glDeleteTextures@8 +glDepthFunc@4 +glDepthMask@4 +glDepthRangef@8 +glDepthRangex@8 +glDisable@4 +glDisableClientState@4 +glDrawArrays@12 +glDrawElements@16 +glEnable@4 +glEnableClientState@4 +glFinish@0 +glFlush@0 +glFogf@8 +glFogfv@8 +glFogx@8 +glFogxv@8 +glFrontFace@4 +glFrustumf@24 +glFrustumx@24 +glGenBuffers@8 +glGenTextures@8 +glGetBooleanv@8 +glGetBufferParameteriv@12 +glGetClipPlanef@8 +glGetClipPlanex@8 +glGetError@0 +glGetFixedv@8 +glGetFloatv@8 +glGetIntegerv@8 +glGetLightfv@12 +glGetLightxv@12 +glGetMaterialfv@12 +glGetMaterialxv@12 +glGetPointerv@8 +glGetString@4 +glGetTexEnvfv@12 +glGetTexEnviv@12 +glGetTexEnvxv@12 +glGetTexParameterfv@12 +glGetTexParameteriv@12 +glGetTexParameterxv@12 +glHint@8 +glIsBuffer@4 +glIsEnabled@4 +glIsTexture@4 +glLightModelf@8 +glLightModelfv@8 +glLightModelx@8 +glLightModelxv@8 +glLightf@12 +glLightfv@12 +glLightx@12 +glLightxv@12 +glLineWidth@4 +glLineWidthx@4 +glLoadIdentity@0 +glLoadMatrixf@4 +glLoadMatrixx@4 +glLogicOp@4 +glMaterialf@12 +glMaterialfv@12 +glMaterialx@12 +glMaterialxv@12 +glMatrixMode@4 +glMultMatrixf@4 +glMultMatrixx@4 +glMultiTexCoord4f@20 +glMultiTexCoord4x@20 +glNormal3f@12 +glNormal3x@12 +glNormalPointer@12 +glOrthof@24 +glOrthox@24 +glPixelStorei@8 +glPointParameterf@8 +glPointParameterfv@8 +glPointParameterx@8 +glPointParameterxv@8 +glPointSize@4 +glPointSizePointerOES@12 +glPointSizex@4 +glPolygonOffset@8 +glPolygonOffsetx@8 +glPopMatrix@0 +glPushMatrix@0 +glReadPixels@28 +glRotatef@16 +glRotatex@16 +glSampleCoverage@8 +glSampleCoveragex@8 +glScalef@12 +glScalex@12 +glScissor@16 +glShadeModel@4 +glStencilFunc@12 +glStencilMask@4 +glStencilOp@12 +glTexCoordPointer@16 +glTexEnvf@12 +glTexEnvfv@12 +glTexEnvi@12 +glTexEnviv@12 +glTexEnvx@12 +glTexEnvxv@12 +glTexImage2D@36 +glTexParameterf@12 +glTexParameterfv@12 +glTexParameteri@12 +glTexParameteriv@12 +glTexParameterx@12 +glTexParameterxv@12 +glTexSubImage2D@36 +glTranslatef@12 +glTranslatex@12 +glVertexPointer@16 +glViewport@16 diff --git a/lib/mesa/src/mapi/es1api/meson.build b/lib/mesa/src/mapi/es1api/meson.build index 8b749b1a3..d0d89b464 100644 --- a/lib/mesa/src/mapi/es1api/meson.build +++ b/lib/mesa/src/mapi/es1api/meson.build @@ -29,12 +29,20 @@ es1_glapi_mapi_tmp_h = custom_target( _es1_c_args = [] if with_platform_windows - _es1_c_args += ['-D_GDI32_', '-DBUILD_GL32'] + _es1_c_args += ['-D_GDI32_'] endif +gles1_def = custom_target( + 'gles1.def', + input: 'gles1.def.in', + output : 'gles1.def', + command : gen_vs_module_defs_normal_command, +) + libglesv1_cm = shared_library( 'GLESv1_CM' + get_option('gles-lib-suffix'), ['../entry.c', es1_glapi_mapi_tmp_h], + vs_module_defs : gles1_def, c_args : [ c_msvc_compat_args, _es1_c_args, @@ -46,7 +54,7 @@ libglesv1_cm = shared_library( link_args : [ld_args_gc_sections], include_directories : [inc_src, inc_include, inc_mapi], link_with : libglapi, - dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl], + dependencies : [dep_thread, dep_libdrm, dep_m, dep_dl, idep_mesautilc11], soversion : host_machine.system() == 'windows' ? '' : '1', version : '1.1.0', darwin_versions : '3.0.0', |