diff options
author | Thomas Hellstrom <[email protected]> | 2017-04-07 14:54:56 +0200 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-28 21:03:06 -0600 |
commit | ca59fd17061aeffc55847755de1ed2b6600bcf84 (patch) | |
tree | 505c8124ea41e46c08a46e9b2c5fb866d800a204 /src/hgl | |
parent | 18d5c452d04ff426158051b6bfea41af41c0059d (diff) |
svga: Add a more elaborate format compatibility determination v2
dri3 is a bit sloppy about its format compatibility requirements, so add
a possibility to import xrgb surfaces as argb textures and vice versa.
At the same time, make the svga_texture_from_handle() function a bit more
readable and fix the error path where we leaked a winsys surface.
v2: Addressed review comments by Brian.
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/hgl')
0 files changed, 0 insertions, 0 deletions