1. 18 Nov, 2020 1 commit
  2. 23 Apr, 2020 1 commit
  3. 14 Nov, 2019 1 commit
  4. 19 Jul, 2019 1 commit
  5. 04 Apr, 2019 1 commit
  6. 07 Sep, 2018 1 commit
  7. 31 Jul, 2018 1 commit
  8. 17 Nov, 2017 1 commit
  9. 09 Nov, 2017 3 commits
  10. 23 Aug, 2017 1 commit
  11. 02 Aug, 2017 1 commit
  12. 10 May, 2017 5 commits
  13. 14 Apr, 2017 1 commit
  14. 13 Sep, 2016 1 commit
  15. 17 Aug, 2016 2 commits
  16. 28 Apr, 2016 1 commit
  17. 07 Apr, 2016 1 commit
    • Edward O'Callaghan's avatar
      gallium: Put no.of {samples,layers} into pipe_framebuffer_state · 0b7075fe
      Edward O'Callaghan authored
      Here we store the number of samples and layers directly in the
      pipe_framebuffer_state so that in the case of
      ARB_framebuffer_no_attachment we may make use of them directly.
      
      Further, we adjust various gallium/auxiliary helper functions
      accordingly.
      
      V2:
        Convert branches in util_framebuffer_get_num_layers() and
        util_framebuffer_get_num_samples() to their canonical form.
      
      V3:
        'git stash pop' the typo fix of 'cbufs' which should be
        'nr_cbufs' that was missing in V2, woops! Thanks Marek for
        pointing this out yet again.
      
      V4:
        Squash in the following patch:
      
        'gallium/util: Ensure util_framebuffer_get_num_samples() is valid'
      
         Upon context creation, internal driver structures are malloc()'ed
         and memset() to zero them. This results in a invalid number of
         samples 'by default'. Handle this in the simplest way to avoid
         elaborate and probably equally sub-optimial solutions.
      Signed-off-by: default avatarEdward O'Callaghan <eocallaghan@alterapraxis.com>
      Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
      0b7075fe
  18. 06 Dec, 2015 1 commit
  19. 22 Jul, 2015 2 commits
  20. 21 Jul, 2015 1 commit
    • Ilia Mirkin's avatar
      gallium: replace INLINE with inline · a2a1a580
      Ilia Mirkin authored
      Generated by running:
      git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g'
      git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g'
      git checkout src/gallium/state_trackers/clover/Doxyfile
      
      and manual edits to
      src/gallium/include/pipe/p_compiler.h
      src/gallium/README.portability
      
      to remove mentions of the inline define.
      Signed-off-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
      Acked-by: default avatarMarek Olšák <marek.olsak@amd.com>
      a2a1a580
  21. 16 Jul, 2015 1 commit
  22. 16 May, 2015 1 commit
  23. 01 Jul, 2014 1 commit
  24. 23 Apr, 2013 1 commit
    • Jose Fonseca's avatar
      gallium: Replace gl_rasterization_rules with lower_left_origin and half_pixel_center. · 2737abb4
      Jose Fonseca authored
      Squashed commit of the following:
      
      commit 04c5fa2cbb8e89d6f2fa5a75af1cca03b1f6b852
      Author: José Fonseca <jfonseca@vmware.com>
      Date:   Tue Apr 23 17:37:18 2013 +0100
      
          gallium: s/lower_left_origin/bottom_edge_rule/
      
      commit 4dff4f64fa83b9737def136fffd161d55e4f1722
      Author: José Fonseca <jfonseca@vmware.com>
      Date:   Tue Apr 23 17:35:04 2013 +0100
      
          gallium: Move diagram to docs.
      
      commit 442a63012c8c3c3797f45e03f2ca20ad5f399832
      Author: James Benton <jbenton@vmware.com>
      Date:   Fri May 11 17:50:55 2012 +0100
      
          gallium: Replace gl_rasterization_rules with lower_left_origin and half_pixel_center.
      
          This change is necessary to achieve correct results when using OpenGL
          FBOs.
      Reviewed-by: Marek Olšák's avatarMarek Olšák <maraeo@gmail.com>
      2737abb4
  25. 11 Mar, 2013 1 commit
  26. 04 Jan, 2013 1 commit
  27. 12 Dec, 2012 1 commit
  28. 30 Sep, 2012 1 commit
  29. 15 Jan, 2012 1 commit
    • Marek Olšák's avatar
      gallium: improve the pipe_stream_output_info struct (v2) · 2449695e
      Marek Olšák authored
      There are 3 changes:
      
      1) stride is specified for each buffer, not just one, so that drivers don't
         have to derive it from the outputs
      
      2) new per-output property dst_offset, which specifies the offset
         into the buffer in dwords where the output should be stored,
         so that drivers don't have to compute the offsets manually;
         this will also be useful for gl_SkipComponents
         from ARB_transform_feedback3
      
      3) register_mask is removed, instead, there is start_component
         and num_components; register_mask with non-consecutive 1s
         doesn't make much sense (some hardware cannot do packing of components)
      
      Christoph Bumiller: fixed nvc0.
      
      v2: resolve merge conflicts in Draw and clean it up
      2449695e
  30. 09 Jan, 2012 1 commit
    • Marek Olšák's avatar
      Squash-merge branch 'gallium-clip-state' · dc4c821f
      Marek Olšák authored
      Conflicts:
      	src/gallium/auxiliary/tgsi/tgsi_strings.c
      	src/mesa/state_tracker/st_atom_clip.c
      
      commit d919791f
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Fri Jan 6 17:59:22 2012 +0100
      
          d3d1x: adapt to new clip state
      
      commit cfec82bc
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Fri Jan 6 14:16:51 2012 +0100
      
          gallium/docs: update for clip state changes
      
      commit c02bfeb8
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Fri Jan 6 14:21:43 2012 +0100
      
          tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS
      
      commit d4e0a785
      Author: Brian Paul <brianp@vmware.com>
      Date:   Thu Jan 5 08:30:00 2012 -0700
      
          tgsi: consolidate TGSI string arrays in new tgsi_strings.h
      
          There was some duplication between the tgsi_dump.c and tgsi_text.c
          files.  Also use some static assertions to help catch errors when
          adding new TGSI values.
      
          v2: put strings in tgsi_strings.c file instead of the .h file.
      Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
      
      commit c28584ce
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Fri Jan 6 12:48:09 2012 +0100
      
          gallium: extend user_clip_plane_enable to apply to clip distances
      
      commit f1d5016c
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Fri Jan 6 02:39:09 2012 +0100
      
          nvfx: adapt to new clip state
      
      commit 6f6fa1c2
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Fri Jan 6 01:41:39 2012 +0100
      
          st/mesa: fix DrawPixels with GL_DEPTH_CLAMP
      
      commit c86ad730
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Tue Jan 3 23:51:30 2012 +0100
      
          nv50: adapt to new clip state
      
      commit 3a8ae6ac
      Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
      Date:   Tue Jan 3 23:32:36 2012 +0100
      
          nvc0: adapt to new clip state
      
      commit 6243a824
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Thu Dec 29 01:32:51 2011 +0100
      
          draw: initalize pt.user.planes in draw_init
      
          This fixes a crash in glean/fpexceptions.
      
      commit e3056524
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Mon Dec 26 06:26:55 2011 +0100
      
          svga: adapt to new clip state
      
      commit c5bfa8b3
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 14:11:51 2011 +0100
      
          r600g: adapt to new clip state
      
      commit f1189090
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 14:10:26 2011 +0100
      
          r300g: adapt to new clip state
      
      commit e3746532
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 12:39:16 2011 +0100
      
          draw: adapt to new clip state
      
          This adds a regression in the LLVM clipping path. Can anybody see anything
          wrong with the code? It works for every other case, just glean/fpexceptions
          crashes when doing the "Infinite clip plane test".
      
      commit b474d2b1
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 13:14:59 2011 +0100
      
          u_blitter: don't save/set/restore clip state
      
      commit 9dd240ea
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 13:11:56 2011 +0100
      
          gallium: don't cso_save/set/restore clip state
      
          The enable bits are in the rasterizer state.
      
      commit a4f70311
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 12:58:55 2011 +0100
      
          gallium: default depth_clip to 1
      
          depth_clip = !depth_clamp
      
      commit fe21147a
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Mon Dec 26 06:14:19 2011 +0100
      
          trace,util: update state logging to new clip state
      
          Also dump the other missing flags.
      
      commit 2a3b96e8
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sun Dec 25 10:43:43 2011 +0100
      
          st/mesa: adapt to new clip state
      
      commit b7b656a4
      Author: Marek Olšák <maraeo@gmail.com>
      Date:   Sat Dec 17 15:45:19 2011 +0100
      
          gallium: move state enable bits from clip_state to rasterizer_state
      dc4c821f
  31. 05 Jan, 2012 1 commit
  32. 15 Dec, 2011 1 commit
    • Marek Olšák's avatar
      gallium: interface changes necessary to implement transform feedback (v5) · 861a029d
      Marek Olšák authored
      Namely:
      - EXT_transform_feedback
      - ARB_transform_feedback2
      - ARB_transform_feedback_instanced
      
      The old interface was not useful for OpenGL and had to be reworked.
      
      This interface was originally designed for OpenGL, but additional
      changes have been made in order to make st/d3d1x support easier.
      
      The most notable change is the stream-out info must be linked
      with a vertex or geometry shader and cannot be set independently.
      This is due to limitations of existing hardware (special shader
      instructions must be used to write into stream-out buffers),
      and it's also how OpenGL works (stream outputs must be specified
      prior to linking shaders).
      
      Other than that, each stream output buffer has a "view" into it that
      internally maintains the number of bytes which have been written
      into it. (one buffer can be bound in several different transform
      feedback objects in OpenGL, so we must be able to have several views
      around) The set_stream_output_targets function contains a parameter
      saying whether new data should be appended or not.
      
      Also, the view can optionally be used to provide the vertex
      count for draw_vbo. Note that the count is supposed to be stored
      in device memory and the CPU never gets to know its value.
      
      OpenGL way | Gallium way
      ------------------------------------
      BeginTF    = set_so_targets(append_bitmask = 0)
      PauseTF    = set_so_targets(num_targets = 0)
      ResumeTF   = set_so_targets(append_bitmask = ~0)
      EndTF      = set_so_targets(num_targets = 0)
      DrawTF     = use pipe_draw_info::count_from_stream_output
      
      v2: * removed the reset_stream_output_targets function
          * added a parameter append_bitmask to set_stream_output_targets,
            each bit specifies whether new data should be appended to each
            buffer or not.
      v3: * added PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME for ARB_tfb2,
            note that the draw-auto subset is always required (for d3d10),
            only the pause/resume functionality is limited if the CAP is not
            advertised
      v4: * update gallium/docs
      v5: * compactified struct pipe_stream_output_info, updated dump/trace
      861a029d