hw/xwin: Remove GC privates, unused since native GDI engine removal
Unused since native GDI engine removal in commit 8465ee78
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
9d28ff2a9b
commit
519b98765f
|
@ -292,15 +292,6 @@ typedef Bool (*winReleasePrimarySurfaceProcPtr) (ScreenPtr);
|
||||||
|
|
||||||
typedef Bool (*winCreateScreenResourcesProc) (ScreenPtr);
|
typedef Bool (*winCreateScreenResourcesProc) (ScreenPtr);
|
||||||
|
|
||||||
/*
|
|
||||||
* GC (graphics context) privates
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
HDC hdc;
|
|
||||||
HDC hdcMem;
|
|
||||||
} winPrivGCRec, *winPrivGCPtr;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Pixmap privates
|
* Pixmap privates
|
||||||
*/
|
*/
|
||||||
|
@ -324,6 +315,7 @@ typedef struct {
|
||||||
PALETTEENTRY peColors[WIN_NUM_PALETTE_ENTRIES];
|
PALETTEENTRY peColors[WIN_NUM_PALETTE_ENTRIES];
|
||||||
} winPrivCmapRec, *winPrivCmapPtr;
|
} winPrivCmapRec, *winPrivCmapPtr;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Windows Cursor handling.
|
* Windows Cursor handling.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -79,13 +79,6 @@ winAllocatePrivates(ScreenPtr pScreen)
|
||||||
/* Save the screen private pointer */
|
/* Save the screen private pointer */
|
||||||
winSetScreenPriv(pScreen, pScreenPriv);
|
winSetScreenPriv(pScreen, pScreenPriv);
|
||||||
|
|
||||||
/* Reserve GC memory for our privates */
|
|
||||||
if (!dixRegisterPrivateKey
|
|
||||||
(g_iGCPrivateKey, PRIVATE_GC, sizeof(winPrivGCRec))) {
|
|
||||||
ErrorF("winAllocatePrivates - AllocateGCPrivate () failed\n");
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Reserve Pixmap memory for our privates */
|
/* Reserve Pixmap memory for our privates */
|
||||||
if (!dixRegisterPrivateKey
|
if (!dixRegisterPrivateKey
|
||||||
(g_iPixmapPrivateKey, PRIVATE_PIXMAP, sizeof(winPrivPixmapRec))) {
|
(g_iPixmapPrivateKey, PRIVATE_PIXMAP, sizeof(winPrivPixmapRec))) {
|
||||||
|
|
Loading…
Reference in New Issue