summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-31st/egl: Update GDI backend to use resource_surface.Chia-I Wu
2010-05-31st/egl: Update ximage backend to use resource_surface.Chia-I Wu
2010-05-31st/egl: Add helper functions for use by backends.Chia-I Wu
There is only resource_surface for now. It helps manage the resources of a software-based native surface such as XImage or GDI.
2010-05-31intel: Initialize batch->reserved_space on allocationChris Wilson
Fixes the assert (and buffer overrun): glknots: intel_batchbuffer.c:164: _intel_batchbuffer_flush: Assertion 'used >= batch->buf->size' failed. Reported in bug: Bug 28274 - xscreensaver's glknots hangs GPU (945GME/Pineview) https://bugs.freedesktop.org/show_bug.cgi?id=28274 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-05-31targets/egl: Add SConscript for egl-apis.Chia-I Wu
It will build api_OpenVG.dll on Windows.
2010-05-31st/vega: Use SConscript for Windows build.Chia-I Wu
Fix several portability issues and add SConscript for Windows build.
2010-05-31gallium/util: Define isfinite and isnan for MSVC.Chia-I Wu
Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega.
2010-05-31mapi/vgapi: Add SConscript for Windows build.Chia-I Wu
2010-05-31st/egl: Use OS-specific module suffices.Chia-I Wu
At least, .dll is used on Windows.
2010-05-31targets/egl: Add SConscript for egl_gdi_swrast.Chia-I Wu
egl_gdi_swrast uses st/egl/gdi and winsys/sw/gdi to provide an EGL driver for Windows.
2010-05-31st/egl: Add GDI backend.Chia-I Wu
The backend uses Windows GDI driver to provide a software EGL implementation on Windows.
2010-05-31egl: Use SConscript for Windows build.Chia-I Wu
Fix several portability issues and add SConscript for Windows build.
2010-05-31egl: Use khronos types for EGL_MESA_screen_surface.Chia-I Wu
That is, use khronos_uint32_t instead of uint32_t.
2010-05-31Define PUBLIC to dllexport on MSVC.Chia-I Wu
Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
2010-05-31Update KHRONOS_APICALL for _WIN32 platform.Chia-I Wu
Use __declspec(dllexport) when KHRONOS_DLL_EXPORTS is defined.
2010-05-31Always define int32_t in compiler headers.Chia-I Wu
eglplatform.h no longer defines int32_t.
2010-05-31glapi: Update SConscript for Windows.Chia-I Wu
Define macros to enable dllexport and thread support. Adjust the output path of mapi sources.
2010-05-31Update OpenGL ES headers.Chia-I Wu
2010-05-31autoconf: Remove unused APIS.Chia-I Wu
It was used by glapi, which has been moved to mapi.
2010-05-31mesa: Fix/add feature test to shader.c.Chia-I Wu
Those macros used by _mesa_init_shader_dispatch are not available when FEATURE_GL is not defined.
2010-05-31r300g: set correct pitch in libdrmMarek Olšák
to match what DDX sets. This prevents some flushes from occuring.
2010-05-31r300g: remove texture usage transfer flagMarek Olšák
2010-05-31r600g: remove unused struct r600_stateMarek Olšák
What was the purpose of it?
2010-05-30vbo: Remove unnecessary header.Vinson Lee
2010-05-30r600g: Remove unnecessary headers.Vinson Lee
2010-05-30r600g: RS880 is r6xx-basedAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-30llvmpipe: Remove unused framebuffer stuff from the rasterizer.José Fonseca
2010-05-30llvmpipe: Don't force a linear to tiled conversion after rasterization on ↵José Fonseca
debug builds. Only do this if runtime debugging flags to show subtiles/tiles are set.
2010-05-30llvmpipe: Call llvmpipe_set_texture_tile_layout only when necessary.José Fonseca
Like the other places.
2010-05-30util: Add inline function for approximate floating point comparison.José Fonseca
2010-05-30llvmpipe: Use pointer_to_func() instead of custom wrappers.José Fonseca
2010-05-30draw: Use pointer_to_func() instead of custom wrappers.José Fonseca
2010-05-30util: Generic pointer to func conversion helper.José Fonseca
That observes strict-aliasing rules.
2010-05-30llvmpipe: Pass the fs variant to the rasterizer.José Fonseca
2010-05-30python/retrace: Interpret resource_copy_region.José Fonseca
2010-05-30st/python: Expose region_copy/fill_region instead of deprecated ↵José Fonseca
surface_copy/fill
2010-05-30st/vega: Use FREE.Chia-I Wu
Match MALLOC with FREE. Otherwise, it causes weird segfaults when built with memory debugging.
2010-05-30st/egl: Hook eglCreatePbufferFromClientBuffer.Chia-I Wu
This is some refactoring works. Creating a pbuffer from an EGL_OPENVG_IMAGE is still not supported.
2010-05-30st/egl: Fix eglCopyBuffers.Chia-I Wu
It was broken since surface_copy -> resource_copy_region transition.
2010-05-30st/egl: Initialize KMS backend from an fd.Chia-I Wu
Check if the native native is EGL_DEFAULT_DISPLAY. If not, treat it as an fd.
2010-05-29r300: fix blits for textures of width/height greater than 2048 on r5xxMarek Olšák
Yes I am fixing r300c ... who knew?
2010-05-29r600g: remove unused variableMarek Olšák
2010-05-29r600g: fix gallium function parametersMarek Olšák
2010-05-29r600g: make a local copy of viewport stateMarek Olšák
2010-05-29Merge branch 'take-2'Carl Worth
The take-2 branch started over with a new grammar based directly on the grammar from the C99 specification. It doesn't try to capture things like balanced sets of parentheses for macro arguments in the grammar. Instead, it merely captures things as token lists and then performs operations like parsing arguments and expanding macros on those lists. We merge it here since it's currently behaving better, (passing the entire test suite). But the code base has proven quite fragile really. Several of the recently added test cases required additional special cases in the take-2 branch while working trivially on master. So this merge point may be useful in the future, since we might have a cleaner code base by coming back to the state before this merge and fixing it, rather than accepting all the fragile imperative/list-munging code from the take-2 branch.
2010-05-29Add three more tests cases recently added to the take-2 branch.Carl Worth
The 071-punctuator test is failing only trivially (whitespace change only). And the 072-token-pasting-same-line.c test passes just fine here, (more evidence perhaps that the approach in take-2 is more trouble than it's worth?). The 099-c99-example test case is the inspiration for much of the rest of the test suite. It amazingly passes on the take-2 branch, but doesn't pass here yet.
2010-05-29Add killer test case from the C99 specification.Carl Worth
Happily, this passes now, (since many of the previously added test cases were extracted from this one).
2010-05-29Add test and fix bugs with multiple token-pasting on the same line.Carl Worth
The list replacement when token pasting was broken, (failing to properly update the list's tail pointer). Also, memory management when pasting was broken, (modifying the original token's string which would cause problems with multiple calls to a macro which pasted a literal string). We didn't catch this with previous tests because they only pasted argument values.
2010-05-29Fix pass-through of '=' and add a test for it.Carl Worth
Previously '=' was not included in our PUNCTUATION regeular expression, but it *was* excldued from our OTHER regular expression, so we were getting the default (and hamful) lex action of just printing it. The test we add here is named "punctuator" with the idea that we can extend it as needed for other punctuator testing.
2010-05-29i915g: Rename winsys c fileJakob Bornecrantz