glamor: drop glamor_egl_create_textured_screen()

Not used anymore, so no need to keep it around any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-19 17:11:11 +02:00
parent 3c0c56c4bf
commit eb173d9a56
2 changed files with 0 additions and 28 deletions

View File

@ -357,18 +357,6 @@ extern _X_EXPORT Bool glamor_egl_init(ScrnInfoPtr scrn, int fd);
extern _X_EXPORT Bool glamor_egl_init_textured_pixmap(ScreenPtr screen); extern _X_EXPORT Bool glamor_egl_init_textured_pixmap(ScreenPtr screen);
/* @glamor_egl_create_textured_screen: Create textured screen pixmap.
*
* @screen: screen pointer to be processed.
* @handle: screen pixmap's BO handle.
* @stride: screen pixmap's stride in bytes.
*
* This function is similar with the create_textured_pixmap. As the
* screen pixmap is a special, we handle it separately in this function.
*/
extern _X_EXPORT Bool glamor_egl_create_textured_screen(ScreenPtr screen,
int handle, int stride);
/* /*
* @glamor_egl_create_textured_pixmap: Try to create a textured pixmap from * @glamor_egl_create_textured_pixmap: Try to create a textured pixmap from
* a BO handle. * a BO handle.

View File

@ -145,22 +145,6 @@ glamor_egl_get_gbm_device(ScreenPtr screen)
return glamor_egl->gbm; return glamor_egl->gbm;
} }
Bool
glamor_egl_create_textured_screen(ScreenPtr screen, int handle, int stride)
{
ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
PixmapPtr screen_pixmap;
screen_pixmap = screen->GetScreenPixmap(screen);
if (!glamor_egl_create_textured_pixmap(screen_pixmap, handle, stride)) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"Failed to create textured screen.");
return FALSE;
}
return TRUE;
}
static void static void
glamor_egl_set_pixmap_image(PixmapPtr pixmap, EGLImageKHR image, glamor_egl_set_pixmap_image(PixmapPtr pixmap, EGLImageKHR image,
Bool used_modifiers) Bool used_modifiers)