[Mesa-dev] [PATCH 1/4] mapi_abi: Allow more dynamic entries

Ian Romanick idr at freedesktop.org
Mon Feb 22 19:54:48 UTC 2016


NAK.

The purpose of the dynamic entries is to allow a newer version of the GL
driver to work with a slightly older libGL.  There is no reason to
support more than 256 new functions... update your libGL.  If there are
functions that libGL doesn't support, just add them.

On 02/11/2016 04:03 AM, Tapani Pälli wrote:
> From: Bernard Kilarski <bernard.r.kilarski at intel.com>
> 
> Signed-off-by: Bernard Kilarski <bernard.r.kilarski at intel.com>
> Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
> Cc: "11.0 11.1" <mesa-stable at lists.freedesktop.org
> ---
>  src/mapi/mapi_abi.py | 2 +-
>  src/mapi/u_execmem.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/mapi/mapi_abi.py b/src/mapi/mapi_abi.py
> index 012a5c3..9eafb94 100644
> --- a/src/mapi/mapi_abi.py
> +++ b/src/mapi/mapi_abi.py
> @@ -38,7 +38,7 @@ import glX_XML
>  
>  
>  # number of dynamic entries
> -ABI_NUM_DYNAMIC_ENTRIES = 256
> +ABI_NUM_DYNAMIC_ENTRIES = 512
>  
>  class ABIEntry(object):
>      """Represent an ABI entry."""
> diff --git a/src/mapi/u_execmem.c b/src/mapi/u_execmem.c
> index 89d5c1d..f8334f9 100644
> --- a/src/mapi/u_execmem.c
> +++ b/src/mapi/u_execmem.c
> @@ -37,7 +37,7 @@
>  #include "u_execmem.h"
>  
>  
> -#define EXEC_MAP_SIZE (4*1024)
> +#define EXEC_MAP_SIZE (8*1024)
>  
>  static mtx_t exec_mutex = _MTX_INITIALIZER_NP;
>  
> 



More information about the mesa-dev mailing list