summaryrefslogtreecommitdiff
path: root/src/fragment.c
AgeCommit message (Collapse)AuthorFilesLines
2008-08-28Made logMessage a wrappable core (instead of display) function.Danny Baumann1-3/+3
2007-08-29Split compiz.h into compiz.h and compiz-core.h.David Reveman1-1/+1
Move all structures and most functions from compiz.h to compiz-core.h. compiz.h provides an API that is stable across releases with the same minor version number. It can be used to create plugins that will run across multiple core ABI versions. compiz-core.h contains all structures and hooks used by the core. A plugin that includes compiz-core.h is responsible for checking the core ABI version when being initialized. Remove deprecated function: compWindowTypeMaskFromStringList
2007-08-09Fix many function declarations that were missing the 'const'David Reveman1-15/+15
modifier.
2007-07-11Clean up and avoid some unnecessary heap allocation inDavid Reveman1-36/+38
addDataOpToFunctionData and addBlendOpToFunctionData.
2007-07-06Added string formating to fragment functions.Dennis Kasprzyk1-6/+82
2007-05-31Add extensible logging frameworkMike Dransfield1-5/+7
2007-01-21Don't pass window paint attribs to drawWindow function. AllDavid Reveman1-0/+14
transformations must be done before calling drawWindow. Blur plugin is now performing destination fetching in drawWindow function before any window textures have been rendered.
2007-01-14Add addBlendOpToFunctionData function which can be used to indicate thatDavid Reveman1-4/+35
some fragment function data is performing a blend operation. Functions for allocating fragment parameters and fragment texture units now take a integer parameter that specifies the number of units or parameters that should be allocated. Add initial destination blur support to blur plugin. The current state of destination blur is generally not considered usable. There's a few things that need to be added before it will scale and and perform properly.
2007-01-10Keep track of temporary texcoord variables at all index levels to makeDavid Reveman1-7/+14
sure we don't add duplicate variable names. Pass the correct offset variable to next index level.
2007-01-10Only add one fetch offset variable per index.David Reveman1-22/+36
2007-01-10Add Fragment Attribute Interface.David Reveman1-0/+1256
This interface (FAI) makes it possible for plugins to provide programmable per-fragment operations. Each plugin can add a set of fragment functions to the fragment attributes that are used for a drawing operation. A fragment function contains a set of data defined by some existing extension to OpenGL that provide programmable per-fragment operations. Current version of this interface only support GL_ARB_fragment_program but it is designed in such a way that it can very easily be extended to support other OpenGL extensions. The FAI also provide mechanisms which allow plugins to allocated texture units and parameters for private use. The fragment attribute implementation contains methods for combining a set fragment functions into a fragment program that can be used by OpenGL for per-fragment operations. The major benefit of the FAI is that it provides a pluggable way to use programmable per-fragment operations and will allow us to take advantage of the latest OpenGL extensions and create some really amazing effects while still making sure that everything integrate perfectly.