summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: add render-to-texture case for MESA_FORMAT_S8_Z24Brian Paul2010-03-081-0/+5
|
* mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbufferBrian Paul2010-03-081-1/+1
| | | | MESA_FORMAT_Z16 has no stencil bits.
* st/vega: Fix OpenVG demo segfaults.Chia-I Wu2010-03-081-3/+0
| | | | | | When the paint is color, paint_bind_samplers binds a dummy sampler without a texture. It causes demos requiring a sampler (those use a mask or an image) to crash.
* gallivm: Initialize variables for default cases.Vinson Lee2010-03-061-0/+4
| | | | Fixes use of uninitialized variables in non-debug builds.
* progs/demos: Add arbocclude2 to Makefile and .gitignore.Vinson Lee2010-03-052-0/+2
|
* glx: Move initialization of ext_list_first_time to where it's storage is ↵Brian Paul2010-03-054-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | allocated Move the initialization of ext_list_first_time from all of the DRI loader's CreateScreen routines, to where the storage for the screen config is allocated. It needs to get set in the screen-config even if DRI is forced off using LIBGL_ALWAYS_INDIRECT, so that psc->direct_support is initialized correctly, otherwise __glXExtensionBitIsEnabled() always returns FALSE Specifically, this causes a problem with an X server which advertises GLX<=1.2, and the GLX_SGIX_fbconfig extension. glXGetFBConfigFromVisualSGIX() uses __glXExtensionBitIsEnabled() to check if the GLX_SGIX_fbconfig extension is available, but that function won't return correct information because that data has never been initialized, because ext_list_first_time was never set... Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 96ab4d2b84178209ee59017458d9964b32b7e183)
* docs: remove merge conflict garbageBrian Paul2010-03-051-1/+0
|
* meta: Use the DrawBuffer's stencil sizeIan Romanick2010-03-051-1/+1
| | | | | | | | | Previously the code was erroneously using the stencil size of the context instead of the stencil size of the DrawBuffer. With FBOs these may be different. As a result, clearing the stencil buffer of an FBO bound to a context that doesn't have stencil would fail. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove redundant test of the visual's accumulation buffer sizeIan Romanick2010-03-051-5/+1
| | | | | | | | | | If the visual doesn't have an accumulation buffer, the renderbuffer passed into _swrast_clear_accum_buffer will be NULL anyway. There is no reason the check the visual. Moreover, the test erroneously checks the context's visual instead of the visual of the current DrawBuffer. With FBOs these may be different. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Adjust colors based on ReadBuffer visual, not context visualIan Romanick2010-03-051-9/+9
| | | | | | | | In the presence of FBOs, the visual of the context may not match the, possibly fake, visual of the current ReadBuffer. Note that the caller of adjust_colors correctly uses the visual of the ReadBuffer. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove stray comment that mentions ctx->VisualIan Romanick2010-03-051-1/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* gallivm: checkpoint: code gen for mipmap selectionBrian Paul2010-03-051-0/+65
|
* llvmpipe: added code to set texture depth, max mipmap levels infoBrian Paul2010-03-054-5/+23
|
* gallivm: added methods for getting texture depth, num mipmap levelsBrian Paul2010-03-051-0/+12
|
* gallivm: checkpoint: texture LOD computation code genBrian Paul2010-03-051-3/+126
|
* gallivm: added field for sampler lodBrian Paul2010-03-052-4/+6
|
* i965: Only use the effective subset of the WM sampler key.Eric Anholt2010-03-051-4/+9
| | | | | | | | The whole structure is 836 bytes, but if only the first one or two samplers are used (as is common), the part that matters is only 56 or 108 bytes. By using just that subset as the key (since the key size is also part of the key), we improve firefox-talos-gfx performance by 1%.
* intel: Remove support for the DRI1 TFP extension.Eric Anholt2010-03-057-144/+39
|
* i965: Remove the paths for making a const surface object for a NULL BO.Eric Anholt2010-03-052-20/+13
|
* i965: Remove the unused SDC BO pointer from the sampler state key.Eric Anholt2010-03-051-1/+0
| | | | | Since it's a BO pointer, it already lives outside the key in brw->wm.sdc_bo[] which is used for sampler state lookup and setup.
* i965: Rename SNB brw_*_key structs to gen6_*_key structs.Eric Anholt2010-03-051-8/+8
|
* i965: Pack gen6 blend_state_key structure.Eric Anholt2010-03-051-2/+1
|
* intel: Only do batchbuffer debug if --enable-debug is used.Eric Anholt2010-03-051-0/+10
| | | | | | | | This saves 6.6KB on the 965 driver, and appears to speed firefox-talos-gfx up by 1-2%. Unlike many other asserts in the driver, when we make a mistake that would trigger one of these it generally shows up all the time for developers, so turning it off for release seems fine.
* intel: Replace batch macro contents with function calls.Eric Anholt2010-03-051-28/+39
| | | | This manages to cut down another 3800 bytes.
* intel: Move the assertions about reloc delta from the macros to the function.Eric Anholt2010-03-052-2/+4
| | | | Cuts another 1800 bytes from the driver.
* intel: Check that the batch is mapped per BEGIN, not each OUT.Eric Anholt2010-03-051-1/+1
| | | | Shaves 800 bytes off the driver.
* i965: Try to assign SNB SF inputs to outputs.Eric Anholt2010-03-051-2/+41
|
* i965: Fix the SNB SF input size.Eric Anholt2010-03-051-1/+1
|
* Always return VOLATILE for ObjectPurgeable(VOLATILE)Chris Wilson2010-03-051-4/+16
| | | | | | | | | | | | Fixes fdo bug 26128. The spec mandates that VOLATILE is returned from ObjectPurgeable(VOLATILE) irrespective of the actual status of the object upon completion of marking it purgeable. Conform to the spec, even though it seems wrong. Signed-off-by: Chris Wilson <[email protected]>
* llvmpipe: add pipe_thread_wait() callsBrian Paul2010-03-051-0/+6
| | | | | | Wait for threads to exit before cleaning up per-thread data. Fixes hang on context destruction with glean makeCurrent test. See fd.o bug 26536.
* gallium/docs: document additional wrap mode restrictionsBrian Paul2010-03-051-0/+3
|
* gallivm: minor arithmetic improvementsBrian Paul2010-03-051-9/+12
|
* gallivm: implement non-normalized texture wrap modesBrian Paul2010-03-051-39/+68
| | | | | Note that only the PIPE_TEX_WRAP_CLAMP,CLAMP_TO_EDGE,CLAMP_TO_BORDER modes work with non-normalized texcoords.
* softpipe: implement PIPE_TEX_WRAP_CLAMP_TO_EDGE for unorm texture samplingBrian Paul2010-03-051-6/+43
| | | | CLAMP_TO_BORDER and CLAMP_TO_EDGE were doing the same thing.
* mesa: minor reformatting, new commentsBrian Paul2010-03-051-2/+9
|
* progs/xdemos: fix up GLX extension checkingJesse Barnes2010-03-053-27/+6
| | | | | | A few of my programs were using the client string in addition to the main extensions string to see if a feature was present. Correct this to only check for the currently available and working extensions.
* DRI2: expose OML_sync_control if possibleJesse Barnes2010-03-051-0/+3
| | | | | If the server supports the OML related protocol, enable support for the extension.
* GLX: remove debug prints from glXWaitForMscOML dispatchJesse Barnes2010-03-051-4/+0
| | | | Leftover from earlier commit.
* xdemos/omlsync: add waitformsc and swap interval codeJesse Barnes2010-03-051-5/+27
|
* progs: Add arbocclude2 demo.Michal Krol2010-03-052-0/+315
|
* gallium/docs: updated/improve sampler state documentationBrian Paul2010-03-051-21/+77
|
* docs: document GL_APPLE_object_purgeableBrian Paul2010-03-051-0/+1
|
* mesa: whitespace fixes, 80-column wrapping, etc.Brian Paul2010-03-051-84/+102
|
* Merge branch 'object-purgeable'Chris Wilson2010-03-0523-4964/+5762
|\ | | | | | | Acked-by: Brian Paul <[email protected]>
| * APPLE_object_purgeable: intelChris Wilson2010-03-052-1/+136
| | | | | | | | | | | | Implement support for purgeable objects by using the GEM madvise ioctl. Signed-off-by: Chris Wilson <[email protected]>
| * APPLE_object_purgeable: coreChris Wilson2010-03-058-0/+405
| | | | | | | | Signed-off-by: Chris Wilson <[email protected]>
| * APPLE_object_purgeable: autogenerated filesChris Wilson2010-03-0410-4963/+5182
| |
| * APPLE_object_purgeable: xmlChris Wilson2010-03-043-0/+39
| | | | | | | | Signed-off-by: Chris Wilson <[email protected]>
* | mesa/es: Update GLAPI and APISpec for GL_OES_EGL_image.Chia-I Wu2010-03-054-0/+46
| | | | | | | | | | This generates the entrypoints and dispatches for GL_OES_EGL_image. There is no real support yet.
* | st/egl: Add support for EGL_KHR_image_base and EGL_KHR_image_pixmap.Chia-I Wu2010-03-054-3/+202
| | | | | | | | | | These extensions are not quite useful until the client APIs gain support for the respective EGLImage extensions.