| Age | Commit message (Collapse) | Author |
|
|
|
|
|
There is only resource_surface for now. It helps manage the resources
of a software-based native surface such as XImage or GDI.
|
|
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>
|
|
It will build api_OpenVG.dll on Windows.
|
|
Fix several portability issues and add SConscript for Windows build.
|
|
Define isfinite and isnan to _finite and _isnan respectively for MSVC.
Those macros are needed by st/vega.
|
|
|
|
At least, .dll is used on Windows.
|
|
egl_gdi_swrast uses st/egl/gdi and winsys/sw/gdi to provide an EGL
driver for Windows.
|
|
The backend uses Windows GDI driver to provide a software EGL
implementation on Windows.
|
|
Fix several portability issues and add SConscript for Windows build.
|
|
That is, use khronos_uint32_t instead of uint32_t.
|
|
Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
|
|
Use __declspec(dllexport) when KHRONOS_DLL_EXPORTS is defined.
|
|
eglplatform.h no longer defines int32_t.
|
|
Define macros to enable dllexport and thread support. Adjust the output
path of mapi sources.
|
|
|
|
It was used by glapi, which has been moved to mapi.
|
|
Those macros used by _mesa_init_shader_dispatch are not available when
FEATURE_GL is not defined.
|
|
to match what DDX sets. This prevents some flushes from occuring.
|
|
|
|
What was the purpose of it?
|
|
|
|
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
|
|
debug builds.
Only do this if runtime debugging flags to show subtiles/tiles are set.
|
|
Like the other places.
|
|
|
|
|
|
|
|
That observes strict-aliasing rules.
|
|
|
|
|
|
surface_copy/fill
|
|
Match MALLOC with FREE. Otherwise, it causes weird segfaults when built
with memory debugging.
|
|
This is some refactoring works. Creating a pbuffer from an
EGL_OPENVG_IMAGE is still not supported.
|
|
It was broken since surface_copy -> resource_copy_region transition.
|
|
Check if the native native is EGL_DEFAULT_DISPLAY. If not, treat it as
an fd.
|
|
Yes I am fixing r300c ... who knew?
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
Happily, this passes now, (since many of the previously added test
cases were extracted from this one).
|
|
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.
|
|
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.
|
|
|