summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* st: use the static atoms[] array directlyBrian Paul2009-04-212-20/+8
| | | | We can simplify this now that we no longer have any dynamic atoms.
* st: do away with dynamic state atom for const buffersBrian Paul2009-04-212-29/+4
| | | | Just use the new _NEW_PROGRAM_CONSTANTS flag instead.
* mesa: new _NEW_PROGRAM_CONSTANTS flagBrian Paul2009-04-215-10/+43
| | | | | | | | | | | | | | | This state flag will be used to indicate that vertex/fragment program constants have changed. _NEW_PROGRAM will be used to indicate changes to the vertex/fragment shader itself, or misc related state. _NEW_PROGRAM_CONSTANTS is also set whenever a program parameter that's tracking GL state has changed. For example, if the projection matrix is in the parameter list, calling glFrustum() will cause _NEW_PROGRAM_CONSTANTS to be set. This will let to remove the need for dynamic state atoms in some drivers. For now, we still set _NEW_PROGRAM in all the places we used to. We'll no longer set _NEW_PROGRAM in glUniform() after drivers/etc have been updated.
* mesa: print internal.current[i] attribBrian Paul2009-04-211-2/+7
|
* mesa: print parameter list dirty state flag maskBrian Paul2009-04-211-0/+1
|
* i965: const correctnessBrian Paul2009-04-211-49/+49
|
* r300: r300 hw doesn't support any input modifiers in tex instsMaciej Cencora2009-04-211-2/+1
|
* r300-gallium: Fix CS size mismatchMathias Gottschlag2009-04-211-1/+5
| | | | | This fixes some warnings which appear because the driver assumes a wrong cs size (13 vs 16 register writes in some cases).
* st: report GL_OUT_OF_MEMORY instead of assertingBrian Paul2009-04-211-4/+4
|
* softpipe: fix softpipe_is_buffer/texture_referenced() regressionBrian Paul2009-04-201-2/+2
| | | | | | | Return the conservative PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE value for now. This fixes a bunch of regressions seen in piglit and glean.
* swrast: fix pointer arithmetic error in get_texel_array()Brian Paul2009-04-201-2/+1
| | | | This came from commit 1b2ab023673261b4b942e1126c0b599d02fbd4a0
* gdi: Don't implement broken gl_dispatch_stub_xxx.José Fonseca2009-04-201-77/+0
|
* wgl: Don't implement broken gl_dispatch_stub_xxx.José Fonseca2009-04-202-117/+0
| | | | These don't respect the stdcall, so they crash upon return.
* mesa: Correct the gl_dispatch_stub_xxx prototypes.José Fonseca2009-04-202-49/+47
|
* mesa: Handle failure to create a transfer.José Fonseca2009-04-201-1/+2
|
* st: assert on pipe_buffer_create failureKeith Whitwell2009-04-201-0/+5
| | | | | | This needs a proper fix to propogate the out-of-memory condition back up to Mesa and the app as a GL error. Until then, at least catch the problem at its source.
* util: don't set unused blend stateKeith Whitwell2009-04-202-8/+0
| | | | Try to avoid creating multiple blend atoms.
* trace: Add initializer for static variablesJakob Bornecrantz2009-04-203-2/+20
|
* r300: fix register-negate branch merge regressionMaciej Cencora2009-04-203-39/+12
|
* gallium: Fix glDraw/CopyPixels fragment program leak.Michel Dänzer2009-04-201-0/+2
|
* trace: Enable dumping to be turned on and offJakob Bornecrantz2009-04-194-5/+191
|
* st: Wait to create bitmap transfer until neededJakob Bornecrantz2009-04-191-8/+30
|
* softpipe: Simplify softpipe_create's prototype.José Fonseca2009-04-188-15/+9
|
* softpipe: Fix softpipe_is_texture_referenced prototype.José Fonseca2009-04-181-2/+1
|
* softpipe: Remove softpipe_winsys.José Fonseca2009-04-182-42/+1
| | | | Not used by softpipe anyway.
* i965: use region width, height in brw_update_renderbuffer_surface()Brian Paul2009-04-181-2/+2
| | | | | Fixes a regression from commit 2c30fd84dfa052949a117c78d932b58c1f88b446 seen with DRI1.
* intel: #include polygon.h to silence warningBrian Paul2009-04-181-0/+1
|
* mesa: add switch case for GL_VERTEX_STATE_PROGRAM_NV in _mesa_new_program()Brian Paul2009-04-181-0/+1
| | | | Fixes bug seen in progs/tests/vptest1.c
* intel: Handle ARB_vertex_buffer_object state in intel_clear_tris().Michel Dänzer2009-04-181-0/+5
| | | | Fixes gearsvbo app by Michael Clark.
* intel: make sure polygon mode is set properly in intel_clear_tris()Brian Paul2009-04-171-0/+2
| | | | Fixes progs/glsl/skinning.c demo.
* mesa: suppress extra newlineBrian Paul2009-04-171-1/+1
|
* i915: fix broken indirect constant buffer readsBrian Paul2009-04-173-51/+40
| | | | | | | | The READ message's msg_control value can be 0 or 1 to indicate that the Oword should be read into the lower or upper half of the target register. It seems that the other half of the register gets clobbered though. So we read into two dest registers then use a MOV to combine the upper/lower halves.
* mesa: build a float[4] value in _mesa_add_sampler() to avoid random valuesBrian Paul2009-04-171-3/+4
|
* dri: __driUtilMessage(): not all messages are errorsBrian Paul2009-04-171-1/+1
|
* mesa: minor tweak to error messageBrian Paul2009-04-171-1/+1
|
* i965: updated CURBE allocation codeBrian Paul2009-04-173-8/+15
| | | | | Now that we have real constant buffers, the demands on the CURBE are lessened. When we use real VS/WM constant buffers we only use the CURBE for clip planes.
* xlib/trace: Fixup xlib traceJakob Bornecrantz2009-04-171-5/+11
|
* pipe: Get the p_atomic_dec_zero logic right this time.José Fonseca2009-04-171-3/+2
|
* gallium: Fix PIPE_ATOMIC_GCC_INTRINSIC build.Michel Dänzer2009-04-171-2/+2
|
* trace: Keep screen objects on listsJakob Bornecrantz2009-04-178-4/+84
|
* trace: Fix is_referenced functionsJakob Bornecrantz2009-04-171-2/+6
|
* trace: Simplify trace_buffer functionJakob Bornecrantz2009-04-175-17/+13
|
* pipe: Fix InterlockedDecrement usage.José Fonseca2009-04-171-1/+1
|
* wgl: Put commas in the right places.José Fonseca2009-04-171-3/+3
|
* wgl: Flip the pixel format order.José Fonseca2009-04-171-6/+6
| | | | | List 32bit pixel formats first, as nobody is interested in 16bit pixel formats nowadays.
* gallium: Create OGL state tracker wrappers for various CPU access operations.Thomas Hellstrom2009-04-1713-173/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are two usage types of buffer CPU accesses: One where we try to use the buffer contents for multiple draw commands in a batch. (batch := sequence of commands that are flushed together), like incrementally adding bitmaps to a bitmap texture that is reallocated on flush. And one where we assume we can safely overwrite the old buffer contexts, like glTexSubImage. In this case we need to make sure all old drawing commands referencing the buffer are flushed before we map the buffer. This is easily forgotten. Add wrappers for the most common of these operations. The first type is prefixed with "st_no_flush" and the second type is prefixed with "st_cond_flush", where "cond" indicates that we attmpt to only flush if there is indeed unflushed draw commands referencing the buffer. Prefixed functions are screen::get_tex_transfer pipe_buffer_write pipe_buffer_read pipe_buffer_map Please use the wrappers whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* egl: don't crash with one more khronos apiZack Rusin2009-04-171-0/+1
|
* gallium: simplify further the logic for selecting mutex implementationKeith Whitwell2009-04-171-53/+24
| | | | Cleaner than the previous cleanup...
* util: flush stdout before emitting debug_printf on stderrKeith Whitwell2009-04-171-0/+2
| | | | | A lot of the mesa demos emit commentary on stdout, try to keep it in sync with the corresponding output from debug_printf().
* gallium: add #warning to mutex-based atomic implementationKeith Whitwell2009-04-171-0/+1
| | | | Some builds end up picking this up.