It should be an (winsys) implementation detail.
is->winsys = ws;
- intel_winsys_enable_reuse(is->winsys);
-
info = intel_winsys_get_info(is->winsys);
if (!init_dev(&is->dev, info)) {
FREE(is);
/*
* Mesa 3-D graphics library
*
- * Copyright (C) 2012-2013 LunarG, Inc.
+ * Copyright (C) 2012-2014 LunarG, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
}
drm_intel_bufmgr_gem_enable_fenced_relocs(winsys->bufmgr);
+ drm_intel_bufmgr_gem_enable_reuse(winsys->bufmgr);
return winsys;
}
return &winsys->info;
}
-void
-intel_winsys_enable_reuse(struct intel_winsys *winsys)
-{
- drm_intel_bufmgr_gem_enable_reuse(winsys->bufmgr);
-}
-
struct intel_context *
intel_winsys_create_context(struct intel_winsys *winsys)
{
/*
* Mesa 3-D graphics library
*
- * Copyright (C) 2012-2013 LunarG, Inc.
+ * Copyright (C) 2012-2014 LunarG, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
const struct intel_winsys_info *
intel_winsys_get_info(const struct intel_winsys *winsys);
-void
-intel_winsys_enable_reuse(struct intel_winsys *winsys);
-
struct intel_context *
intel_winsys_create_context(struct intel_winsys *winsys);