[PATCH] opencl: Add OpenCL 1.1 implementation.

Nakarin Khankham garuda2550 at gmail.com
Sat Mar 2 22:10:12 CST 2019



On 03/03/2019 01:20, Nikolay Sivov wrote:
> Yes, something like this, except that you can have a single ifdef block to build 1.1 stuff, and then get all function pointers at once, leaving empty exported function bodies in case 1.1 headers where not available at build time.
> 
> For example you can look at odbc32/proxyodbc.c.
> 
> Ideally, if it's possible, it could be generated from some spec function lists, and then simply iterated over to bind them. See include/wine/wgl_driver.h, and related part in init_opengl() in winex11.drv.
> 

Thanks, I'll look into and use it as example.



More information about the wine-devel mailing list