summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* mesa: remove driver hooks for GetFloat/Integer/Doublev, etcBrian Paul2010-05-071-8/+0
| | | | | Once upon a time some drivers hooked into these for GL_HP_occlusion_test and GL_OES_read_format. They're not being used anymore so get rid of them.
* glapi: Move to src/mapi/.Chia-I Wu2010-05-075-4/+9
| | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* i965: When an RB gets a new region, clear the old from the state cache.Eric Anholt2010-05-044-6/+16
| | | | | | | | 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.
* intel: Don't tile textures so small that size is blown up by over 2x.Eric Anholt2010-05-041-4/+3
| | | | | Noted on the mailing list for an app that puts each glyph for its text into a separate texture.
* osmesa: remove unused varBrian Paul2010-05-041-1/+0
|
* osmesa: fix OSMesa for CHAN_BITS=32Brian Paul2010-05-041-7/+30
| | | | | | CHAN_BITS=16 still broken. NOTE: this is a candidate for back-porting to the 7.8 stable branch.
* intel: Update renderbuffers unconditionally in intelSetTexBuffer2()Kristian Høgsberg2010-05-041-2/+1
|
* intel: Enable GL_EXT_framebuffer_object for gles2Kristian Høgsberg2010-05-041-0/+1
|
* driswrast: Fix more context creation breakageKristian Høgsberg2010-05-031-1/+2
| | | | Pointed out by Colin Harrison.
* nouveau: fix nouveau_create_context declerationDave Airlie2010-05-031-1/+2
|
* swrast: Correct include for mtypes.hJakob Bornecrantz2010-05-031-1/+1
|
* Update drisw state tracker to use new API aware context createXavier Chantry2010-05-022-2/+6
| | | | | | | | | 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 <[email protected]> Signed-off-by: Xavier Chantry <[email protected]>
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-0240-46/+253
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * intel: Only register ES2 extensions for ES2 contextsKristian Høgsberg2010-04-287-2/+108
| |
| * configure.ac: Add options to enable GLES1/2 API supportKristian Høgsberg2010-04-281-0/+1
| |
| * intel: Advertise GLES1/2 for i915+ when enabledKristian Høgsberg2010-04-281-0/+12
| |
| * dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-288-13/+22
| |
| * dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-2826-31/+111
| |
* | i965: Reject shaders with uninlined function calls instead of hanging.Eric Anholt2010-04-291-1/+33
| | | | | | | | | | | | 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.
* | i965: Fix cube map layouts on Ironlake.Eric Anholt2010-04-294-68/+24
| | | | | | | | | | | | | | | | | | 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.
* | i965: Implement VS MAX in a more obvious way.Eric Anholt2010-04-291-3/+3
| | | | | | | | | | This should be functionally equivalent, with the possible exception of NaN handling.
* | i965: Use immediate float operands for some VS instructions.Eric Anholt2010-04-291-0/+86
| | | | | | | | | | We could use this to reduce constant register pressure, but for now it makes the resulting program assembly much more readable.
* | Disable scissor when begining meta operationsPierre Willenbrock2010-04-271-0/+1
| | | | | | | | Signed-off-by: Eric Anholt <[email protected]>
* | Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targetsPierre Willenbrock2010-04-271-4/+8
| | | | | | | | Signed-off-by: Eric Anholt <[email protected]>
* | Fill the padding between entrys in the sampler keyPierre Willenbrock2010-04-271-1/+7
| | | | | | | | | | | | This struct is used to generate a hash, ignoring the entry boundaries. Signed-off-by: Eric Anholt <[email protected]>
* | i915: Add debugging for just prorgam compile under INTEL_DEBUG=wmEric Anholt2010-04-271-0/+11
| |
* | i915: Provide counts in the error messages for program limits.Eric Anholt2010-04-272-10/+19
| |
* | radeon: fix warningsMarek Olšák2010-04-281-1/+3
| |
* | dri_util: Assume error checking is done properly in glXMakeCurrentJakob Bornecrantz2010-04-271-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | r600: add support for more rendering formatsAlex Deucher2010-04-264-16/+295
| |
* | r600: avoid setting invalid bit on r7xx for blitsAlex Deucher2010-04-261-0/+4
| |
* | r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas2010-04-262-2/+29
| | | | | | | | | | | | | | | | 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
* | r600: adjust point sprites after 911fa4a4a1Andre Maasikas2010-04-261-10/+11
| | | | | | | | | | there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
* | radeon: Remove NULL check of bo_legacy->tobj.Vinson Lee2010-04-241-2/+1
| | | | | | | | | | | | 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.
* | dri: Remove unnecessary header.Vinson Lee2010-04-241-1/+0
| |
* | Merge remote branch 'origin/7.8'Jerome Glisse2010-04-231-1/+4
|\ \
| * | r600: don't enable depth test if there is no depth bufferJerome Glisse2010-04-231-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | If there is no depth buffer bound to current context don't enable depth test. GL states that if depth test is enabled without depth buffer it's as if depth buffer always pass. Signed-off-by: Jerome Glisse <[email protected]>
* | | Merge branch '7.8'Michel Dänzer2010-04-231-0/+2
|\| |
| * | radeon: 9800 SE has only one quadpipeTormod Volden2010-04-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <[email protected]>
* | | i965: Fix assertion for surface tile offset usage on Ironlake.Eric Anholt2010-04-221-1/+1
| | | | | | | | | | | | Fixes assertion failure in fbo-generatemipmap-npot.
* | | i965: Fix scissoring when width or height is 0.Eric Anholt2010-04-221-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | We would run into trouble due to the hardware using inclusive numbers and the subtraction to handle that producing negative (meaning large positive) coordinates. Bug #27643.
* | | DRI2/GLX: check for vblank_mode in DRI2 GLX codeJesse Barnes2010-04-221-0/+11
| | | | | | | | | | | | | | | Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control.
* | | DRI2: add config query extensionJesse Barnes2010-04-226-1/+55
| | | | | | | | | | | | | | | Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
* | | Merge branch '7.8'Brian Paul2010-04-221-7/+8
|\| | | |/ |/| | | | | | | Conflicts: src/mesa/state_tracker/st_format.c
| * r300: fix vertex unit setupAlex Deucher2010-04-221-7/+8
| | | | | | | | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
* | radeon: fix warningMarek Olšák2010-04-211-1/+1
| |
* | intel: Add Sandybridge mobile chipset idZhenyu Wang2010-04-211-1/+3
| | | | | | | | Signed-off-by: Zhenyu Wang <[email protected]>
* | intel: Clean up chipset name and gen num for IronlakeZhenyu Wang2010-04-2124-148/+146
| | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
* | i915: Map sampler indices to texture units correctly for fragment shaders.Eric Anholt2010-04-201-1/+3
| | | | | | | | | | | | | | 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.
* | i915: Add missing break; after handling the stub NOISE instructions.Eric Anholt2010-04-201-0/+1
| | | | | | | | Bug #27348