Mesa (master): 40 new commits

Jason Ekstrand jekstrand at kemper.freedesktop.org
Thu Jan 8 19:46:55 UTC 2015


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d2542fc9d5af4db355b67cc2a1ff2f413685a27
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Mon Dec 15 14:57:34 2014 -0800

    main: Checking for cube completeness in TextureSubImage.
    
    This is part of a potential solution to a spec bug.  Cube completeness
    is a concept from glGenerateMipmap, but it seems reasonable to check for it in
    TextureSubImage when target=GL_TEXTURE_CUBE_MAP.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=efbc1c86a61cd5fe6803779bea2d5848b08617e9
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Mon Dec 15 14:57:08 2014 -0800

    main: Checking for cube completeness in GetTextureImage.
    
    This is part of a potential solution to a spec bug.  Cube completeness
    is a concept from glGenerateMipmap, but it seems reasonable to check for it in
    GetTextureImage when the target is GL_TEXTURE_CUBE_MAP.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b66dd38a37807c28203aa5c6c2707c1dc6dccedf
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 31 16:31:50 2014 -0800

    main: Added _mesa_cube_level_complete to check for the completeness of an arbitrary cube map level.
    
    Reviewed-by: Chad Versace <chad.versace at intel.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2546d901be3b47d8731ccfed5feb55afdab94763
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Fri Dec 12 11:02:02 2014 -0800

    main: glDeleteTextures now throws GL_INVALID_VALUE if n is negative.
    
    This is in conformance with the OpenGL spec.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50d679381d2cd2413f2c3d4098b81f9c04d5de18
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Dec 9 13:40:45 2014 -0800

    main: Refactor in teximage.c to handle NULL from _mesa_get_current_tex_object.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98e64e538afeaa800e1cdcbc7ce5d5093b274fe7
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Dec 2 17:51:30 2014 -0800

    main: Added entry point for glTextureBuffer.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=499004e56a51bdabff489913680aa972e7fab369
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Mon Dec 1 17:30:44 2014 -0800

    main: Fix texObj->Immutable flag update in _mesa_texture_image_multisample.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7d69516b86328eedd68ae43d8530b0799735a4c
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Jan 6 12:09:38 2015 -0800

    main: Added entry points for glTextureStorage[23]DMultisample.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91089d6d658d5379afa00f69c37a81f0d3c98dc3
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Jan 6 12:08:43 2015 -0800

    main: Added entry point for glGenerateTextureMipmap.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=239e3fb87682163f78d0fd6c86375e77a44ee0d0
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Jan 6 11:48:38 2015 -0800

    main: Added entry points for glCompressedTextureSubImage*D.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b5482ec035d0d8ad36b08f33fcd20f15ea39000
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Jan 6 11:39:04 2015 -0800

    main: Added entry point for glGetCompressedTextureImage.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a739bdeb1d294041984e05046043097a0d9fa833
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Dec 9 16:49:09 2014 -0800

    main: Added entry point for glGetTextureImage.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f51f6805f5dacb89b6583cbe134ee0b374ddfec7
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Nov 12 11:56:12 2014 -0800

    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 <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6b7c40cecfe01ec8545974b01cca16da2856ac2
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Jan 6 10:05:40 2015 -0800

    main: Added entry points for CopyTextureSubImage*D.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bad39f6c1e0680fa90399c8f330a8c17551deb98
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Jan 6 10:04:31 2015 -0800

    main: Fixed some comments in texparam.c
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2c50778648e8d3ae13c6233ed3b7149327a2b1f
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 15:35:38 2014 -0800

    main: Added entry points for glGetTextureParameteriv, Iiv, and Iuiv.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89912d04a10d6d70c3f9791beecace76c6c550a0
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 15:32:20 2014 -0800

    main: Added entry point for glGetTextureParameterfv.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=86bb3be3193512c12c284bb2cc609fa78d27fc55
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 15:19:59 2014 -0800

    main: Added entry points for glGetTextureLevelParameteriv, fv.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf5c588cdea616e0fb57f904c38bc0eb5eb2b962
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 16:55:52 2014 -0800

    main: legal_get_tex_level_parameter_target now handles GL_TEXTURE_CUBE_MAP.
    
    ARB_DIRECT_STATE_ACCESS functions allow an effective target of
    GL_TEXTURE_CUBE_MAP.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d954f6023b80d9dd87f697c831f21ecdb831d13b
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 16:57:50 2014 -0800

    main: Added entry points for glTextureParameteriv, Iiv, Iuiv.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=354d789f3b6212402b880ba8ef9ba9a57afea038
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Mon Jan 5 16:48:34 2015 -0800

    main: Added entry point for glTextureParameteri.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ce5db3930ca3441b5647b907531c24e058b45ff
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 16:19:21 2014 -0800

    main: Added entry point for glTextureParameterfv.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=abc688e33a6a76223af63e5d34af87e3bbbd97cd
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 16:33:18 2014 -0800

    main: Added entry point for glTextureParameterf.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ad5393f3ba6d34a2fd3e0bf0cb50139c9817175
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 16:13:31 2014 -0800

    main: Added get_texobj_by_name in texparam.c.
    
    This is a convenience function for *Texture*Parameter functions.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=795ba44754d99d204dbdfd7042c839c6eae497a1
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 16:32:16 2014 -0800

    main: set_tex_parameterf now handles errors according to the OpenGL 4.5 Specification.
    
    Beginning in the OpenGL 4.3 core specification, certain error handling has
    changed.  One example shown here is that INVALID_ENUM is thrown instead of
    INVALID_OPERATION when a user attempts to set sampler parameters for a
    multisample target.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4dce7a6a69de30ab7aad7612f93302c69421fea
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 10 16:30:46 2014 -0800

    main: set_tex_parameteri now handles errors according to the OpenGL 4.5 Specification.
    
    Beginning in the OpenGL 4.3 core specification, some error handling has
    changed (see OpenGL 4.5 core spec, 30.10.2014, Section 8.10 Texture
    Parameters, pages 228-29). As an example, changing sampler states with a
    multisample target throws INVALID_ENUM rather than INVALID_OPERATION.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77aabd8be237b68921d2e7c69fd1a0be3d36de01
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Thu Oct 30 17:19:24 2014 -0700

    main: Added entry point for BindTextureUnit.
    
    The following preparations were made in texstate.c and texstate.h to
    better facilitate the BindTextureUnit function:
    
    Dylan Noblesmith:
    mesa: add _mesa_get_tex_unit()
    mesa: factor out _mesa_max_tex_unit()
    This is about to appear in a lot more places, so
    reduce boilerplate copy paste.
    add _mesa_get_tex_unit_err() checking getter function
    Reduce boilerplate across files.
    
    Laura Ekstrand:
    Made note of why BindTextureUnit should throw GL_INVALID_OPERATION if the unit is out of range.
    Added assert(unit > 0) to _mesa_get_tex_unit.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b381e84db5ee1a03c9b9afca2817d8bd374c0b0
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Dec 9 17:27:12 2014 -0800

    main: Corrected comment on _mesa_is_zero_size_texture.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8939fd3d1544f9dd24404a4f768797f99e5efc1
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Dec 9 17:44:51 2014 -0800

    main: Added entry points for glTextureSubImage*D.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a5fe9f308908a6c09f910429d0d3021fdbf7872
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Fri Oct 24 10:04:11 2014 -0700

    main: Added entry points for glTextureStorage*D.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=97c838cf856e478401be9526ab028aea3aacad26
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Fri Oct 24 15:02:16 2014 -0700

    main: Added entry point for glCreateTextures.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15ddc2d94b0ac23bf23e166530e46be4ee9570a2
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Fri Dec 5 10:30:09 2014 -0800

    main: Removed trailing whitespaces in texture code.
    
    main: Removed trailing whitespace in texstate.c.
    main: Deleted trailing whitespaces in texobj.c.
    main: Fixed whitespace errors in teximage.h and teximage.c.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea1fb258baef42d51ef24895b978c86dd1db7750
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Fri Dec 5 10:39:51 2014 -0800

    main: Renamed _mesa_get_compressed_teximage to _mesa_GetCompressedTexImage_sw.
    
    This reflects the new naming convention for software fallbacks.  To avoid
    confusion with ARB_DIRECT_STATE_ACCESS backend functions, software fallbacks
    now have the form _mesa_[Driver function name]_sw.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=460365cde3c0ef439ae2f521063a2715da41b4b7
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Fri Dec 5 10:35:47 2014 -0800

    main: Renamed _mesa_get_teximage to _mesa_GetTexImage_sw.
    
    This reflects the new naming convention for software fallbacks.  To avoid
    confusion with ARB_DIRECT_STATE_ACCESS backend functions, software fallbacks
    now have the form _mesa_[Driver function name]_sw.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=16f6d9cf5f93eb6cdd80e2b5f6cdd7dcfb30ea89
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Thu Dec 4 14:28:19 2014 -0800

    main: Changed _mesa_alloc_texture_storage to _mesa_AllocTextureStorage_sw.
    
    In order to implement ARB_DIRECT_STATE_ACCESS, many GL API functions must now
    rely on a backend that both traditional and DSA functions can use. For
    instance, _mesa_TexStorage2D and _mesa_TextureStorage2D both call a backend
    function _mesa_texture_storage that takes a context and a texture object as
    arguments.  The backend is named _mesa_texture_storage so that Meta can call
    it and avoid looking up the context and the texture object.  However, backend
    names often look very close to the names of software fallbacks (ie.
    _mesa_alloc_texture_storage).  For this reason, software fallbacks have been
    renamed for clarity to have the form _mesa_[Driver function name]_sw.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35371d65607780a2fc63a65cba2d34562538ff96
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Thu Dec 4 14:10:23 2014 -0800

    main: Moved _mesa_get_current_tex_object from teximage.c to texobj.c.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7528fce5abed95668ff97c46e68c94a08bbe30c
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Thu Dec 4 10:44:25 2014 -0800

    main: Moved _mesa_lock_texture and _mesa_unlock_texture to texobj.h from teximage.h.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=838ef5b7816bf7a2fbde25b602b5150e92398c0a
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Tue Dec 9 12:19:13 2014 -0800

    i965: blit_texture_to_pbo() now accepts TEXTURE_CUBE_MAP.
    
    ARB_DIRECT_STATE_ACCESS permits the user to use TEXTURE_CUBE_MAP as a target.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=60e3bfddaf6ab4f8385561654dfe4e0034d8bc9d
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Wed Dec 3 17:47:32 2014 -0800

    main: Added utility function _mesa_lookup_texture_err().
    
    Most ARB_DIRECT_STATE_ACCESS functions take an object's ID and use it to look
    up the object in its hash table.  If the user passes a fake object ID (ie. a
    non-generated name), the implementation should throw INVALID_OPERATION.
    This is a convenience function for texture objects.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56875181c75da2c537410313fac917b75c13dfd0
Author: Laura Ekstrand <laura at jlekstrand.net>
Date:   Fri Dec 5 15:30:21 2014 -0800

    glapi: Added ARB_direct_state_access.xml file.
    
    main: Added ARB_direct_state_access to extensions.c as dummy_false.
    
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>




More information about the mesa-commit mailing list