| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "GrBezierEffect.h" | 8 #include "GrBezierEffect.h" |
| 9 | 9 |
| 10 #include "glsl/GrGLSLFragmentShaderBuilder.h" | 10 #include "glsl/GrGLSLFragmentShaderBuilder.h" |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 GrGeometryProcessor* gp; | 720 GrGeometryProcessor* gp; |
| 721 do { | 721 do { |
| 722 GrPrimitiveEdgeType edgeType = | 722 GrPrimitiveEdgeType edgeType = |
| 723 static_cast<GrPrimitiveEdgeType>( | 723 static_cast<GrPrimitiveEdgeType>( |
| 724 d->fRandom->nextULessThan(kGrProcessorEdgeTypeCnt)); | 724 d->fRandom->nextULessThan(kGrProcessorEdgeTypeCnt)); |
| 725 gp = GrCubicEffect::Create(GrRandomColor(d->fRandom), | 725 gp = GrCubicEffect::Create(GrRandomColor(d->fRandom), |
| 726 GrTest::TestMatrix(d->fRandom), edgeType, *d-
>fCaps); | 726 GrTest::TestMatrix(d->fRandom), edgeType, *d-
>fCaps); |
| 727 } while (nullptr == gp); | 727 } while (nullptr == gp); |
| 728 return gp; | 728 return gp; |
| 729 } | 729 } |
| 730 | |
| OLD | NEW |