1. 03 Feb, 2010 1 commit
    • Roland Scheidegger's avatar
      gallium: clean up point sprite rasterizer state · 4a4daa75
      Roland Scheidegger authored
      Don't need sprite coord origin per coord.
      Also, don't need separate sprite enable bit - if all coords have it diabled,
      then there are no point sprites (technically, there's a distinction in pre-GL3,
      but it only differs in having more leniency in clamping to max size, something
      the state tracker would need to handle and the hardware won't bother anyway).
      Also, use packed field for the per-coord enables.
      All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
  2. 12 Jan, 2010 1 commit
  3. 11 Jan, 2010 3 commits
  4. 06 Jan, 2010 1 commit
    • Luca Barbieri's avatar
      gallium: remove PIPE_TEX_FILTER_ANISO · f0234737
      Luca Barbieri authored
      This patch removes PIPE_TEX_FILTER_ANISO.
      Anisotropic filtering is enabled if and only if max_anisotropy > 1.0.
      Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be
      considered equivalent, and meaning to turn off anisotropic filtering.
      This approach has the small drawback of eliminating the possibility of
      enabling anisotropic filter on either minification or magnification
      separately, which Radeon hardware seems to support, is currently
      support by Gallium but not exposed to OpenGL.  If this is actually
      useful it could be handled by splitting max_anisotropy in two values
      and adding an appropriate OpenGL extension.
      NOTE: some fiddling & reformatting by keithw to get this patch to
      apply.  Hopefully nothing broken in the process.
  5. 05 Jan, 2010 3 commits
  6. 04 Jan, 2010 1 commit
  7. 03 Jan, 2010 1 commit
  8. 31 Dec, 2009 2 commits
  9. 30 Dec, 2009 1 commit
  10. 29 Dec, 2009 1 commit
    • Brian Paul's avatar
      mesa: implement per-buffer color masking · fd5511d2
      Brian Paul authored
      This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0.
      The ctx->Color.ColorMask field is now a 2-D array.  Until drivers are
      modified to support per-buffer color masking, they can just look at
      the 0th color mask.
      The new _mesa_ColorMaskIndexed() function will be called by
      glColorMaskIndexedEXT() or glColorMaski().
  11. 27 Dec, 2009 1 commit
  12. 25 Dec, 2009 1 commit
  13. 23 Dec, 2009 1 commit
  14. 21 Dec, 2009 1 commit
  15. 19 Dec, 2009 2 commits
  16. 18 Dec, 2009 2 commits
  17. 17 Dec, 2009 2 commits
  18. 16 Dec, 2009 2 commits
  19. 14 Dec, 2009 1 commit
  20. 13 Dec, 2009 1 commit
  21. 09 Dec, 2009 3 commits
    • Keith Whitwell's avatar
      gallium: first steps to treat edgeflags as regular vertex element · a08e348a
      Keith Whitwell authored
      The idea here is to eliminate the set_edgeflags() call in pipe_context
      by treating edgeflags as a regular vertex element.
      Edgeflags provoke special treatment in hardware, which means we need to
      label them in some way, in this case we'll be passing them through the
      vertex shader and labelling the vertex shader output with a new TGSI
      semantic (TGSI_SEMANTIC_EDGEFLAG).
    • Michał Król's avatar
      Revert "Simplify the redundant meaning of format layout." · dfdf83d7
      Michał Król authored
      This reverts commit eb926ddf.
    • Eric Anholt's avatar
      mesa: Move OES_read_format support from drivers into the core. · cd6b8dd9
      Eric Anholt authored
      The assertion is that the correct read type to be using is the native
      type of the underlying read renderbuffer.  For some fallback paths, this
      may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets
      all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or
      GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work.
      This fixes the intel (and other) DRI drivers to report read formats that
      should hit blit PBO readpixels paths.
  22. 08 Dec, 2009 3 commits
    • Michał Król's avatar
      Simplify the redundant meaning of format layout. · eb926ddf
      Michał Król authored
      We really just need to know whether the format is compressed or not.
      For more detailed information format colorspace should suffice.
    • Roland Scheidegger's avatar
      gallium: fix more potential strict aliasing issues · ee1720b9
      Roland Scheidegger authored
      In particular, gcc man page warns that
      union a_union {
         int i;
         double d;
      int f() {
         double d = 3.0;
         return ((union a_union *) &d)->i;
      "might" not be ok (why not?), even though it doesn't seem to generate
      any warnings. Hence don't use this and do the extra step to actually use
      assignment to get the values in/out of the union.
      This changes parts of 3456f914.
    • Michał Król's avatar
      Remove remaining pipe format utility functions. · 6fd8b9b5
      Michał Król authored
      Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2().
      Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values:
  23. 18 Dec, 2009 1 commit
  24. 07 Dec, 2009 4 commits