Skip to contentSkip to conversation

Use plain glamor_egl_create_textured_screen().

PATCH In review Michel Dänzer 2 participants 2 messages May 17, 2017 – May 23, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use plain glamor_egl_create_textured_screen().

From: Eric Anholt <[email protected]>

Since 5064ffab631 (2014), glamor's implementation of _ext just drops the back_pixmap arg, which we were passing NULL (the default) to anyway.

(Ported from radeon commit 2b7d77b90108911777a11ecaa63435552000c958)

---
 src/amdgpu_glamor.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
src/amdgpu_glamor.c +3 -4
index 1c5dfc2d1..5583cd382 100644
@@ -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;
 	}
 
Signature · 6 lines
2.11.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20170517071558.14728-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org

Reviewed-by Alex Deucher
#2 lore raw
Quoted 10 lines

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Michel Dänzer
Sent: Wednesday, May 17, 2017 3:16 AM
To: [email protected]
Subject: [PATCH xf86-video-amdgpu] Use plain glamor_egl_create_textured_screen().

From: Eric Anholt <[email protected]>

Quoted 7 lines

Since 5064ffab631 (2014), glamor's implementation of _ext just drops the back_pixmap arg, which we were passing NULL (the default) to anyway.

(Ported from radeon commit 2b7d77b90108911777a11ecaa63435552000c958)

Quoted 26 lines
---
 src/amdgpu_glamor.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
src/amdgpu_glamor.c +3 -5
index 1c5dfc2d1..5583cd382 100644
@@ -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;
 	}
 
--

2.11.0

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx