Hide GrDrawTarget::Caps's member vars

Review URL: https://codereview.appspot.com/6499044



git-svn-id: http://skia.googlecode.com/svn/trunk@5328 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index fd24518..c99d66a 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -109,14 +109,14 @@
                                     0;
 
 #if GR_GL_EXPERIMENTAL_GS
-        pdesc.fExperimentalGS = this->getCaps().fGeometryShaderSupport &&
+        pdesc.fExperimentalGS = this->getCaps().geometryShaderSupport() &&
                                 random_bool(&random);
 #endif
 
         bool edgeAA = random_bool(&random);
         if (edgeAA) {
             pdesc.fVertexLayout |= GrDrawTarget::kEdge_VertexLayoutBit;
-            if (this->getCaps().fShaderDerivativeSupport) {
+            if (this->getCaps().shaderDerivativeSupport()) {
                 pdesc.fVertexEdgeType = (GrDrawState::VertexEdgeType) random_int(&random, GrDrawState::kVertexEdgeTypeCnt);
             } else {
                 pdesc.fVertexEdgeType = GrDrawState::kHairLine_EdgeType;
@@ -126,7 +126,7 @@
 
         pdesc.fColorMatrixEnabled = random_bool(&random);
 
-        if (this->getCaps().fDualSourceBlendingSupport) {
+        if (this->getCaps().dualSourceBlendingSupport()) {
             pdesc.fDualSrcOutput = random_int(&random, ProgramDesc::kDualSrcOutputCnt);
         } else {
             pdesc.fDualSrcOutput = ProgramDesc::kNone_DualSrcOutput;