OSDN Git Service

Refactor point and line clip flag calculation.
authorNicolas Capens <capn@google.com>
Thu, 26 May 2016 15:19:02 +0000 (11:19 -0400)
committerNicolas Capens <capn@google.com>
Fri, 27 May 2016 20:59:14 +0000 (20:59 +0000)
commit53bf0a113e42d70eb681abd88816960574af55f1
tree2586d990ec20e1e34c97ad99fb9a3740d64d5704
parent734392e605a354c6d4f411070782d4f05cdf5f22
Refactor point and line clip flag calculation.

Move clip flag calculation for the new polygon vertices of points and lines
from the renderer to the clipper.

Change-Id: I41ac3647d8e9376586a1011d1cf28d83e9c963a2
Reviewed-on: https://swiftshader-review.googlesource.com/5423
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/Renderer/Clipper.cpp
src/Renderer/Clipper.hpp
src/Renderer/Polygon.hpp
src/Renderer/Renderer.cpp
src/Renderer/Renderer.hpp