Lines Matching refs:writer

87 void GrShaderCaps::dumpJSON(SkJSONWriter* writer) const {
88 writer->beginObject();
90 writer->appendBool("Shader Derivative Support", fShaderDerivativeSupport);
91 writer->appendBool("Dst Read In Shader Support", fDstReadInShaderSupport);
92 writer->appendBool("Dual Source Blending Support", fDualSourceBlendingSupport);
93 writer->appendBool("Integer Support", fIntegerSupport);
94 writer->appendBool("Nonsquare Matrix Support", fNonsquareMatrixSupport);
95 writer->appendBool("Inverse Hyperbolic Support", fInverseHyperbolicSupport);
107 writer->appendBool("FB Fetch Support", fFBFetchSupport);
108 writer->appendBool("Uses precision modifiers", fUsesPrecisionModifiers);
109 writer->appendBool("Can use any() function", fCanUseAnyFunctionInShader);
110 writer->appendBool("Can use min() and abs() together", fCanUseMinAndAbsTogether);
111 writer->appendBool("Can use fract() for negative values", fCanUseFractForNegativeValues);
112 writer->appendBool("Must force negated atan param to float", fMustForceNegatedAtanParamToFloat);
113 writer->appendBool("Must force negated ldexp param to multiply",
115 writer->appendBool("Must do op between floor and abs", fMustDoOpBetweenFloorAndAbs);
116 writer->appendBool("Must use local out color for FBFetch", fRequiresLocalOutputColorForFBFetch);
117 writer->appendBool("Must obfuscate uniform color", fMustObfuscateUniformColor);
118 writer->appendBool("Must guard division even after explicit zero check",
120 writer->appendBool("Can use gl_FragCoord", fCanUseFragCoord);
121 writer->appendBool("Incomplete short int precision", fIncompleteShortIntPrecision);
122 writer->appendBool("Add and true to loops workaround", fAddAndTrueToLoopCondition);
123 writer->appendBool("Unfold short circuit as ternary", fUnfoldShortCircuitAsTernary);
124 writer->appendBool("Emulate abs(int) function", fEmulateAbsIntFunction);
125 writer->appendBool("Rewrite do while loops", fRewriteDoWhileLoops);
126 writer->appendBool("Rewrite switch statements", fRewriteSwitchStatements);
127 writer->appendBool("Rewrite pow with constant exponent", fRemovePowWithConstantExponent);
128 writer->appendBool("Must write to sk_FragColor [workaround]", fMustWriteToFragColor);
129 writer->appendBool("Don't add default precision statement for samplerExternalOES",
131 writer->appendBool("Rewrite matrix-vector multiply", fRewriteMatrixVectorMultiply);
132 writer->appendBool("Rewrite matrix equality comparisons", fRewriteMatrixComparisons);
133 writer->appendBool("Flat interpolation support", fFlatInterpolationSupport);
134 writer->appendBool("Prefer flat interpolation", fPreferFlatInterpolation);
135 writer->appendBool("No perspective interpolation support", fNoPerspectiveInterpolationSupport);
136 writer->appendBool("Sample mask support", fSampleMaskSupport);
137 writer->appendBool("External texture support", fExternalTextureSupport);
138 writer->appendBool("sk_VertexID support", fVertexIDSupport);
139 writer->appendBool("Infinity support", fInfinitySupport);
140 writer->appendBool("Non-constant array index support", fNonconstantArrayIndexSupport);
141 writer->appendBool("Bit manipulation support", fBitManipulationSupport);
142 writer->appendBool("float == fp32", fFloatIs32Bits);
143 writer->appendBool("half == fp32", fHalfIs32Bits);
144 writer->appendBool("Has poor fragment precision", fHasLowFragmentPrecision);
145 writer->appendBool("Color space math needs float", fColorSpaceMathNeedsFloat);
146 writer->appendBool("Builtin fma() support", fBuiltinFMASupport);
147 writer->appendBool("Builtin determinant() support", fBuiltinDeterminantSupport);
148 writer->appendBool("Can use do-while loops", fCanUseDoLoops);
149 writer->appendBool("Use node pools", fUseNodePools);
151 writer->appendS32("Max FS Samplers", fMaxFragmentSamplers);
152 writer->appendS32("Max Tessellation Segments", fMaxTessellationSegments);
153 writer->appendString("Advanced blend equation interaction",
156 writer->endObject();
159 void GrShaderCaps::dumpJSON(SkJSONWriter* writer) const { }