Re: [Mesa-dev] [PATCH] ac: change ac_query_gpu_info() signatures

2019-06-21 Thread Marek Olšák
On Fri, Jun 21, 2019 at 1:13 PM Emil Velikov wrote: > From: Emil Velikov > > Currently libdrm_amdgpu provides a typedef of the various handles. While > the goal was to make those opaque, it effectively became part of the API > > To the best of my knowledge there are two ways to have opaque handl

[Mesa-dev] [PATCH] ac: change ac_query_gpu_info() signatures

2019-06-21 Thread Emil Velikov
From: Emil Velikov Currently libdrm_amdgpu provides a typedef of the various handles. While the goal was to make those opaque, it effectively became part of the API To the best of my knowledge there are two ways to have opaque handles: - "typedef void *foo;" - rather messy IMHO - "stuct foo;"