| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
|
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
|
|
When the size of the scene (binned data plus referenced resources/textures)
exceeds LP_MAX_SCENE_SIZE flush/render the scene. This could be improved
in various ways but is a good start.
Fixes piglit streaming-texture-leak test.
|
|
|
|
|
|
|
|
Put it with other, similar functions.
|
|
|
|
The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func
in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 prevents DRI drivers built
before the commit from loading. Add stub versions of the functions to
make them load again.
|
|
These compressed format switch cases shouldn't be hit if we don't
support the compressed texture extensions, but let's be safe and
ask the driver if they're supported as we do in other cases.
|
|
|
|
|
|
Mipmap generation for compressed textures works now.
|
|
|
|
Signed-off-by: Brian Paul <brianp@vmware.com>
|
|
Runtime linking doesn't quite work.
Just comment then out for now to prevent crashes. These will go away in
the future because calling 4 times CRT's cosf()/sinf() is over-precise
and under-performing.
|
|
Refactor the code to make this easier.
|
|
|
|
|
|
In short what the code did before:
__DRIscreen *psp = NULL;
if (pcp)
psp = pcp->psb;
assert(psp);
if (psp->stuff)
other_stuff();
return psb->even_more(pcp);
Remove all that stupid checking which still segfaults/asserts later on and
just do what we do in driUnbindContext. Also limited testing show libGL never
call driUnbindContext or driBindContext with cPriv == NULL.
|
|
|
|
I accidentally inverted the condition. :(
Broken since the commit 2579fe4044012a552c8be222ffae76b48de13592.
FDO bug #27851.
|
|
And reserve a little more space just in case.
|
|
libdrm-2.4.20 and earlier include the nouveau/nouveau_class.h header. A
later version of libdrm will not ship this header. Mesa also has this
header at src/gallium/drivers.
The symbol NV34TCL_VTXFMT_TYPE_HALF is needed by nvfx_vbo.c. This symbol
is not in the libdrm copy of the header but is in the Mesa copy of the
header. This patch moves src/gallium/drivers to the beginning of the
include paths such that when building on hosts with libdrm-2.4.20 or
ealier the build uses the copy in Mesa.
|
|
|
|
This has caused CS overflow since the commit
671f1e1229877d459cfd76e2cf5ea89c8d881036.
TA3D works here again.
|
|
|
|
An aligned stride is still needed for it to work.
I am slowly approaching the Sauerbraten milestone!
|
|
This allows us to put correct swizzles for undefined components in PSC.
|
|
|
|
we were only running the llvm paths when the input elts were linear,
now we can handle abritrary fetch elts arrays. we do this by generating
two paths - linear and fetch_elts one and just selecting the right one
at run time.
|
|
|
|
They cause lockups. The users doesn't seem to like them.
|
|
Though not nice, this is the correct way.
|
|
See also the libdrm commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.
|
|
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
|
|
|
|
|
|
|
|
We weren't always allocating the right amount of memory for image tiles
for some formats (those < 32bpp).
Fixes fd.o bug 27712.
|
|
|
|
In the direct rendered case, we need to tell the server our initial swap
interval. If we don't, the local and server values will be out of sync,
since the server and client defaults may be different (as they were
before this patch).
|
|
use DRAW_USE_LLVM to disable or enable (default) llvm
|
|
use just one constructor to figure out whether to use llvm.
|
|
|
|
Fixes fd.o bug 27711.
|