summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-11-21 13:46:50 +0000
committerEmil Velikov <[email protected]>2016-11-22 15:13:41 +0000
commitb9880d2e93a260c348b9413cb2c633365ba13b6e (patch)
tree18795e84d697ed69cd200e0baefa7062d07da416 /src/gallium/auxiliary
parenta56a505db72b0a5ff973a489a094186d7dfcd9e7 (diff)
egl/x11: factor out dri2_get_xcb_connection()
Identical throughout dri2, dri3 and drisw. Next patch will add more common code, so rather than duplicating it factor out the function. Note: this also sets eglError on failure. Something that's quite inconsistent throughout the codebase. v2: Call xcb_disconnect() on error (Eric) Note: use xcb_disconnect() even in the xcb_connection_has_error() case as per the manual: ... memory will not be freed until xcb_disconnect... Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> (v1)
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions