mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 01:44:42 +00:00
Bug 1588907 [Wayland] Remove misleading comment about DMA_BUF_IOCTL_SYNC, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49390 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
5499b4744a
commit
6cbbed9b4e
@ -28,17 +28,7 @@
|
||||
#include "mozilla/layers/LayersSurfaces.h"
|
||||
|
||||
/*
|
||||
TODO
|
||||
|
||||
Lock/Unlock:
|
||||
An important detail is that you *must* use DMA_BUF_IOCTL_SYNC to
|
||||
bracket your actual CPU read/write sequences to the dmabuf. That ioctl
|
||||
will ensure the appropriate caches are flushed correctly (you might not
|
||||
notice anything wrong on x86, but on other hardware forgetting to do
|
||||
that can randomly result in bad data), and I think it also waits for
|
||||
implicit fences (e.g. if you had GPU write to the dmabuf earlier, to
|
||||
ensure the operation finished).
|
||||
|
||||
TODO:
|
||||
DRM device selection:
|
||||
https://lists.freedesktop.org/archives/wayland-devel/2018-November/039660.html
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user