From 3562e78743202e43aec8727005182a2558117eca Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 28 Jun 2009 22:07:26 +0000 Subject: Checked in the following released items: xkeyboard-config-1.4.tar.gz ttf-bitstream-vera-1.10.tar.gz font-alias-1.0.1.tar.gz font-sun-misc-1.0.0.tar.gz font-sun-misc-1.0.0.tar.gz font-sony-misc-1.0.0.tar.gz font-schumacher-misc-1.0.0.tar.gz font-mutt-misc-1.0.0.tar.gz font-misc-misc-1.0.0.tar.gz font-misc-meltho-1.0.0.tar.gz font-micro-misc-1.0.0.tar.gz font-jis-misc-1.0.0.tar.gz font-isas-misc-1.0.0.tar.gz font-dec-misc-1.0.0.tar.gz font-daewoo-misc-1.0.0.tar.gz font-cursor-misc-1.0.0.tar.gz font-arabic-misc-1.0.0.tar.gz font-winitzki-cyrillic-1.0.0.tar.gz font-misc-cyrillic-1.0.0.tar.gz font-cronyx-cyrillic-1.0.0.tar.gz font-screen-cyrillic-1.0.1.tar.gz font-xfree86-type1-1.0.1.tar.gz font-adobe-utopia-type1-1.0.1.tar.gz font-ibm-type1-1.0.0.tar.gz font-bitstream-type1-1.0.0.tar.gz font-bitstream-speedo-1.0.0.tar.gz font-bh-ttf-1.0.0.tar.gz font-bh-type1-1.0.0.tar.gz font-bitstream-100dpi-1.0.0.tar.gz font-bh-lucidatypewriter-100dpi-1.0.0.tar.gz font-bh-100dpi-1.0.0.tar.gz font-adobe-utopia-100dpi-1.0.1.tar.gz font-adobe-100dpi-1.0.0.tar.gz font-util-1.0.1.tar.gz font-bitstream-75dpi-1.0.0.tar.gz font-bh-lucidatypewriter-75dpi-1.0.0.tar.gz font-adobe-utopia-75dpi-1.0.1.tar.gz font-bh-75dpi-1.0.0.tar.gz bdftopcf-1.0.1.tar.gz font-adobe-75dpi-1.0.0.tar.gz mkfontscale-1.0.6.tar.gz openssl-0.9.8k.tar.gz bigreqsproto-1.0.2.tar.gz xtrans-1.2.2.tar.gz resourceproto-1.0.2.tar.gz inputproto-1.4.4.tar.gz compositeproto-0.4.tar.gz damageproto-1.1.0.tar.gz zlib-1.2.3.tar.gz xkbcomp-1.0.5.tar.gz freetype-2.3.9.tar.gz pthreads-w32-2-8-0-release.tar.gz pixman-0.12.0.tar.gz kbproto-1.0.3.tar.gz evieext-1.0.2.tar.gz fixesproto-4.0.tar.gz recordproto-1.13.2.tar.gz randrproto-1.2.2.tar.gz scrnsaverproto-1.1.0.tar.gz renderproto-0.9.3.tar.gz xcmiscproto-1.1.2.tar.gz fontsproto-2.0.2.tar.gz xextproto-7.0.3.tar.gz xproto-7.0.14.tar.gz libXdmcp-1.0.2.tar.gz libxkbfile-1.0.5.tar.gz libfontenc-1.0.4.tar.gz libXfont-1.3.4.tar.gz libX11-1.1.5.tar.gz libXau-1.0.4.tar.gz libxcb-1.1.tar.gz xorg-server-1.5.3.tar.gz --- xorg-server/hw/dmx/doc/html/dmxpict_8h.html | 1418 +++++++++++++++++++++++++++ 1 file changed, 1418 insertions(+) create mode 100644 xorg-server/hw/dmx/doc/html/dmxpict_8h.html (limited to 'xorg-server/hw/dmx/doc/html/dmxpict_8h.html') diff --git a/xorg-server/hw/dmx/doc/html/dmxpict_8h.html b/xorg-server/hw/dmx/doc/html/dmxpict_8h.html new file mode 100644 index 000000000..ea00f7a84 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxpict_8h.html @@ -0,0 +1,1418 @@ + + + + + File Index + + + + +
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
+

dmxpict.h File Reference

+

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  _dmxGlyphPriv
struct  _dmxPictPriv

Defines

#define DMX_GET_PICT_PRIV(_pPict)   (dmxPictPrivPtr)(_pPict)->devPrivates[dmxPictPrivateIndex].ptr
#define DMX_SET_GLYPH_PRIV(_pGlyph, _pPriv)   GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateIndex, (_pPriv))
#define DMX_GET_GLYPH_PRIV(_pGlyph)   (dmxGlyphPrivPtr)GlyphSetGetPrivate((_pGlyph), dmxGlyphSetPrivateIndex)

Typedefs

typedef _dmxPictPriv dmxPictPrivRec
typedef _dmxPictPrivdmxPictPrivPtr
typedef _dmxGlyphPriv dmxGlyphPrivRec
typedef _dmxGlyphPrivdmxGlyphPrivPtr

