aboutsummaryrefslogtreecommitdiff
path: root/tests/GLProgramsTest.cpp
diff options
context:
space:
mode:
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-25 18:19:00 +0000
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-25 18:19:00 +0000
commitc26d94fd7dc0b00cd6d0e42d28285f4a38aff021 (patch)
tree6f7d38b702fd174bf089aa6b0ea126e5bec4e071 /tests/GLProgramsTest.cpp
parent6864cb8a2e0ac2ec87b05b008670f52991e5c36c (diff)
Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps.
Pass caps to GrEffect::TestCreate() functions so that they can return effects that will work with the capabilities. Review URL: https://codereview.chromium.org/12965018 git-svn-id: http://skia.googlecode.com/svn/trunk@8369 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/GLProgramsTest.cpp')
-rw-r--r--tests/GLProgramsTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index bfe2094353..1270b9305f 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -133,6 +133,7 @@ bool GrGpuGL::programUnitTest(int maxStages) {
SkAutoTUnref<const GrEffectRef> effect(GrEffectTestFactory::CreateStage(
&random,
this->getContext(),
+ *this->caps(),
dummyTextures));
int numAttribs = (*effect)->numVertexAttribs();