Re: [Mesa-dev] [PATCH 07/26] glapi: Annotate functions with "marshal" attribute.

2017-02-10 Thread Emil Velikov
On 8 February 2017 at 18:03, Marek Olšák wrote: > From: Paul Berry > > Several API functions require special treatment in order to be marshalled > to a background thread. Others can't be safely executed in a background > thread and need to be executed synchronously (e.g. since they return data >

[Mesa-dev] [PATCH 07/26] glapi: Annotate functions with "marshal" attribute.

2017-02-08 Thread Marek Olšák
From: Paul Berry Several API functions require special treatment in order to be marshalled to a background thread. Others can't be safely executed in a background thread and need to be executed synchronously (e.g. since they return data through a pointer argument). This annotation will be used