summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl_g3d/common/egl_g3d.c
AgeCommit message (Collapse)Author
2010-01-22st/egl_g3d: Rename to st/egl.Chia-I Wu
Simply the name to egl.
2010-01-20st/egl_g3d: Add support for driver probe.Chia-I Wu
Hook the drv->Probe callback to allow the drivers to probe displays. The loading of state trackers is delayed to avoid unnecessary loading.
2010-01-18st/egl_g3d: Add support for eglCopyBuffers.Chia-I Wu
It uses a slow path to copy the render buffer of the surface to the target pixmap. We might be able to create a pipe context for EGLDisplay's use and use a blitter context for the purpose. It is left for a future consideration.
2010-01-18st/egl_g3d: Update validate to use an attachment mask.Chia-I Wu
A validate call asks for the buffers of a native surface. Using a mask to represent the interested buffers is more intuitive. It also rules out corner cases such as a single attachment being listed multiple times.
2010-01-15st/egl_g3d: Avoid validation upon buffer swap or flush frontbuffer.Chia-I Wu
With screen->update_buffer being hooked, leave the job to the state trackers.
2010-01-15st/egl_g3d: Hook to update_buffer of the pipe screen.Chia-I Wu
It is a notification from the client APIs that the surface size might have changed.
2010-01-15st/egl_g3d: Always override flush_frontbuffer.Chia-I Wu
Instead of letting the native displays install their own version of flush_frontbuffer, always override the callback with a version that calls the flush_frontbuffer of the native surface.
2010-01-14egl_g3d: Check if the creation of pipe or st context fails.Chia-I Wu
It should not return an incomplete EGLContext to the users.
2010-01-14st/egl_g3d: Use a sequence number to decide if validation is required.Chia-I Wu
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.
2010-01-12st/egl_g3d: Get the stapi from the driver.Chia-I Wu
egl_g3d_get_st was called because the driver argument was not given before. It can be fixed now.
2010-01-12egl: Add _EGLDriver as the first argument to GetProcAddress.Chia-I Wu
The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself.
2010-01-12st/egl_g3d: Add support for EGL_MESA_screen_surface.Chia-I Wu
This is implemented through the modeset interface. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/egl_g3d: New EGL state tracker that uses Gallium.Chia-I Wu
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>