| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
mesa core does it now. If only it did so for other entrypoints.
|
| |
|
| |
|
| |
|
|
|
|
| |
This reduces the driver size by over 1%.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Bug #25921 -- clutter PBO usage gave unreliable results.
|
|
|
|
| |
Signed-off-by: Brian Paul <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
| |
As with swrast, this fixes the default pixel center behavior which was
broken, and implements the previous behavior for integer. Fixes
piglit fp-arb-fragment-coord-conventions-none. The extension won't be
exposed until we get the GLSL part implemented.
The DRI1 origin_x/y parts are dropped since they're no longer relevant.
|
|
|
|
|
|
|
|
|
|
|
| |
This brings swrast's support up to the state of gallium, and fixes the
default center behavior of fragment.position.xy in piglit
fp-arb-fragment-coord-conventions-none.
The extension is not enabled currently because the GLSL part of the
extension isn't supported, so piglit
glsl-arb-fragment-coord-conventions-define fails as would any serious
test of the GLSL part.
|
|
|
|
| |
build.
|
| |
|
|\
| |
| |
| | |
Merging was easier than cherry picking in this instance.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If GL_EXT_framebuffer_blit was not supported _mesa_DeleteFramebuffersEXT
would raise an error when deleting the currently bound framebuffer. This
because it tried to bind the default DRAW- and READ_FRAMEBUFFER separately.
This patch binds the default FRAMEBUFFER instead in that case.
Encountered in the fbo/fbo-copyteximage piglit test on R600.
Patch cleaned up a bit by Brian Paul.
|
| |
| |
| |
| |
| | |
If we determine that the 'end' parameter to glDrawElements() is out of
bounds, clamp it to the max legal index value.
|
| |
| |
| |
| |
| | |
Some apps are sloppy with their start/end values. Clamp them to
max possible values to prevent problems later.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Eric added some new code to check if offset < obj_size before computing
_MaxElement but my original code was still present afterward and it
clobbered the _MaxElement value.
Not sure if this came from a bad merge or what.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Now that LOCK_HARDWARE is gone, we don't have a convenient place to
update the renderbuffers everywhere we need them. So grab new buffers
when we invalidate the old ones until we optimize things further.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
could use a better test here though.
|
| |
| |
| |
| |
| | |
Signed-off-by: Aaron Plattner <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
|
| | |
|
| |
| |
| |
| |
| | |
_eglCloseDriver is no-op and _eglOpenDriver does nothing but call
_eglMatchDriver. Export _eglMatchDriver directly.
|
| |
| |
| |
| | |
Reset dpy->MaxConfigs so that dpy->Configs is re-allocated.
|
| |
| |
| |
| |
| | |
They have little use in drivers since drivers need to work for multiple
current contexts.
|
| |
| |
| |
| | |
There may be multiple bound contexts that should be unbound.
|
| |
| |
| |
| |
| | |
Refactor _eglMakeCurrent into _eglCheckMakeCurrent,
_eglBindContextToSurface, and _eglBindContextToThread.
|
| |
| |
| |
| | |
It will return the currently bound context of the given API.
|
| |
| |
| |
| |
| |
| | |
An unlinked resource may still be a current resource such as current
surfaces. There might still be a need to know which display the
unlinked resource belongs to.
|
| |
| |
| |
| |
| | |
To support extensions such as GL_OES_EGL_image, the drivers need a way
to check if a given EGLImageKHR is valid.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The server side does the throttling on our behalf now by putting the
client to sleep, so we don't need our previous hacks for limiting the
number of outstanding frames. Same effect as
7d4e674b212c9dc6408c13913a399bd4a2b9a1e3.
|
| |
| |
| |
| |
| |
| |
| | |
done."
This reverts commit 7d4e674b212c9dc6408c13913a399bd4a2b9a1e3. It broke
throttling in the non-new-DRI2 case.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
GLX was built specially and before Mesa core because libglapi.a could
not be built with IN_DRI_DRIVER defined. This is no longer the case
since 6e99e6ddbf488f6955e34ef0bc438fdcb4d90f74.
It works fine in my (limited) testing with both direct and indirect
rendering. I also compare the outputs after preprocessing (gcc -E) with
or without this commit, and they are identical.
|
| |
| |
| |
| |
| | |
Add --enable-gallium-swrast to the example. Document missing
--with-egl-driver-dir and update TODOs.
|
| |
| |
| |
| |
| | |
__glXFindDisplay is no longer static since
7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.
|