mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 22:10:11 +01:00
glhd: Use an environment variable (GALAHAD) to enable. Off by default.
This commit is contained in:
parent
64682da8ab
commit
9526305834
2 changed files with 4 additions and 2 deletions
|
|
@ -75,6 +75,9 @@ galahad_drm_create(struct drm_api *api)
|
|||
if (!api)
|
||||
goto error;
|
||||
|
||||
if (!debug_get_option("GALAHAD", FALSE))
|
||||
goto error;
|
||||
|
||||
glhd_api = CALLOC_STRUCT(galahad_drm_api);
|
||||
|
||||
if (!glhd_api)
|
||||
|
|
|
|||
|
|
@ -190,6 +190,5 @@ static struct drm_api radeon_drm_api_hooks = {
|
|||
|
||||
struct drm_api* drm_api_create()
|
||||
{
|
||||
//return galahad_drm_create(trace_drm_create(&radeon_drm_api_hooks));
|
||||
return trace_drm_create(&radeon_drm_api_hooks);
|
||||
return galahad_drm_create(trace_drm_create(&radeon_drm_api_hooks));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue