aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* intel: Don't update renderbuffers in intelSetTexBuffer2 if we have invalidateKristian Høgsberg2010-05-111-1/+3
|
* intel: Drop viewport hack when we canKristian Høgsberg2010-05-117-10/+15
|
* mesa: more transform feedback infrastructureBrian Paul2010-05-101-0/+7
| | | | | Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
* intel: Also flush front buffer in glFinish()Kristian Høgsberg2010-05-101-0/+1
|
* i915: Drop intelFlush().Vinson Lee2010-05-101-1/+1
| | | | | This was missed in commit c4775a27e3aaa2006b98f225387499b79bc609ef. Fixes i915 build.
* intel: Drop intelFlush()Kristian Høgsberg2010-05-1012-26/+19
| | | | | Now that intel_flush() deosn't use the needs_mi_flush argument, we can finally drop one of the two flush functions.
* intel: Only flush fake front buffer on API level glFlush()Kristian Høgsberg2010-05-101-17/+29
| | | | | | | | | | 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.
* intel: Don't mark front buffer dirty if we're only readingKristian Høgsberg2010-05-101-1/+12
| | | | | | | | | 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.
* intel: Mark frontbuffer dirty in intel_prepare_render()Kristian Høgsberg2010-05-101-9/+8
| | | | | | 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.
* osmesa: use unsigned 16-bit/channel formatBrian Paul2010-05-091-1/+1
|
* r300g: respect compare mode regardless of sampler typeMarek Olšák2010-05-082-1/+8
|
* r300/compiler: fake equal/notequal for shadow samplersMarek Olšák2010-05-081-0/+7
| | | | | This is actually better than a real implementation, which would be useless due to inaccuracy (I know because I've tried to implement it).
* r300/compiler: use perspective division only for TXP in shadow samplersMarek Olšák2010-05-081-23/+36
|
* r300/compiler: make shadow sampler codegen more readable, add commentsMarek Olšák2010-05-081-16/+28
|
* r300/compiler: shorten RC_*SWIZZLE* expressionsMarek Olšák2010-05-084-4/+5
|
* r300/compiler: generalize depth texture mode to support arbitrary swizzlesMarek Olšák2010-05-083-11/+7
|
* r300/compiler: fix LIT instruction case 0^0 = 1Marek Olšák2010-05-081-0/+24
|
* 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]