Displaying 3 results from an estimated 3 matches for "context_dev".
Did you mean:
context_del
2012 Apr 30
5
[PATCH] nouveau/vieux: only advertise supported texture formats
...ureFormatSupported[MESA_FORMAT_ARGB8888] = true;
+ ctx->TextureFormatSupported[MESA_FORMAT_RGB565] = true;
+ ctx->TextureFormatSupported[MESA_FORMAT_Z16] = true;
+ ctx->TextureFormatSupported[MESA_FORMAT_Z24_S8] = true;
+
/* Allocate a hardware channel. */
ret = nouveau_object_new(&context_dev(ctx)->object, 0xbeef0000,
NOUVEAU_FIFO_CHANNEL_CLASS,
--
1.7.10
2013 Nov 09
5
[Bug 71438] New: Application Konqueror crashes when connecting to asus.com
https://bugs.freedesktop.org/show_bug.cgi?id=71438
Priority: medium
Bug ID: 71438
Assignee: nouveau at lists.freedesktop.org
Summary: Application Konqueror crashes when connecting to
asus.com
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
2012 Apr 06
1
[WIP PATCH] dri/nouveau: Add S3TC support for nv20.
...ce *s,
.width = width,
.height = height,
.cpp = cpp,
- .pitch = width * cpp,
+ .pitch = pitch,
};
if (layout == TILED) {
@@ -64,8 +68,12 @@ nouveau_surface_alloc(struct gl_context *ctx, struct nouveau_surface *s,
s->pitch = align(s->pitch, 64);
}
- ret = nouveau_bo_new(context_dev(ctx), flags, 0, s->pitch * height,
- &config, &s->bo);
+ if (_mesa_is_format_compressed(format))
+ size = s->pitch * nouveau_format_get_nblocksy(format, height);
+ else
+ size = s->pitch * height;
+
+ ret = nouveau_bo_new(context_dev(ctx), flags, 0, size, &config, &...