From f8753a542be07247c0894db911b945211ced2200 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Wed, 18 Oct 2023 13:55:11 +0200 Subject: [PATCH] mesa: add GL_APPLE_sync support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This extension is a backport of GL_ARB_sync to GLES 1.1 and 2.0 and reuses token IDs and entry point prototypes from that extension, so adding support is pretty trivial. Signed-off-by: Lucas Stach Reviewed-by: Marek Olšák Reviewed-by: Adam Jackson Part-of: --- src/mapi/glapi/gen/es_EXT.xml | 84 ++++++++++++++++++++++++++++++++ src/mesa/main/extensions_table.h | 1 + 2 files changed, 85 insertions(+) diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index 7127e66d68d..5565fd4f1bf 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -856,6 +856,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index afde488af69..2c7e31a8514 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -32,6 +32,7 @@ EXT(ANGLE_texture_compression_dxt3 , ANGLE_texture_compression_dxt EXT(ANGLE_texture_compression_dxt5 , ANGLE_texture_compression_dxt , GLL, GLC, ES1, ES2, 2011) EXT(APPLE_packed_pixels , dummy_true , GLL, x , x , x , 2002) +EXT(APPLE_sync , ARB_sync , x , x , ES1, ES2, 2012) EXT(APPLE_texture_max_level , dummy_true , x , x , ES1, ES2, 2009) EXT(ARB_ES2_compatibility , ARB_ES2_compatibility , GLL, GLC, x , x , 2009)