summaryrefslogtreecommitdiff
path: root/src/sna/sna_dri3.c
AgeCommit message (Collapse)Author
2016-03-31sna/dri3: Ensure foriegn bo are marked as unclean on creationChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-06-05sna: Only add the COW to the flush write if exported for writingChris Wilson
If the source is only being exported for reading, we can skip adding it to the flush list only to perform a no-op. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-06-01sna/dri2+: The DRI2/DRI3 protocol requires fenced tilingChris Wilson
If we export a surface over DRI2/DRI3, we have to use explicit tiling via the kernel. :( Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-04-16sna/dri3: Mark incoming sna_pixmap->flagsChris Wilson
We use the flags for deciding how to operate on the GPU bo, so we should set them! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-12-09sna/dri3: Mesa relies upon implicit fences for X/Compositor synchronisationChris Wilson
The decision has been made that DRI3/intel shall continue with DRI2-style implicit fencing for synchronisation between X and clients using pixmaps as texture sources. (The other way around uses explicit fencing!) References: https://bugs.freedesktop.org/show_bug.cgi?id=81551 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-10-08intel: Store pointer to struct intel_deviceChris Wilson
Beware the barbarians at the gate, who invade and steal your ScrnInfoPtr and its Entity from underneath you. In some configurations, we lose access to the struct intel_device stored on the Entity after initialisation, causing havoc. Workaround this by storing the intel_device that we open in our driverPrivate. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-07-22sna/dri3: Don't forget to add SHM pixmaps to the list of exported DRI3 boChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-05sna: Curry parameters to sna_damage_all()Chris Wilson
It is far easily to pass the PixmapPtr into the function and have it pluck out the width and height than do so in all callers. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-02sna: Add support for DRI3Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>