1. 23 Jan, 2014 4 commits
  2. 22 Jan, 2014 8 commits
  3. 21 Jan, 2014 5 commits
    • Ian Romanick's avatar
      mesa: Generate GL_INVALID_OPERATION for unsupported DSA TexStorage functions · 178c1bf1
      Ian Romanick authored
      We have to make the functions available to work around a GLEW bug (see
      comments already in the code), but if an application calls one of these
      functions we should still generate GL_INVALID_OPERATION.
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      178c1bf1
    • Ian Romanick's avatar
      mesa: Silence many unused parameter warnings · 17594dcc
      Ian Romanick authored
      main/texstorage.c: In function '_mesa_alloc_texture_storage':
      main/texstorage.c:240:53: warning: unused parameter 'width' [-Wunused-parameter]
      main/texstorage.c:241:37: warning: unused parameter 'height' [-Wunused-parameter]
      main/texstorage.c:241:53: warning: unused parameter 'depth' [-Wunused-parameter]
      main/texstorage.c: In function '_mesa_TextureStorage1DEXT':
      main/texstorage.c:464:34: warning: unused parameter 'texture' [-Wunused-parameter]
      main/texstorage.c:464:50: warning: unused parameter 'target' [-Wunused-parameter]
      main/texstorage.c:464:66: warning: unused parameter 'levels' [-Wunused-parameter]
      main/texstorage.c:465:34: warning: unused parameter 'internalformat' [-Wunused-parameter]
      main/texstorage.c:466:35: warning: unused parameter 'width' [-Wunused-parameter]
      main/texstorage.c: In function '_mesa_TextureStorage2DEXT':
      main/texstorage.c:473:34: warning: unused parameter 'texture' [-Wunused-parameter]
      main/texstorage.c:473:50: warning: unused parameter 'target' [-Wunused-parameter]
      main/texstorage.c:473:66: warning: unused parameter 'levels' [-Wunused-parameter]
      main/texstorage.c:474:34: warning: unused parameter 'internalformat' [-Wunused-parameter]
      main/texstorage.c:475:35: warning: unused parameter 'width' [-Wunused-parameter]
      main/texstorage.c:475:50: warning: unused parameter 'height' [-Wunused-parameter]
      main/texstorage.c: In function '_mesa_TextureStorage3DEXT':
      main/texstorage.c:483:34: warning: unused parameter 'texture' [-Wunused-parameter]
      main/texstorage.c:483:50: warning: unused parameter 'target' [-Wunused-parameter]
      main/texstorage.c:483:66: warning: unused parameter 'levels' [-Wunused-parameter]
      main/texstorage.c:484:34: warning: unused parameter 'internalformat' [-Wunused-parameter]
      main/texstorage.c:485:35: warning: unused parameter 'width' [-Wunused-parameter]
      main/texstorage.c:485:50: warning: unused parameter 'height' [-Wunused-parameter]
      main/texstorage.c:485:66: warning: unused parameter 'depth' [-Wunused-parameter]
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      17594dcc
    • Matt Turner's avatar
      mesa: rename PreferDP4 to OptimizeForAOS. · ebf91993
      Matt Turner authored
      This flag was really just a proxy for determining whether the backend
      was vector (AOS) or scalar (SOA). It will be used to apply a future
      optimization only for vector backends.
      Reviewed-by: default avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      ebf91993
    • Matt Turner's avatar
      mesa: Add STRINGIFY macro. · 81d52419
      Matt Turner authored
      Reviewed-by: default avatarJordan Justen <jordan.l.justen@intel.com>
      81d52419
    • Brian Paul's avatar
      mesa: add missing TYPE_DOUBLEN_2 cases in get.c · ff59b3d9
      Brian Paul authored
      The new TYPE_DOUBLEN_2 type was added in 0e60d850 but the code to
      return values of that type wasn't completed.
      
      Fixes conform's default state test.  glGetFloatv(GL_DEPTH_RANGE)
      wasn't returning anything.
      
      v2: remove stray 'break' statements.
      Reviewed-by: default avatarJose Fonseca <jfonseca@vmware.com>
      ff59b3d9
  4. 20 Jan, 2014 23 commits