~ubuntu-branches/ubuntu/raring/mesa/raring-proposed

« back to all changes in this revision

Viewing changes to src/gallium/state_trackers/vega/paint.c

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2011-06-19 21:26:00 UTC
  • mfrom: (1.6.1 upstream) (3.3.18 sid)
  • mto: (3.3.20 sid)
  • mto: This revision was merged to the branch mainline in revision 145.
  • Revision ID: james.westby@ubuntu.com-20110619212600-rleaapdmnbtstekb
Tags: 7.11~0-2
Thank you sbuild for giving a green light when that's not actually the
case. Fix missing Pre-Depends for the libegl1-mesa-drivers package
(multiarch-support).

Show diffs side-by-side

added added

removed removed

Lines of Context:
748
748
      abort();
749
749
   }
750
750
}
 
751
 
 
752
VGboolean paint_is_opaque(struct vg_paint *paint)
 
753
{
 
754
   /* TODO add other paint types and make sure PAINT_DIRTY gets set */
 
755
   return (paint->type == VG_PAINT_TYPE_COLOR &&
 
756
           floatsEqual(paint->solid.color[3], 1.0f));
 
757
}