| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Jakob Bornecrantz <[email protected]>
|
|
|
|
| |
In other words, skip the __GLcontextModes middle man.
|
|
|
|
| |
This driver doesn't work with any of the DRI drivers in the source tree.
|
|
|
|
|
|
|
| |
There's a useful feature buried in glapi to log all API calls to stderr.
Unfortunately it requires editing the code and then it's enabled
unconditionally for that build. This patch builds in API logging for
debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
|
|
|
|
|
| |
This make a lot more sense now that we might have to recreate the
glx drawables for legacy code paths.
|
|
|
|
|
| |
_EGL_CHECK_DISPLAY checks the display and returns from eglCreateContext
on error.
|
|
|
|
| |
This fixes several NULL dereferences.
|
|
|
|
| |
We were calling this twice so the first allocation was orphaned/leaked.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
intruction
|
|
|
|
|
| |
We might get the cleanup when we have not translated the shader yet
e.g 2 programstringnotifys in a row
|
|
|
|
|
| |
in case of relative addressing we never get to know which comps
were really written.
|
| |
|
| |
|
|
|
|
| |
arbfp specifies rsq of abs value
|
|
|
|
|
| |
Mention that EGL_DRIVERS_PATH should be specified for uninstalled build.
Update TODOs.
|
|
|
|
|
|
|
|
|
| |
This increases the chance that GLSL programs will actually work.
Note that continues and returns are not yet lowered, so linking
will just fail if not supported.
Signed-off-by: Ian Romanick <[email protected]>
|
|
|
|
|
|
|
| |
This allows us to specify different options, especially useful for chips
without unified shaders.
Signed-off-by: Ian Romanick <[email protected]>
|
|
|
|
|
| |
Changes in v2:
- No longer adds tessellation enums
|
| |
|
|
|
|
|
|
| |
The previous thing taking multiple instructions ended up being handled
at the IR level, as we suggested would be the common result. Pick a
new one.
|
|
|
|
|
| |
Now that we suppress BadDrawable from DRI2DestroyDrawable, this doesn't
matter, but we would get that error before when destroying pbuffers.
|
| |
|
|
|
|
| |
Otherwise it gets used uninitialized.
|
|
|
|
|
|
| |
Otherwise builtin_profiles contains dangling pointers the next time
_mesa_read_profile is called. I suspect this may fix bugzilla #29847,
but I was never able to reproduce it.
|
|
|
|
|
| |
The enum values were chosen to have sequential values for a reason.
Use that to compact and simplify the code.
|
|
|
|
|
|
|
|
|
|
| |
GL_EXT_texture_env_combine has slightly more restrictive limits on the
valid sources for some operands. This wasn't caught before because
almost every driver in Mesa that supports the EXT version also
supports the ARB version.
Inspired by a patch posted the the mesa-dev mailing list by Andrew
Randrianasulu.
|
|
|
|
|
|
| |
Since we now actually destroy GLX drawables, we get into situations where
we get events for drawables that no longer exist. Just ignore the
event in that case.
|
| |
|
|
|
|
| |
These need abs, and we need more tests.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ir_binop_dot is only defined for vector types. Use ir_binop_mul.
|
|
|
|
|
|
|
| |
The code being generated was just stupid, considering that:
- normalize(x) = 1.0
- length(x) = x
- distance(x, y) = x - y
|
|
|
|
|
| |
Fix an major regression in dc754586. Too bad that change was
obviously never tested.
|
|
|
|
|
|
| |
Doesn't work for pixmaps, was looking up the GLX XID and was never thread
safe. Instead, just destroy the client side structures when the
drawable is no long current for a context.
|
|
|
|
|
|
|
|
| |
Otherwise, when we switch to an indirect glx context and then back, it looks
like we're still current.
https://bugs.freedesktop.org/show_bug.cgi?id=29977#c7
Signed-off-by: Kristian Høgsberg <[email protected]>
|
|
|
|
| |
GLSL ES mode is enabled when --glsl-es is passed to glsl_compiler.
|
|
|
|
|
| |
Create a dummy context in the standalone compiler and pass it to
_mesa_glsl_parse_state.
|
|
|
|
|
|
|
|
| |
libmesagallium.a that this state tracker will be linked to expects
OpenGL's _glapi_table. That is, it expects libGL.so instead of
libGLESv1_CM.so or libGLESv2.so. As there is no clean way to know the
shared library the app links to, use the api as a simple check. It
might be as well to simply remove this function call though.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Make st/dri screens capable of creating OpenGL ES and
OpenGL ES2 contexts.
TODO: Figure out the "get_current" problem with multiple
st_api's for real.
(s/API_OPENGLES1/API_OPENGLES/ by Chia-I Wu)
|
|
|
|
|
| |
If the caller requests a GLES context, don't silently create
a desktop GL context in its place.
|