aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* i965: comments, clean-ups, re-order some functionsBrian Paul2009-01-011-34/+54
|
* i965: added OPCODE_NRM3/4Brian Paul2009-01-011-0/+3
|
* i965: fix commentBrian Paul2009-01-011-1/+1
|
* i965: indentation and formatting fixesBrian Paul2009-01-011-45/+36
|
* i965: implement OPCODE_NRM3/NRM4Brian Paul2009-01-011-3/+33
|
* i965: whitespace, comment changesBrian Paul2009-01-011-26/+11
|
* intel: Share passthrough transform setup between glBitmap and glDrawPixels.Eric Anholt2008-12-315-45/+52
| | | | | | | The DrawPixels path was missing glViewport care, so blender's toolbar icons would go to the wrong places. Bug #19118.
* intel: Add support for glBitmap as metaops using GL calls.Eric Anholt2008-12-314-0/+350
| | | | | | | | | | This lets us avoid software fallbacks when clients forget to turn some state off (engine demo) or just do crazy things to test conformance (OGLC). This should probably be brought into mesa generic code so other drivers can make use of it. Bug #19016.
* intel: disable ATI_texture_env_combine3 for i830( and related device).Xiang, Haihao2008-12-302-1/+2
| | | | Thanks to Eric for pointing it out.
* dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0.Eric Anholt2008-12-291-9/+9
| | | | | | | | | | We'd come up with a negative remainder, while we were looking for the positive version of it in the loop conditional. And, since the "did we hit our target" break was disabled for the target_msc == 0 ("Just make the divisor/remainder work") path, we'd never exit. Simplify the code by just using int64_t all over instead of trying to do it in a u32 space.
* R300: missing semicolonAlex Deucher2008-12-291-1/+1
|
* intel: enable ATI_texture_env_combine3. Fixes #17707Xiang, Haihao2008-12-291-0/+1
|
* r300: remove the unknowns from the indx_buffer codeDave Airlie2008-12-282-5/+6
|
* i915: separate the fog term from the specular color term.Xiang, Haihao2008-12-241-19/+3
| | | | | | | | Previously fog parameter and specular color are packed into the same dword. Note specular color should be packed in BGRA for device, so if fog parameter and specular color all are present, fog parameter will dirty the alpha term of specular color. This fixes rendering issue when playing 'Yo Frankie' on 915/945.
* intel: Fix glBitmap clipping for DRI1.Eric Anholt2008-12-231-2/+2
|
* Remove third buffer support from Mesa.Dave Airlie2008-12-236-35/+3
| | | | This is part of the deprecated pageflipping infrastructure.
* 965 / GLSL: Use full precision for EXP instructionIan Romanick2008-12-191-1/+1
| | | | | The partial precision mode doesn't have quite enough bits of precision to pass conformance tests.
* intel: Fix glBitmap top/bottom clipping.Eric Anholt2008-12-191-40/+35
| | | | Bug #19139.
* intel: Don't forget the source bitmap size when clipping the size we draw.Eric Anholt2008-12-191-1/+3
|
* intel: Update mesa state in blit operations that want post-scissor draw bounds.Eric Anholt2008-12-192-0/+7
|
* intel: don't clip to scissor-clipped read framebuffer bounds in copypixels.Eric Anholt2008-12-191-2/+2
|
* intel: Move copyteximage source clipping out of copytexsubimage.Eric Anholt2008-12-181-48/+61
| | | | | | glCopyTexSubImage already gets the (correct) clipping for us, so it doesn't need the path. While moving the clipping out, replace the code with the mesa path to do the same job.
* i915: check WRAP_T instead of WRAP_R for cube map texture.Xiang, Haihao2008-12-181-1/+1
|
* i915: fix abort issue. (bug #19147)Xiang, Haihao2008-12-182-4/+24
|
* intel: stub out CompressedTexSubImage2D instead of segfaulting.Eric Anholt2008-12-153-0/+26
|
* i965: Update state before checking for fallbacks in brw_try_draw_prims.Eric Anholt2008-12-151-2/+2
| | | | | | This got flipped around in 7855b2aef6bd9e9c2d73260b5cd166159b2525c6. Bug #18907. Thanks to idr for pointing me at a nicer testcase than blender.
* intel: Don't steal renderbuffer from caller in intel_miptree_create_for_regionPierre Willenbrock2008-12-141-1/+1
| | | | | | | Fixes double-frees of some regions, once from the renderbuffer code and once from the miptree itself. Bug #19062
* i965: Add decode of index/vertex buffer and primitive emit.Eric Anholt2008-12-141-4/+142
|
* intel: Add batchbuffer assertions to hopefully catch future mistakes.Eric Anholt2008-12-141-2/+20
|
* Add more package metadata to the pkg-config filesDan Nicholson2008-12-142-1/+3
| | | | | | | | | | | | | The pkg-config files have been filled in more thoroughly to allow users to use mesa more effectively. By adding metadata to Requires.private, Libs.private and Cflags, we can ensure that all the libraries and headers will be found in all situations. However, the full substitutions are only done when using the configure script. This also fixes the glu pkg-config file to account for using GL or OSMesa. Fixes bug 18161.
* i965: Finish OPCODE_NOISEn instructions.Gary Wong2008-12-131-14/+437
| | | | | | Added missing OPCODE_NOISE4, and use BRW_REGISTER_TYPE_D (instead of _UD) in the initial RNDD instructions (which avoids saturating negative inputs to 0).
* intel: check for null texture. (fix #13902)Xiang, Haihao2008-12-121-2/+2
|
* i915: fallback for cube map texture.Xiang, Haihao2008-12-111-0/+7
| | | | | | | The i915 (and related graphics cores) only support TEXCOORDMODE_CLAMP and TEXCOORDMODE_CUBE when using cube map texture coordinates, so fall back to software rendering for other modes to avoid potential gpu hang issue. This fixes scorched3d issue on 945GM(see bug 14539).
* intel: Require the right amount of space in glBitmap blit acceleration.Pierre Willenbrock2008-12-081-1/+1
| | | | | This leads to problems when the batchbuffer is flushed, but the bitmap data could not fit into it.
* intel: Fall back on rendering to a texture attachment with a border.Eric Anholt2008-12-061-1/+8
| | | | Fixes a segfault in oglconform fbo.c test.
* intel: Fix crash in automatic mipmap generation for glCopyTex{Sub,}Image.Eric Anholt2008-12-061-1/+1
| | | | | | The images aren't mapped at this point, so we want the generic Mesa path for GenerateMipmapEXT that does the mapping/unmapping for us. Ideally Mesa would just call it for us.
* intel: Fix glCopyPixels blit acceleration for FBO destinations.Eric Anholt2008-12-061-48/+56
| | | | | This was another opportunity to either get clipped to screen size or not get clipped enough and draw outside of object boundaries.
* intel: Fix glBitmap blit acceleration for FBO destinations.Eric Anholt2008-12-061-33/+39
| | | | | Bug #18914. Fixes fbo_firecube hang due to drawing outside the FBO bounds. Thanks to Pierre Willenbrock for debugging the issue.
* intel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE.Eric Anholt2008-12-061-1/+3
|
* i965: Fix failure to upload new constant data when changing programs.Eric Anholt2008-12-034-10/+2
| | | | | | | | | | | | This is fallout from the ffvertex_prog.c work. It doesn't call ProgramStringNotify, so we don't set param_state, so we wouldn't track when VP parameters changed, and constants wouldn't get uploaded. Instead, remove param_state entirely and just use the real value that we want to be tracking. Fixes rendering in openarena since BRW_NEW_BATCH got disentangled from BRW_NEW_INDICES. Bug #18822.
* i965: Fix stray character that the compile whined about.Eric Anholt2008-12-031-0/+0
|
* intel: restore old vertex submit paths for i8xx hardware.Dave Airlie2008-12-026-6/+124
| | | | | | | Intel docs state that only 830/845 have VBOs, 855/865 don't. So lets just not use them on i8xx at all. This restores the old pre-vbo code and uses it on all 8xx hw.
* i965: Add a new state flag BRW_NEW_NR_SURFACES instead of CACHE_NEW_SURFACEEric Anholt2008-11-283-4/+10
| | | | | | The CACHE_NEW_SURFACE bit always gets spammed since we get many different surface BOs per state emit, but the only consumer of it wanted to just know how many surfaces were enabled.
* i965: Fix clashing enums for BRW_NEW_INDICES/VERTICES versus BATCH/DEPTH_BUFFER.Eric Anholt2008-11-281-4/+4
| | | | Fixes upload of large amounts of state for every new primitive emit.
* i965: Remove BRW_WM_LOCK dirty bit, introduced to work around lack of relocs.Eric Anholt2008-11-284-6/+1
| | | | This was causing a prepare of wm state at every primitive emit.
* i965: Add debug code for dumping how frequently different dirty bits are set.Eric Anholt2008-11-281-0/+126
|
* i915: Remove dead early z enable bit which was always on.Eric Anholt2008-11-283-66/+1
|
* i965: Reduce fast-pathiness of brw_try_draw_prims, bringing in important checks.Eric Anholt2008-11-281-51/+52
| | | | | | | Later primitives, even if they caused a full state validate, wouldn't check that there was enough space in the batchbuffer, occasionally triggering the sanity check. We also skipped the aperture space check, even if it would mean bringing in new programs and associated state.
* windows: fix visual object memleakThomas Henn2008-11-261-0/+3
|
* windows: fix _mesa_unreference_framebuffer() to pass ** type.Thomas Henn2008-11-261-1/+3
|