Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | intel: Don't update renderbuffers in intelSetTexBuffer2 if we have invalidate | Kristian Høgsberg | 2010-05-11 | 1 | -1/+3 |
| | |||||
* | intel: Drop viewport hack when we can | Kristian Høgsberg | 2010-05-11 | 7 | -10/+15 |
| | |||||
* | mesa: more transform feedback infrastructure | Brian Paul | 2010-05-10 | 1 | -0/+7 |
| | | | | | Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects. | ||||
* | intel: Also flush front buffer in glFinish() | Kristian Høgsberg | 2010-05-10 | 1 | -0/+1 |
| | |||||
* | i915: Drop intelFlush(). | Vinson Lee | 2010-05-10 | 1 | -1/+1 |
| | | | | | This was missed in commit c4775a27e3aaa2006b98f225387499b79bc609ef. Fixes i915 build. | ||||
* | intel: Drop intelFlush() | Kristian Høgsberg | 2010-05-10 | 12 | -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øgsberg | 2010-05-10 | 1 | -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 reading | Kristian Høgsberg | 2010-05-10 | 1 | -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øgsberg | 2010-05-10 | 1 | -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 format | Brian Paul | 2010-05-09 | 1 | -1/+1 |
| | |||||
* | r300g: respect compare mode regardless of sampler type | Marek Olšák | 2010-05-08 | 2 | -1/+8 |
| | |||||
* | r300/compiler: fake equal/notequal for shadow samplers | Marek Olšák | 2010-05-08 | 1 | -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 samplers | Marek Olšák | 2010-05-08 | 1 | -23/+36 |
| | |||||
* | r300/compiler: make shadow sampler codegen more readable, add comments | Marek Olšák | 2010-05-08 | 1 | -16/+28 |
| | |||||
* | r300/compiler: shorten RC_*SWIZZLE* expressions | Marek Olšák | 2010-05-08 | 4 | -4/+5 |
| | |||||
* | r300/compiler: generalize depth texture mode to support arbitrary swizzles | Marek Olšák | 2010-05-08 | 3 | -11/+7 |
| | |||||
* | r300/compiler: fix LIT instruction case 0^0 = 1 | Marek Olšák | 2010-05-08 | 1 | -0/+24 |
| | |||||
* | mesa: remove driver hooks for GetFloat/Integer/Doublev, etc | Brian Paul | 2010-05-07 | 1 | -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 Wu | 2010-05-07 | 5 | -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 Anholt | 2010-05-04 | 4 | -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 Anholt | 2010-05-04 | 1 | -4/+3 |
| | | | | | Noted on the mailing list for an app that puts each glyph for its text into a separate texture. | ||||
* | osmesa: remove unused var | Brian Paul | 2010-05-04 | 1 | -1/+0 |
| | |||||
* | osmesa: fix OSMesa for CHAN_BITS=32 | Brian Paul | 2010-05-04 | 1 | -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øgsberg | 2010-05-04 | 1 | -2/+1 |
| | |||||
* | intel: Enable GL_EXT_framebuffer_object for gles2 | Kristian Høgsberg | 2010-05-04 | 1 | -0/+1 |
| | |||||
* | driswrast: Fix more context creation breakage | Kristian Høgsberg | 2010-05-03 | 1 | -1/+2 |
| | | | | Pointed out by Colin Harrison. | ||||
* | nouveau: fix nouveau_create_context decleration | Dave Airlie | 2010-05-03 | 1 | -1/+2 |
| | |||||
* | swrast: Correct include for mtypes.h | Jakob Bornecrantz | 2010-05-03 | 1 | -1/+1 |
| | |||||
* | Update drisw state tracker to use new API aware context create | Xavier Chantry | 2010-05-02 | 2 | -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øgsberg | 2010-05-02 | 40 | -46/+253 |
|\ | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h | ||||
| * | intel: Only register ES2 extensions for ES2 contexts | Kristian Høgsberg | 2010-04-28 | 7 | -2/+108 |
| | | |||||
| * | configure.ac: Add options to enable GLES1/2 API support | Kristian Høgsberg | 2010-04-28 | 1 | -0/+1 |
| | | |||||
| * | intel: Advertise GLES1/2 for i915+ when enabled | Kristian Høgsberg | 2010-04-28 | 1 | -0/+12 |
| | | |||||
| * | dri: Add DRI entrypoints to create a context for a given API | Kristian Høgsberg | 2010-04-28 | 8 | -13/+22 |
| | | |||||
| * | dri: Add DRI entrypoints to create a context for a given API | Kristian Høgsberg | 2010-04-28 | 26 | -31/+111 |
| | | |||||
* | | i965: Reject shaders with uninlined function calls instead of hanging. | Eric Anholt | 2010-04-29 | 1 | -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 Anholt | 2010-04-29 | 4 | -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 Anholt | 2010-04-29 | 1 | -3/+3 |
| | | | | | | | | | | This should be functionally equivalent, with the possible exception of NaN handling. | ||||
* | | i965: Use immediate float operands for some VS instructions. | Eric Anholt | 2010-04-29 | 1 | -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 operations | Pierre Willenbrock | 2010-04-27 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: Eric Anholt <[email protected]> | ||||
* | | Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targets | Pierre Willenbrock | 2010-04-27 | 1 | -4/+8 |
| | | | | | | | | Signed-off-by: Eric Anholt <[email protected]> | ||||
* | | Fill the padding between entrys in the sampler key | Pierre Willenbrock | 2010-04-27 | 1 | -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=wm | Eric Anholt | 2010-04-27 | 1 | -0/+11 |
| | | |||||
* | | i915: Provide counts in the error messages for program limits. | Eric Anholt | 2010-04-27 | 2 | -10/+19 |
| | | |||||
* | | radeon: fix warnings | Marek Olšák | 2010-04-28 | 1 | -1/+3 |
| | | |||||
* | | dri_util: Assume error checking is done properly in glXMakeCurrent | Jakob Bornecrantz | 2010-04-27 | 1 | -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 formats | Alex Deucher | 2010-04-26 | 4 | -16/+295 |
| | | |||||
* | | r600: avoid setting invalid bit on r7xx for blits | Alex Deucher | 2010-04-26 | 1 | -0/+4 |
| | | |||||
* | | r600: enable VERT_RESULT_PSIZ - makes point size & attenuation work | Andre Maasikas | 2010-04-26 | 2 | -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 911fa4a4a1 | Andre Maasikas | 2010-04-26 | 1 | -10/+11 |
| | | | | | | | | | | there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i] |