mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 14:50:11 +01:00
st/xorg: Use C-style comments.
This commit is contained in:
parent
15ecd0337e
commit
2ea061509d
2 changed files with 11 additions and 9 deletions
|
|
@ -64,7 +64,7 @@ struct crtc_private
|
|||
static void
|
||||
crtc_dpms(xf86CrtcPtr crtc, int mode)
|
||||
{
|
||||
//ScrnInfoPtr pScrn = crtc->scrn;
|
||||
/* ScrnInfoPtr pScrn = crtc->scrn; */
|
||||
|
||||
switch (mode) {
|
||||
case DPMSModeOn:
|
||||
|
|
@ -141,7 +141,7 @@ crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
|
|||
static void
|
||||
crtc_load_lut(xf86CrtcPtr crtc)
|
||||
{
|
||||
//ScrnInfoPtr pScrn = crtc->scrn;
|
||||
/* ScrnInfoPtr pScrn = crtc->scrn; */
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -154,7 +154,7 @@ crtc_gamma_set(xf86CrtcPtr crtc, CARD16 * red, CARD16 * green, CARD16 * blue,
|
|||
static void *
|
||||
crtc_shadow_allocate(xf86CrtcPtr crtc, int width, int height)
|
||||
{
|
||||
//ScrnInfoPtr pScrn = crtc->scrn;
|
||||
/* ScrnInfoPtr pScrn = crtc->scrn; */
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
@ -162,7 +162,7 @@ crtc_shadow_allocate(xf86CrtcPtr crtc, int width, int height)
|
|||
static PixmapPtr
|
||||
crtc_shadow_create(xf86CrtcPtr crtc, void *data, int width, int height)
|
||||
{
|
||||
//ScrnInfoPtr pScrn = crtc->scrn;
|
||||
/* ScrnInfoPtr pScrn = crtc->scrn; */
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
@ -170,7 +170,7 @@ crtc_shadow_create(xf86CrtcPtr crtc, void *data, int width, int height)
|
|||
static void
|
||||
crtc_shadow_destroy(xf86CrtcPtr crtc, PixmapPtr rotate_pixmap, void *data)
|
||||
{
|
||||
//ScrnInfoPtr pScrn = crtc->scrn;
|
||||
/* ScrnInfoPtr pScrn = crtc->scrn; */
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -179,10 +179,12 @@ static Bool
|
|||
crtc_resize(ScrnInfoPtr pScrn, int width, int height)
|
||||
{
|
||||
modesettingPtr ms = modesettingPTR(pScrn);
|
||||
//ScreenPtr pScreen = pScrn->pScreen;
|
||||
//PixmapPtr rootPixmap = pScreen->GetScreenPixmap(pScreen);
|
||||
//Bool fbAccessDisabled;
|
||||
//CARD8 *fbstart;
|
||||
/*
|
||||
ScreenPtr pScreen = pScrn->pScreen;
|
||||
PixmapPtr rootPixmap = pScreen->GetScreenPixmap(pScreen);
|
||||
Bool fbAccessDisabled;
|
||||
CARD8 *fbstart;
|
||||
*/
|
||||
|
||||
if (width == pScrn->virtualX && height == pScrn->virtualY)
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue