Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactoring] Improve spline/bezier. #11425

Merged
merged 72 commits into from
Nov 4, 2018

Commits on Oct 7, 2018

  1. Configuration menu
    Copy the full SHA
    5c7284f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9ac860 View commit details
    Browse the repository at this point in the history
  3. [spline/bezier]Managing buffer allocation.

    # Conflicts:
    #	GPU/Common/SplineCommon.cpp
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    a4860b6 View commit details
    Browse the repository at this point in the history
  4. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    28a5005 View commit details
    Browse the repository at this point in the history
  5. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    1d4e8cc View commit details
    Browse the repository at this point in the history
  6. [spline/bezier]minor fix

    # Conflicts:
    #	GPU/Common/SplineCommon.cpp
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    a7754c4 View commit details
    Browse the repository at this point in the history
  7. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    3c2837b View commit details
    Browse the repository at this point in the history
  8. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    b1289cd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    485260c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    966ff32 View commit details
    Browse the repository at this point in the history
  11. [spline/bezier]minor cleanup

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    7cbc97f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    30c3c87 View commit details
    Browse the repository at this point in the history
  13. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    d8ccc1c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    15a11d5 View commit details
    Browse the repository at this point in the history
  15. Fix namespace Vec2f.

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    62ad5fe View commit details
    Browse the repository at this point in the history
  16. [spline/bezier]Pre-convert control-points for the accumulation of SIM…

    …D optimization, and avoid conversion in hot loops.
    
    # Conflicts:
    #	GPU/Common/SplineCommon.cpp
    #	GPU/Common/SplineCommon.h
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    36ed61d View commit details
    Browse the repository at this point in the history
  17. [spline/bezier]Use real tessellation in low-quality with "fixed to 2"…

    … tessellation factor.
    
    # Conflicts:
    #	GPU/Common/SplineCommon.cpp
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    c8e45ae View commit details
    Browse the repository at this point in the history
  18. [spline/bezier]Move SIMD optimization of vector operations to Math3D.h.

    Needs rebuild to avoid a dialog confirmation on Visual Studio.
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    d0682d7 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a340390 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    3aeb320 View commit details
    Browse the repository at this point in the history
  21. [spline/bezier]Make a bezier weights calculation class and precalcula…

    …te all bezier weights at the beginning.
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    2a3210a View commit details
    Browse the repository at this point in the history
  22. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    1b9af84 View commit details
    Browse the repository at this point in the history
  23. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    0c96804 View commit details
    Browse the repository at this point in the history
  24. [spline/bezier]Make a spline weights calculation class and precalcula…

    …te all spline weights at the beginning.
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    15b409a View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    1e84a62 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    068cc37 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    4c6098d View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    3069153 View commit details
    Browse the repository at this point in the history
  29. [spline/bezier]minor cleanup

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    f12d796 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    07888d7 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    ca4e246 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    b11f9e6 View commit details
    Browse the repository at this point in the history
  33. [spline/bezier]Improve spline tessellation using same as bezier tesse…

    …llation method.(performance improvements, at least 10 FPS or more)
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    f7ac708 View commit details
    Browse the repository at this point in the history
  34. [spline/bezier]Improve template parameter dispatch method.

    # Conflicts:
    #	GPU/Common/SplineCommon.h
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    da1176f View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    24123e6 View commit details
    Browse the repository at this point in the history
  36. [spline/bezier]minor cleanup

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    7d45078 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    0cb6331 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    3add123 View commit details
    Browse the repository at this point in the history
  39. [spline/bezier]Improve HW tess on Opengl to combine 3 textures into a…

    … single texture and use it.
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    1b076f8 View commit details
    Browse the repository at this point in the history
  40. [spline/bezier]Unify software tessellation of bezier and spline.

    # Conflicts:
    #	GPU/Common/SplineCommon.cpp
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    e5976f5 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    3c0fb44 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    a48a5b3 View commit details
    Browse the repository at this point in the history
  43. [spline/bezier]Fix spline weights calculation and get rid of using ne…

    …xt patch position in hwtess.
    
    # Conflicts:
    #	GPU/Directx9/VertexShaderGeneratorDX9.cpp
    #	GPU/GLES/VertexShaderGeneratorGLES.cpp
    #	GPU/Vulkan/VertexShaderGeneratorVulkan.cpp
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    3d07bca View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    41d6c3c View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    103d180 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    de5975f View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    d4a6673 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    453e274 View commit details
    Browse the repository at this point in the history
  49. [spline/bezier]Sharing textures to avoid heavily textures creation/de…

    …letion in one frame. At least, it occurs about 1000 and very slow down in Pursuit Force.
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    03b9492 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    8c279c0 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    3216a83 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    98ddefb View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    a241058 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    c4a8d80 View commit details
    Browse the repository at this point in the history
  55. Math3D: Something wrong with hand simd optimization in vec2<float>, s…

    …o it causes very slow down.
    
    However, compiler optimization is faster enough, so removed it.
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    62aaf63 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    6683351 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    1c604d5 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    019e276 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    d98fa06 View commit details
    Browse the repository at this point in the history
  60. [spline/bezier]Instanced rendering for B-Spline is very slow when usi…

    …ng weak GPU, so disabled it and simplify the shaders.
    
    Add changing the quality of HW tessellation.
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    89786b9 View commit details
    Browse the repository at this point in the history
  61. [spline/bezier]Fix GLES texture resolution of HW tess to real 2D to a…

    …void huge width in FF4CC mist dragon morphing.
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    41823f8 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    c49d9e2 View commit details
    Browse the repository at this point in the history
  63. [spline/bezier]oops

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    8ad38df View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    10afcf2 View commit details
    Browse the repository at this point in the history
  65. [spline/bezier]Remove comment.

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    1dfb402 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    ef53195 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    405ead8 View commit details
    Browse the repository at this point in the history
  68. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    5f9022a View commit details
    Browse the repository at this point in the history
  69. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    5f07213 View commit details
    Browse the repository at this point in the history
  70. [spline/bezier]Reduce static buffers. Get rid of the spline buffer us…

    …ing half of the vertex buffer.
    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    eca9386 View commit details
    Browse the repository at this point in the history
  71. [spline/bezier]minor fix

    xebra committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    46d30d0 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    0d7a5cd View commit details
    Browse the repository at this point in the history