| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| | |
lim x->0 log(x) = -inf so -FLT_MAX is a better approximation than 0
for LG2(0).
|
| |
| |
| |
| |
| |
| |
| |
| | |
The renderType parameter to CreateContext() was never used. Also, it
was often passed as zero. Now when it's zero we check if the context
is RGBA or CI mode and set it accordingly.
Fixes bug 24211.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Once we've freed a miptree, we won't see any more state cache requests
that would hit the things that pointed at it until we've let the miptree
get released back into the BO cache to be reused. By leaving those
surface state and binding table pointers that pointed at it around, we
would end up with up to (500 * texture size) in memory uselessly consumed
by the state cache.
Bug #20057
Bug #23530
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Since sqrt() is basically implemented in terms of RSQ/RCP we'll do a
divide by zero if x=0 and wind up with unpredictable results.
Now use CMP instruction to test for x<=0 and return zero in that case.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
|
| |
| |
| |
| | |
Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Adapted from code written by Nate Robins. See README.txt.
|
| |
| |
| |
| | |
Fixes potential crash on X server shutdown.
|
| |
| |
| |
| |
| |
| |
| | |
I think this should be safe for all of the BSDs.
Signed-off-by: Robert Noland <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
Since the various BSDs use some different features here,
define PIPE_OS_OPENBSD and PIPE_OS_NETBSD as well
Signed-off-by: Robert Noland <[email protected]>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This was redundant as drivers can just keep track of whether they are
inside a begin/end query pair. We want to add more query types later
and also support nested queries, none of which map well onto a flag like
this. No driver appeared to be using the flag.
|
| |
| |
| |
| | |
reviewed by Brian Paul.
|
| | |
|
| |
| |
| |
| |
| | |
This feature corresponds to the Begin/End paradigm. Disabling this
feature also eliminates the use of GLvertexformat completely.
|
| |
| |
| |
| |
| | |
As shown in mfeatures.h, this allows users of dlist.h to work without
knowing if the feature is available.
|
| |
| |
| |
| |
| | |
As shown in mfeatures.h, this allows users of eval.h to work without
knowing if the feature is available.
|
| |
| |
| |
| |
| | |
It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and
follows the feature conventions.
|
| |
| |
| |
| | |
This allows the removal of AEcontext.
|
| |
| |
| |
| |
| | |
As shown in mfeatures.h, this allows users of texgen.h to work without
knowing if the feature is available.
|
| |
| |
| |
| |
| | |
As shown in mfeatures.h, this allows users of feedback.h to work without
knowing if the feature is available.
|
| |
| |
| |
| |
| | |
As shown in mfeatures.h, this allows users of drawpix.h to work
without knowing if the feature is available.
|
| |
| |
| |
| |
| | |
It is separated from FEATURE_drawpix and made to follow the feature
conventions.
|
| |
| |
| |
| |
| | |
As shown in mfeatures.h, this allows users of histogram.h to work without
knowing if the feature is available.
|
| |
| |
| |
| |
| | |
As shown in mfeatures.h, this allows users of attrib.h to work without
knowing if the feature is available.
|
| |
| |
| |
| |
| | |
As shown in mfeatures.h, this allows users of accum.h to work without
knowing if the feature is available.
|
| |
| |
| |
| | |
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| | |
The variable "configs" in main() is used without initialization.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| | |
st_destroy_context has destroyed the pipe context for us.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a NULL-pointer dereference when
eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)
is called.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| | |
These options can be used to force vertex/fragment shaders to be no-op
shaders (actually, simple pass-through shaders). For debug/test purposes.
|
| |
| |
| |
| | |
For debug/test purposes.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The combination of fptosi
and sitofp (necessary for trunc/floor/ceil/round implementation)
somehow becomes invalid code.
Skip the instruction combining pass when SSE4.1 is not available.
|
| | |
|