Functions

void dmxInitRender (void)
void dmxResetRender (void)
Bool dmxPictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats)
void dmxCreatePictureList (WindowPtr pWindow)
Bool dmxDestroyPictureList (WindowPtr pWindow)
int dmxCreatePicture (PicturePtr pPicture)
void dmxDestroyPicture (PicturePtr pPicture)
int dmxChangePictureClip (PicturePtr pPicture, int clipType, pointer value, int n)
void dmxDestroyPictureClip (PicturePtr pPicture)
void dmxChangePicture (PicturePtr pPicture, Mask mask)
void dmxValidatePicture (PicturePtr pPicture, Mask mask)
void dmxComposite (CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, INT16 xSrc, INT16 ySrc, INT16 xMask, INT16 yMask, INT16 xDst, INT16 yDst, CARD16 width, CARD16 height)
void dmxGlyphs (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int nlists, GlyphListPtr lists, GlyphPtr *glyphs)
void dmxCompositeRects (CARD8 op, PicturePtr pDst, xRenderColor *color, int nRect, xRectangle *rects)
Bool dmxInitIndexed (ScreenPtr pScreen, PictFormatPtr pFormat)
void dmxCloseIndexed (ScreenPtr pScreen, PictFormatPtr pFormat)
void dmxUpdateIndexed (ScreenPtr pScreen, PictFormatPtr pFormat, int ndef, xColorItem *pdef)
void dmxTrapezoids (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntrap, xTrapezoid *traps)
void dmxTriangles (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntri, xTriangle *tris)
void dmxTriStrip (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points)
void dmxTriFan (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points)
Bool dmxBEFreeGlyphSet (ScreenPtr pScreen, GlyphSetPtr glyphSet)
Bool dmxBEFreePicture (PicturePtr pPicture)

Variables

int dmxPictPrivateIndex
int dmxGlyphSetPrivateIndex
+


Detailed Description

+This file provides access to the externally visible RENDER support functions, global variables and macros for DMX.

+FIXME: Move function definitions for non-externally visible function to .c file.


Define Documentation

+

+ + + + +
+ + + + + + + +
#define DMX_GET_GLYPH_PRIV_pGlyph   )    (dmxGlyphPrivPtr)GlyphSetGetPrivate((_pGlyph), dmxGlyphSetPrivateIndex) +
+
+ + + + + +
+   + + +

+Get the glyphset private data given a glyphset pointer

+

+ + + + +
+ + + + + + + +
#define DMX_GET_PICT_PRIV_pPict   )    (dmxPictPrivPtr)(_pPict)->devPrivates[dmxPictPrivateIndex].ptr +
+
+ + + + + +
+   + + +

+Get the picture private data given a picture pointer

+

+ + + + +
+ + + + + + + + + + +
#define DMX_SET_GLYPH_PRIV_pGlyph,
_pPriv   )    GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateIndex, (_pPriv)) +
+
+ + + + + +
+   + + +

+Set the glyphset private data given a glyphset pointer

+


Typedef Documentation

+

+ + + + +
+ + +
typedef struct _dmxGlyphPriv * dmxGlyphPrivPtr +
+
+ + + + + +
+   + + +

+Glyph Set private structure

+

+ + + + +
+ + +
typedef struct _dmxGlyphPriv dmxGlyphPrivRec +
+
+ + + + + +
+   + + +

+Glyph Set private structure

+

+ + + + +
+ + +
typedef struct _dmxPictPriv * dmxPictPrivPtr +
+
+ + + + + +
+   + + +

+Picture private structure

+

+ + + + +
+ + +
typedef struct _dmxPictPriv dmxPictPrivRec +
+
+ + + + + +
+   + + +

+Picture private structure

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
Bool dmxBEFreeGlyphSet ScreenPtr  pScreen,
GlyphSetPtr  glyphSet
+
+ + + + + +
+   + + +

+Free glyphSet on back-end screen number idx.

+

+ + + + +
+ + + + + + + + + + +
Bool dmxBEFreePicture PicturePtr  pPicture  ) 
+
+ + + + + +
+   + + +

+Destroy pPicture on the back-end server.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void dmxChangePicture PicturePtr  pPicture,
Mask  mask
+
+ + + + + +
+   + + +

+Change the attributes of the pictures. If the picture has not yet been created due to lazy window creation, save the mask so that it can be used to appropriately initialize the picture's attributes when it is created later.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int dmxChangePictureClip PicturePtr  pPicture,
int  clipType,
pointer  value,
int  n
+
+ + + + + +
+   + + +

+Change the picture's list of clip rectangles.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void dmxCloseIndexed ScreenPtr  pScreen,
PictFormatPtr  pFormat
+
+ + + + + +
+   + + +

+Indexed color visuals are not yet supported.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxComposite CARD8  op,
PicturePtr  pSrc,
PicturePtr  pMask,
PicturePtr  pDst,
INT16  xSrc,
INT16  ySrc,
INT16  xMask,
INT16  yMask,
INT16  xDst,
INT16  yDst,
CARD16  width,
CARD16  height
+
+ + + + + +
+   + + +

