DescriptionThe fIsOval flag is lost when drawing is deferred. This prevents the gpu path from converting the path to a circle draw.
Without this change (bench w/ -mode deferred):
running bench [640 480] arc 8888: cmsecs = 30.99 GPU: cmsecs = 119.39 gmsecs = 106.94
With this change:
running bench [640 480] arc 8888: cmsecs = 33.70 GPU: cmsecs = 21.11 gmsecs = 12.65
Patch Set 1 #Patch Set 2 : Added storage of fConvexity & moved into existing int32_t #
Total comments: 2
Patch Set 3 : Streamlined code #Patch Set 4 : Added unit test #Patch Set 5 : Undid indentation to make code review easier #Patch Set 6 : cleaned up oval test code #
Total comments: 1
Patch Set 7 : Made read match write (both 8 bits) #MessagesTotal messages: 19
|