Revert of drawVertices bug on gpu side (https://codereview.chromium.org/387113002/)
authordandov <dandov@google.com>
Mon, 14 Jul 2014 21:52:36 +0000 (14:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Jul 2014 21:52:36 +0000 (14:52 -0700)
commit49b359079809101e04cbde6c86d3df0ab537cc4a
treed9f84a92b3536bae916fd052f9c624d5c5b6c1e0
parentf59eab269350f36a0c2bf98d1c2a9757c77fc473
Revert of drawVertices bug on gpu side (https://codereview.chromium.org/387113002/)

Reason for revert:
compare gms failed on 6 images, I will check them and determine if they need a rebaseline or if the output is incorrect.

Original issue's description:
> Fixed the bug in drawVertices when no colors or texture coordinates are provided by modifying the grprimitive to klines and adjusting the indices.
>
> BUG=skia:2745
>
> Committed: https://skia.googlesource.com/skia/+/612364de87cb2012239c4f6435e8e11760617fdc

R=jvanverth@google.com, bsalomon@google.com, egdaniel@google.com
TBR=bsalomon@google.com, egdaniel@google.com, jvanverth@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:2745

Author: dandov@google.com

Review URL: https://codereview.chromium.org/395613002
src/gpu/SkGpuDevice.cpp