summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell2010-03-1695-1072/+3970
|\ | | | | | | | | | | | | This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
| * i965g: Fix use of an uninitialized variable.Chia-I Wu2010-03-161-1/+1
| |
| * Merge remote branch 'origin/gallium-st-api'Chia-I Wu2010-03-1638-798/+2807
| |\
| | * st/mesa: Update the comments in st_manager.c.Chia-I Wu2010-03-151-4/+7
| | |
| | * st/glx: Fix glXCopySubBufferMESA.Chia-I Wu2010-03-141-1/+1
| | | | | | | | | | | | Honor the (x, y) and (width, height) pairs.
| | * st/glx: Sync the back buffer to the front buffer.Chia-I Wu2010-03-141-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consider this rendering sequence * render to the back buffer * swap buffers * read from the front buffer The front buffer is expected to have the contents of the back buffer.
| | * st/glx: Add support for GLX_MESA_copy_sub_buffer.Chia-I Wu2010-03-144-6/+53
| | | | | | | | | | | | | | | | | | Create a per-display pipe_context as needed to copy the contents between framebuffer attachments. This allows us to support GLX_MESA_copy_sub_buffer.
| | * st/glx: Add xmesa_display to hold per-display variables.Chia-I Wu2010-03-142-58/+73
| | | | | | | | | | | | | | | | | | This basically adds a static xmesa_display to collect per-display static variables in xm_api.c. Multiple display support is still missing, but this is a step forward.
| | * st/mesa: Fix handling of FBO.Chia-I Wu2010-03-141-16/+24
| | | | | | | | | | | | | | | FBOs are created by st_new_framebuffer and cannot be casted to st_framebuffer.
| | * st/mesa: Validate the state in st_readpixels.Chia-I Wu2010-03-131-0/+3
| | | | | | | | | | | | | | | | | | | | | The front renderbuffer of a framebuffer is usually added as needed when glReadBuffer(GL_FRONT) is called. When the call is followed by glReadPixels, we should validate the state before reading from the renderbuffer.
| | * st/glx: Fix framebuffer validation.Chia-I Wu2010-03-131-24/+29
| | | | | | | | | | | | | | | | | | | | | When xmesa_st_framebuffer_validate was called twice with different sets of attachments, the second call was ignored. Add a texture_mask to remember which textures have been requested to make sure the missing ones get created.
| | * st/glx: Correctly set buffer_mask of a visual.Chia-I Wu2010-03-131-3/+3
| | | | | | | | | | | | Stupid typos again..
| | * st/mesa: Set revalidate in st_framebuffer_update_attachments.Chia-I Wu2010-03-131-1/+2
| | | | | | | | | | | | | | | | | | There are two conditions that a validation is required. One is when the the framebuffer becomes invalid. The other is when we request for textures that we did not request before.
| | * st/glx: Make xmesa_create_st_api a callback of xm_driver.Chia-I Wu2010-03-135-20/+11
| | | | | | | | | | | | | | | Instead of guessing the API in st/glx, let the target decide how to create st_api.
| | * st/egl: Fix eglCopyBuffers.Chia-I Wu2010-03-132-13/+22
| | | | | | | | | | | | | | | Use a (real) pipe context to copy between pipe surfaces. Fix a NULL dereference of the temporary native surface created for copying.
| | * st/glx: Fix leaks in xmesa_st_framebuffer.Chia-I Wu2010-03-131-0/+6
| | | | | | | | | | | | | | | The textures and surface of a framebuffer should be unreferenced when the framebuffer is destroyed.
| | * st/glx: Add xm_st.c to SConscript.Chia-I Wu2010-03-121-0/+1
| | |
| | * st/mesa: Check the format before adding depth/stencil buffers.Chia-I Wu2010-03-121-3/+9
| | | | | | | | | | | | | | | The format might have depth bits, stencil bits, or both. Add the renderbuffers as needed.
| | * st/glx: Return a better format in choose_depth_stencil_format.Chia-I Wu2010-03-121-13/+9
| | | | | | | | | | | | | | | Return a better format instead of an exact format in choose_depth_stencil_format. Also, prefer formats with stencil bits.
| | * st/glx: Fix an infinite recursion in flush_front.Chia-I Wu2010-03-121-1/+1
| | | | | | | | | | | | It was a stupid typo by me when I refactored the code.
| | * st/glx: Use st_api.h instead of st_public.h.Chia-I Wu2010-03-126-165/+470
| | |
| | * st/egl: Use st_api.h instead of st_public.h.Chia-I Wu2010-03-126-576/+474
| | | | | | | | | | | | | | | Switch from st_public.h to st_api.h. The latter has intrinsic multiple APIs support and allows various EGLImage extensions to be supported.
| | * winsys/xlib, st/es: Advertise st_api.h support.Chia-I Wu2010-03-124-2/+19
| | | | | | | | | | | | | | | This is done by defining one of st_module_OpenGL_ES1, st_module_OpenGL_ES2, and st_module_OpenGL.
| | * st/mesa: Implement st_api.h.Chia-I Wu2010-03-1211-11/+861
| | | | | | | | | | | | | | | | | | | | | | | | There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before. ST_TEXTURE_2D is both defined by st_public.h and st_api.h. Reorder the headers in st/dri to avoid conflicts.
| | * st/vega: Implement st_api.h.Chia-I Wu2010-03-127-4/+427
| | | | | | | | | | | | | | | There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before.
| | * gallium: Add st_api.h.Chia-I Wu2010-03-121-0/+407
| | | | | | | | | | | | | | | This is a new interface to be implemented by st/mesa, st/vesa, and the window system APIs such as EGL or GLX.
| * | nv50: fix texturing from >=4GiB markBen Skeggs2010-03-161-1/+2
| | |
| * | llvmpipe: Fix rebase typoJakob Bornecrantz2010-03-161-4/+0
| | |
| * | winsys/sw: Add a software winsys layered on a pipeJakob Bornecrantz2010-03-1618-10/+685
| | |
| * | i965g: Fix after context transfersJakob Bornecrantz2010-03-161-0/+1
| | |
| * | gallivm: checkpoint: stencil test codeBrian Paul2010-03-151-1/+105
| | |
| * | gallivm/llvmpipe: rename some constant building functionsBrian Paul2010-03-1514-94/+92
| | |
| * | gallivm: fix up some #includesBrian Paul2010-03-152-2/+2
| | |
| * | gallivm/llvmpipe: rename os_llvm.h to lp_bld.hBrian Paul2010-03-1524-27/+27
| | | | | | | | | | | | | | | | | | | | | The llvm wrapper wasn't really an OS thing. Use lp_bld.h for now but we eventually should rename/re-prefix all the files/functions in the gallivm/ directory.
| * | libgl-xlib: Obey GALLIUM_SOFTPIPE define.José Fonseca2010-03-151-0/+2
| | |
| * | gallium: fix frontbuffer rendering with r300gDave Airlie2010-03-161-1/+1
| | | | | | | | | | | | | | | | | | No idea if this is the correct fix, but it makes it work again at least. Signed-off-by: Dave Airlie <[email protected]>
| * | llvmpipe: updated status in README fileBrian Paul2010-03-151-6/+13
| | |
| * | gallivm: fix typo/bug in lp_build_sgn()Brian Paul2010-03-151-1/+1
| | | | | | | | | | | | | | | We were never returning -1 as a result. This fixes some inverted/flipped faces with cube mapping.
| * | gallivm: add min_lod==max_lod special-case code in lp_build_lod_selector()Brian Paul2010-03-151-72/+83
| | | | | | | | | | | | | | | | | | When min_lod==max_lod we don't need to go through all the work of computing the lod from partial derivatives. This is hit by the mipmap generation utility code.
| * | gallivm: asst clean-ups, comments, etc.Brian Paul2010-03-151-54/+60
| | |
| * | gallivm: implement minification/magnification selectionBrian Paul2010-03-151-51/+137
| | | | | | | | | | | | | | | | | | | | | Use the LOD value to determine whether to use the minification vs. magnification filter. All mipmap sampling modes work now.
| * | gallivm: fix incorrect clamp in lp_build_linear_mip_levels()Brian Paul2010-03-151-1/+1
| | |
| * | gallivm: fix incorrect floor(), itrunc()Brian Paul2010-03-151-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | LLVMBuildFPTrunc() should be used for double->float conversion, not float->int conversion. There should be a better way to compute floor(), ceil(), etc that doesn't involve float->int->float conversion.
| * | nv40: remove leftover nv40_transfer.c from unification into nvfxLuca Barbieri2010-03-151-181/+0
| | |
* | | cso: Do not hold references to bound textures.Keith Whitwell2010-03-151-22/+8
| | | | | | | | | | | | Sampler views already hold references to those.
* | | st/mesa: Fix a call to st_get_stobj_sampler_view().Michal Krol2010-03-151-1/+1
| | |
* | | st/mesa: Pass in correct sampler view object to blitter.Michal Krol2010-03-151-1/+1
| | |
* | | util: Fix nil pointer reference.Michal Krol2010-03-151-5/+5
| | |
* | | gallium: util_blit_pixels() takes source sampler view as argument.Michal Krol2010-03-154-11/+36
| | |
* | | st/mesa: Cache FBO texture's sampler view object.Michal Krol2010-03-154-0/+31
| | |