+Composite a picture on the appropriate screen by combining the specified rectangle of the transformed src and mask operands with the specified rectangle of the dst using op as the compositing operator. For a complete description see the protocol document of the RENDER library.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxCompositeRects CARD8  op,
PicturePtr  pDst,
xRenderColor *  color,
int  nRect,
xRectangle *  rects
+
+ + + + + +
+   + + +

+Fill a rectangle on the appropriate screen by combining the color with the dest picture in the area specified by the list of rectangles. For a complete description see the protocol document of the RENDER library.

+

+ + + + +
+ + + + + + + + + + +
int dmxCreatePicture PicturePtr  pPicture  ) 
+
+ + + + + +
+   + + +

+Create a picture. This function handles the CreatePicture unwrapping/wrapping and calls dmxDoCreatePicture to actually create the picture on the appropriate screen.

+

+ + + + +
+ + + + + + + + + + +
void dmxCreatePictureList WindowPtr  pWindow  ) 
+
+ + + + + +
+   + + +

+Create a list of pictures. This function is called by dmxCreateAndRealizeWindow() during the lazy window creation realization process. It creates the entire list of pictures that are associated with the given window.

+

+ + + + +
+ + + + + + + + + + +
void dmxDestroyPicture PicturePtr  pPicture  ) 
+
+ + + + + +
+   + + +

+Destroy a picture. This function calls the wrapped function that frees the resources in the DMX server associated with this picture.

+

+ + + + +
+ + + + + + + + + + +
void dmxDestroyPictureClip PicturePtr  pPicture  ) 
+
+ + + + + +
+   + + +

+Destroy the picture's list of clip rectangles.

+

+ + + + +
+ + + + + + + + + + +
Bool dmxDestroyPictureList WindowPtr  pWindow  ) 
+
+ + + + + +
+   + + +

+Destroy a list of pictures that are associated with the window that is being destroyed. This function is called by dmxDestroyWindow().

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxGlyphs CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  nlists,
GlyphListPtr  lists,
GlyphPtr *  glyphs
+
+ + + + + +
+   + + +

+Null function to catch when/if RENDER calls lower level mi hooks. Compositing glyphs is handled by dmxProcRenderCompositeGlyphs(). This function should never be called.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
Bool dmxInitIndexed ScreenPtr  pScreen,
PictFormatPtr  pFormat
+
+ + + + + +
+   + + +

+Indexed color visuals are not yet supported.

+

+ + + + +
+ + + + + + + + + + +
void dmxInitRender void   ) 
+
+ + + + + +
+   + + +

+Initialize the Proc Vector for the RENDER extension. The functions here cannot be handled by the mi layer RENDER hooks either because the required information is no longer available when it reaches the mi layer or no mi layer hooks exist. This function is called from InitOutput() since it should be initialized only once per server generation.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Bool dmxPictureInit ScreenPtr  pScreen,
PictFormatPtr  formats,
int  nformats
+
+ + + + + +
+   + + +

+Initialize the RENDER extension, allocate the picture privates and wrap mi function hooks. If the shadow frame buffer is used, then call the appropriate fb initialization function.

+

+ + + + +
+ + + + + + + + + + +
void dmxResetRender void   ) 
+
+ + + + + +
+   + + +

+Reset the Proc Vector for the RENDER extension back to the original functions. This function is called from dmxCloseScreen() during the server reset (only for screen #0).

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxTrapezoids CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  ntrap,
xTrapezoid *  traps
+
+ + + + + +
+   + + +

+Composite a list of trapezoids on the appropriate screen. For a complete description see the protocol document of the RENDER library.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxTriangles CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  ntri,
xTriangle *  tris
+
+ + + + + +
+   + + +

+Composite a list of triangles on the appropriate screen. For a complete description see the protocol document of the RENDER library.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxTriFan CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  npoint,
xPointFixed *  points
+
+ + + + + +
+   + + +

+Composite a triangle fan on the appropriate screen. For a complete description see the protocol document of the RENDER library.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxTriStrip CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  npoint,
xPointFixed *  points
+
+ + + + + +
+   + + +

+Composite a triangle strip on the appropriate screen. For a complete description see the protocol document of the RENDER library.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxUpdateIndexed ScreenPtr  pScreen,
PictFormatPtr  pFormat,
int  ndef,
xColorItem *  pdef
+
+ + + + + +
+   + + +

+Indexed color visuals are not yet supported.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void dmxValidatePicture PicturePtr  pPicture,
Mask  mask
+
+ + + + + +
+   + + +

+Validate the picture's attributes before rendering to it. Update any picture attributes that have been changed by one of the higher layers.

+


Variable Documentation

+

+ + + + +
+ + +
int dmxGlyphSetPrivateIndex +
+
+ + + + + +
+   + + +

+Private index for GlyphSets

+

+ + + + +
+ + +
int dmxPictPrivateIndex +
+
+ + + + + +
+   + + +

+Private index for Picts

+


+
+ + Generated June 29, 2004 for Distributed Multihead X by + doxygen + 1.3.4. + + + + + -- cgit v1.2.3