Displaying 8 results from an estimated 8 matches for "get_drawable_pixmap".
2015 Jul 14
3
[PATCH] avoid build fail without COMPOSITE
...;
+ PixmapPtr pPix;
DrawablePtr src_draw, dst_draw;
Bool translate = FALSE;
int off_x = 0, off_y = 0;
@@ -170,9 +171,13 @@ nouveau_dri2_copy_region2(ScreenPtr pScreen, DrawablePtr pDraw, RegionPtr pRegio
}
if (translate && pDraw->type == DRAWABLE_WINDOW) {
- PixmapPtr pPix = get_drawable_pixmap(pDraw);
- off_x = pDraw->x - pPix->screen_x;
- off_y = pDraw->y - pPix->screen_y;
+ off_x = pDraw->x;
+ off_y = pDraw->y;
+#ifdef COMPOSITE
+ pPix = get_drawable_pixmap(pDraw);
+ off_x -= pPix->screen_x;
+ off_y -= pPix->screen_y;
+#endif
}
pGC = GetScratchGC(pD...
2015 Jul 14
2
[PATCH] avoid build fail without COMPOSITE
...pDraw, RegionPtr pRegio
translate = TRUE;
if (translate && pDraw->type == DRAWABLE_WINDOW) {
- WindowPtr pWin = (WindowPtr)pDraw;
- off_x = pWin->origin.x;
- off_y = pWin->origin.y;
+ PixmapPtr pPix = get_drawable_pixmap(pDraw);
+ off_x = pDraw->x - pPix->screen_x;
+ off_y = pDraw->y - pPix->screen_y;
}
pGC = GetScratchGC(pDraw->depth, pScreen);
Now I sort of assume that pDraw->x == pWin->origin.x. But... who knows.
-ilia
On Tue, Jul 14, 2015...
2016 Sep 15
0
[ANNOUNCE] xf86-video-ati 7.7.1
...so call drmmode_clear_pending_flip from radeon_scanout_flip_abort
Don't override crtc parameter value in drmmode_flip_handler/abort
Also handle disabled CRTCs in drmmode_clear_pending_flip
glamor: Fix radeon_glamor_share_pixmap_backing for priv->bo == NULL
Consolidate get_drawable_pixmap helper
Move DRI2's local fixup_glamor helper to radeon_glamor_set_pixmap_bo
glamor: Reallocate linear pixmap BO if necessary for DRI2 PRIME
Destroy all dedicated scanout buffers during CloseScreen
DRI2: Add interpolated_vblanks in radeon_dri2_get_crtc_msc
Bump vers...
2016 Sep 15
0
[ANNOUNCE] xf86-video-amdgpu 1.1.1
...arek Olšák (1):
Fix cursor size for SI
Michel Dänzer (14):
Handle Zaphod mode correctly in amdgpu_mode_hotplug
glamor: Fix amdgpu_glamor_share_pixmap_backing for priv->bo == NULL
Remove amdgpu_share_pixmap_backing
Add amdgpu_pixmap_get_tiling_info
Consolidate get_drawable_pixmap helper
Move DRI2's local fixup_glamor helper to amdgpu_glamor_set_pixmap_bo v2
glamor: Reallocate linear pixmap BO if necessary for DRI2 PRIME
Destroy all dedicated scanout buffers during CloseScreen
Only use RandR APIs if RandR is enabled
DRI2: Add interpolated_vb...
2016 Sep 16
0
[ANNOUNCE] xf86-video-amdgpu 1.1.2
...(1):
Fix cursor size for SI
Michel D=C3=A4nzer (14):
Handle Zaphod mode correctly in amdgpu_mode_hotplug
glamor: Fix amdgpu_glamor_share_pixmap_backing for priv->bo =3D=3D =
NULL
Remove amdgpu_share_pixmap_backing
Add amdgpu_pixmap_get_tiling_info
Consolidate get_drawable_pixmap helper
Move DRI2's local fixup_glamor helper to amdgpu_glamor_set_pixmap_b=
o v2
glamor: Reallocate linear pixmap BO if necessary for DRI2 PRIME
Destroy all dedicated scanout buffers during CloseScreen
Only use RandR APIs if RandR is enabled
DRI2: Add interpolated_...
2019 Jan 21
5
[PATCH xf86-video-nouveau 0/4] Compiler warnings series
A short series of compiler visibility warning fixes that I prepared whilst
trialing improvements to xf86-video-nouveau's use of the core xorg-server
utility macros.
Rhys Kidd (4):
wfb: Remove declaration for undefined function nouveau_wfb_init()
dri2: Mark local create/destroy buffer and copy region functions as
static
xv: Mark local NVSetupTexturedVideo function as static
2016 Nov 17
0
[ANNOUNCE] xf86-video-ati 7.8.0
...slave scanout
Factor out transform_region helper
Move up radeon_scanout_extents_intersect
Synchronize scanout pixmaps for TearFree
Make TearFree effective with PRIME slave scanout
glamor: Fix radeon_glamor_share_pixmap_backing for priv->bo == NULL
Consolidate get_drawable_pixmap helper
Move DRI2's local fixup_glamor helper to radeon_glamor_set_pixmap_bo
glamor: Reallocate linear pixmap BO if necessary for DRI2 PRIME
Destroy all dedicated scanout buffers during CloseScreen
DRI2: Add interpolated_vblanks in radeon_dri2_get_crtc_msc
Use local...
2016 Nov 17
0
[ANNOUNCE] xf86-video-amdgpu 1.2.0
...Enable DRI3 by default when building for Xorg >= 1.18.3
Handle Zaphod mode correctly in amdgpu_mode_hotplug
glamor: Fix amdgpu_glamor_share_pixmap_backing for priv->bo == NULL
Remove amdgpu_share_pixmap_backing
Add amdgpu_pixmap_get_tiling_info
Consolidate get_drawable_pixmap helper
Move DRI2's local fixup_glamor helper to amdgpu_glamor_set_pixmap_bo v2
glamor: Reallocate linear pixmap BO if necessary for DRI2 PRIME
glamor: Make amdgpu_glamor_create_textured_pixmap take amdgpu_buffer*
Propagate failure from amdgpu_set_pixmap_bo
Use amdg...