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

« back to all changes in this revision

Viewing changes to src/gallium/auxiliary/draw/draw_so_emit_tmp.h

  • 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:
 
1
#define FUNC_VARS                               \
 
2
   struct pt_so_emit *so,                       \
 
3
   const struct draw_prim_info *input_prims,    \
 
4
   const struct draw_vertex_info *input_verts,  \
 
5
   unsigned start,                              \
 
6
   unsigned count
 
7
 
 
8
#define FUNC_ENTER                                                \
 
9
   /* declare more local vars */                                  \
 
10
   const unsigned prim = input_prims->prim;                       \
 
11
   const unsigned prim_flags = input_prims->flags;                \
 
12
   const boolean last_vertex_last = TRUE;                         \
 
13
   do {                                                           \
 
14
      debug_assert(input_prims->primitive_count == 1);            \
 
15
      switch (prim) {                                             \
 
16
      case PIPE_PRIM_LINES_ADJACENCY:                             \
 
17
      case PIPE_PRIM_LINE_STRIP_ADJACENCY:                        \
 
18
      case PIPE_PRIM_TRIANGLES_ADJACENCY:                         \
 
19
      case PIPE_PRIM_TRIANGLE_STRIP_ADJACENCY:                    \
 
20
         debug_assert(!"unexpected primitive type in stream output"); \
 
21
         return;                                                  \
 
22
      default:                                                    \
 
23
         break;                                                   \
 
24
      }                                                           \
 
25
   } while (0)                                                    \
 
26
 
 
27
#define POINT(i0)                so_point(so,i0)
 
28
#define LINE(flags,i0,i1)        so_line(so,i0,i1)
 
29
#define TRIANGLE(flags,i0,i1,i2) so_tri(so,i0,i1,i2)
 
30
 
 
31
#include "draw_decompose_tmp.h"