Age | Commit message (Collapse) | Author |
|
Add missing attributes and use correct types in _EGLSurface. Remove
ifdef tests that serve no purpose. Update _eglQuerySurface and
_eglSurfaceAttrib for missing queries and checks.
|
|
Add support EGL_KHR_vg_parent_image and EGL_KHR_gl_*. This is as simple
as adding some flags that can be enabled. Individual drivers need to
implement the extensions before enbaling the flags.
|
|
|
|
|
|
|
|
|
|
EGL_SCREEN_BIT_MESA is a valid bit only when EGL_MESA_screen_surface is
supported.
|
|
This changes _eglInitConfig to take the display as its argument.
|
|
Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an
_EGLDisplay instead of an _EGLDriver. This is a more natural form, and
plus, the display encodes information such as the extensions supported
that might be required for attribute list parsing.
|
|
Refactor attribute list parsing code to _eglParseImageAttribList.
|
|
Refactor attribute list parsing code to _eglParseContextAttribList. Add
a check to make sure the config supports the client API.
|
|
Refactor attribute list parsing code to _eglParseSurfaceAttribList.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
They are either unit tests or to demonstrate how functions are supposed
to be used. The unit test is outdated and it should be better to take a
look at any of the working drivers to see how a function is used.
|
|
Add config caveat, bind-to-texture, and renderable type. Remove double
buffer and stereo attributes.
|
|
Configs without a renderable type are still informative for programs
such as eglinfo.
|
|
There is now _eglGetAPIContext that can return the current context of
the given API.
|
|
|
|
|
|
|
|
Bug #26008. Fixes piglit pbo-teximage-tiling-2.
|
|
This reverts commit 627a45848faf9e6d19d386b9eb30d36bf18d0998.
I was wrong. Who could have known? :3
|
|
Bug #26290.
|
|
|
|
Bisected so that only this commit has to be reverted if I'm wrong.
...Pfft, like I'm ever wrong. :3
|
|
|
|
Hmm, need to cross-ref those TGSI things. My work is never done... :3
|
|
|
|
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Tested-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
|
|
It is ported from progs/egl/xeglbindtex.c. With the OpenGL ES port, the
OpenGL version is removed.
|
|
The spec says that it only works with OpenGL ES.
|
|
There is already _eglstrdup for the main library's use.
|
|
|
|
A context can be bound to a surface just like it can be bound to a
thread. CurrentContext is a more consistent name.
|
|
Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
|
|
if independent blend state was disabled, only the data from first rt was
stored, however the comparison used the full state, hence there never was
a match and always a new object was created.
Fixes a huge performance drop with llvmpipe due to recompilation.
|
|
Dissolve between two images using a random pattern in the stencil
buffer and a varying stencil ref value.
|
|
|
|
|
|
Brian, feel free to split/revert if you disagree.
|
|
|
|
(cherry picked from commit 9fd3c74724e557bc6ecc851d8552615ab3becfe2)
Conflicts:
src/mesa/tnl/t_draw.c
|
|
(cherry picked from commit 4d1234e22242529c8d85f5ef0cf826af41a91570)
Conflicts:
src/mesa/state_tracker/st_draw.c
|
|
Commit 2708ddfb06a36d8568e2aa130bf1f7d551fcd309 caused a few regressions.
We need to check/validate state after calling bind_arrays() because
it might set the _NEW_ARRAYS flag if the varying VP inputs change.
The symptom of this problem was some attribute arrays being ignored
(or interpreted as constant-valued) in glDrawRangeElements or
glMultiDrawElements.
A follow-on patch will add some additional asserts to try to catch
this kind of thing in the future.
(cherry picked from commit 3cba779e16935f7c3a0bfd8af48bd5e015068e96)
|