summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-04-03 17:32:19 -0700
committerKenneth Graunke <[email protected]>2017-04-10 14:32:20 -0700
commitf5216b25e0c2aa16653c5951089ca5f8dfb9b00c (patch)
treea4839a5319da6da1521b0405820d3eb877a81c26 /src/mesa/drivers/dri/common
parent4cb3e4429d3868ffa2078e4cf772578418028ed1 (diff)
i965: Just use a uint32_t context handle rather than a malloc'd wrapper.
drm_bacon_context is a malloc'd struct containing a uint32_t context ID and a pointer back to the bufmgr. The bufmgr pointer is pretty useless, as everybody already has brw->bufmgr. At that point...we may as well just use the ctx_id handle directly. A number of places already had to call drm_bacon_gem_context_get_id() to extract the ID anyway. Now they just have it. Reviewed-by: Chris Wilson <[email protected]> Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common')
0 files changed, 0 insertions, 0 deletions