Displaying 12 results from an estimated 12 matches for "createpixmap".
2017 Dec 31
2
[PATCH] dri3: remove bogus condition for creating pixmap
...2.c
@@ -1076,7 +1076,7 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi
struct nouveau_bo *bo = NULL;
struct nouveau_pixmap *nvpix;
- if (depth < 8 || depth > 32 || depth % 8)
+ if (depth < 8 || depth > 32)
return NULL;
pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);
--
2.13.6
2017 Dec 31
0
[PATCH] dri3: remove bogus condition for creating pixmap
...r screen, int fd, CARD16 wi
> struct nouveau_bo *bo = NULL;
> struct nouveau_pixmap *nvpix;
>
> - if (depth < 8 || depth > 32 || depth % 8)
> + if (depth < 8 || depth > 32)
> return NULL;
>
> pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);
> --
> 2.13.6
>
2009 Feb 26
2
[PATCH 1/2] exa: turn WaitMarker into a NOP.
- map should handle this.
---
src/nouveau_exa.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c
index b656ca7..20ad380 100644
--- a/src/nouveau_exa.c
+++ b/src/nouveau_exa.c
@@ -259,7 +259,7 @@ nouveau_exa_mark_sync(ScreenPtr pScreen)
static void
nouveau_exa_wait_marker(ScreenPtr pScreen, int marker)
{
-
2012 Mar 28
4
Wine and SQLyog
...essage. The debug log shows the below. How can
I fix this?
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:imm:ImmReleaseContext (0x201c0, 0x13dd00): stub
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 32655
Current serial number in output stream: 32667
thanks,
John - new to wine.
2011 Dec 07
0
[PATCH] dri2: fix allocation of Z16 depth attachments
...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(DrawablePtr pDraw, unsigned int attachment,
usage_hint |= NOUVEAU_CREATE_PIXMAP_SCANOUT;
ppix = pScreen->CreatePixmap(pScreen, pDraw->width,
- pDraw->height, pDraw->depth,
+ pDraw->height, depth,
usage_hint);
}
diff --git a/src/nv_accel_common.c b/src/nv_accel_common.c
index 3219dbe..51cc66a 100644
--- a/src/nv_accel_common.c
+++ b/src/nv_accel_common.c
@@ -71,7 +71,7 @...
2018 Feb 04
1
[PATCH 1/2] dri3: remove bogus condition for creating pixmap
...c
@@ -1076,13 +1076,16 @@ static PixmapPtr nouveau_dri3_pixmap_from_fd(ScreenPtr screen, int fd, CARD16 wi
struct nouveau_bo *bo = NULL;
struct nouveau_pixmap *nvpix;
- if (depth < 8 || depth > 32 || depth % 8)
+ if (depth < 8 || depth > 32)
return NULL;
pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);
if (!pixmap)
return NULL;
+ if (pixmap->drawable.bitsPerPixel % 8)
+ goto free_pixmap;
+
if (!screen->ModifyPixmapHeader(pixmap, width, height, 0, 0, stride, NULL))
goto free_pixmap;
--
2.13.6
2018 Sep 14
0
[ANNOUNCE] xf86-video-ati 18.1.0
...t_free
Keith Packard (3):
modesetting: Record non-desktop kernel property at PreInit time
modesetting: Create CONNECTOR_ID properties for outputs [v2]
Add RandR leases support
Michel Dänzer (55):
Bail from dri2_create_buffer2 if we can't get a pixmap
glamor: Bail CreatePixmap on unsupported pixmap depth
Drop unused drmmode_create_bo_pixmap surface parameter
EXA: Remove old RADEONEXACreatePixmap hook
Only initialize libdrm_radeon surface manager for >= R600
glamor: Don't store radeon_surfaces in pixmaps
Factor out radeon_surface_initi...
2018 Sep 14
0
[ANNOUNCE] xf86-video-amdgpu 18.1.0
...mensions passed to drmmode_xf86crtc_resize
Don't apply gamma to HW cursor data if colour management is enabled
Remove #if 0'd code
Call drmmode_crtc_gamma_do_set from drmmode_setup_colormap
Bail from dri2_create_buffer2 if we can't get a pixmap
glamor: Bail CreatePixmap on unsupported pixmap depth
Move flush from radeon_scanout_do_update to its callers
Support gamma correction & colormaps at depth 30 as well
Hardcode "non-desktop" RandR property name
Free previous xf86CrtcRec gamma LUT memory
Don't use DRM_IOCTL_GEM_...
2015 Nov 12
0
[ANNOUNCE] xf86-video-ati 7.6.0
...allback in radeon_list.h
Initialize boolean variable before calling xf86GetOptValBool
DRI3: Use open hook instead of open_client
Always include misync.h before other misync headers
glamor: Add glamor_fd_from_pixmap define for standalone glamor tree
dri3: Use screen->CreatePixmap instead of fbCreatePixmap directly
EXA: Return NULL from radeon_get_pixmap_bo if there is no driver private
configure.ac: Check for misyncshm.h again
Adapt radeon_sync.c for misyncshm.h vs misync.h as well
Make radeon_do_pageflip take a BO handle directly
Present: Add...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...pNv = NVPTR(pScrn);
+ ExaDriverPtr exa = pNv->EXADriverPtr;
+
+ PixmapPtr dst = NULL;
+ int ret;
+ struct nouveau_bo *bo_dst = NULL;
+
+ ret = nouveau_bo_prime_handle_ref(pNv->dev, fd, &bo_dst);
+ ErrorF("ret = %i for buffer %i\n", ret, fd);
+ assert(!ret);
+
+ dst = pScreen->CreatePixmap(pScreen, 0, 0, pScrn->depth, 0);
+ if (dst == NullPixmap)
+ goto cleanup_bo;
+
+ pScreen->ModifyPixmapHeader(dst, pScrn->virtualX, pScrn->virtualY, pScrn->depth, pScrn->depth,
+ pScrn->virtualX, NULL);
+ nouveau_bo_ref(bo_dst, &nouveau_pixmap(dst)->bo);
+
+ ret =...
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
2008 Mar 06
0
[ANNOUNCE] xorg-server 1.4.99.901
...when failing to initialize the extension (e.g. when Xinerama is enabled).
Don't segfault on shutdown if we never managed to connect to dbus.
Restore the CompositeGlyphs -> ps->Glyphs -> miGlyphs callchain to allow acceleration architectures to wrap above miGlyphs.
Add CreatePixmap allocation hints.
Save pixmap allocation hints into the PixmapRec.
Fix a really dumb typo.
Get rid of xf86DefModes.c.
Fix dist by including modeline2c.awk.
Adam Jackson (105):
Fix an error message to not point to @xfree86.org.
Implement core protocol backing sto...