Age | Commit message (Collapse) | Author |
|
Note that indexSize is changed by r300_translate_elts(). Also make sure
it's destroyed on errors.
|
|
|
|
It should not return an incomplete EGLContext to the users.
|
|
It is not safe to assume that the native surface has not changed since
the last validation by checking the geometry alone. Add a sequence
number to "validate" callback for that purpose. This is inspired by
Luca Barbieri's work.
|
|
|
|
progs/redbook/aapoly, among others, works fine now.
|
|
|
|
Will re-enable when the bugs are ironed out.
|
|
|
|
|
|
|
|
Other struct types (like pipe_texture) are referenced before they're
defined so no reason to special-case this one.
|
|
This should be the correct, but sub-optimal way to handle things on
pre-1.7 servers. For servers that automatically adds a fake front
we should never request the fake front and handle the reply differently.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
|
|
It could erroneously return PIPE_OK in some circumstances.
Make compile_fs code identical.
|
|
|
|
Oh yeah, those atoms are startin' to pay off. The main obstacle now
for OA playability is the absurdly low default mouse sensitivity, IMO.
Not totally smooth yet, but getting there.
|
|
|
|
|
|
|
|
As suggested by agd5f.
|
|
Useful for e.g. blitter.
|
|
As per classic r300.
|
|
This is still work-in-progress and tiling is not enabled by default.
|
|
|
|
r4xx has some additional fragment shader registers compared to r3xx.
|
|
|
|
Reverting some bits from ce1c493ff8fad4b62e2b66f06636ac6560a6e0ad.
Given the latest fixes, it's not needed to always emit scissor, really.
|
|
This reverts commit e920ee23b32f6031a7b8527b540566e7ada6af8a.
Assuming the FB state is not dirty and the DSA state is, then the depth test
will be re-enabled, making the kernel checker angry. Reverting the commit
fixes piglit/glsl-bug-22603.
|
|
It fixes almost all regressions introduced lately.
|
|
|
|
|
|
|
|
|
|
gcc allows pre-fix variable attributes.
Suggested by Ian Romanick.
|
|
|
|
Save some code, improve FPS, and fix piglit tests. Everybody wins.
|
|
egl_g3d_get_st was called because the driver argument was not given
before. It can be fixed now.
|
|
The rest of the driver API has it as the first argument. It should be
there so that a driver has access to itself.
|
|
Document the future of __GLcontextModes. Improve the description of
surface validation and native_flush_frontbuffer.
|
|
From 07ea7e6c80. This is the only questionable part of that commit,
AFAICT...
|
|
This probably should disable stencil, too, if the kernel cares enough.
Note: When atomized, framebuffer setup should go towards the end anyway,
but it *must* follow these test setups anyway.
|
|
|
|
This reverts commit 01eff0e6d23f90650de7c563f74a1aec3de112a6.
u_bitmask.c was already in the C_SOURCES list.
|
|
The new EGL drivers use egl_g3d and respect EGL_DISPLAYS. They are
named after the display supported and the DRM name.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
The KMS native display implements the modeset interface using DRM
modesetting.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
This is implemented through the modeset interface.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
The new interface can be used to implement EGL_MESA_screen_surface.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
This new (intermediate) EGL state tracker is the base work for EGL
drivers that uses Gallium. It makes it easier to support new window
systems.
Currently, there is support only for X11. This driver supports multiple
APIs (OpenVG, OpenGL, ...) and supports hardware acceleration through
winsys/drm.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
The name can be used for driver selection. It has the same name as the
DRI driver does right now.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
st_api.c is supposed to define st_api_OpenGL to advertise OpenGL
support. However, the linker discards the symbol because it has no
user. It is better to leave this to other state trackers that link to
libmesagallium.a.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|