| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|
|
|
|
| |
driScreen->swapBuffers takes 3 more arguments since
daf7fe69f7bd0caa955d30b43fc35b7ce0069b6b.
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
| |
The KMS native display implements the modeset interface using DRM
modesetting.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
| |
This is implemented through the modeset interface.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
| |
The new interface can be used to implement EGL_MESA_screen_surface.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
| |
Update _eglValidateConfig so that it passes the test.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
|
| |
Set the screen surface size to the mode size, as the spec requires the
screen surface size to be larger than the mode size. Besides, bind the
API to OpenGL as they are written in it.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
| |
It should be called after eglMakeCurrent.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
| |
A successful eglChooseConfig call does not imply there are valid
configs.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
| |
The default value of EGL_RENDERABLE_TYPE is EGL_OPENGL_ES_BIT. The
proper values should be specified if we are not using OpenGL ES.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
| |
It missed a stub for st_get_proc_address, and st_make_current should
return a boolean.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
| |
Define st_api_OpenVG to advertise OpenVG support.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
| |
This was a silent dependency before, but now we really need 1.4.11 for
INTEL_swap_event support, so check for it.
Signed-off-by: Jesse Barnes <[email protected]>
|
|\
| |
| |
| |
| |
| | |
Conflicts due to DRI1 removal:
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_screen.c
|
| |
| |
| |
| |
| |
| | |
Needed to support the SwapBuffers code properly.
Signed-off-by: Kristian Høgsberg <[email protected]>
|
| |
| |
| |
| | |
Print out count, finish rendering, etc. Makes the -sn option more useful.
|
| |
| |
| |
| | |
Since this program is used for testing, catching this case can be helpful.
|
| |
| |
| |
| |
| | |
Doing simple buffer clears isn't enough to actually allocate render buffers, we
need to do real drawing.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Add event support for the GLX swap buffers event, along with DRI2 protocol
support for generating GLX swap buffers events in the direct rendered case.
Signed-off-by: Jesse Barnes <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for the DRI2SwapInterval protocol request. This allows
direct rendered clients to control their swap interval per the
SGI_swap_control extension.
Signed-off-by: Jesse Barnes <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add OML_sync_control support, along with a simple program for testing
it. This means adding support for the DRI2GetMSC, DRI2WaitMSC and
DRI2WaitSBC requests.
Signed-off-by: Jesse Barnes <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Support the new DRI2 protocol request, DRI2SwapBuffers, in both direct
and indirect rendering context. This request allows the display server
to optimize back->front swaps (e.g. through page flipping) and allows us
to more easily support other GLX features like swap interval and the OML
sync extension in DRI2.
Signed-off-by: Jesse Barnes <[email protected]>
|
| |
| |
| |
| |
| |
| | |
Mark all functions start with glX as public.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
These functions are the API of Gallium state tracker, and are used by
EGL.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
As the default build has -fvisibility=hidden, add a macro to control the
visibility.
Signed-off-by: Chia-I Wu <[email protected]>
|