~ubuntu-branches/ubuntu/natty/mesa/natty-proposed

« back to all changes in this revision

Viewing changes to src/mesa/vbo/vbo_exec_api.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Hooker, Robert Hooker, Christopher James Halse Rogers
  • Date: 2010-09-14 08:55:40 UTC
  • mfrom: (1.2.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100914085540-m4fpl0hdjlfd4jgz
Tags: 7.9~git20100909-0ubuntu1
[ Robert Hooker ]
* New upstream git snapshot up to commit 94118fe2d4b1e5 (LP: #631413)
* New features include ATI HD5xxx series support in r600, and a vastly
  improved glsl compiler.
* Remove pre-generated .pc's, use the ones generated at build time
  instead.
* Remove all references to mesa-utils now that its no longer shipped
  with the mesa source.
* Disable the experimental ARB_fragment_shader option by default on
  i915, it exposes incomplete functionality that breaks KDE compositing
  among other things. It can be enabled via driconf still. (LP: #628930).

[ Christopher James Halse Rogers ]
* debian/patches/04_osmesa_version.diff:
  - Refresh for new upstream
* Bugs fixed in this release:
  - Fixes severe rendering corruption in Unity on radeon (LP: #628727,
    LP: #596292, LP: #599741, LP: #630315, LP: #613694, LP: #599741).
  - Also fixes rendering in gnome-shell (LP: #578619).
  - Flickering in OpenGL apps on radeon (LP: #626943, LP: #610541).
  - Provides preliminary support for new intel chips (LP: #601052).
* debian/rules:
  - Update configure flags to match upstream reshuffling.
  - Explicitly remove gallium DRI drivers that we don't want to ship.
* Update debian/gbp.conf for this Maverick-specific packaging
* libegl1-mesa-dri-x11,kms: There are no longer separate kms or x11 drivers
  for EGL, libegl1-mesa-drivers now contains a single driver that provides
  both backends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
531
531
      exec->vtx.prim[i].pad = 0;
532
532
      exec->vtx.prim[i].start = exec->vtx.vert_count;
533
533
      exec->vtx.prim[i].count = 0;
 
534
      exec->vtx.prim[i].num_instances = 1;
534
535
 
535
536
      ctx->Driver.CurrentExecPrimitive = mode;
536
537
   }
849
850
                                    NULL);
850
851
   }
851
852
 
852
 
   /* Free the vertex buffer:
 
853
   /* Free the vertex buffer.  Unmap first if needed.
853
854
    */
 
855
   if (_mesa_bufferobj_mapped(exec->vtx.bufferobj)) {
 
856
      ctx->Driver.UnmapBuffer(ctx, GL_ARRAY_BUFFER, exec->vtx.bufferobj);
 
857
   }
854
858
   _mesa_reference_buffer_object(ctx, &exec->vtx.bufferobj, NULL);
855
859
}
856
860
 
954
958
   vbo_MultiTexCoord4f(target, s, t, r, q);
955
959
}
956
960
 
 
961
 
957
962
void GLAPIENTRY
958
963
_vbo_Materialfv(GLenum face, GLenum pname, const GLfloat *params)
959
964
{
962
967
 
963
968
 
964
969
void GLAPIENTRY
 
970
_vbo_Materialf(GLenum face, GLenum pname, GLfloat param)
 
971
{
 
972
   GLfloat p[4];
 
973
   p[0] = param;
 
974
   p[1] = p[2] = p[3] = 0.0F;
 
975
   vbo_Materialfv(face, pname, p);
 
976
}
 
977
 
 
978
 
 
979
void GLAPIENTRY
965
980
_vbo_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
966
981
{
967
982
   vbo_VertexAttrib4fARB(index, x, y, z, w);
968
983
}
 
984
 
 
985
 
 
986
void GLAPIENTRY
 
987
_vbo_VertexAttrib1f(GLuint indx, GLfloat x)
 
988
{
 
989
   vbo_VertexAttrib1fARB(indx, x);
 
990
}
 
991
 
 
992
 
 
993
void GLAPIENTRY
 
994
_vbo_VertexAttrib1fv(GLuint indx, const GLfloat* values)
 
995
{
 
996
   vbo_VertexAttrib1fvARB(indx, values);
 
997
}
 
998
 
 
999
 
 
1000
void GLAPIENTRY
 
1001
_vbo_VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y)
 
1002
{
 
1003
   vbo_VertexAttrib2fARB(indx, x, y);
 
1004
}
 
1005
 
 
1006
 
 
1007
void GLAPIENTRY
 
1008
_vbo_VertexAttrib2fv(GLuint indx, const GLfloat* values)
 
1009
{
 
1010
   vbo_VertexAttrib2fvARB(indx, values);
 
1011
}
 
1012
 
 
1013
 
 
1014
void GLAPIENTRY
 
1015
_vbo_VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z)
 
1016
{
 
1017
   vbo_VertexAttrib3fARB(indx, x, y, z);
 
1018
}
 
1019
 
 
1020
 
 
1021
void GLAPIENTRY
 
1022
_vbo_VertexAttrib3fv(GLuint indx, const GLfloat* values)
 
1023
{
 
1024
   vbo_VertexAttrib3fvARB(indx, values);
 
1025
}
 
1026
 
 
1027
 
 
1028
void GLAPIENTRY
 
1029
_vbo_VertexAttrib4fv(GLuint indx, const GLfloat* values)
 
1030
{
 
1031
   vbo_VertexAttrib4fvARB(indx, values);
 
1032
}