| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This should make things easier for drivers wanting to work with a
"subclass" of gl_framebuffer.
The complementary "_mesa_initialize_framebuffer" function is now
called "_mesa_initialize_window_framebuffer" for the sake of
symmetry.
Signed-off-by: Brian Paul <[email protected]>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The in-place splitting code wasn't dealing with index buffers at all
(and it was being called from vbo_split_prims for too big index
buffers, causing some occasional corruption).
Additionally, it wasn't taking into account primitives arrays with
non-contiguous indices (e.g. given prim[0].start = 0 and prim[1].start
= max_verts, it would happily call back the driver with (max_index -
min_index) still greater than max_verts, causing infinite recursion).
It still doesn't handle too large indexed vertex buffers: use
vbo_split_copy for that.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Texture derivatives are potentially undefined inside dynamic branches,
so hardwire lod zero in this case. Treating all if/endif and loop
constructs as dynamic branches.
|
| | |
|
| |
| |
| |
| |
| | |
This is a very informal version number, but there have been enough
changes that a bump is appropriate at this time.
|
| |
| |
| |
| |
| | |
Compiler can't usually turn x/2.0f into x * 0.5f, though we're happy
with either.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
the first looks like a definite bug, the second I'm not so confident
of but it works.
Signed-off-by: Dave Airlie <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
Rename _eglPreloadFile to _eglLoaderFile, and _eglPreloadFile to
_eglLoaderFile. There are several _eglPreload* functions. The
callbacks do not belong to them and it should be better to give them a
different prefix.
|
| |
| |
| |
| |
| | |
The driver suffix might be NULL on some platforms. Perform the matching
only when there is a suffix.
|
| |
| |
| |
| |
| | |
There were some refactorings with the addition of EGL_DRIVERS_PATH.
They made some platform #ifdef's unnecessary.
|
| |
| |
| |
| |
| | |
Specifically, ignore EGL_DRIVERS_PATH when an application is
setuid/setgid. And ignore EGL_DRIVER when there is a slash in it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
EGL_DRIVERS_PATH gives a list of colon-separated directories. The given
directories will be searched when preloading drivers.
This is based on Mike Stroyan's patch, which honors the variable in
_eglPreloadDisplayDrivers. It is extended to honor the variable also in
_eglPreloadUserDriver and _eglPreloadDefaultDriver in this version.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Try to avoid future confusion between different, but similar functions.
|
| |
| |
| |
| | |
This patch duplicates the softpipe fix seen in the preceeding commit.
|
| |
| |
| |
| |
| |
| |
| | |
This fixes a regression when the geometry shaders branch was merged
to master with commit 89d8577fb3036547ef0b47498cc8dc5c77f886e0.
progs/demos/pointblast and progs/redbook/anti work again.
|
| |
| |
| |
| | |
There is a very real possibility that I may be enjoying this too much.
|
| |
| |
| |
| | |
Slowly, surely, I'm making this better.
|
| |
| |
| |
| |
| | |
Yeah, what's that? You can read it? It's got, hmm, *readability*? Nice,
ain't it. :3
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
texenv is perfect now.
|
| | |
|
| |
| |
| |
| |
| |
| | |
4769566500be1a53dd9b4cc1a613aef439a0e3d8
Signed-off-by: Corbin Simpson <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
It will be useful for the nouveau DRI driver and IMHO there's no
reason to keep it private.
Signed-off-by: Brian Paul <[email protected]>
|
| |
| |
| |
| |
| | |
Maybe someone can convert this into a real table instead of just
preformatted text.
|
| | |
|
| |
| |
| |
| | |
This maybe breaks the vert compiler. Hopefully not.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The fogcoord calue was not pushed to GPU because of implicit float to int conversion.
Fix is to use float pointer to buffer object so no conversion is done in assigment
|
| | |
|
| |
| |
| |
| |
| | |
If the pbuffer surface is current, gctx is set to the current context.
Make sure it is set to OpenGL ES 1 context again before binding.
|
| |
| |
| |
| |
| | |
Mention that EGL_DRIVER should be a full path, and add a link from
envvars.html to egl.html.
|
| |
| |
| |
| |
| | |
EGL_SURFACE_TYPE is a config attribute, not a surface attribute. Thanks
to Mike Stroyan for pointing out this error.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a bug reported by Christoph Bumiller on mesa3d-dev.
When a texture is first created as RGBA, then re-defined with
glTexImage(internalFormat=GL_DEPTH_COMPONENT) we failed to deallocate
the original texture. When this texture was bound as a FBO surface,
the depth/Z surface format was RGBA instead of Z. Depending on the
driver this led to a failed assertion or FBO validation failure.
This patch does three things:
1. Remove ancient code that mysteriously tested if we were replacing
the smallest mipmap level and tested if the texture was not a cube map
texture. I can't see any reason for those tests.
2. Move the width=height=depth=0 test to after the code which frees
texture data. Calling glTexImage with width=height=depth=0 and data=NULL
is a way to free a single mipmap level.
3. Update the code comments.
There are no apparent conform, glean or piglit regressions from this change.
(cherry picked from commit 43e4b584227534e30e487e7fb7e99d6501cbcd85)
|