R22EXT.PDF
(
228 KB
)
Pobierz
(PEFW
7SJX[EVI
6IPIEWI 2SXI
(PEFW
7SJX[EVI
6IPIEWI 2SXI
3TIR+0 )\XIRWMSR %TTIRHMGIW
0ÃÊ ÍiÊ ViVÍÃÊ Í}iÍiÀÊ >««i`ViÃÊ vÀÊ Ü>ÀÖÃÊ iÞÍiÃÃÊ ÃÖ««ÀÍi`Ê LßÊ Íi
8`ÝÃÊ !0Ê {°äÊ >`Ê 8`ÝÃxÊ Ã«>ßÊ ÀÜiÀÊ >`Ê #«iÊ ÃÍ>>Li
iÍÊ ÀÜiÀ°Ê -iiÜ>ÍÊ >À`Ý>ÀiÊ VÖ`iÃÊ ÍiÊ !0Ê xää09É 9Ê ³Ê 0
L>À`Ê->ViÀ®Ê>`ÊÍiÊ+
- Ê
ÔÊÀiviÀiViÊL>À`ð
4EKI
(PEFW
7SJX[EVI
6IPIEWI 2SXI
'LERKI ,MWXSV]
ÃÃÖi
£
Ô
Ï
>Íi
£ä iVÈ
£ÏÖÇ
£!ÜÇ
>}i
!iÝÊ-ii>Ãi
9É+ÔÊ-ii>Ãi
8xÊ#«iÊ£°£°ÔÔÊ-ii>Ãi
VÖiÍÊÀÔÔiÞͰ`V
^Ê«ßÀ}ÍÊÏ >LÃÊVÊÍ`°ÊÊ£x£Ç°ÊÊ ÊÀ}ÍÃÊÀiÃiÀÜi`ÊÝÀ`Ý`i°
0iÊ>ÍiÀ>ÊÊÍÃÊ`VÖiÍÊÃÊÍiÊÍiiVÍÖ>Ê«À«iÀÍßÊvÊÏ >LðÊÊÍÊÃÊ«ÀÜ`i`ÊÃißÊvÀÊvÀ>Ͱ
:ÖÊ>ßÊÍÊÀi«À`ÖViÊÍÃÊ`VÖiÍÊÊÝiÊÀÊÊ«>ÀÍÊLßÊ>ßÊi>ðÊÊ8iÊiÜiÀßÊV>ÀiÊ>ÃÊLiiÊÍ>iÊ
ÍiÊ«Ài«>À>ÍÊvÊÍÃÊ`VÖiÍ]ÊÏ >LÃÊ>VVi«ÍÃÊÊ>LÍßÊvÀÊ>ßÊVÃiµÖiViÃÊvÊÍÃÊÖÃi°ÊÊ#ÖÀÊ«À`ÖVÍÃ
>ÀiÊÖ`iÀÊVÍÖ>Ê«ÀÜiiÍÊ>`ÊÝiÊÀiÃiÀÜiÊÍiÊÀ}ÍÊÍÊV>}iÊÍiÀÊëiVvV>ÍÊÝÍÖÍÊÍVi°
Ï >LÃÊÃÊÍiÊÝÀ`Ý`iÊÍÀ>`}Ê>iÊvÊÏ >LÃÊV°ÊÍ`°
Ï >LÃÊÃÊ>ÊÀi}ÃÍiÀi`ÊÍÀ>`i>ÀÊvÊÏ >LÃÊV°ÊÍ`
!0ÊÃÊ>ÊÍÀ>`i>ÀÊvÊÏ >LðÊ+- ÊÃÊ>ÊÍÀ>`i>ÀÊvÊÏ >Lð
#«iÊÃÊ>ÊÍÀ>`i>ÀÊvÊÊ.VÊÀ>«VÃ]ÊV°ÊÊ2!9ÊÃÊ>ÊÀi}ÃÍiÀi`ÊÍÀ>`i>ÀÊvÊ2!9Ê.ßÃÍi
>LÀ>ÍÀiðÊÊ8`ÝÃ]Ê8ÏÔÊ>`Ê8`ÝÃÊ!0Ê>ÀiÊÍÀ>`i>ÀÃÊvÊ VÀÃvÍÊÀ«°ÊÊ ÖÍ ÊÃÊ>
ÍÀ>`i>ÀÊvÊ ÖÍ iÃÊV°ÊÊ VÀ.Í>ÍÊÃÊ>ÊÍÀ>`i>ÀÊvÊÍiÀ}À>«ÊÀ«°
ÊÍiÀÊÍÀ>`i>ÀÃÊ>ÀiÊ>VÝi`}i`°
(PEFW
-RG
£n£]Ê iÍÀÊ ÀÜiÊ.ÖÍiÊxÔä
.>ÊÃi]Ê Êx££ä
2Íi`Ê.Í>ÍiÃ
0i\Ê{än®Ê{ÏÈÊÏ{xx
>Þ\Ê{än®Ê{ÏÈÊÏ{xn
(PEFW
0XH
i>`>iÊ+>Vi
0À«iÊi>Ê->`°ÊÊ}>
.ÖÀÀiß]Ê08ÔäÊn
2Íi`Ê}`
0i\ʳ{{Êä®Ê£Çn{Ê{Çäxxx
>Þ\ʳ{{Êä®Ê£Çn{Ê{ÇäÈ
4EKI
(PEFW
7SJX[EVI
6IPIEWI 2SXI
%44)2(-< %
3TIR+0 3ZIVPE] 4PERIW )\XIRWMSR JSV ;MRHS[W 28
VÊ.>Êii
VJVÀÃvͰV
3ZIVZMI[
Overlay and underlay planes are used in many high-end 3-D graphics applications. This extension allows such applications to
use the hardware overlay and underlay planes in Windows NT 3.51.
In Windows NT, the pixel formats describe the pixel configurations of a graphics device. Each pixel format includes a
description of the depth and other characteristics of the main color buffers and also tells what additional buffers (depth,
accumulation, stencil, auxiliary) are associated with the main plane. The pixel format is hereby extended to include information
about the overlay and underlay buffers that are available through the pixel format.
A layer plane has at least a front-left color buffer, and may optionally include right and/or back color buffers. It may share
depth, accumulation, and stencil buffers with the main plane.
A layer plane specific rendering context is used to render into the layer buffers. GDI drawing is not available in layer planes.
The layer color buffers are managed as part of a normal window similar to the main color buffers. Each window has its own
layer color buffers. Multiple windows with overlay and/or underlay planes can be displayed at the same time. The extension
requires no additional window management and modifications to the existing clip change notification mechanism of the DDI.
This reduces complexity and allows the extension to be supported in Windows NT 3.51 with minimal changes. The extension
does not support free floating overlay windows that can move over any window in the main drawing plane. Such free floating
windows would require additional overlay window management or access serialization in applications. The extension also does
not support hardware pop-up plane that has no transparent color because it would obscure underlying planes in the window at all
times.
Each layer plane in a window has an associated palette. The palette of a color-index layer plane can be set by the application,
while the palette of an RGBA color plane is fixed. It is the responsibility of the application to realize the palette when the
window is in the foreground. In addition, it has a transparent pixel color or index that allows the underlying planes to show
through the layer plane.
The state of a rendering context can be copied to another rendering context in a different layer plane. Display lists can also be
shared by rendering contexts in different layer planes.
2I[ 4VSGIHYVIW ERH *YRGXMSRW
BOOL wglDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd)
HDC
hdc;
int
iPixelFormat;
int
iLayerPlane;
UINT nBytes;
LPLAYERPLANEDESCRIPTOR plpd;
int
wglSetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr)
HDC
hdc;
int
iLayerPlane;
int
iStart;
int
cEntries;
CONST COLORREF *pcr;
int
wglGetLayerPaletteEntries(hdc, iLayerPlane, iStart, cEntries, pcr)
4EKI
(PEFW
HDC
hdc;
int
iLayerPlane;
int
iStart;
int
cEntries;
COLORREF *pcr;
BOOL
HDC
int
BOOL
wglRealizeLayerPalette(hdc, iLayerPlane, bRealize)
hdc;
iLayerPlane;
bRealize;
7SJX[EVI
6IPIEWI 2SXI
BOOL wglSwapLayerBuffers(hdc, fuPlanes)
HDC
hdc;
UINT fuPlanes;
HGLRC wglCreateLayerContext(hdc, iLayerPlane)
HDC
hdc;
int
iLayerPlane;
BOOL wglCopyContext (hglrcSrc, hglrcDst, mask)
HGLRC hglrcSrc;
HGLRC hglrcDst;
UINT mask;
2I[ 8SOIRW ERH (EXE 7XVYGXYVIW
Íß«i`ivÊÃÍÀÖVÍÊÍ>} :-+ ! .-+0#-ÊOÊÉÉÊ«`
ÊÊÊÊ8#-
ÊÊÊÊ8#-
ÊÊÊÊ 8#-
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
.ãiÆ
7iÀÃÆ
`Ý>}ÃÆ
+Þi0ß«iÆ
VÀ ÍÃÆ
V-i` ÍÃÆ
V-i`.vÍÆ
VÀii ÍÃÆ
VÀii.vÍÆ
V Öi ÍÃÆ
V Öi.vÍÆ
V «> ÍÃÆ
V «>.vÍÆ
V VVÖ ÍÃÆ
V VVÖ-i` ÍÃÆ
V VVÖÀii ÍÃÆ
4EKI
(PEFW
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
ÊÊÊÊ :0
V VVÖ Öi ÍÃÆ
V VVÖ «> ÍÃÆ
V i«Í ÍÃÆ
V.ÍiV ÍÃÆ
V ÖÞ ÖvviÀÃÆ
>ßiÀ+>iÆ
L-iÃiÀÜi`Æ
VÀ0À>ë>ÀiÍÆ
7SJX[EVI
6IPIEWI 2SXI
ÊÊÊÊ##--
} LAYERPLANEDESCRIPTOR;
Accepted by the dwFlags field of LAYERPLANEDESCRIPTOR:
LPD_SUPPORT_OPENGL
LPD_SUPPORT_GDI
LPD_DOUBLEBUFFER
LPD_STEREO
LPD_SWAP_EXCHANGE
LPD_SWAP_COPY
LPD_TRANSPARENT
LPD_SHARE_DEPTH
LPD_SHARE_STENCIL
LPD_SHARE_ACCUM
Accepted by the iPixelType field of LAYERPLANEDESCRIPTOR:
LPD_TYPE_RGBA
LPD_TYPE_COLORINDEX
Accepted by the dwFlags field of PIXELFORMATDESCRIPTOR:
PFD_SWAP_LAYER_BUFFERS
Accepted by the fuPlanes parameter of wglSwapLayerBuffers:
WGL_SWAP_MAIN_PLANE
WGL_SWAP_OVERLAYi, where i is between 1 and 15.
WGL_SWAP_UNDERLAYi, where i is between 1 and 15.
4M\IP *SVQEX (IWGVMTXSV
A pixel format identifies a particular buffer configuration of a graphics device, and is described by the pixel format descriptor.
The pixel format descriptor is extended to include the number of overlay and underlay planes in the pixel format. Two pixel
formats that have identical main planes but different layer planes are now two distinct pixel formats. Previously, they were both
identified in a single pixel format when overlay was not supported.
Each pixel format can include up to 15 overlay planes and up to 15 underlay planes. All pixel formats must include the main
color plane.
If a pixel format includes an underlay plane, the pixel format must provide a transparent pixel color or index, depending on the
pixel type, that allows the pixels of the underlying plane to show through the main color plane. All other layer planes except the
lowest numbered underlay plane must provide a transparent pixel color or index, depending on the pixel type of the overlay or
underlay plane.
4EKI
Plik z chomika:
Onufrij
Inne pliki z tego folderu:
21030231.PDF
(183 KB)
3DCTRL.DLL
(95 KB)
3DEXTDD.DLL
(96 KB)
3DEXTHLP.EXE
(26 KB)
3DLABS.OEM
(0 KB)
Inne foldery tego chomika:
ATI
diamond monster emulator
INTEL
kyro2 - hercules 4500
NVIDIA
Zgłoś jeśli
naruszono regulamin