summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-01-05r600: support depth compare functions & shadow_ambientAndre Maasikas
2010-01-04mesa: added _mesa_[Get]TexParameterI[u]iv() functionsBrian Paul
New in GL 3.0. Primarily meant for setting int/uint-valued texture border color. Not plugged into dispatch table yet.
2010-01-04mesa: make texture BorderColor a union of float/int/uintBrian Paul
When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
2010-01-04mesa: use get_texobj() in _mesa_GetTexParameter() funcsBrian Paul
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
2010-01-04mesa: add missing _mesa_lock_texture() callBrian Paul
2010-01-04i915: Use _MaxLevel on principle in texture setup.Eric Anholt
It was OK before because we proceed to clamp the value to hardware limits, but given that other use of MaxLevel has been a trap, let's avoid it.
2010-01-04intel: Fix CopyTexImage from tiled mipmap levels > 0.Eric Anholt
Fixes piglit fbo-copyteximage.
2010-01-04i965: Fix the surface offset calculation for tiled buffers.Eric Anholt
If we ever had a non-tile-aligned tiled renderbuffer, the math was all off. Use the existing x,y coordinates instead of trying to reconstruct them from an incorrectly-calculated offset value.
2010-01-04r600: support vertex_array_bgraAndre Maasikas
Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
2010-01-04mesa/es: Improve support for GL_OES_compressed_paletted_texture.Chia-I Wu
Add error checking and fix handling of level (it should be negative). Besides, always use the palette entry format/type when calling _mesa_TexImage2D. It respects the base internal formats of the cpal formats, and is simpler and faster, except for cases where the unpack alignment needs to be changed. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Fix GL_RGB565 support in FBO.Chia-I Wu
In GL_OES_framebuffer_object and OpenGL ES 2.0, GL_RGB565 is a valid internal format. Since it is not supported by the core, map it to GL_RGB5 as a workaround. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Fix GL_OES_texture_cube_map support.Chia-I Wu
Unlike in OpenGL, GL_OES_texture_cube_map says that all coordinates are changed the same time by the token GL_TEXTURE_GEN_STR_OES, and the initial mode is GL_REFLECTION_MAP_OES. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Clean up extension string.Chia-I Wu
Add some new extensions and remove those that do not belong to OpenGL ES 2.0. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Add more exnteions to APIspec.Chia-I Wu
This commit adds definitions of GL_EXT_texture_compression_dxt1 GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_multi_draw_arrays to APIspec.xml and get_gen.py. Some of the enums are not avaiable in the header files and the defining extensions are disabled. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Add more extensions to glapi.Chia-I Wu
This commit adds definitions of GL_OES_texture_half_float_linear, GL_OES_texture_float_linear GL_OES_texture_half_float, GL_OES_texture_float GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_get_program_binary GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays to glapi. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Generate code for special functions.Chia-I Wu
es_generator.py did not generate code for special functions. They were supposed to be defined elsewhere. But as a result, parameter checking was also skipped. This commit changes the way special functions are called so that parameter checking is always performed. When there is nothing to check, the check functions becomes macros expanding to the real functions, as an optimization. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Remove unused code in es_generator.py.Chia-I Wu
Remove unused GetLoopSizeExpression. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Generate _mesa_GetFixedv.Chia-I Wu
Have get_gen.py generate _mesa_GetFixedv. The generated function does all the checkings and thus simplifies APIspec.xml a bit. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Add a sanity check to APIspec.py.Chia-I Wu
Some attributes are constant in a switch. Raise an exception if they are not. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Switch to APIspec.xml.Chia-I Wu
Update Makefile and ES generator to use APIspec.xml. Remove APIspec.txt and related files. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa/es: Add APIspec.xml and its parser.Chia-I Wu
APIspec.xml is based on APIspec.txt. The new format has less code duplications and should be easier to read. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-04mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul
Fixes warning seen with Shadowgrounds. See bug 24016.
2010-01-04mesa: Prevent possible array out-of-bounds access by _mesa_light.Vinson Lee
2010-01-04Merge branch 'gallium-conditional-rendering'Brian Paul
2010-01-04mesa: regenerated enums.c fileBrian Paul
2010-01-04glapi: comment-out TIMEOUT_IGNOREDBrian Paul
This is not really a GLenum value.
2010-01-04glsl: use varName variable in _slang_gen_assignment()Brian Paul
2010-01-04mesa: more detailed error message in extract_float_rgba()Brian Paul
2010-01-04fix overflowAlan Hourihane
2010-01-04intel: intelScreenContext() is no longer usedKristian Høgsberg
2010-01-04intel: Remove remaining dri2.enabled testsKristian Høgsberg
2010-01-04intel: Drop more cliprect bookkeepingKristian Høgsberg
2010-01-04intel: Remove struct intel_framebufferKristian Høgsberg
With the vsync fields no longer relevant and by refactoring the code to no longer use color_rb[0-1] we can just use struct gl_framebuffer directly.
2010-01-04intel: Remove client-side vblank codeKristian Høgsberg
2010-01-04intel: Drop intelWindowMoved()Kristian Høgsberg
Everything this functions does under DRI2 is also taken care of by intel_draw_buffer(), which is always called where intelWindowMoved() is called.
2010-01-04intel: Drop batchbuffer cliprect_mode trackingKristian Høgsberg
2010-01-04intel: Drop DRI1 static regionsKristian Høgsberg
2010-01-04intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region()Kristian Høgsberg
This function was using intel->depth_region, which is the static region for the DRI1 depth buffer. This code has always been broken with DRI2 but I suspect it doesn't get excersized much.
2010-01-04intel: Drop LOCK/UNLOCK_HARDWARE()Kristian Høgsberg
2010-01-04intel: Drop DRI1 SwapBuffer implementationKristian Høgsberg
2010-01-04intel: Drop DRI1 CopySubBuffer implementationKristian Høgsberg
2010-01-04intel: Drop DRI1 supportKristian Høgsberg
The DDX driver stopped supporting DRI1 so we're dropping support for that from the DRI driver too.
2010-01-04Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg
This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
2010-01-04Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg
As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
2010-01-04Check for libdrm_$chipset.pc when neededKristian Høgsberg
This adds missing pkg-config lookup for intel and moves the radeon lookup into a case...esac so it's only looked up when one or more of the radeon drivers are enabled.
2010-01-04st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.Michel Dänzer
This was already done in st_TexImage() but was missed between incremental changes to st_TexSubimage().
2010-01-04r600: support vertex_array_bgraAndre Maasikas
Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
2010-01-03r300: Use C-style comments.Vinson Lee
2010-01-03r300: Silence 'mixed declarations and code' warnings.Vinson Lee