diff options
author | Paul Berry <[email protected]> | 2012-11-07 13:04:40 -0800 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-16 14:14:18 +1100 |
commit | f5052f45a20b1ce3ee25b8724cb6b90cd37ab45f (patch) | |
tree | 1c616b74ee1b0f93a35ff572c2a1f29ce7019a7a /src/loader | |
parent | 3b7b6adf3ac688f75f11624e551800d0d978293b (diff) |
glapi: Annotate functions with "marshal" attribute.
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 when code generating thread marshalling code,
to ensure that each function is marshalled in the correct way.
Note that PixelMap functions are marked as synchronous for now since
their pointer may be relative to buffer on the GPU, so we'll need
special logic to marshal them properly.
v2: Move description of attribute types to a comment in the dtd file.
Acked-by: Timothy Arceri <[email protected]>
Acked-by: Marek Olšák <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Tested-by: Mike Lothian <[email protected]>
Diffstat (limited to 'src/loader')
0 files changed, 0 insertions, 0 deletions