summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/egl_surface.c
AgeCommit message (Collapse)Author
2009-08-28drm_api: Operate on textures instead of buffersJakob Bornecrantz
Most use cases just got the buffer from the texture and then called into one of the get_handle functions. Also with this patch it would be easier to move to a generic function for getting handles from textures and textures from handles, that is exposed via the screen.
2009-08-26EGL_i915: Make struct drm_device per display.Chia-I Wu
This is to allow a driver to drive multiple displays. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-21st/egl: Add support for drmModeDirtyFB command if foundJakob Bornecrantz
2009-08-18egl: Create the front texture the properlyJakob Bornecrantz
2009-08-18egl: Overhaul driver API.Chia-I Wu
The motivation is so that drivers do not need to look up and check for bad display, context, and etc. It also becomes unnecessary for drivers to call the link functions. This commit makes eglapi.[ch] do the lookup and check. As a result, the driver API is overhauled, and almost all sources and drivers need update. The updates are mainly find and replace with human brains. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05st/egl: Create primary texture not display targetJakob Bornecrantz
2009-08-03egl: Replace IsBound by a pointer to the binding.Chia-I Wu
IsBound tells if a context or surface is current. What it does not tell is, to which thread a context is current, or to which context a surface is current. This commit replaces IsBound by a pointer to the binding thread or context. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Remove redundant DeletePending flag.Chia-I Wu
A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Use the link functions to manage resources.Chia-I Wu
This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-06-30drm/st: Return drm_api struct from a functionJakob Bornecrantz
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-25st/egl: Set dpms to on when showing screensJakob Bornecrantz
There is a wonderful bug in 2.6.29 that causes a hard lock on my computer when this code is active for lvds that are turned off.
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-03-03st/drm: s/hocks/hooks/Jakob Bornecrantz
2009-02-27egl: Fix for minor api changeJakob Bornecrantz
2009-02-11egl: Use only libdrm structs for kmsJakob Bornecrantz
2009-01-30egl: Don't fill shown screenJakob Bornecrantz
2009-01-29egl: Blit to the bound frontbuffer with pipeJakob Bornecrantz
2009-01-28egl: Adopt to st_framebuffer changesJakob Bornecrantz
2009-01-19egl: Fix swap and creation of front bufferJakob Bornecrantz
2009-01-18egl: Add a egl state_tracker that use GalliumJakob Bornecrantz
This works on top Gallium and KMS. The only thing that does not work currently is swap buffers for shown mesa screens. So the only fun thing this will produce is a white screen. The driver wishing to us the state_tracker needs to implement the intrace as define in drm_api.h located in gallium/include/state_tracker. And also have a working KMS implementation.