diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2015-02-09 13:16:57 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2015-02-25 14:47:31 +0200 |
commit | c647ed79decf2cdb081dcb3dc3deadbcbcf797f1 (patch) | |
tree | 40e591dfaa0205856c93f08f44f6b026c204fd82 /shared | |
parent | f6a65928a845735943e059561763cf40c0876a4a (diff) | |
download | weston-c647ed79decf2cdb081dcb3dc3deadbcbcf797f1.tar.gz |
compositor: add surface-shooting API
This is an optional API that will be implemented by the renderers. It
allows to fetch the current contents of a surface, essentially the
buffer contents from a client buffer, converted to an RGBA format.
This is meant as a debugging API. The implementations may be heavy and
cause a stall, so they are not intended to be used often during normal
operations.
Renderers are expected to convert whatever data a surface has to a
single RGBA format.
Changes in v2:
- remove stride and format arguments from the API
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
v1 Tested-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'shared')
0 files changed, 0 insertions, 0 deletions