summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Define OpenGL ES and OpenVG library names.Chia-I Wu2010-05-081-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.
* mesa: remove driver hooks for GetFloat/Integer/Doublev, etcBrian Paul2010-05-075-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.
* mesa: fpclassify dummy definition is not needed on cygwinJon TURNEY2010-05-071-1/+1
| | | | | | | fpclassify is provided by math.h Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* glapi: Move to src/mapi/.Chia-I Wu2010-05-0792-82823/+28
| | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* glapi: Move assembly dispatchers back into glapi/.Chia-I Wu2010-05-078-20/+20
|
* st/mesa: fix compressed mipmap generation for small image sizesBrian Paul2010-05-061-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.
* st/mesa: fix bug in compute_num_levels()Brian Paul2010-05-061-5/+7
| | | | | Fix more fall-out from the "ignore BaseLevel" change. This may help with fd.o bug 27991.
* st/mesa: when copying mipmap levels between textures, start at BaseLevelBrian Paul2010-05-061-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.
* es: IgnoresJakob Bornecrantz2010-05-061-0/+4
|
* st/mesa: fix per-vertex point sizeMarek Olšák2010-05-051-1/+1
| | | | This fixes FDO bug #27343.
* 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
|