xf86-video-amdgpu: Branch 'master'

Michel Dänzer daenzer at kemper.freedesktop.org
Fri May 19 01:45:58 UTC 2017


 src/amdgpu_glamor.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

New commits:
commit 8cb41b962eb06b9cb1b3a573a4087e4d89f733fb
Author: Eric Anholt <eric at anholt.net>
Date:   Wed May 17 16:11:52 2017 +0900

    Use plain glamor_egl_create_textured_screen().
    
    Since 5064ffab631 (2014), glamor's implementation of _ext just drops the
    back_pixmap arg, which we were passing NULL (the default) to anyway.
    
    Signed-off-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
    (Ported from radeon commit 2b7d77b90108911777a11ecaa63435552000c958)

diff --git a/src/amdgpu_glamor.c b/src/amdgpu_glamor.c
index 1c5dfc2..5583cd3 100644
--- a/src/amdgpu_glamor.c
+++ b/src/amdgpu_glamor.c
@@ -66,10 +66,9 @@ Bool amdgpu_glamor_create_screen_resources(ScreenPtr screen)
 #endif
 
 	if (!amdgpu_bo_get_handle(info->front_buffer, &bo_handle) ||
-	    !glamor_egl_create_textured_screen_ext(screen,
-						   bo_handle,
-						   scrn->displayWidth *
-						   info->pixel_bytes, NULL)) {
+	    !glamor_egl_create_textured_screen(screen, bo_handle,
+					       scrn->displayWidth *
+					       info->pixel_bytes)) {
 		return FALSE;
 	}
 


More information about the xorg-commit mailing list