summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-20st/dri: fix bug in make_currentgallium-st-api-driGeorge Sapountzis1-1/+1
2010-03-20st/dri: fix bug in allocate_texturesGeorge Sapountzis1-1/+1
2010-03-18st/mesa: Set the pipe context of the texture object.Chia-I Wu1-0/+1
The field was added in b8030c6561e019e079b5be2fe64ec804df4bfa03. This fixes a NULL dereference in xdemos/texture_from_pixmap.
2010-03-18st/dri: Switch from st_public.h to st_api.h.Chia-I Wu10-558/+393
This is tested with demos found in progs/demos. However, only the DRI2 path is tested.
2010-03-18st/dri: Implement st_api.h callbacks.Chia-I Wu5-0/+505
This commit adds dri_st_api.c that implements st_api.h callbacks. A following commit will switch st/dri from st_public.h to st_api.h.
2010-03-18st/dri: Headers and public symbols clean up.Chia-I Wu5-14/+8
Remove unused headers and stop marking driDriverAPI as PUBLIC.
2010-03-18st/dri: Move DRI1 bits in dri_context.c to dri1.c.Chia-I Wu3-66/+64
2010-03-18st/dri: Move DRI1 bits in dri_drawable.c to dri1.c.Chia-I Wu5-319/+336
2010-03-18st/dri: Move DRI1 bits in dri_screen.c to dri1.c.Chia-I Wu9-82/+173
2010-03-17progs/trivial: added commentsBrian Paul1-0/+3
2010-03-17gallivm/llvmpipe: basic stencil testing worksBrian Paul2-26/+140
Most stencil demos look OK (modulo some unrelated rendering glitches). Only single-sided stencil test works at this point. There are probably some bugs to be found...
2010-03-17llvmpipe: remove incorrect depth test checkBrian Paul1-4/+1
2010-03-17gallivm: added lp_build_andc()Brian Paul2-0/+15
2010-03-17llvmpipe: silence some pointer/casting warningsBrian Paul1-3/+21
2010-03-17gallivm/llvmpipe: more asst changes for stencil testingBrian Paul3-63/+69
2010-03-17gallivm/llmvpipe: pass stencil refs state into z/stencil build codeBrian Paul5-7/+20
2010-03-17llvmpipe: use new LP_JIT_CTX_ enums for jit context field positionsBrian Paul3-32/+57
Use the new enum values rather than integers in a few places.
2010-03-17llvmpipe: added stencil ref values to jit context stateBrian Paul5-19/+48
2010-03-17llvmpipe: break linesBrian Paul1-1/+2
2010-03-17intel: Replace mt->pitch with mt->region->pitch.Eric Anholt11-122/+47
The pitch is not really an inherent part of the miptree, since it's not part of any of the layout calculations, and it's dictated by the libdrm-allocated region pitch now.
2010-03-17intel: Return false like other blit failure paths if out of aperture.Eric Anholt1-16/+2
The primary consumer of this (miptree relayout) already has this code for handling failure, and the other paths want to know if failure actually occurs and do something appropriate, which may not include memcpy.
2010-03-17intel: Respect src pitch in _mesa_copy_rect().Eric Anholt1-1/+1
If a non-zero src_y was used, this would break piglit depth-level-clamp.
2010-03-17intel: Rely on allocated region pitch for the miptree pitch.Eric Anholt4-25/+7
Bug #26966: 945 miptree pitch disagreement with libdrm.
2010-03-17intel: Assert that the linear blits succeed.Eric Anholt1-14/+17
We don't have any fallback code here, and we want to avoid this path if failure would happen, so just assert.
2010-03-17intel: Remove level_offset now that it's unused.Eric Anholt2-13/+5
This is the last pitch-dependent part of miptree setup.
2010-03-17intel: Remove extra tiling setting after allocating a tiled region.Eric Anholt2-9/+3
2010-03-17intel: Rename the z24_x8 depth spans to z24_s8 since they do stencil too.Eric Anholt1-2/+2
2010-03-17llvmpipe: remove -m32 flag from linux-llvm configBrian Paul1-1/+1
2010-03-17st/mesa: plug in default for pipe_context::surface_copy() if neededBrian Paul6-55/+38
This lets us avoid conditionals and duplicated code in several places.
2010-03-17progs/samples: improve copy.c demoBrian Paul1-13/+14
If the test image was larger than the window, nothing was drawn because of invalid raster position. Use glWindowPos instead of glRasterPos. Also, use integer src/dst coordinates to avoid grabbing black pixels outside of the src image region.
2010-03-17Merge branch '7.8'Brian Paul3-137/+37
Conflicts: src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-17progs/samples: silence warningsBrian Paul1-2/+4
2010-03-17st/mesa: fix glCopyPixels bugs/crashes when src region need clippingBrian Paul1-54/+36
Use the _mesa_clip_readpixels() function to clip the src region against the buffer's bounds. Neatly, the resulting pixel unpack object's SkipPixels/SkipRows fields can be used to determine the position of the region in the destination texture. Fixes crash in progs/samples/copy.c and probably other cases.
2010-03-17mesa: rename params in prototype to match implementationBrian Paul1-1/+1
2010-03-17glapi: fix assorted warningsBrian Paul3-7/+10
And replace some instances of GLuint with unsigned int to avoid pulling in GL/gl.h
2010-03-17swrast: remove unused compute_coveragei() functionBrian Paul1-82/+0
2010-03-17st/mesa: Fix build breakage.Corbin Simpson1-1/+1
Nearly certain this is what was intended; it compiles, but I'm not sure this path is ever hit in my tests.
2010-03-17Merge branch '7.8' into masterPauli Nieminen10-40/+25
Conflicts: Makefile src/mesa/main/version.h
2010-03-16cell: build identity driver tooBrian Paul1-1/+1
2010-03-16cell: add missing semicolonBrian Paul1-1/+1
2010-03-16nv50: support more formats in surface_copy,fillChristoph Bumiller1-1/+30
Fixes corrupted fonts in bzFlag, where we've been silently failing to copy I8 mipmaps to a new miptree. Print an error message on unsupported format now, since we can't return failure.
2010-03-16i965: Fix readpixels from ReadBuffer != DrawBuffer.Eric Anholt1-8/+8
Fixes piglit fbo-readdrawpix.
2010-03-16i965: Fix inversion for glCopyPixels to/from FBOs.Eric Anholt4-13/+20
fixes piglit fbo-copypix.
2010-03-16intel: Remove more code for x8z24 visuals, since we only do s8z24.Eric Anholt1-12/+7
2010-03-16Revert "i965: Do VS SGT, SLT, and friends using CMP, SEL instead of CMP, ↵Eric Anholt1-2/+3
MOV, MOV." This reverts commit 8ef3b1834a896927bdd4f2aea552cdb732849da9. Fixes piglit glsl-vs-if.
2010-03-16Revert "i965: Do FS SLT, SGT, and friends using CMP, SEL instead of CMP, ↵Eric Anholt1-2/+5
MOV, MOV." This reverts commit 46450c1f3f93bf4dc96696fc7e0f0eb808d9c08a. I was wrong about null reg behavior -- it reads undefined, not 0. And they're not kidding.
2010-03-16meta: Fix up restoration of state if _mesa_map_pbo_source() fails.Eric Anholt1-1/+3
2010-03-16meta: Properly refcount our saved programs and texobjs.Eric Anholt1-2/+7
Found while debugging bug #24119.
2010-03-16gallium: add target-helpers/wrap_screen.c to C_SOURCESBrian Paul1-2/+3
Was commented out before.
2010-03-16i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT.Eric Anholt1-2/+4
Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173. (cherry picked from commit a81836ee2fe5092d695b717addf8cec91f569777)