mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
mesa: Add driver entry point for ARB_texture_view
Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
f1563e6392
commit
320ec1deac
2 changed files with 8 additions and 0 deletions
|
|
@ -211,6 +211,9 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
|
|||
/* GL_ARB_texture_storage */
|
||||
driver->AllocTextureStorage = _mesa_alloc_texture_storage;
|
||||
|
||||
/* GL_ARB_texture_view */
|
||||
driver->TextureView = NULL;
|
||||
|
||||
/* GL_ARB_texture_multisample */
|
||||
driver->GetSamplePosition = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -375,6 +375,11 @@ struct dd_function_table {
|
|||
GLsizei levels, GLsizei width,
|
||||
GLsizei height, GLsizei depth);
|
||||
|
||||
/** Called as part of glTextureView to add views to origTexObj */
|
||||
GLboolean (*TextureView)(struct gl_context *ctx,
|
||||
struct gl_texture_object *texObj,
|
||||
struct gl_texture_object *origTexObj);
|
||||
|
||||
/**
|
||||
* Map a renderbuffer into user space.
|
||||
* \param mode bitmask of GL_MAP_READ_BIT, GL_MAP_WRITE_BIT and
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue