From 1f876171067c04fc21fccd5a3051f982fd85c0f0 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 21 Oct 2009 19:07:36 +0000 Subject: Updated to xorg-server-1.7.99.1 --- xorg-server/hw/dmx/doc/html/dmxpict_8h.html | 1971 ++++++++++++--------------- 1 file changed, 898 insertions(+), 1073 deletions(-) (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 index ea00f7a84..722a89152 100644 --- a/xorg-server/hw/dmx/doc/html/dmxpict_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxpict_8h.html @@ -6,1404 +6,1229 @@ - -
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) +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  _dmxPictPriv
struct  _dmxGlyphPriv

Defines

#define DMX_GET_PICT_PRIV(_pPict)   (dmxPictPrivPtr)dixLookupPrivate(&(_pPict)->devPrivates, dmxPictPrivateKey)
#define DMX_SET_GLYPH_PRIV(_pGlyph, _pPriv)   GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateKey, (_pPriv))
#define DMX_GET_GLYPH_PRIV(_pGlyph)   (dmxGlyphPrivPtr)GlyphSetGetPrivate((_pGlyph), dmxGlyphSetPrivateKey)

Typedefs

typedef struct _dmxPictPriv dmxPictPrivRec
typedef struct _dmxPictPrivdmxPictPrivPtr
typedef struct _dmxGlyphPriv dmxGlyphPrivRec
typedef struct _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)
int dmxBECreateGlyphSet (int idx, GlyphSetPtr glyphSet)
Bool dmxBEFreeGlyphSet (ScreenPtr pScreen, GlyphSetPtr glyphSet)
int dmxBECreatePicture (PicturePtr pPicture)
Bool dmxBEFreePicture (PicturePtr pPicture)

Variables

DevPrivateKey dmxPictPrivateKey
DevPrivateKey dmxGlyphSetPrivateKey
+

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), dmxGlyphSetPrivateKey)
-
- - - - - -
-   - - -

-Get the glyphset private data given a glyphset pointer

-

- - -
- - - - - - - - - -
#define DMX_GET_PICT_PRIV_pPict   )    (dmxPictPrivPtr)(_pPict)->devPrivates[dmxPictPrivateIndex].ptr + + + + +
+
+ + + + + + + + +
#define DMX_GET_PICT_PRIV(_pPict  )    (dmxPictPrivPtr)dixLookupPrivate(&(_pPict)->devPrivates, dmxPictPrivateKey)
-
- - - - - -
-   - - -

-Get the picture private data given a picture pointer

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + - - - - + + + +
#define DMX_SET_GLYPH_PRIV_pGlyph,
#define DMX_SET_GLYPH_PRIV(_pGlyph,
_pPriv   )    GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateIndex, (_pPriv)) + _pPriv  )    GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateKey, (_pPriv))
-
- - - - - -
-   - - -

-Set the glyphset private data given a glyphset pointer

-


Typedef Documentation

-

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

Set the glyphset private data given a glyphset pointer

+ +

Referenced by dmxProcRenderCreateGlyphSet(), and dmxProcRenderFreeGlyphSet().

+ +
+ +

Typedef Documentation

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

-Glyph Set private structure

-

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

-Glyph Set private structure

-

- - - - -
- + +
+

Glyph Set private structure

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

-Picture private structure

-

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

-Picture private structure

-


Function Documentation

-

- - - - -
- + +
+

Picture private structure

+ +
+ +

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
Bool dmxBEFreeGlyphSet ScreenPtr  pScreen, int dmxBECreateGlyphSet (int  idx,
GlyphSetPtr  glyphSetGlyphSetPtr  glyphSet 
)
-
- - - - - -
-   - - -

-Free glyphSet on back-end screen number idx.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
Bool dmxBEFreePicture PicturePtr  pPicture  ) int dmxBECreatePicture (PicturePtr  pPicture ) 
-
- - - - - -
-   - - -

-Destroy pPicture on the back-end server.

-

- - - - -
- + +
+

Create pPicture on the backend.

+ +

References DMX_GET_PICT_PRIV, dmxDoCreatePicture(), dmxValidatePicture(), and _dmxPictPriv::pict.

+ +

Referenced by dmxBERestoreRenderPict().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + +
void dmxChangePicture PicturePtr  pPicture, Bool dmxBEFreeGlyphSet (ScreenPtr  pScreen,
Mask  maskGlyphSetPtr  glyphSet 
)
+ + + + +
+
+ + + + + + + + +
Bool dmxBEFreePicture (PicturePtr  pPicture ) 
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + +
+

Destroy pPicture on the back-end server.

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, dmxScreens, and _dmxPictPriv::pict.

+ +

Referenced by dmxBEDestroyResources(), dmxDestroyPicture(), and dmxDestroyPictureList().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + + + +
int dmxChangePictureClip PicturePtr  pPicture, void dmxChangePicture (PicturePtr  pPicture,
int  clipType, 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.

+ +

References DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxChangePicture(), dmxScreens, and _dmxPictPriv::savedMask.

+ +

Referenced by dmxChangePicture(), and dmxPictureInit().

+ +
+ + +
+
+ + + + + + + + + - - + + + + + + + + - - + + - - + + -
int dmxChangePictureClip (PicturePtr  pPicture,
pointer  value, int  clipType,
pointer  value,
int  nint  n 
)
-
- - - - - -
-   - - -

-Change the picture's list of clip rectangles.

-

- - - - -
- + +
+

Change the picture's list of clip rectangles.

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxChangePictureClip(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

+ +

Referenced by dmxChangePictureClip(), and dmxPictureInit().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxCloseIndexed ScreenPtr  pScreen, void dmxCloseIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormatPictFormatPtr  pFormat 
)
-
- - - - - -
-   - - -

-Indexed color visuals are not yet supported.

-

- - - - -
- + +
+

Indexed color visuals are not yet supported.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxComposite CARD8  op, void dmxComposite (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pMask, PicturePtr  pMask,
PicturePtr  pDst, PicturePtr  pDst,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
INT16  xMask, INT16  xMask,
INT16  yMask, INT16  yMask,
INT16  xDst, INT16  xDst,
INT16  yDst, INT16  yDst,
CARD16  width, CARD16  width,
CARD16  heightCARD16  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.

-

- - - - -
- + +
+

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.

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxComposite(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

+ +

Referenced by dmxComposite(), and dmxPictureInit().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxCompositeRects CARD8  op, void dmxCompositeRects (CARD8  op,
PicturePtr  pDst, PicturePtr  pDst,
xRenderColor *  color, xRenderColor *  color,
int  nRect, int  nRect,
xRectangle *  rectsxRectangle *  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.

-

- - - - -
- + +
+

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.

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxCompositeRects(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

+ +

Referenced by dmxCompositeRects(), and dmxPictureInit().

+ +
+ + +
+
+
- - - - - - + + + + + + -
int dmxCreatePicture PicturePtr  pPicture  ) 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.

-

- - - - -
- + +
+

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

+ +

References DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxCreatePicture(), dmxDoCreatePicture(), dmxScreens, _dmxPictPriv::pict, and _dmxPictPriv::savedMask.

+ +

Referenced by dmxCreatePicture(), and dmxPictureInit().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxCreatePictureList WindowPtr  pWindow  ) 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.

-

- - - - -
- + +
+

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.

+ +

References DMX_GET_PICT_PRIV, dmxDoCreatePicture(), and _dmxPictPriv::pict.

+ +

Referenced by dmxCreateAndRealizeWindow().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxDestroyPicture PicturePtr  pPicture  ) 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.

-

- - - - -
- + +
+

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

+ +

References DMX_UNWRAP, DMX_WRAP, dmxBEFreePicture(), dmxDestroyPicture(), dmxScreens, and dmxSync().

+ +

Referenced by dmxDestroyPicture(), and dmxPictureInit().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxDestroyPictureClip PicturePtr  pPicture  ) void dmxDestroyPictureClip (PicturePtr  pPicture ) 
-
- - - - - -
-   - - -

-Destroy the picture's list of clip rectangles.

-

- - - - -
- + +
+

Destroy the picture's list of clip rectangles.

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxDestroyPictureClip(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

+ +

Referenced by dmxDestroyPictureClip(), and dmxPictureInit().

+ +
+ + +
+
+
- - - - - - + + + + + + -
Bool dmxDestroyPictureList WindowPtr  pWindow  ) 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().

-

- - - - -
- + +
+

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

+ +

References dmxBEFreePicture().

+ +

Referenced by dmxDestroyWindow().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxGlyphs CARD8  op, void dmxGlyphs (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pDst, PicturePtr  pDst,
PictFormatPtr  maskFormat, PictFormatPtr  maskFormat,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
int  nlists, int  nlists,
GlyphListPtr  lists, GlyphListPtr  lists,
GlyphPtr *  glyphsGlyphPtr *  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.

-

- - - - -
- + +
+

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

+ +

Referenced by dmxPictureInit().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + -
Bool dmxInitIndexed ScreenPtr  pScreen, Bool dmxInitIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormatPictFormatPtr  pFormat 
)
-
- - - - - -
-   - - -

-Indexed color visuals are not yet supported.

-

- - - - -
- + +
+

Indexed color visuals are not yet supported.

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxInitRender void   ) 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.

-

- - - - -
- + +
+

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.

+ +

References dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderCreateGlyphSet(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxSaveRenderVector, and ProcRenderVector.

+ +

Referenced by InitOutput().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
Bool dmxPictureInit ScreenPtr  pScreen, Bool dmxPictureInit (ScreenPtr  pScreen,
PictFormatPtr  formats, PictFormatPtr  formats,
int  nformatsint  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.

-

- - - - -
- + +
+

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.

+ +

References DMX_WRAP, dmxChangePicture(), dmxChangePictureClip(), dmxComposite(), dmxCompositeRects(), dmxCreatePicture(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxGlyphs(), dmxPictPrivateKey, dmxScreens, dmxShadowFB, dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), and dmxValidatePicture().

+ +

Referenced by dmxScreenInit().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxResetRender void   ) 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).

-

- - - - -
- + +
+

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).

+ +

References dmxSaveRenderVector, and ProcRenderVector.

+ +

Referenced by dmxCloseScreen().

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

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

-

- - - - -
- + +
+

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

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTrapezoids(), and _dmxPictPriv::pict.

+ +

Referenced by dmxPictureInit(), and dmxTrapezoids().

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

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

-

- - - - -
- + +
+

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

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTriangles(), and _dmxPictPriv::pict.

+ +

Referenced by dmxPictureInit(), and dmxTriangles().

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

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

-

- - - - -
- + +
+

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

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTriFan(), and _dmxPictPriv::pict.

+ +

Referenced by dmxPictureInit(), and dmxTriFan().

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

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

-

- - - - -
- + +
+

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

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTriStrip(), and _dmxPictPriv::pict.

+ +

Referenced by dmxPictureInit(), and dmxTriStrip().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxUpdateIndexed ScreenPtr  pScreen, void dmxUpdateIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormat, PictFormatPtr  pFormat,
int  ndef, int  ndef,
xColorItem *  pdefxColorItem *  pdef 
)
-
- - - - - -
-   - - -

-Indexed color visuals are not yet supported.

-

- - - - -
- + +
+

Indexed color visuals are not yet supported.

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxValidatePicture PicturePtr  pPicture, void dmxValidatePicture (PicturePtr  pPicture,
Mask  maskMask  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 + +
+

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

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxScreens, dmxSync(), dmxValidatePicture(), _dmxPictPriv::pict, and _dmxPictPriv::savedMask.

+ +

Referenced by dmxBECreatePicture(), dmxPictureInit(), and dmxValidatePicture().

+ +
+ +

Variable Documentation

+ +
+
+ + + +
DevPrivateKey dmxGlyphSetPrivateKey
-
- - - - - -
-   - - -

-Private index for GlyphSets

-

- - - - -
- + +
+

Index for glyphset private data

+

Private index for GlyphSets

+ +
+ + +
+
+
- +
int dmxPictPrivateIndex + DevPrivateKey dmxPictPrivateKey
-
- - - - - -
-   - - -

-Private index for Picts

+ +

+

Index for picture private data

+

Private index for Picts

+ +

Referenced by dmxPictureInit().

+ +
+ +
-- cgit v1.2.3