head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.3 netbsd-7-1:1.1.1.3.0.14 netbsd-7-1-RELEASE:1.1.1.3 netbsd-7-1-RC2:1.1.1.3 netbsd-7-1-RC1:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.3 netbsd-7-0:1.1.1.3.0.12 netbsd-7-0-RELEASE:1.1.1.3 netbsd-7-0-RC3:1.1.1.3 netbsd-7-0-RC2:1.1.1.3 netbsd-7-0-RC1:1.1.1.3 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.3.0.10 netbsd-7-base:1.1.1.3 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.3 netbsd-6-0-3-RELEASE:1.1.1.3 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.3 xorg-server-1-10-6:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.0.8 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 xorg-server-1-10-3:1.1.1.3 mrg-xorg-server-1-9-5-pre-1-10-3:1.1.1.2 xorg-server-1-9-5:1.1.1.2 xorg-server-1-9-2:1.1.1.2 netbsd-5-1:1.1.1.1.0.6 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 xorg-server-1-6-5:1.1.1.1 xorg-server-1-6-3:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 xorg-server-1-6-2:1.1.1.1 xorg-server-1-6-1-901:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 xorg-server-1-4-2:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2016.08.11.00.04.28; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.31; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.31; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.20; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.50; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @
#include "dmx.h"#include "dmxsync.h"#include "dmxpict.h"#include "dmxwindow.h"#include "dmxpixmap.h"#include "fb.h"#include "pixmapstr.h"#include "dixstruct.h"#include "render.h"#include "renderproto.h"#include "picture.h"#include "picturestr.h"#include "mipict.h"#include "fbpict.h"Functions | |
| void | dmxInitRender (void) |
| void | dmxResetRender (void) |
| Bool | dmxPictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats) |
| Bool | dmxBEFreeGlyphSet (ScreenPtr pScreen, GlyphSetPtr glyphSet) |
| void | dmxCreatePictureList (WindowPtr pWindow) |
| int | dmxCreatePicture (PicturePtr pPicture) |
| Bool | dmxBEFreePicture (PicturePtr pPicture) |
| Bool | dmxDestroyPictureList (WindowPtr pWindow) |
| 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) |
|
||||||||||||
|
Free glyphSet on back-end screen number idx. |
|
|
Destroy pPicture on the back-end server. |
|
||||||||||||
|
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. |
|
||||||||||||||||||||
|
Change the picture's list of clip rectangles. |
|
||||||||||||
|
Indexed color visuals are not yet supported. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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. |
|
||||||||||||||||||||||||
|
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. |
|
|
Create a picture. This function handles the CreatePicture unwrapping/wrapping and calls dmxDoCreatePicture to actually create the picture on the appropriate screen. |
|
|
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. |
|
|
Destroy a picture. This function calls the wrapped function that frees the resources in the DMX server associated with this picture. |
|
|
Destroy the picture's list of clip rectangles. |
|
|
Destroy a list of pictures that are associated with the window that is being destroyed. This function is called by dmxDestroyWindow(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Null function to catch when/if RENDER calls lower level mi hooks. Compositing glyphs is handled by dmxProcRenderCompositeGlyphs(). This function should never be called. |
|
||||||||||||
|
Indexed color visuals are not yet supported. |
|
|
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 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. |
|
|
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). |
|
||||||||||||||||||||||||||||||||||||
|
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 triangles 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. |
|
||||||||||||||||||||||||||||||||||||
|
Composite a triangle strip on the appropriate screen. For a complete description see the protocol document of the RENDER library. |
|
||||||||||||||||||||
|
Indexed color visuals are not yet supported. |
|
||||||||||||
|
Validate the picture's attributes before rendering to it. Update any picture attributes that have been changed by one of the higher layers. |
#include "dmx.h"#include "dmxsync.h"#include "dmxpict.h"#include "dmxwindow.h"#include "dmxpixmap.h"#include "fb.h"#include "pixmapstr.h"#include "dixstruct.h"#include <X11/extensions/render.h>#include <X11/extensions/renderproto.h>#include <X11/extensions/Xfixes.h>#include "picture.h"#include "picturestr.h"#include "mipict.h"#include "fbpict.h"Functions | |
| static int | dmxProcRenderCreateGlyphSet (ClientPtr client) |
| static int | dmxProcRenderFreeGlyphSet (ClientPtr client) |
| static int | dmxProcRenderAddGlyphs (ClientPtr client) |
| static int | dmxProcRenderFreeGlyphs (ClientPtr client) |
| static int | dmxProcRenderCompositeGlyphs (ClientPtr client) |
| static int | dmxProcRenderSetPictureTransform (ClientPtr client) |
| static int | dmxProcRenderSetPictureFilter (ClientPtr client) |
| static int | dmxGlyphErrorHandler (Display *dpy, XErrorEvent *ev) |
| void | dmxInitRender (void) |
| void | dmxResetRender (void) |
| Bool | dmxPictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats) |
| static XRenderPictFormat * | dmxFindFormat (DMXScreenInfo *dmxScreen, PictFormatPtr pFmt) |
| Bool | dmxBEFreeGlyphSet (ScreenPtr pScreen, GlyphSetPtr glyphSet) |
| int | dmxBECreateGlyphSet (int idx, GlyphSetPtr glyphSet) |
| static Picture | dmxDoCreatePicture (PicturePtr pPicture) |
| void | dmxCreatePictureList (WindowPtr pWindow) |
| int | dmxBECreatePicture (PicturePtr pPicture) |
| int | dmxCreatePicture (PicturePtr pPicture) |
| Bool | dmxBEFreePicture (PicturePtr pPicture) |
| Bool | dmxDestroyPictureList (WindowPtr pWindow) |
| 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) |
Variables | |
| int | RenderErrBase |
| int(* | ProcRenderVector [RenderNumberRequests])(ClientPtr) |
| static int(* | dmxSaveRenderVector [RenderNumberRequests])(ClientPtr) |
| static int | dmxGlyphLastError |
Provide support for the RENDER extension (version 0.8).
| int dmxBECreateGlyphSet | ( | int | idx, | |
| GlyphSetPtr | glyphSet | |||
| ) |
Create glyphSet on the backend screen number idx.
d64 1 a64 1References _DMXScreenInfo::beDisplay, DMX_GET_GLYPH_PRIV, dmxFindFormat(), dmxGlyphErrorHandler(), dmxGlyphLastError, dmxScreens, and _dmxGlyphPriv::glyphSets.
d66 1 a66 1Referenced by dmxBERestoreRenderGlyph(), and dmxProcRenderCreateGlyphSet().
d68 1 a68 18| int dmxBECreatePicture | ( | PicturePtr | pPicture | ) |
Create pPicture on the backend.
d70 1 a70 1References DMX_GET_PICT_PRIV, dmxDoCreatePicture(), dmxValidatePicture(), and _dmxPictPriv::pict.
d72 1 a72 1Referenced by dmxBERestoreRenderPict().
d74 8 a81 6| Bool dmxBEFreeGlyphSet | ( | ScreenPtr | pScreen, | a88 1d90 3 a92 2 | GlyphSetPtr | glyphSet | d96 2 a97 2 | ) | d99 1 d101 27 a127 7 |
| Bool dmxBEFreePicture | ( | PicturePtr | pPicture | ) |
| void dmxChangePicture | ( | PicturePtr | pPicture, | a155 1d157 3 a159 2 | Mask | mask | d163 2 a164 2 | ) | d166 1 d168 19 a186 14 |
| int dmxChangePictureClip | ( | PicturePtr | pPicture, | a193 1d195 3 a197 2 | int | clipType, | a199 1d201 3 a203 2 | pointer | value, | a205 1d207 3 a209 2 | int | n | d213 2 a214 2 | ) | d216 1 d218 19 a236 14 |
| void dmxCloseIndexed | ( | ScreenPtr | pScreen, | a243 1d245 3 a247 2 | PictFormatPtr | pFormat | d251 2 a252 2 | ) | d254 1 d256 19 a274 10 |
| void dmxComposite | ( | CARD8 | op, | a281 1d283 3 a285 2 | PicturePtr | pSrc, | a287 1d289 3 a291 2 | PicturePtr | pMask, | a293 1d295 3 a297 2 | PicturePtr | pDst, | a299 1d301 3 a303 2 | INT16 | xSrc, | a305 1d307 3 a309 2 | INT16 | ySrc, | a311 1d313 3 a315 2 | INT16 | xMask, | a317 1d319 3 a321 2 | INT16 | yMask, | a323 1d325 3 a327 2 | INT16 | xDst, | a329 1d331 3 a333 2 | INT16 | yDst, | a335 1d337 3 a339 2 | CARD16 | width, | a341 1d343 3 a345 2 | CARD16 | height | d349 2 a350 2 | ) | d352 1 d354 19 a372 14 |
| void dmxCompositeRects | ( | CARD8 | op, | a379 1d381 3 a383 2 | PicturePtr | pDst, | a385 1d387 3 a389 2 | xRenderColor * | color, | a391 1d393 3 a395 2 | int | nRect, | a397 1d399 3 a401 2 | xRectangle * | rects | d405 2 a406 2 | ) | d408 1 d410 27 a436 3 |
| int dmxCreatePicture | ( | PicturePtr | pPicture | ) | a494 8 |
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().
a495 14| void dmxCreatePictureList | ( | WindowPtr | pWindow | ) |
| void dmxDestroyPicture | ( | PicturePtr | pPicture | ) | a523 4 |
Destroy a picture. This function calls the wrapped function that frees the resources in the DMX server associated with this picture.
a524 18References DMX_UNWRAP, DMX_WRAP, dmxBEFreePicture(), dmxDestroyPicture(), dmxScreens, and dmxSync().
Referenced by dmxDestroyPicture(), and dmxPictureInit().
| void dmxDestroyPictureClip | ( | PicturePtr | pPicture | ) |
| Bool dmxDestroyPictureList | ( | WindowPtr | pWindow | ) | a552 8 |
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().
a553 14| static Picture dmxDoCreatePicture | ( | PicturePtr | pPicture | ) | [static] |
| static XRenderPictFormat* dmxFindFormat | ( | DMXScreenInfo * | dmxScreen, | a580 1d582 3 a584 2 | PictFormatPtr | pFmt | d588 3 a590 2 | ) | [static] |
a591 15
Find the appropriate format on the requested screen given the internal format requested. The list of formats is searched sequentially as the XRenderFindFormat() function does not always find the appropriate format when a specific format is requested.
References _DMXScreenInfo::beDisplay.
Referenced by dmxBECreateGlyphSet(), dmxDoCreatePicture(), dmxProcRenderCompositeGlyphs(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), and dmxTriStrip().
| static int dmxGlyphErrorHandler | ( | Display * | dpy, | a598 1a599 4 | XErrorEvent * | ev |
| ) | [static] |
References dmxGlyphLastError.
Referenced by dmxBECreateGlyphSet().
| void dmxGlyphs | ( | CARD8 | op, | a604 1a605 5 | PicturePtr | pSrc, | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d607 2 a608 2 | PicturePtr | pDst, | a610 1a611 5 | PictFormatPtr | maskFormat, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d613 2 a614 2 | INT16 | xSrc, | a616 1a617 5 | INT16 | ySrc, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d619 2 a620 2 | int | nlists, | a622 1a623 5 | GlyphListPtr | lists, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d625 2 a626 2 | GlyphPtr * | glyphs | d630 2 a631 2 | ) | d633 1 d635 19 a653 12 |
| Bool dmxInitIndexed | ( | ScreenPtr | pScreen, | a660 1d662 3 a664 2 | PictFormatPtr | pFormat | d668 2 a669 2 | ) | d671 1 d673 27 a699 3 |
| void dmxInitRender | ( | void | ) |
| Bool dmxPictureInit | ( | ScreenPtr | pScreen, | a727 1d729 3 a731 2 | PictFormatPtr | formats, | a733 1d735 3 a737 2 | int | nformats | d741 2 a742 2 | ) | a743 6 |
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(), dmxPictPrivateKeyRec, dmxScreens, dmxShadowFB, dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), and dmxValidatePicture().
a744 16Referenced by dmxScreenInit().
| static int dmxProcRenderAddGlyphs | ( | ClientPtr | client | ) | [static] |
| static int dmxProcRenderCompositeGlyphs | ( | ClientPtr | client | ) | [static] |
a772 4
Composite glyphs on each screen into the requested picture. If either the src or dest picture has not been allocated due to lazy window creation, this request will gracefully return.
a773 16References _DMXScreenInfo::beDisplay, DMX_GET_GLYPH_PRIV, DMX_GET_PICT_PRIV, dmxFindFormat(), dmxSaveRenderVector, dmxScreens, dmxSync(), _dmxGlyphPriv::glyphSets, and _dmxPictPriv::pict.
| static int dmxProcRenderCreateGlyphSet | ( | ClientPtr | client | ) | [static] |
| static int dmxProcRenderFreeGlyphs | ( | ClientPtr | client | ) | [static] |
a799 13
Free glyphs from the Glyph Set for each screen.
References _DMXScreenInfo::beDisplay, DMX_GET_GLYPH_PRIV, dmxNumScreens, dmxSaveRenderVector, dmxScreens, dmxSync(), and _dmxGlyphPriv::glyphSets.
| static int dmxProcRenderFreeGlyphSet | ( | ClientPtr | client | ) | [static] |
a805 13
Free the previously allocated Glyph Sets for each screen.
References _DMXScreenInfo::beDisplay, DMX_GET_GLYPH_PRIV, DMX_SET_GLYPH_PRIV, dmxBEFreeGlyphSet(), dmxNumScreens, dmxSaveRenderVector, dmxScreens, dmxSync(), and _dmxGlyphPriv::glyphSets.
| static int dmxProcRenderSetPictureFilter | ( | ClientPtr | client | ) | [static] |
Set the picture filter on each screen.
References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, dmxSaveRenderVector, dmxScreens, dmxSync(), and _dmxPictPriv::pict.
| static int dmxProcRenderSetPictureTransform | ( | ClientPtr | client | ) | [static] |
a811 13
Set the picture transform on each screen.
References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, dmxSaveRenderVector, dmxScreens, dmxSync(), and _dmxPictPriv::pict.
| void dmxResetRender | ( | void | ) | d814 3 a817 15
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, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d820 3 a822 2 | PicturePtr | pSrc, | a824 1a825 5 | PicturePtr | pDst, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d827 2 a828 2 | PictFormatPtr | maskFormat, | a830 1a831 5 | INT16 | xSrc, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d833 2 a834 2 | INT16 | ySrc, | a836 1a837 5 | int | ntrap, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| d839 2 a840 2 | xTrapezoid * | traps | d844 2 a845 2 | ) | d847 1 d849 19 a867 14 |
| void dmxTriangles | ( | CARD8 | op, | a874 1d876 3 a878 2 | PicturePtr | pSrc, | a880 1d882 3 a884 2 | PicturePtr | pDst, | a886 1d888 3 a890 2 | PictFormatPtr | maskFormat, | a892 1d894 3 a896 2 | INT16 | xSrc, | a898 1d900 3 a902 2 | INT16 | ySrc, | a904 1d906 3 a908 2 | int | ntri, | a910 1d912 3 a914 2 | xTriangle * | tris | d918 2 a919 2 | ) | d921 1 d923 19 a941 14 |
| void dmxTriFan | ( | CARD8 | op, | a948 1d950 3 a952 2 | PicturePtr | pSrc, | a954 1d956 3 a958 2 | PicturePtr | pDst, | a960 1d962 3 a964 2 | PictFormatPtr | maskFormat, | a966 1d968 3 a970 2 | INT16 | xSrc, | a972 1d974 3 a976 2 | INT16 | ySrc, | a978 1d980 3 a982 2 | int | npoint, | a984 1d986 3 a988 2 | xPointFixed * | points | d992 2 a993 2 | ) | d995 1 d997 19 a1015 14 |
| void dmxTriStrip | ( | CARD8 | op, | a1022 1d1024 3 a1026 2 | PicturePtr | pSrc, | a1028 1d1030 3 a1032 2 | PicturePtr | pDst, | a1034 1d1036 3 a1038 2 | PictFormatPtr | maskFormat, | a1040 1d1042 3 a1044 2 | INT16 | xSrc, | a1046 1d1048 3 a1050 2 | INT16 | ySrc, | a1052 1d1054 3 a1056 2 | int | npoint, | a1058 1d1060 3 a1062 2 | xPointFixed * | points | d1066 2 a1067 2 | ) | d1069 1 d1071 19 a1089 14 |
| void dmxUpdateIndexed | ( | ScreenPtr | pScreen, | a1096 1d1098 3 a1100 2 | PictFormatPtr | pFormat, | a1102 1d1104 3 a1106 2 | int | ndef, | a1108 1d1110 3 a1112 2 | xColorItem * | pdef | d1116 2 a1117 2 | ) | d1119 1 d1121 19 a1139 10 |
| void dmxValidatePicture | ( | PicturePtr | pPicture, | a1146 1d1148 3 a1150 2 | Mask | mask | d1154 2 a1155 21 | ) |
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().
int dmxGlyphLastError [static] |
a1156 4
Catch errors that might occur when allocating Glyph Sets. Errors are saved in dmxGlyphLastError for later handling.
a1157 11Referenced by dmxBECreateGlyphSet(), and dmxGlyphErrorHandler().
int(* dmxSaveRenderVector[RenderNumberRequests])(ClientPtr) [static] |
| int(* ProcRenderVector[RenderNumberRequests])(ClientPtr) |
Referenced by dmxInitRender(), and dmxResetRender().
| int RenderErrBase |