(!1987) 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:
		
							parent
							
								
									51dc49ebf4
								
							
						
					
					
						commit
						74a47b4de3
					
				|  | @ -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. | ||||||
|  |  | ||||||
|  | @ -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) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue