search for: pdraw

Displaying 19 results from an estimated 19 matches for "pdraw".

Did you mean: draw
2015 Jul 14
3
[PATCH] avoid build fail without COMPOSITE
...rc/nouveau_dri2.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index f22e319..4398559 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -142,6 +142,7 @@ nouveau_dri2_copy_region2(ScreenPtr pScreen, DrawablePtr pDraw, RegionPtr pRegio NVPtr pNv = NVPTR(xf86ScreenToScrn(pScreen)); RegionPtr pCopyClip; GCPtr pGC; + 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, Region...
2015 Jul 14
2
[PATCH] avoid build fail without COMPOSITE
...k it under the others. Signed-off-by: Dave Airlie <airlied at redhat.com> diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 71cff26..7bd0b3a 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -165,9 +165,9 @@ nouveau_dri2_copy_region2(ScreenPtr pScreen, DrawablePtr 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_dr...
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
2011 Dec 07
0
[PATCH] dri2: fix allocation of Z16 depth attachments
...u_dri2.c | 4 +++- src/nv_accel_common.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index d14443f..b99893f 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -46,6 +46,8 @@ nouveau_dri2_create_buffer(DrawablePtr pDraw, unsigned int attachment, ppix->refcnt++; } else { + /* 'format' is just depth */ + unsigned int depth = NOUVEAU_ALIGN(format, 2); unsigned int usage_hint = NOUVEAU_CREATE_PIXMAP_TILED; if (attachment == DRI2BufferDepth || @@ -55,7 +57,7 @@ nouveau_dri2_create_buffer(Dra...
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...TILE_HEIGHT - subtile_y * SUBTILE_HEIGHT) * SUBTILE_PITCH) + + (line_x - tile_x * TILE_PITCH - subtile_x * SUBTILE_PITCH) + + subpixel_offset; + + memcpy(new_dst, &value, size); +} + +void +nouveau_exa_wfb_setup_wrap(ReadMemoryProcPtr *pRead, + WriteMemoryProcPtr *pWrite, + DrawablePtr pDraw) +{ + ScrnInfoPtr pScrn = xf86Screens[pDraw->pScreen->myNum]; + NVPtr pNv = NVPTR(pScrn); + PixmapPtr pPixmap; + + if (!pRead || !pWrite) + return; + + pPixmap = NVGetDrawablePixmap(pDraw); + if (!pPixmap) + return; + + int i; + for (i = 0; i < 6; i++) + if (!pNv->wfb_pixmaps[i].used...
2015 Aug 25
1
[Bug 91756] New: glean test vertProg1 segfaulting X server in exaHWCopyNtoN
...55920b69a281 in damageCopyArea (pSrc=0x55920c1fbb20, pDst=0x55920c262620, pGC=0x55920c2627b0, srcx=0, srcy=<optimized out>, width=100, height=100, dstx=0, dsty=0) at ../../../miext/damage/damage.c:764 #6 0x00007fb5e7e0966f in nouveau_dri2_copy_region2 (pScreen=<optimized out>, pDraw=0x55920c1fbb20, pRegion=0x7ffdc7dee5c0, pDstBuffer=0x55920c262050, pSrcBuffer=<optimized out>) at ../../src/nouveau_dri2.c:202 #7 0x000055920b6e0059 in dri2_copy_region (pDraw=pDraw at entry=0x55920c1fbb20, pRegion=pRegion at entry=0x7ffdc7dee5c0, pDest=0x55920c262050, pSrc=0x5...
2013 Jun 27
21
[Bug 66255] New: Enabling Xinerama with nouveau driver causes Segmentation fault
https://bugs.freedesktop.org/show_bug.cgi?id=66255 Priority: medium Bug ID: 66255 Assignee: nouveau at lists.freedesktop.org Summary: Enabling Xinerama with nouveau driver causes Segmentation fault QA Contact: xorg-team at lists.x.org Severity: critical Classification: Unclassified OS: Linux (All)
2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
For now pixmaps will only be tiled if driver pixmaps are being used and we're told to with the NOUVEAU_CREATE_PIXMAP_TILED usage hint. Signed-off-by: Francisco Jerez <currojerez at riseup.net> --- src/nouveau_exa.c | 31 ++++++++++++++++++++----------- src/nv50_exa.c | 6 +++--- src/nv50_xv.c | 2 +- src/nv_proto.h | 2 +- src/nv_type.h | 1 + 5 files
2012 Mar 01
2
[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping v2
Two "updated" patches, according to Michel Daenzers review. See separate e-mail for details. 01/10: Replaces original 01/09 -- Same code, updated commit message. 10/10: Just for demonstration, not for application to ddx.
2010 Jul 29
1
[PATCH] Reflow logic to make it easier to follow
...rrentHostBuffer != NO_PRIV_HOST_BUFFER_AVAILABLE) pPriv->currentHostBuffer ^= 1; - /* If we're not using the hw overlay, we're rendering into a pixmap - * and need to take a couple of additional steps... - */ - if (!(action_flags & USE_OVERLAY)) { - ppix = NVGetDrawablePixmap(pDraw); + if (action_flags & USE_OVERLAY) { + if (pNv->Architecture == NV_ARCH_04) { + NV04PutOverlayImage(pScrn, pPriv->video_mem, offset, + id, dstPitch, &dstBox, 0, 0, + xb, yb, npixels, nlines, + src_w, src_h, drw_w, drw_h, + clipBoxes); + } else { +...
2009 Mar 20
12
[Bug 20780] New: nouveau corrupts and crashes on 7800gt when NoAccel= false after a few drawing operations
http://bugs.freedesktop.org/show_bug.cgi?id=20780 Summary: nouveau corrupts and crashes on 7800gt when NoAccel=false after a few drawing operations Product: xorg Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium
2019 Oct 12
0
[PATCH xf86-video-nouveau] nv4/exa: tiling is unsupported pre-nv10, reduce alignment requirements
...| 5 ++++- src/nv_driver.c | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c index 3d53785..ce0a573 100644 --- a/src/nouveau_dri2.c +++ b/src/nouveau_dri2.c @@ -62,7 +62,10 @@ nouveau_dri2_create_buffer2(ScreenPtr pScreen, DrawablePtr pDraw, unsigned int a ppix->refcnt++; } else { int bpp; - unsigned int usage_hint = NOUVEAU_CREATE_PIXMAP_TILED; + unsigned int usage_hint = 0; + + if (pNv->Architecture >= NV_ARCH_10) + usage_hint |= NOUVEAU_CREATE_PIXMAP_TILED; /* 'format' is just depth (or 0, or may...
2009 Jun 12
17
[Bug 22253] New: KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 Summary: KMS Nouveau - wfb crash Product: xorg Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2011 Feb 07
16
[Bug 33999] New: 2.6.37 - NV11 crashes X if glxgears maximised
https://bugs.freedesktop.org/show_bug.cgi?id=33999 Summary: 2.6.37 - NV11 crashes X if glxgears maximised Product: xorg Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at
2009 Jan 31
1
[Bug 19860] New: xv texture adaptor kills X
...x8213b8) at nv40_xv_tex.c:356 #6 0x00002b79db187d64 in NVPutImage (pScrn=0x7fb940, src_x=0, src_y=0, drw_x=32, drw_y=51, src_w=960, src_h=720, drw_w=960, drw_h=720, id=842094169, buf=0x2b79e6015000 "", width=960, height=720, Sync=0, clipBoxes=0x7fffd2c325c0, data=0x8213b8, pDraw=0x17b9330) at nouveau_xv.c:1465 #7 0x0000000000487d02 in ?? () #8 0x00002b79da0b4746 in BitOrderInvert () from /usr/lib64/xorg/modules/extensions//libextmod.so #9 0x0000000000448d2f in Dispatch () #10 0x0000000000430ead in main () thx -- Configure bugmail: http://bugs.freedesktop.org/...
2009 Oct 15
1
[Bug 24555] New: X server crash
...igration_mixed (pixmaps=<value optimized out>, npixmaps=1, can_accel=<value optimized out>) at exa_migration_mixed.c:103 #9 0x00007f26b197c223 in exaMoveInPixmap_mixed (pPixmap=<value optimized out>) at exa_migration_mixed.c:120 #10 0x00007f26b1979032 in exaFinishAccess (pDrawable=<value optimized out>, index=0) at exa.c:421 #11 0x00007f26b1984963 in ExaCheckPolyGlyphBlt (pDrawable=0x15edfd0, pGC=0x15e43c0, x=906, y=23, nglyph=<value optimized out>, ppci=<value optimized out>, pglyphBase=<value optimized out>) at exa_unaccel.c:2...
2012 Feb 15
11
[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping
Hi, here a set of patches against the nouveau-ddx. This is an extended and revised set, based on Francisco Jerez feedback from autumn last year. [1/9] Makes pageflipping work again on X-Server 1.12rc. It apparently stopped working somewhere around Xorg 1.11+. [2/9] Implements handling of pageflip completion events from the kernel. Francisco Jerez argument against including it was that the
2007 May 30
0
[PATCH] added comments
...rnInfo screen + * @param src_offset + * @param id colorspace of image + * @param src_pitch + * @param dstBox + * @param x1 + * @param y1 + * @param x2 + * @param y2 + * @param width + * @param height + * @param src_w + * @param src_h + * @param drw_w + * @param drw_h + * @param clipBoxes + * @param pDraw + */ static void NVPutBlitImage(ScrnInfoPtr pScrnInfo, int src_offset, int id, int src_pitch, BoxPtr dstBox, @@ -530,11 +637,29 @@ NVStopOverlayVideo(ScrnInfoPtr pScrnInfo, pointer data, Bool Exit) } } +/** + * NVStopBlitVideo + * TODO ? + */ static void NVStopBlitVideo(ScrnInfoPt...
2011 May 20
14
[Bug 37398] New: some applications (like wine) crash nouveau and leave it in an unworkable state
https://bugs.freedesktop.org/show_bug.cgi?id=37398 Summary: some applications (like wine) crash nouveau and leave it in an unworkable state Product: xorg Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: