Displaying 14 results from an estimated 14 matches for "teximage".
2014 Jan 15
1
[PATCH v2] nouveau: add framebuffer validation callback
...rs/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
index 25543e4..427eb00 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
@@ -268,6 +268,57 @@ nouveau_finish_render_texture(struct gl_context *ctx,
texture_dirty(rb->TexImage->TexObject);
}
+static int
+validate_format_bpp(gl_format format)
+{
+ switch (format) {
+ case MESA_FORMAT_XRGB8888:
+ case MESA_FORMAT_ARGB8888:
+ case MESA_FORMAT_Z24_S8:
+ return 32;
+ case MESA_FORMAT_RGB565:
+ case MESA_FORMAT_Z16:
+ return 16;
+ default:
+ return 0;
+ }
+}
+
+static...
2014 Jan 10
2
[PATCH] nouveau: add framebuffer validation callback
...rs/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
index 25543e4..fba0d52 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
@@ -268,6 +268,43 @@ nouveau_finish_render_texture(struct gl_context *ctx,
texture_dirty(rb->TexImage->TexObject);
}
+static void
+nouveau_framebuffer_validate(struct gl_context *ctx,
+ struct gl_framebuffer *fb)
+{
+ const struct nouveau_driver *drv = context_drv(ctx);
+ int i, count = 0;
+
+ for (i = 0; i < ctx->Const.MaxColorAttachments; i++) {
+ struct gl_renderbuffer_attach...
2014 Jan 14
0
[PATCH] nouveau: add framebuffer validation callback
...o.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
> index 25543e4..fba0d52 100644
> --- a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
> +++ b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
> @@ -268,6 +268,43 @@ nouveau_finish_render_texture(struct gl_context *ctx,
> texture_dirty(rb->TexImage->TexObject);
> }
>
> +static void
> +nouveau_framebuffer_validate(struct gl_context *ctx,
> + struct gl_framebuffer *fb)
> +{
> + const struct nouveau_driver *drv = context_drv(ctx);
> + int i, count = 0;
> +
> + for (i = 0; i < ctx->Const.MaxColorAt...
2009 Aug 25
3
[Bug 23505] New: KDE's Kubrick has problems with xf86-video-nouveau driver
...3 in nv10_draw_arrays () from /usr/lib/dri/nouveau_dri.so
#16 0xb42e0764 in util_draw_vertex_buffer () from /usr/lib/dri/nouveau_dri.so
#17 0xb42e307f in util_gen_mipmap () from /usr/lib/dri/nouveau_dri.so
#18 0xb418f067 in st_generate_mipmap () from /usr/lib/dri/nouveau_dri.so
#19 0xb4250010 in st_TexImage () from /usr/lib/dri/nouveau_dri.so
#20 0xb42503eb in st_TexImage2D () from /usr/lib/dri/nouveau_dri.so
#21 0xb42199a4 in _mesa_TexImage2D () from /usr/lib/dri/nouveau_dri.so
#22 0xb8040443 in QGLContextPrivate::bindTexture (this=0x8191280,
image=@0xbf8bd0ec, target=3553, format=6408, key=261993005...
2013 Oct 04
1
[PATCH] nouveau_vieux: add AllocTextureImageBuffer implementation
...insertions(+)
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_texture.c b/src/mesa/drivers/dri/nouveau/nouveau_texture.c
index da74e8f..8904389 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_texture.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_texture.c
@@ -494,6 +494,14 @@ nouveau_compressed_teximage(struct gl_context *ctx, GLuint dims,
&ctx->Unpack, GL_TRUE);
}
+static GLboolean
+nouveau_teximage_alloc(struct gl_context *ctx, struct gl_texture_image *ti)
+{
+ nouveau_teximage(ctx, 3, ti, 0, 0, 0, NULL,
+ &ctx->DefaultPacking, GL_FALSE);
+ return GL_TRUE;
+}
+
static v...
2012 Jul 06
0
[PATCH] dri/nouveau: Add AllocTextureImageBuffer() implementation
Fixes mipmap generation.
Signed-off-by: Viktor Novotn? <noviktor at seznam.cz>
---
Hi,
this fixes bug with mipmaps I observed on nv25, where in _mesa_prepare_mipmap_level call to
Driver.FreeTextureImageBuffer unreferences nouveau_teximage's nouveau_surface, which then
doesnt get reallocated in Driver.AllocTextureImageBuffer, because vieux uses swrast implementation,
ultimately leading to assertion failure in get_rt_format in nv20_buffer_emit.
Apart from adding nouveau_alloc_texture_image_buffer I renamed nouveau_teximage_free....
2017 Jan 13
11
[Bug 99396] New: Crash in nouveau_dri.so when switching apps with alt-tab in Gnome
https://bugs.freedesktop.org/show_bug.cgi?id=99396
Bug ID: 99396
Summary: Crash in nouveau_dri.so when switching apps with
alt-tab in Gnome
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
2012 Apr 06
1
[WIP PATCH] dri/nouveau: Add S3TC support for nv20.
---
Hi,
this is still WIP, but already passes piglit's s3tc-teximage, s3tc-texsubimage and fbo-generatemipmap-formats(s3tc tests)
and even Wolfenstein:Enemy-Territory works on my nv25. It's based on Ben's newlib branch. I have few issues though:
1) So far it needs libtxc_dxtn, but I might expose the s3tc extensions even without encoder using driconf option -...
2012 Apr 25
7
[Bug 49148] New: nv20_state_fb.c:50: get_rt_format: Assertion `0' failed.
https://bugs.freedesktop.org/show_bug.cgi?id=49148
Bug #: 49148
Summary: nv20_state_fb.c:50: get_rt_format: Assertion `0'
failed.
Classification: Unclassified
Product: xorg
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
2010 Apr 12
16
[Bug 27603] New: Celestia 1.6.0 crashes with nv04_surface_copy_swizzle assertion
https://bugs.freedesktop.org/show_bug.cgi?id=27603
Summary: [nouveau] Celestia 1.6.0 crashes with
nv04_surface_copy_swizzle assertion
Product: Mesa
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component:
2015 Feb 14
0
[PATCH] nvc0: bail out of 2d blits with non-A8_UNORM alpha formats
This fixes the teximage-colors uploads with GL_ALPHA format and
non-GL_UNSIGNED_BYTE type.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_surfac...
2015 Aug 01
15
[Bug 91526] New: World of Warcraft (on Wine) has UI corruption with nouveau
https://bugs.freedesktop.org/show_bug.cgi?id=91526
Bug ID: 91526
Summary: World of Warcraft (on Wine) has UI corruption with
nouveau
Product: Mesa
Version: git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component:
2016 Apr 29
0
Wine release 1.9.9
...ested feature levels.
wined3d: Print correct resource type in FIXME() message.
wined3d: Accept multiple instruction modifiers in SM4+ shaders.
wined3d: Add few missing enum values to debug_fbostatus().
wined3d: Implement readback from 2D array textures using glGet[Compressed]TexImage().
wined3d: Handle 2D array textures in context_dump_fbo_attachment().
d3d11: Add ID3D11ClassLinkage interface stub.
wined3d: Add "layer_count" parameter to wined3d_texture_create().
wined3d: Implement creating 2D array textures.
d3d11/tests: Check all sub-re...
2017 Jan 13
32
[Bug 99400] New: garbled rending with glamor on G71
https://bugs.freedesktop.org/show_bug.cgi?id=99400
Bug ID: 99400
Summary: [nouveau] garbled rending with glamor on G71
Product: Mesa
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau at