summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2010-05-11intel: Drop viewport hack when we canKristian Høgsberg
2010-05-10intel: Also flush front buffer in glFinish()Kristian Høgsberg
2010-05-10i915: Drop intelFlush().Vinson Lee
This was missed in commit c4775a27e3aaa2006b98f225387499b79bc609ef. Fixes i915 build.
2010-05-10intel: Drop intelFlush()Kristian Høgsberg
Now that intel_flush() deosn't use the needs_mi_flush argument, we can finally drop one of the two flush functions.
2010-05-10intel: Only flush fake front buffer on API level glFlush()Kristian Høgsberg
Without this patch, any old intel_flush() call will cause a round trip to the server and do a copy from fake to real front. We only actually guarantee that frontbuffer results show up when glFlush() ia called, so move the flushing to intel_glFlush(). We also need to flush fake to front before getting new buffers, but we just handle that manually.
2010-05-10intel: Don't mark front buffer dirty if we're only readingKristian Høgsberg
When we call intel_prepare_render() from intelReadPixels(), we'll mark the front buffer dirty. That's silly, since we're only reading from it and marking it dirty will cause us to copy from fake front to front eventually. Just clear the dirty flag after doing the read.
2010-05-10intel: Mark frontbuffer dirty in intel_prepare_render()Kristian Høgsberg
Now that we have intel_prepare_render() in place, we can use it to mark the front buffer dirty if we're rendering to the front buffer once we get there.
2010-05-08r300g: respect compare mode regardless of sampler typeMarek Olšák
2010-05-08r300/compiler: fake equal/notequal for shadow samplersMarek Olšák
This is actually better than a real implementation, which would be useless due to inaccuracy (I know because I've tried to implement it).
2010-05-08r300/compiler: use perspective division only for TXP in shadow samplersMarek Olšák
2010-05-08r300/compiler: make shadow sampler codegen more readable, add commentsMarek Olšák
2010-05-08r300/compiler: shorten RC_*SWIZZLE* expressionsMarek Olšák
2010-05-08r300/compiler: generalize depth texture mode to support arbitrary swizzlesMarek Olšák
2010-05-08r300/compiler: fix LIT instruction case 0^0 = 1Marek Olšák
2010-05-07glapi: Move to src/mapi/.Chia-I Wu
Move glapi to src/mapi/{glapi,es1api,es2api}.
2010-05-04i965: When an RB gets a new region, clear the old from the state cache.Eric Anholt
This prevents memory usage explosion in blender due to the state cache hanging on to old fake frontbuffer regions. Sigh at blender still using frontbuffer rendering. Bug #24119.
2010-05-04intel: Don't tile textures so small that size is blown up by over 2x.Eric Anholt
Noted on the mailing list for an app that puts each glyph for its text into a separate texture.
2010-05-04intel: Update renderbuffers unconditionally in intelSetTexBuffer2()Kristian Høgsberg
2010-05-04intel: Enable GL_EXT_framebuffer_object for gles2Kristian Høgsberg
2010-05-03driswrast: Fix more context creation breakageKristian Høgsberg
Pointed out by Colin Harrison.
2010-05-03nouveau: fix nouveau_create_context declerationDave Airlie
2010-05-03swrast: Correct include for mtypes.hJakob Bornecrantz
2010-05-02Update drisw state tracker to use new API aware context createXavier Chantry
Even though swrast defines its own __DriverAPIRec it still shares the driCreateNewContext() implementation from dri_util.c. So the CreateContext prototypes have to match in the two __DriverAPIRecs. Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
2010-05-02Merge branch 'gles2-2'Kristian Høgsberg
Conflicts: src/mesa/drivers/dri/common/dri_util.h
2010-04-28intel: Only register ES2 extensions for ES2 contextsKristian Høgsberg
2010-04-28configure.ac: Add options to enable GLES1/2 API supportKristian Høgsberg
2010-04-28intel: Advertise GLES1/2 for i915+ when enabledKristian Høgsberg
2010-04-28dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg
2010-04-28dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg
2010-04-21radeon: fix warningMarek Olšák
2010-04-21intel: Add Sandybridge mobile chipset idZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-21intel: Clean up chipset name and gen num for IronlakeZhenyu Wang
Rename old IGDNG to Ironlake, and set 'gen' number for Ironlake as 5, so tracking the features with generation num instead of special is_ironlake flag. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-29i965: Reject shaders with uninlined function calls instead of hanging.Eric Anholt
Most of the failure from using uninlined function calls ends up being just bad rendering, but nested function calls in the VS currently hang the GPU, so reject them and explain why.
2010-04-29i965: Fix cube map layouts on Ironlake.Eric Anholt
We were doubling up the offsets for the mipmap levels for CPU access. Instead of reimplementing i945_miptree_layout_2d with 6 cube images separated by qpitch, share that function and provide the level offsets later. Fixes piglit cubemap and fbo-cubemap.
2010-04-29i965: Implement VS MAX in a more obvious way.Eric Anholt
This should be functionally equivalent, with the possible exception of NaN handling.
2010-04-29i965: Use immediate float operands for some VS instructions.Eric Anholt
We could use this to reduce constant register pressure, but for now it makes the resulting program assembly much more readable.
2010-04-20i915: Map sampler indices to texture units correctly for fragment shaders.Eric Anholt
Fixes hang with "gst-launch-0.10 videotestsrc ! video/x-raw-rgb ! glupload ! gleffects effect=heat ! glimagesink" which uses 2 samplers pointing at GL_TEXTURE1 and GL_TEXTURE2, and piglit glsl-fs-sampler-numbering.
2010-04-20i915: Add missing break; after handling the stub NOISE instructions.Eric Anholt
Bug #27348
2010-04-27Fill the padding between entrys in the sampler keyPierre Willenbrock
This struct is used to generate a hash, ignoring the entry boundaries. Signed-off-by: Eric Anholt <eric@anholt.net>
2010-04-27i915: Add debugging for just prorgam compile under INTEL_DEBUG=wmEric Anholt
2010-04-27i915: Provide counts in the error messages for program limits.Eric Anholt
2010-04-28radeon: fix warningsMarek Olšák
2010-04-27dri_util: Assume error checking is done properly in glXMakeCurrentJakob Bornecrantz
In short what the code did before: __DRIscreen *psp = NULL; if (pcp) psp = pcp->psb; assert(psp); if (psp->stuff) other_stuff(); return psb->even_more(pcp); Remove all that stupid checking which still segfaults/asserts later on and just do what we do in driUnbindContext. Also limited testing show libGL never call driUnbindContext or driBindContext with cPriv == NULL.
2010-04-26r600: add support for more rendering formatsAlex Deucher
2010-04-26r600: avoid setting invalid bit on r7xx for blitsAlex Deucher
2010-04-26r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas
doc additions: shader export ARRAY_BASE for EXPORT_POS: 60 is position, 61 is misc vec(VS_OUT_MISC_VEC - used here), 62, 63 are clip distance vectors(VS_OUT_CCDIST#) sorry for formating - there seem to be so many different styles in r600
2010-04-26r600: adjust point sprites after 911fa4a4a1Andre Maasikas
there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
2010-04-24radeon: Remove NULL check of bo_legacy->tobj.Vinson Lee
bo_legacy->tobj cannot be NULL before the call to driUpdateTextureLRU. There is a NULL check earlier in the routine, and if bo_legacy->tobj is NULL, memory is allocated.
2010-04-24dri: Remove unnecessary header.Vinson Lee
2010-04-23Merge remote branch 'origin/7.8'Jerome Glisse