diff options
author | Laura Ekstrand <[email protected]> | 2014-11-12 11:56:12 -0800 |
---|---|---|
committer | Laura Ekstrand <[email protected]> | 2015-01-08 11:37:29 -0800 |
commit | f51f6805f5dacb89b6583cbe134ee0b374ddfec7 (patch) | |
tree | 7001789d8b9d918d73b28a56c0cd8535d0676690 /src/mapi/glapi | |
parent | d6b7c40cecfe01ec8545974b01cca16da2856ac2 (diff) |
main: Nameless texture creation and deletion. Does not affect normal creation and deletion paths.
In implementing ARB_DIRECT_STATE_ACCESS functions, it is often necessary to
abstract the functionality of a traditional GL API function into a backend
that both the traditional and dsa API functions can share. For instance,
glTexParameteri and glTextureParameteri both call _mesa_texture_parameteri,
which takes a context object and a texture object as arguments.
The existance of such backend functions provides the opportunity for
driver internals (such as meta) to pass around the actual texture object
rather than its ID or target, saving on texture object storage and look-up
overhead.
This patch provides nameless texture creation and deletion for meta. This
will be used in an upcoming refactor of meta.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mapi/glapi')
0 files changed, 0 insertions, 0 deletions