diff options
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-19 18:51:02 +0000 |
---|---|---|
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-19 18:51:02 +0000 |
commit | 65eb4d5a210884cc92c43a8582cbd1ccbddcab57 (patch) | |
tree | 4051b149f07e8560ec3605fbcdb68ee902b18336 /tests | |
parent | 0b735631b7d22316693629a4110c7e95b2a7633e (diff) |
Add stroked ovals and CircleEdgeEffect.
Adds some optimizations to the circle and ellipse shaders, static effect
instances for their GrEffects, and some minor changes to GrDrawState::setEffect
to make GrEffect setup faster.
git-svn-id: http://skia.googlecode.com/svn/trunk@8238 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/GLProgramsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index b56c788513..d12aeb57dd 100644 --- a/tests/GLProgramsTest.cpp +++ b/tests/GLProgramsTest.cpp @@ -134,7 +134,7 @@ bool GrGpuGL::programUnitTest(int maxStages) { for (int i = 0; i < effect.get()->get()->numVertexAttribs(); ++i) { attribIndices[i] = currAttribIndex++; } - stages[s].setEffect(effect.get(), attribIndices); + stages[s].setEffect(effect.get(), attribIndices[0], attribIndices[1]); } } pdesc.setRandom(&random, this, stages); |