summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: Remove unnecessary headers.Vinson Lee2010-05-051-6/+0
|
* mesa: fpclassify dummy definition not needed on Mac OS X.Vinson Lee2010-05-051-0/+4
|
* 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
|
* mesa: remove some color index codeBrian Paul2010-05-041-19/+0
|
* mesa: remove unused renderbuffer adaptor codeBrian Paul2010-05-044-607/+0
|
* mesa: remove renderbuffer adaptor callsBrian Paul2010-05-041-24/+0
| | | | Was only used for OSMesa but no longer needed.
* 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.
* st/mesa: Fix texture-from-pixmap.Chia-I Wu2010-05-052-6/+30
| | | | | | Remember the size of the level=0 mipmap image. Do not call util_format_get_component_bits when st_context_teximage is called to release a texture image.
* mesa: Fix build of ES overlay.Chia-I Wu2010-05-053-9/+34
| | | | | | | ES overlay is built with FEATURE_ES1 or FEATURE_ES2, and is built without FEATURE_GL. Fix the build by always building OpenGL ES sources, but test for FEATURE_ES1 or FEATURE_ES2. Also, define symbols that are missing because FEATURE_GL is not defined.
* st/mesa: remove commented-out struct fieldBrian Paul2010-05-041-1/+0
|
* mesa: add a dummy definition for fpclassify() if neededBrian Paul2010-05-041-0/+10
|
* mesa: remove trailing comma in enum listBrian Paul2010-05-041-1/+1
| | | | Some compilers complain about this.
* st/mesa: need to pass srcLevel to st_texture_image_copy()Brian Paul2010-05-043-7/+6
| | | | Fixes a regression in mipmap setup.
* intel: Update renderbuffers unconditionally in intelSetTexBuffer2()Kristian Høgsberg2010-05-041-2/+1
|
* st/mesa: return success/fail from guess_and_alloc_texture()Brian Paul2010-05-041-7/+10
| | | | | | Before we looked at stObj->pt to see if we may have run out of memory, but that's not a good indicator. This fixes the spurious GL_OUT_OF_MEMORY errors that could arise before.
* st/mesa: improved st_texture_image_copy()Brian Paul2010-05-041-29/+47
| | | | | | | No longer need to search for the src mipmap level. Added assertions. Updated comments. Moved debug code into separate function.
* mesa/st: Fill in native program limits.José Fonseca2010-05-041-0/+91
| | | | | | | In the lack of more fine grained capabilities in Gallium, assume that if the pipe driver supports GLSL then native limits match Mesa software limits. (cherry picked from commit 40a90cd11234a09c2477f5c9984dd6d9fac3f52c)
* intel: Enable GL_EXT_framebuffer_object for gles2Kristian Høgsberg2010-05-041-0/+1
|
* mesa: Forgot to add .pc.in files for glesKristian Høgsberg2010-05-042-0/+24
| | | | Some day I'll grow up and remember to add new files when I commit.
* mesa: Only initialize TNL for OpenGLKristian Høgsberg2010-05-031-4/+5
|
* mesa: Only initialize save dispatch table for OpenGLKristian Høgsberg2010-05-032-14/+14
|
* mesa: increase MAX_DRAW_BUFFERS to 8Brian Paul2010-05-032-1/+4
| | | | Required for GL 3.x
* gallium: move surface utility functions into u_surface.cBrian Paul2010-05-031-0/+1
| | | | This is a better place than in u_rect.c
* st/mesa: remove dead codeBrian Paul2010-05-031-9/+0
|
* st/mesa: remove unused needFlush parameter to st_finalize_texture()Brian Paul2010-05-034-13/+7
|
* st/mesa: updated comments and fix some formatting in texture storage codeBrian Paul2010-05-031-13/+18
|
* st/mesa: rename srcImageStride -> srcRowStride and fix-up formattingBrian Paul2010-05-031-8/+8
|
* st/mesa: consolidate and clean-up texture memory allocation codeBrian Paul2010-05-031-22/+11
|
* st/mesa: updated comments for st_texture_image_map()Brian Paul2010-05-031-4/+6
|
* st/mesa: move some texture size calculation codeBrian Paul2010-05-031-10/+6
|
* st/mesa: remove old convolution-related vars and min pitch codeBrian Paul2010-05-031-15/+2
|
* st/mesa: remove unsupported convolution codeBrian Paul2010-05-031-10/+6
|
* st/mesa: updated commentBrian Paul2010-05-031-4/+5
|
* glsl: change variable declared assertion into conditionalBrian Paul2010-05-032-3/+2
| | | | | | | | | The slang_variable::declared field originated as a debug field but can be promoted for use during sematic error checking. Fixes fd.o bug 27921. NOTE: this is a candidate for back-porting to the 7.8 stable branch.
* Revert "glapi: s/strcpy/strncpy/"Brian Paul2010-05-031-2/+1
| | | | | | | This reverts commit 9446fd8f69564e09ffd0f28735a99c510f84bb62. It doesn't make sense to replace strcpy(a,b) with strncpy(a,b,strlen(b)). The preceeding code effectively does bounds checking, btw.
* st/mesa: remove dead codeBrian Paul2010-05-031-18/+0
|
* st/mesa: restore original last_layer comparisonBrian Paul2010-05-031-1/+1
| | | | | | | | | | | | | Commit e648d4a1d1c0c5f70916e38366b863f0bec79a62 changed the original less-than test to a not-equal test. This was an effort to save some memory by switching the texture layout to a non-mipmapped layout when we mis-guessed about the original layout (thus saving some memory). However, this causes us to hit a new (apparently broken) code path when copying the old texture's data to the new texture. Simply undo this change for the time being until the other/new bug is fixed. Fixes fd.o bug 27933.
* Generate es glapi files when es1 or es2 is enabledKristian Høgsberg2010-05-032-2/+11
|
* 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]>
* mesa: Include api_exec.h in dlist.c.Vinson Lee2010-05-021-0/+1
| | | | Fixes _mesa_alloc_dispatch_table implicit declaration warning.
* mesa: Include mfeatures.h before testing feature macrosKristian Høgsberg2010-05-021-0/+2
|
* mesa: Only compile ES files when ES1 or ES2 are selectedKristian Høgsberg2010-05-021-5/+10
| | | | | This still requieres manual generation of the es1 and es2 glapis and is disabled by default.
* mesa: #ifdef out more remap_table related code when disabled.José Fonseca2010-05-022-3/+6
| | | | Seems to get everything building again here.
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-0294-4246/+4835
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * Hook in install rules for es1 and es2Kristian Høgsberg2010-05-021-0/+6
| |