Displaying 20 results from an estimated 138 matches for "drawabl".
Did you mean:
drawable
2017 Apr 18
3
[PATCH xserver] Make PixmapDirtyUpdateRec::src a DrawablePtr
...at amd.com>
This allows making the master screen's pixmap_dirty_list entries
explicitly reflect that we're now tracking the root window instead of
the screen pixmap, in order to allow Present page flipping on master
outputs while there are active slave outputs.
Define HAS_DIRTYTRACKING_DRAWABLE_SRC for drivers to check, but leave
HAS_DIRTYTRACKING_ROTATION defined as well to make things slightly
easier for drivers.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
The Start/StopFlippingPixmapTracking related changes are only compile
tested. The rest is smoke tested wit...
2018 Dec 12
0
[PATCH v2 18/18] drm/qxl: remove dead qxl fbdev emulation code
...ruct qxl_device *qdev,
struct drm_info_list *files,
unsigned int nfiles);
diff --git a/drivers/gpu/drm/qxl/qxl_draw.c b/drivers/gpu/drm/qxl/qxl_draw.c
index 5313ad21c1..97c3f1a95a 100644
--- a/drivers/gpu/drm/qxl/qxl_draw.c
+++ b/drivers/gpu/drm/qxl/qxl_draw.c
@@ -109,152 +109,6 @@ make_drawable(struct qxl_device *qdev, int surface, uint8_t type,
return 0;
}
-static int alloc_palette_object(struct qxl_device *qdev,
- struct qxl_release *release,
- struct qxl_bo **palette_bo)
-{
- return qxl_alloc_bo_reserved(qdev, release,
- sizeof(struct qxl_palette) + sizeof(uint32_t)...
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.
2017 Apr 18
0
[PATCH xf86-video-amdgpu] Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr
...src/amdgpu_drv.h
@@ -170,6 +170,32 @@ typedef enum {
#define AMDGPU_PIXMAP_SHARING 1
#define amdgpu_is_gpu_screen(screen) (screen)->isGPU
#define amdgpu_is_gpu_scrn(scrn) (scrn)->is_gpu
+
+static inline ScreenPtr
+amdgpu_dirty_master(PixmapDirtyUpdatePtr dirty)
+{
+#ifdef HAS_DIRTYTRACKING_DRAWABLE_SRC
+ ScreenPtr screen = dirty->src->pScreen;
+#else
+ ScreenPtr screen = dirty->src->drawable.pScreen;
+#endif
+
+ if (screen->current_master)
+ return screen->current_master;
+
+ return screen;
+}
+
+static inline Bool
+amdgpu_dirty_src_equals(PixmapDirtyUpdatePtr dirty, Pixma...
2011 Jan 11
0
D3D problem... Mac Specific?
...fixme:win:EnumDisplayDevicesW ((null),0,0x33f7ac,0x00000000), stub!
Then it goes into a loop which has something to do with failing to create draw contexts. ?Each iteration of the loop varies. ?First there is an error that looks like:
Code:
wine[99527] <Error>: unknown error code: invalid drawable
The *first* iteration of this loop is accompanied by:
Code:
wine[99527] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Then the loop goes on...
Code:
set off screen: invalid drawable
err:d3d:context_set_current Failed to make GL c...
2011 Nov 14
2
Re: OpenGL issues on OSX (wine 1.3.21)
...ned pixelformats=120
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 81 for fmt_id 0x76
trace:wgl:internal_SetPixelFormat FBConfig have :
trace:wgl:internal_SetPixelFormat - FBCONFIG_ID 0x76
trace:wgl:internal_SetPixelFormat - VISUAL_ID 0xc5
trace:wgl:internal_SetPixelFormat - DRAWABLE_TYPE 0x7
trace:wgl:wglCreateContext (0x58c)
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 81 for fmt_id 0x76
trace:wgl:X11DRV_wglCreateContext (0x58c)->(PF:81)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0x76 for iPixelFormat=81
trace:wgl:ConvertPixelFormatWGLtoGLX Numbe...
2015 May 19
2
[PATCH 1/2] Check before trying a solid fill
Pre-nv50 has all sorts of funny requirements for non-copy alu
operations, and will bail out of solid fills left and right. Account for
that case and fall back to the memset.
Reported-by: Andrew Randrianasulu <randrianasulu at gmail.com>
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/drmmode_display.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...;
+ NVPtr pNv = NVPTR(pScrn);
+
+ if (!pNv->exa_driver_pixmaps)
+ NVSync(xf86Screens[pScreen->myNum]);
}
static Bool
@@ -351,17 +355,16 @@ nouveau_exa_modify_pixmap_header(PixmapPtr ppix, int width, int height,
if (!nvpix->bo && nvpix->size) {
uint32_t cpp = ppix->drawable.bitsPerPixel >> 3;
- /* At some point we should just keep 1bpp pixmaps in sysram */
uint32_t flags = NOUVEAU_BO_VRAM;
int ret;
if (pNv->Architecture >= NV_ARCH_50 && cpp) {
- uint32_t aw = (width + 7) & ~7;
- uint32_t ah = (height + 7) & ~7;
+ uint32_t...
2007 Jun 17
2
Testing a call to super
Hi,
Is there or could there be any way to test that a method calls "super"?
Thanks
--
Jonathan Leighton, Web Developer
http://jonathanleighton.com/
2018 Feb 04
1
[PATCH 1/2] dri3: remove bogus condition for creating pixmap
...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 Feb 04
0
[PATCH 2/2] nv50/xv: add support for depth 30 xv output
...v.c b/src/nv50_xv.c
index b2541b9..ba01c99 100644
--- a/src/nv50_xv.c
+++ b/src/nv50_xv.c
@@ -91,8 +91,9 @@ nv50_xv_image_put(ScrnInfoPtr pScrn,
BEGIN_NV04(push, NV50_3D(RT_ADDRESS_HIGH(0)), 5);
PUSH_DATA (push, dst->offset >> 32);
PUSH_DATA (push, dst->offset);
- switch (ppix->drawable.bitsPerPixel) {
+ switch (ppix->drawable.depth) {
case 32: PUSH_DATA (push, NV50_SURFACE_FORMAT_BGRA8_UNORM); break;
+ case 30: PUSH_DATA (push, NV50_SURFACE_FORMAT_RGB10_A2_UNORM); break;
case 24: PUSH_DATA (push, NV50_SURFACE_FORMAT_BGRX8_UNORM); break;
case 16: PUSH_DATA (push, NV50_SU...
2019 Jan 20
1
[PATCH] adapt to HAS_DIRTYTRACKING_DRAWABLE_SRC changes
Apparently it now wants a drawable.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
No idea about whether this is correct. Saw the new warnings though.
src/drmmode_display.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 24...
2011 Nov 07
1
Re: OpenGL issues on OSX (wine 1.3.21)
I just tried the "qtgears" OpenGL demo from http://lab.bachem-it.com/opengl/qtgears (source is included) on my MacBook and I got this error:
DIAG: apple_glx_create_context: ac 0x41931730 ac->context_obj 0x4104ce00
DIAG: apple_glx_drawable_create: new drawable 0x4088a000
DIAG: create_surface: created a surface for drawable 0x600010 with uid 153
DIAG: surface_make_current: ac->context_obj 0x4104ce00 s->surface_id 21
DIAG: surface_make_current: drawable 0x600010
DIAG: applegl_bind_context: error NO
fixme:wgl:X11DRV_wglGetPixelFo...
2017 Mar 04
0
[DDX PATCH] Consider CRTCs disabled when DPMS is off
..., int mode)
{
-
+ drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
+ drmmode_crtc->dpms_mode = mode;
}
void
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index 81ee9be..cbb7b2a 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -279,23 +279,27 @@ can_exchange(DrawablePtr draw, PixmapPtr dst_pix, PixmapPtr src_pix)
ScrnInfoPtr scrn = xf86ScreenToScrn(draw->pScreen);
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn);
NVPtr pNv = NVPTR(scrn);
- int i;
+ int i, active_crtc_count = 0;
if (!xf86_config->num_crtc)
return FALSE;
for (i =...
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)
{
-
2009 Oct 31
0
[PATCH] nv/exa: fix 15/16 bits solid fill
...);
- unsigned int fmt, pitch, color;
+ unsigned int fmt, pitch, fmt2 = NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT_A8R8G8B8;
WAIT_RING(chan, 64);
@@ -102,13 +102,12 @@ NV04EXAPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg)
pitch = exaGetPixmapPitch(pPixmap);
if (pPixmap->drawable.bitsPerPixel == 16) {
- /* convert to 32bpp */
- uint32_t r = (fg&0x1F) * 255 / 31;
- uint32_t g = ((fg&0x7E0) >> 5) * 255 / 63;
- uint32_t b = ((fg&0xF100) >> 11) * 255 / 31;
- color = b<<16 | g<<8 | r;
- } else
- color = fg;
+ if (pPixmap-&...
2016 Oct 17
2
[PATCH 4/5] nvc0: refactor TIC uploads to allow different specifies per generation
...), 8);
> - PUSH_DATA (push, format);
> - PUSH_DATA (push, bo->offset);
> - PUSH_DATA (push, (bo->offset >> 32) |
> - (bo->config.nvc0.tile_mode << 18) |
> - 0xd0005000);
> - PUSH_DATA (push, 0x00300000);
> - PUSH_DATA (push, (1 << 31) | ppix->drawable.width);
> - PUSH_DATA (push, (1 << 16) | ppix->drawable.height);
> - PUSH_DATA (push, 0x03000000);
> - PUSH_DATA (push, 0x00000000);
> + PUSH_TIC (push, bo, 0, ppix->drawable.width, ppix->drawable.height, 0,
> + format);
>
> PUSH_DATAu(push, pNv->scrat...
2011 Jun 03
4
OpenGL issues on OSX (wine 1.3.21)
...Widgets OpenGL demos (remarkable because the source is available, so I guess it should be easy to fix).
I run OSX 10.6.7.
While running the wxWidgets "penguin" demo, the OpenGL view remains blank, and this is printed in the terminal:
wine[592] <Error>: unknown error code: invalid drawable
wine[592] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
set off screen: invalid drawable
Any hint about the cause for this issue? Any workaround? (the source for wxWidgets is available, but I also have some inhouse apps that fail with t...
2012 Sep 14
0
Wine release 1.5.13
...-----------------------------
Changes since 1.5.12:
Akihiro Sagawa (2):
po: Update Japanese translation.
user32: Add support for legacy access keys.
Alexandre Julliard (43):
winex11: Only create the client window when the pixel format is changed.
winex11: Store the OpenGL drawable in a separate structure with its own context.
winex11: Treat the client window as an OpenGL drawable.
winex11: Move the GL drawable management to opengl.c.
user32: Only show a window the first time WS_VISIBLE is toggled, to work around Steam's WM_SETREDRAW usage.
server...
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