summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)AuthorFilesLines
2010-05-11mesa/st: Remove internal flushes from Mesa state tracker.José Fonseca13-248/+29
Now that transfers are context operations it is the driver's responsibility to ensure that transfers happen in order with all other context operations, so flushes and finishes inside Mesa should be no longer necessary. The attached patch implements that. This should proportionate significant improvements for hardware drivers which are able to stream transfers in the command buffers. You can use the softpipe/llvmpipe_flush_resource() as reference implementation of the worst case scenario, where the driver is not able to streamline transfers. But the expectation is that driver implementators will want to avoid flushing as much as possible.
2010-05-10mesa: s/uint/GLuint/ in _mesa_BindTransformFeedback prototype.Vinson Lee2-2/+2
From http://www.opengl.org/registry/api/glext.h GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); Fixes MinGW build.
2010-05-10mesa: more transform feedback infrastructureBrian Paul14-34/+736
Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
2010-05-10intel: Also flush front buffer in glFinish()Kristian Høgsberg1-0/+1
2010-05-10st/mesa: rename vars, added commentsBrian Paul1-21/+55
2010-05-10i915: Drop intelFlush().Vinson Lee1-1/+1
This was missed in commit c4775a27e3aaa2006b98f225387499b79bc609ef. Fixes i915 build.
2010-05-10intel: Drop intelFlush()Kristian Høgsberg12-26/+19
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øgsberg1-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.
2010-05-10intel: Don't mark front buffer dirty if we're only readingKristian Høgsberg1-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.
2010-05-10intel: Mark frontbuffer dirty in intel_prepare_render()Kristian Høgsberg1-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.
2010-05-10st/mesa: only set prevInstWrotePsiz if translating a vertex programBrian Paul1-1/+1
2010-05-10st/mesa: additional assertions in dst_register()Brian Paul1-0/+10
2010-05-09mesa: Update comments in get_gen_es.py.Vinson Lee1-2/+2
2010-05-09swrast: fix 16-bit/channel renderingBrian Paul1-1/+1
NOTE: This is a candidate for the 7.8 stable branch
2010-05-09osmesa: use unsigned 16-bit/channel formatBrian Paul1-1/+1
2010-05-09mesa: fix typos, comment in signed 16-bit tex fetch codeBrian Paul1-4/+4
2010-05-09mesa: added unsigned 16-bit/channel tex formatBrian Paul6-10/+127
2010-05-09mesa: added comments for signed 16-bit formatsBrian Paul1-4/+4
2010-05-09mesa: use GL_RGBA16_SNORM for accum bufferBrian Paul2-1/+3
2010-05-09mesa: added texstore function for signed 16-bit formatsBrian Paul1-4/+74
2010-05-09mesa: added UNCLAMPED_FLOAT_TO_SHORT macroBrian Paul1-0/+3
2010-05-09mesa: add missing cases for signed 16-bit formatsBrian Paul1-0/+13
2010-05-09st/mesa: Ignore internal_format in st_context_teximage.Chia-I Wu1-1/+10
When internal_format and tex->format differ, st_finailize_texture will surface_copy between surfaces with different formats. This commit works around the issue by ignoring internal_format. A sane fix is needed here.
2010-05-08r300g: respect compare mode regardless of sampler typeMarek Olšák2-1/+8
2010-05-08r300/compiler: fake equal/notequal for shadow samplersMarek Olšák1-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).
2010-05-08r300/compiler: use perspective division only for TXP in shadow samplersMarek Olšák1-23/+36
2010-05-08r300/compiler: make shadow sampler codegen more readable, add commentsMarek Olšák1-16/+28
2010-05-08r300/compiler: shorten RC_*SWIZZLE* expressionsMarek Olšák4-4/+5
2010-05-08r300/compiler: generalize depth texture mode to support arbitrary swizzlesMarek Olšák3-11/+7
2010-05-08r300/compiler: fix LIT instruction case 0^0 = 1Marek Olšák1-0/+24
2010-05-08mapi: Add install rules for OpenGL ES.Chia-I Wu3-70/+0
Move the install rules for OpenGL ES from src/mesa/Makefile to mapi.
2010-05-08Define OpenGL ES and OpenVG library names.Chia-I Wu1-2/+2
Define <API>_LIB, <API>_LIB_NAME, <API>_LIB_GLOB, and some other variables in the configs. Fix a typo in glesv1_cm.pc.in where an inexistent variable is used.
2010-05-07mesa: remove driver hooks for GetFloat/Integer/Doublev, etcBrian Paul5-54/+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.
2010-05-07mesa: fpclassify dummy definition is not needed on cygwinJon TURNEY1-1/+1
fpclassify is provided by math.h Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-07glapi: Move to src/mapi/.Chia-I Wu92-82823/+28
Move glapi to src/mapi/{glapi,es1api,es2api}.
2010-05-07glapi: Move assembly dispatchers back into glapi/.Chia-I Wu8-20/+20
2010-05-06st/mesa: fix compressed mipmap generation for small image sizesBrian Paul1-2/+24
When the mipmap level is smaller than the compression block width, height we need to fill in / replicate pixels so that we don't get garbage values. Fixes piglit gen-compressed-teximage test.
2010-05-06st/mesa: fix bug in compute_num_levels()Brian Paul1-5/+7
Fix more fall-out from the "ignore BaseLevel" change. This may help with fd.o bug 27991.
2010-05-06st/mesa: when copying mipmap levels between textures, start at BaseLevelBrian Paul1-1/+1
Saves some work and avoids potential issue with inconsistant mipmap level sizes. As long as the mipmap levels from BaseLevel to MaxLevel are consistant, we don't care about the other levels.
2010-05-06es: IgnoresJakob Bornecrantz1-0/+4
2010-05-05st/mesa: fix per-vertex point sizeMarek Olšák1-1/+1
This fixes FDO bug #27343.
2010-05-05st/mesa: Remove unnecessary headers.Vinson Lee1-6/+0
2010-05-05mesa: fpclassify dummy definition not needed on Mac OS X.Vinson Lee1-0/+4
2010-05-04i965: When an RB gets a new region, clear the old from the state cache.Eric Anholt4-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.
2010-05-04intel: Don't tile textures so small that size is blown up by over 2x.Eric Anholt1-4/+3
Noted on the mailing list for an app that puts each glyph for its text into a separate texture.
2010-05-04osmesa: remove unused varBrian Paul1-1/+0
2010-05-04mesa: remove some color index codeBrian Paul1-19/+0
2010-05-04mesa: remove unused renderbuffer adaptor codeBrian Paul4-607/+0
2010-05-04mesa: remove renderbuffer adaptor callsBrian Paul1-24/+0
Was only used for OSMesa but no longer needed.
2010-05-04osmesa: fix OSMesa for CHAN_BITS=32Brian Paul1-7/+30
CHAN_BITS=16 still broken. NOTE: this is a candidate for back-porting to the 7.8 stable branch.