summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-28mesa: remove GL_SGI_texture_color_table supportBrian Paul
It was only implemented in the swrast driver and probably not used by any applications. A modern app would use a dependent/chained texture lookup in the fragment shader.
2011-02-28svga: add assertions in svga_shader_type()Brian Paul
2011-02-28mesa: consolidate framebuffer target lookup codeBrian Paul
2011-02-28mesa: remove some old do-nothing codeBrian Paul
2011-02-28mesa: reduce calls to _mesa_test_framebuffer_completeness()Brian Paul
when updating/validating framebuffer state. The _Status field is set to zero when we need to recompute _Status. Otherwise, it's up to date.
2011-02-28mesa: reduce calls to _mesa_test_framebuffer_completeness()Brian Paul
when doing glCopyTex[Sub]Image() and checking the source buffer's completeness. We only need to determine FBO completeness when the status is indeterminate.
2011-02-28mesa: s/mesaFormat/attFormat/Brian Paul
2011-03-01r300g: set the correct HiZ clear valueMarek Olšák
2011-03-01r300g: update derived state before uploading vertex buffersMarek Olšák
The function may invoke blitter, which invalidates vertex buffers.
2011-03-01u_vbuf_mgr: compute user buffer size for instance data from instance_countMarek Olšák
2011-03-01r300g: fix printing whether Z compression is enabledMarek Olšák
2011-03-01r300g: disable HiZ permanently if the the depth function is invertedMarek Olšák
Instead of temporarily. The HiZ function (something like a depth function) is a property of a HiZ buffer and can only be changed during HiZ clears.
2011-03-01r300g: fix HiZ memory size computation and deciding when to use HiZMarek Olšák
I removed the HiZ memory management, because the HiZ RAM is too small and I also did it in hope that HiZ will be enabled more often. This also sets aligned strides to HIZ_PITCH and ZMASK_PITCH.
2011-02-28r600g: add missing evergreen INT_TO_FLT to r600_bc_get_num_operandsAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-03-01rgtc: fix void pointer arith.Dave Airlie
should fix scons build.
2011-02-28glsl: Enable GL_OES_texture_3D extension for ES2.Kenneth Graunke
2011-02-28glsl: Use reralloc instead of plain realloc.Kenneth Graunke
Plugs a memory leak when compiling shaders with user defined structures. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-02-28r600g: indentation fixesJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-02-28r300g: initialize SC_SCREENDOORMarek Olšák
2011-02-28r300g: disable hyper-z on rs6xx+Marek Olšák
It doesn't work.
2011-02-27mesa: Add texcompress_rgtc.c to SConscript.Vinson Lee
2011-02-28rgtc: update docsDave Airlie
2011-02-28mesa/st: add RGTC format support.Dave Airlie
this just adds a format check + format conversion.
2011-02-28swrast: add RGTC supportDave Airlie
2011-02-28mesa: Add RGTC texture store/fetch support.Dave Airlie
This adds support for the RGTC unsigned and signed texture storage and fetch methods. the code is a port of the DXT5 alpha compression code. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-28mesa: make_float_temp_image non-staticDave Airlie
We need this to do signed stuff for RGTC.
2011-02-28rgtc: llvmpipe/softpipe refuse RGTC until u_format has support.Dave Airlie
So far I haven't implemented the u_format code for these. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-28r300g: force swizzles for RGTCDave Airlie
still can't get signed to work
2011-02-28r600g: implement instanced drawing supportChristian König
2011-02-28st/mesa & v_bug_mgr: two small instanced drawing fixesChristian König
2011-02-28Revert "r600g: Don't negate result of ABS instruction"Dave Airlie
This reverts commit b6d40213935da702570eca2c0861bd4b1d7f5254. This actually breaks gears here on my rv670.
2011-02-28r600g: Process TRUNC with tgis_op2Fabian Bieler
TRUNC is neither a scalar instruction nor exclusive to the Trans unit. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-28r600g: Don't negate result of ABS instructionFabian Bieler
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-27i915g: implement cache flushingDaniel Vetter
With an extremely dumb strategy. But it's the same i915c employs. Also improve the hw_atom code slightly by statically specifying the required batch space. For extremely variably stuff (shaders, constants) it would probably be better to add a new parameter to the hw_atom->validate function. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27i915g: buffer validation for blitterDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27i915g: buffer validation for render stateDaniel Vetter
Also contains the first few bits for hw state atoms. v2: Implement suggestion by Jakob Bornecrantz. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27i915g/winsys: buffer validation supportDaniel Vetter
v2: Add the batch bo to the libdrm validation lost, for otherwise libdrm won't take previously used buffers into account. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27i915g: add raw batchbuffer dumping in drm winsysDaniel Vetter
These files can be decoded with intel_dump_decode from the intel-gpu-tools available at: http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/ Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27i915g: cleanup static state calculation, part 2Daniel Vetter
Now also for the DRAW_RECT command Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27i915g: cleanup static state calculation, part 1Daniel Vetter
Move it to i915_state_static.c This way i915_emit_state.c only emits state and doesn't (re)calculate it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-27glsl/builtins: Fix return type for textureSize sampler2DArray variants.Kenneth Graunke
A copy and paste error.
2011-02-26glx: Adjust the MESA_multithread_makecurrent spec to match implementation.Eric Anholt
This came out of discussion at the office today, and we agreed that solving this for indirect wasn't really interesting, though the server-side change would be of a similar level of difficulty.
2011-02-26intel: Use the current context rather than last bound context for a drawable.Eric Anholt
If another thread bound a context to the drawable then unbound it, the driContextPriv would end up NULL. With the previous two fixes, this fixes glx-multithread-makecurrent-2, despite the issue not being about the multithreaded makecurrent.
2011-02-26dri2: Don't call the dri2 flush hook for swapbuffers unless we have a context.Eric Anholt
The driver only has one reasonable place to look for its context to flush anything, which is the current context. Don't bother it with having to check.
2011-02-26glx: Don't do the implicit glFlush in SwapBuffers if it's the wrong drawable.Eric Anholt
The GLX Spec says you only implicitly glFlush if the drawable being swapped is the current context's drawable.
2011-02-26mesa: Add new MESA_multithread_makecurrent extension.Eric Anholt
This extension allows a client to bind one context in multiple threads simultaneously. It is then up to the client to manage synchronization of access to the GL, just as normal multithreaded GL from multiple contexts requires synchronization management to shared objects.
2011-02-26i915g: make dynamic state emission actually lazyDaniel Vetter
Premature semicolon. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-26gallivm: Initialize stack valuesJakob Bornecrantz
valgrind gives me a warning with llvmpipe with profile builds but not debug builds, this seems to fix the issue at least.
2011-02-26glsl/Makefile: Remove builtin_function.cpp if generation fails.Arkadiusz Miskiewicz
Fixes bug #34346. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2011-02-26i915g: Handle null constants properlyJakob Bornecrantz