summaryrefslogtreecommitdiff
path: root/src/amdgpu_glamor_wrappers.c
AgeCommit message (Collapse)Author
2018-05-16Replace 'foo == NULL' with '!foo'Michel Dänzer
Shorter and sweeter. :) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-08-31Require xserver >= 1.13Michel Dänzer
xserver 1.13.0 was released on September 6th, 2012, almost 5 years ago. This allows cleaning up a bunch of backwards compatibility code. (Ported from radeon commit 5cdd334b3402c2431deb3a87a8d04ef590da53ee) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-06-14Consolidate get_drawable_pixmap helperMichel Dänzer
There were two static helpers for the same purpose. Consolidate them into a single inline helper which can be used anywhere. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Tested-by: Qiang Yu <qiang.yu@amd.com>
2016-04-04glamor: Force GPU rendering to/from pixmaps created via DRI3Michel Dänzer
Fixes crash when running DRI3 clients with ShadowPrimary enabled. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94799 Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-11-19glamor: Restore all ScreenRec hooks during CloseScreenMichel Dänzer
(ported from radeon commit 535e5438b2c32f774b9c8c27ee0289b4749548ef) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-08-07On screen resize, clear the new buffer before displaying itMichel Dänzer
Fixes garbage being intermittently visible during a screen resize. (Ported from radeon commit 80f3d727f93cb6efedd2b39338d2301035965fe2) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-06-15glamor: Add wrappers for the X server rendering hooksMichel Dänzer
They can choose between using the GPU or CPU for the operation. (cherry picked from radeon commits eea79472a84672ee4dc7adc4487cec6a4037048a and e58fc380ccf2a581d28f041fd74b963626ca5404) Signed-off-by: Darren Powell <darren.powell@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>