Displaying 1 result from an estimated 1 matches for "dri2_sequ".
2019 Oct 13
0
[PATCH xf86-video-nouveau] dri2, present: move in pixmap before getting addresses
...dri2.c | 18 +++++++++++++++---
src/nouveau_present.c | 15 ++++++++++++++-
2 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index ce0a573..8c29eca 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -248,9 +248,13 @@ static uint64_t dri2_sequence;
static Bool
update_front(DrawablePtr draw, DRI2BufferPtr front)
{
- int r;
- PixmapPtr pixmap;
+ ScrnInfoPtr scrn = xf86ScreenToScrn(draw->pScreen);
+ NVPtr pNv = NVPTR(scrn);
struct nouveau_dri2_buffer *nvbuf = nouveau_dri2_buffer(front);
+ struct nouveau_bo *pixmap_bo;
+
+ PixmapPtr...