Ian Romanick
0f01674a58
intel: Use texformat accessor to get bytes-per-pixel
15 vuotta sitten
Ian Romanick
4eee46efcb
intel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, remove
15 vuotta sitten
Ian Romanick
3078bd136d
intel: Axe intel_renderbuffer::texformat
Since the texformat branch merge, the value of intel_renderbuffer::texformat
is just a copy of gl_renderbuffer::Format.
15 vuotta sitten
Eric Anholt
539a14a1dd
intel: Flush the render/texture cache when finishing render to texture.
Back when we were flushing the entire batch at BindFramebuffer, the kernel
would notice the domain transition when someone went to texture from it and
flush for us. We no longer do the batch flushing every time, so we get to
do aggressive flushing until we move batchbuffer handling to libdrm.
Fixes piglit fbo-flushing. Bug #25377 . No noticeable performance loss
on cairo-gl (so this is better than batch flushing).
15 vuotta sitten
Zack Rusin
967e6e2009
st/xorg: fix yv12 plus some cleanups in the upload code
15 vuotta sitten
Zack Rusin
690d888416
st/xorg: enable yv12 for xv
15 vuotta sitten
Vinson Lee
05b6296092
mesa: Fix SCons build.
Commit cd6b8dd9e8
deleted
src/mesa/state_tracker/st_cb_get.c.
15 vuotta sitten
Jakob Bornecrantz
5e2a86cb1b
vmware/xorg: Properly detect overlay support
15 vuotta sitten
Jakob Bornecrantz
b7cf8a1f93
vmware/core: Update vmwgfx_drm.h
15 vuotta sitten
Ian Romanick
e3fa700c17
meta: Bind texture to unit 0 for mipmap generation
If the active texture unit on entry to mipmap generation is not zero, bind the
texture to unit zero.
Fixes bug #24219 .
15 vuotta sitten
Eric Anholt
cd6b8dd9e8
mesa: Move OES_read_format support from drivers into the core.
The assertion is that the correct read type to be using is the native
type of the underlying read renderbuffer. For some fallback paths, this
may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets
all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or
GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work.
This fixes the intel (and other) DRI drivers to report read formats that
should hit blit PBO readpixels paths.
15 vuotta sitten
Eric Anholt
dd9eb8774a
i965: Enable the accelerated ReadPixels path on gen4 along with pre-gen4.
Passes piglit pbo-read-argb8888, and doesn't otherwise regress quick.tests.
15 vuotta sitten
Jakob Bornecrantz
6f1db18f14
vmware/xorg: Also stop ports on close
15 vuotta sitten
Jakob Bornecrantz
124f4bc977
vmware/xorg: Stop video ports on leave vt
15 vuotta sitten
Jakob Bornecrantz
f2e3fc1814
st/xorg: Add enter/leave vt hooks for winsys
15 vuotta sitten
Jakob Bornecrantz
c33520b360
st/xorg: Fix leave enter vt cycle in crtc code
15 vuotta sitten
Jakob Bornecrantz
d5b94b49f6
st/xorg: New libkms destroy api
15 vuotta sitten
Michel Dänzer
32ccc9b0bb
vmware/xorg: Fix SCons build.
Not sure how vmw_screen.c could build at all though...
15 vuotta sitten
Michel Dänzer
9e42683fb3
vmware/xorg: Avoid warning about HAVE_STDINT_H being redefined.
15 vuotta sitten
Andre Maasikas
0d4a05445c
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
15 vuotta sitten
Andre Maasikas
369669ff9a
r600: add support for TXB instruction
makes testing other things easier - does not hang the card
TODO: enable TEX dependency tracking in vertex programs
15 vuotta sitten
Andre Maasikas
dc0777d3e3
r600: reorder state for render_target and blend
First time around render targets are not enabled yet (done in
r700SendRenderTargetState) so blend state is not emitted for any targets.
Affects first glClear in some mesa tests.
As a quick fix reorder state emit so that target is set first
16 vuotta sitten
Vinson Lee
add6dfbba6
llvmpipe: Initialize variables in emit_instruction.
15 vuotta sitten
Vinson Lee
3e8b2fda21
progs/test: Initialize variable in prog_parameter.
Silences uninitialized variable compiler warning.
15 vuotta sitten
Ian Romanick
ba167f812c
mesa: set version string to 7.7-rc1
Also modify the Makefile to use the correct version for the tarballs.
15 vuotta sitten
Ian Romanick
8fc433fa0f
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
Conflicts:
progs/demos/projtex.c
progs/xdemos/glxinfo.c
src/mesa/main/version.h
To fix the confilicts in projtex.c and glxinfo.c I just took the code from
mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from
mesa_7_7_branch to mesa_7_6_branch followed by commmits just to
mesa_7_6_branch.
15 vuotta sitten
Ian Romanick
bb64c9bcdf
Revert "intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers."
This reverts commit 4598942b1b
.
XRGB8888 doesn't work as intended. Revert this for now, and we'll revisit it
for 7.8 or something.
15 vuotta sitten
Ian Romanick
9dbd47fc6b
mesa: set version string to 7.6.1-rc3
15 vuotta sitten
Maciej Cencora
9921b3048e
radeon: fix cases when only first image where put directly into miptree.
Make sure that minimal width, height and depth of texture image is 1.
15 vuotta sitten
Maciej Cencora
013cf1d63d
radeon: fix image migration for small compressed textures
memcpy would give incorrect results if src rowstride != dst rowstride
15 vuotta sitten
Vinson Lee
7d84169865
progs/demos: Fix memory leak in projtex.c.
15 vuotta sitten
Vinson Lee
7005f7cd1a
st/egl: Fix memory leak in egl_tracker.c.
(cherry picked from commit 052b127842
)
15 vuotta sitten
Vinson Lee
c994f08eb1
dri: Fix potential null pointer dereference in driBindContext.
(cherry picked from commit 919898e92f
)
15 vuotta sitten
Vinson Lee
f622b649fb
dri: Fix potential null pointer deference in dri_put_drawable.
(cherry picked from commit 364070b1f2
)
15 vuotta sitten
Vinson Lee
76b3523d75
glx: Prevent potential null pointer deference in driCreateContext.
(cherry picked from commit 4b0b250aae
)
15 vuotta sitten
Vinson Lee
978b80c8e3
progs/tests: Add tests to Makefile.
(cherry picked from commit 76d2ec3a0a
)
16 vuotta sitten
Vinson Lee
3cd745515e
draw: Initialize variable in draw_pt.c.
(cherry picked from commit ea98e9820d
)
15 vuotta sitten
Vinson Lee
b2953ee1a6
mesa: Fix array out-of-bounds access by _mesa_TexGenf.
_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument
as an array.
(cherry picked from commit ca5a7aadb4
)
15 vuotta sitten
Vinson Lee
d74cd04e61
mesa: Fix array out-of-bounds access by _mesa_TexGeni.
_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument
as an array.
(cherry picked from commit d55fb7c835
)
15 vuotta sitten
Vinson Lee
ca8a2150c7
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
_mesa_TexParameterf calls set_tex_parameterf, which uses the params
argument as an array.
(cherry picked from commit 270d36da14
)
15 vuotta sitten
Vinson Lee
4071d065c2
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
_mesa_TexParameterf calls set_tex_parameteri, which uses the params
argument as an array.
(cherry picked from commit a201dfb6bf
)
15 vuotta sitten
Vinson Lee
1446f30875
progs/samples: Fix memory leak if malloc fails in rgbtoppm.c.
15 vuotta sitten
Vinson Lee
412aeeed1c
progs/samples: Fix memory leak if fopen fails in rgbtoppm.c.
15 vuotta sitten
Vinson Lee
6212c8103a
progs/samples: Add rgbtoppm to Makefile.
15 vuotta sitten
Vinson Lee
2cd2341ce8
progs/tests: Removed unused variable from texdown.c.
15 vuotta sitten
Vinson Lee
d642edd2d1
progs/vpglsl: Assign glGetUniformLocationARB return value to GLint.
The return type of glGetUniformLocationARB is GLint, not GLuint.
15 vuotta sitten
Vinson Lee
8d2f3434c5
progs/fp: Redraw upon keypress.
15 vuotta sitten
Vinson Lee
fe8e18bcd4
mesa: Fix array out-of-bounds access in _mesa_TexEnvf.
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument
as an array.
(cherry picked from commit a11d60d14c
)
15 vuotta sitten
Vinson Lee
4fb5ae7233
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
(cherry picked from commit 11905da883
)
15 vuotta sitten
Vinson Lee
5683d7d43f
progs/util: Fix memory leak if fail to load/compile shader
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit c475079ef2
)
16 vuotta sitten