Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
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>
|
|
It missed a stub for st_get_proc_address, and st_make_current should
return a boolean.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
Define st_api_OpenVG to advertise OpenVG support.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
Mark all functions start with glX as public.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
These functions are the API of Gallium state tracker, and are used by
EGL.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
As the default build has -fvisibility=hidden, add a macro to control the
visibility.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
Temporary. We should soon have the ability to integrate with any driver
via glx extensions.
|
|
As displaying surfaces directly isn't supported by the python state
tracker.
|
|
|
|
As the python state tracker is not integrated with window system an
cannot present surfaces directly.
|
|
It was bugging me. +1 FPS on softpipe.
|
|
|
|
|
|
If somebody goes through that much effort, they probably intended it.
So humor them. :3
|
|
copypix works just fine.
|
|
the xorg state tracker really wants the driver to handle overlapping
blits, and r300 uses u_blitter for blits. This patch adds overlapping
blit support via a temporary surface when its required.
|
|
Argfl. Some of this code is so questionable.
|
|
|
|
Goddammit, some of these hax are really annoying.
|
|
According to the docs, this decreases stalls, and indeed we get a tiny
bit more glxgears from it.
|
|
Simplify the code. Added a comment to keep me from doing it again.
|
|
I want to stab things now.
|
|
|
|
Fixes gnome-shell on nouveau, as well as window resize with various
other applications.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
|
Also do state-change checks. ZTOP's too important to not check.
|
|
Also a bit of ztop.
|
|
Meh.
|
|
|
|
No benefits yet.
|
|
Explain how to build for windows. Both MSVC 9 and cross MinGW supported.
Stop documenting LLVM 2.5 as supported. It still supported at the moment
but it will soon stop being.
|
|
The call to _eglSwapBuffers is unnecessary, and the function is missing
when -fvisibility=hidden. Also remove the extraneous braces and indent
the block.
|
|
debug builds.
|
|
|
|
ad-hoc definitions.
Everybody is using the C99's integer types. Everybody except Microsoft,
which in turns means everybody is including their own definitions of C99
integer types for MSVC, causing duplicate definitions when linking two
projects. This is the case of building Gallium and LLVM with MSVC.
Shipping alternative stdint.h and stdbool.h headers for MSVC allows us
to share a single definition. It also removes clutter from the Gallium
headers.
|