summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-05Replace tabs by spaces.HEADmasterChia-I Wu1-7/+7
2010-03-04Rework (un)lock_resource.Chia-I Wu1-33/+42
Merge "lock" and "unlock" callbacks by a simple "get". Explicitly mention EGLImage so that the implementor knows it should implement the EGLImage semantics. EGLImage is no longer associated with a pipe_surface, as the pipe_surface should be created by the rendering context.
2010-03-04Minor comment cleanup.Chia-I Wu1-2/+2
2010-03-04Remove st_manager::create_pipe_context.Chia-I Wu1-8/+0
There is now pipe_screen::context_create.
2010-03-04Replace st_context_iface::api by st_context_iface::st_manager_private.Chia-I Wu1-7/+3
Give the manager a chance to map a st_context_iface to manager's own context. Rename st_api_private to st_context_private.
2010-02-07Update SI again with experimental OpenGL support.Chia-I Wu6-61/+995
2010-02-07Update sample implementation (SI) to latest st_api.h.Chia-I Wu5-260/+159
2010-02-07Add st_manager->create_pipe_context.Chia-I Wu1-3/+10
There is a move to have pipe_screen create contexts.
2010-02-07Suffix st_context and st_framebuffer with _iface.Chia-I Wu1-26/+28
2010-02-04Add a sample implementation.Chia-I Wu5-0/+2391
2010-02-02Extend st_api_type and st_attachment_type.Chia-I Wu1-0/+5
Add ST_API_COUNT and ST_ATTACHMENT_COUNT for the numbers of apis and attachments. Add ST_ATTACHMENT_INVALID (-1) to denote an invalid attachment.
2010-02-02Rename st_framebuffer_attachment to st_attachment_type.Chia-I Wu1-18/+18
Follow the naming of other enums. Fix typo in ST_ATTACHMENT_DEPTH_STENCIL_MASK.
2010-02-01Replace tabs by spaces.Chia-I Wu1-6/+6
2010-02-01Pass the st context to st_manager->{lock,unlock}_resource.Chia-I Wu1-2/+2
The st manager might be interested in which context is using the resource.
2010-02-01Locking an EGLImage should return a pipe surface.Chia-I Wu1-1/+2
A pipe texture is known to be insufficent. It may change again if a pipe surface is proved to be insufficient too.
2010-02-01Rename st_module_api to st_api_type and add the type to the context.Chia-I Wu1-6/+11
Without the change, it is not easy to derive the client API of an st context.
2010-01-25Fix a serious typo in ST_FRAMEBUFFER_BACK_LEFT_MASK.Chia-I Wu1-1/+1
2010-01-25Update comments.Chia-I Wu1-11/+32
2010-01-25Reorder the callbacks by stability.Chia-I Wu1-28/+28
Move fundamental callbacks (such as destroy) to the head and move extension functions (such as teximage) to the end.
2010-01-25Document the lifetime or ownership of resources and validated textures.Chia-I Wu1-2/+12
2010-01-25An st_manager corresponds to a display in the window system.Chia-I Wu1-20/+22
There may be two displays both using the same state tracker. Pass st_manager when contexts are created, instead of when the st_api is created.
2010-01-25Add st_api_private to st_context.Chia-I Wu1-0/+5
Similiar to st_framebuffer, we do not want to force the state tracker to inherit st_context.
2010-01-25Typo in st_context->get_current.Chia-I Wu1-1/+1
2010-01-25Forgot to add resource type when simplifying {lock,unlock}_resource.Chia-I Wu1-4/+8
2010-01-25Prefix st_framebuffer_attachment.Chia-I Wu1-2/+2
Rename the argument to "statt".
2010-01-25Rename st_manager_api to st_manager.Chia-I Wu1-4/+4
2010-01-25Prefix argument names.Chia-I Wu1-21/+22
Prefix st_api, st_context, and st_framebuffer argument names by "st".
2010-01-25Enhance st_visual and add st_context->is_visual_supported.Chia-I Wu1-4/+44
This avoids separating st_visual, as discussed in issue 1.
2010-01-25Simplify lock_resource/unlock_resource.Chia-I Wu2-56/+4
They were designed for future extension without breaking the ABI. Let's keep it simple for now.
2010-01-18Wrong type used in st_manager_resource.Chia-I Wu1-1/+1
2010-01-18Move st_manager_api after st_api.Chia-I Wu1-37/+37
The other structs form an integral part.
2010-01-18Fix a serious typo in issue 3.Chia-I Wu1-1/+1
Should be st_context->bind_framebuffers, not st_framebuffer->bind_framebuffers.
2010-01-18Add the standard comment to the last #endif.Chia-I Wu1-1/+1
That is, add /* _ST_API_H_ */.
2010-01-18Amend st_module.Chia-I Wu1-5/+16
Add a enum to st_module to describe the API supported by the module.
2010-01-18Detail a possible simplification for lock_resource/unlock_resource.Chia-I Wu1-0/+10
2010-01-18Add missing ST_TEXTURE_1D.Chia-I Wu1-0/+1
GLX_EXT_texture_from_pixmap supoprts 1D texture.
2010-01-17Fix typos.Chia-I Wu2-3/+3
2010-01-17There is no sm_api.Chia-I Wu1-1/+1
Rename the last sm_api to st_manager_api.
2010-01-17Move structs after enums.Chia-I Wu1-14/+14
Make the file consists of #include's, #define's, enums, and structs, and in that order.
2010-01-17Document st_module.Chia-I Wu1-0/+8
2010-01-17Update the resource lock/unlock prototypes.Chia-I Wu1-4/+4
Forgot to change the types when they are moved to st_context.
2010-01-17Update the coding style.Chia-I Wu1-10/+11
Replace tabs by spaces and others.
2010-01-17Move st_api resources to st_context resouces.Chia-I Wu1-41/+41
The state tracker manager needs to peek the resources of the rendering context, not the state tracker.
2010-01-17Remove manager resources that are added for completeness.Chia-I Wu1-6/+0
Those resources are not used and are removed. They may be used for direct gallium access, but they are not right now.
2010-01-17Remove unnecessary typedef.Chia-I Wu1-3/+1
2010-01-17Add DESIGN.Chia-I Wu1-0/+77
2010-01-17Add symbols for st_api creation.Chia-I Wu1-0/+18
The idea is that the state tracker manager should dlsym() for a specific symbol to decide whether a state tracker is available. The returned address has type struct st_module and can be used to create the st_api.
2010-01-16Remove unnecessary const qualifier.Chia-I Wu1-2/+2
2010-01-16s/ST_SURFACE/ST_FRAMEBUFFER/Chia-I Wu1-7/+7
2010-01-16Rename st_bind_type to st_texture_type and add 3D texture.Chia-I Wu1-3/+4