Lines Matching defs:fCommon
107 const GrVertexAttrib* getVertexAttribs() const { return fCommon.fVAPtr; }
108 int getVertexAttribCount() const { return fCommon.fVACount; }
125 return fCommon.fFixedFunctionVertexAttribIndices[kPosition_GrVertexAttribBinding];
128 return fCommon.fFixedFunctionVertexAttribIndices[kLocalCoord_GrVertexAttribBinding];
131 return fCommon.fFixedFunctionVertexAttribIndices[kColor_GrVertexAttribBinding];
134 return fCommon.fFixedFunctionVertexAttribIndices[kCoverage_GrVertexAttribBinding];
138 return -1 != fCommon.fFixedFunctionVertexAttribIndices[kLocalCoord_GrVertexAttribBinding];
141 return -1 != fCommon.fFixedFunctionVertexAttribIndices[kColor_GrVertexAttribBinding];
144 return -1 != fCommon.fFixedFunctionVertexAttribIndices[kCoverage_GrVertexAttribBinding];
157 fVAPtr = drawState->fCommon.fVAPtr;
158 fVACount = drawState->fCommon.fVACount;
253 void setColor(GrColor color) { fCommon.fColor = color; }
255 GrColor getColor() const { return fCommon.fColor; }
311 fCommon.fCoverage = GrColorPackRGBA(coverage, coverage, coverage, coverage);
315 return GrColorUnpackR(fCommon.fCoverage);
319 return fCommon.fCoverage;
453 fCommon.fSrcBlend = srcCoeff;
454 fCommon
465 GrBlendCoeff getSrcBlendCoeff() const { return fCommon.fSrcBlend; }
466 GrBlendCoeff getDstBlendCoeff() const { return fCommon.fDstBlend; }
470 *srcBlendCoeff = fCommon.fSrcBlend;
471 *dstBlendCoeff = fCommon.fDstBlend;
484 void setBlendConstant(GrColor constant) { fCommon.fBlendConstant = constant; }
490 GrColor getBlendConstant() const { return fCommon.fBlendConstant; }
562 const SkMatrix& getViewMatrix() const { return fCommon.fViewMatrix; }
577 if (fCommon.fViewMatrix.invert(&inverse)) {
694 fCommon.fStencilSettings = settings;
701 fCommon.fStencilSettings.setDisabled();
704 const GrStencilSettings& getStencil() const { return fCommon.fStencilSettings; }
706 GrStencilSettings* stencil() { return &fCommon.fStencilSettings; }
755 fCommon.fFlagBits = 0;
764 fCommon.fFlagBits |= stateBits;
773 fCommon.fFlagBits &= ~(stateBits);
791 return 0 != (fCommon.fFlagBits & kDither_StateBit);
795 return 0 != (fCommon.fFlagBits & kHWAntialias_StateBit);
799 return 0 != (fCommon.fFlagBits & kClip_StateBit);
803 return 0 != (fCommon.fFlagBits & kNoColorWrites_StateBit);
807 return 0 != (fCommon.fFlagBits & kCoverageDrawing_StateBit);
811 return 0 != (stateBit & fCommon.fFlagBits);
834 fCommon.fDrawFace = face;
842 DrawFace getDrawFace() const { return fCommon.fDrawFace; }
852 fCommon != s.fCommon) {
872 fCommon = s.fCommon;
889 fCommon.fColor = 0xffffffff;
891 fCommon.fViewMatrix.reset();
893 fCommon.fViewMatrix = *initialViewMatrix;
895 fCommon.fSrcBlend = kOne_GrBlendCoeff;
896 fCommon.fDstBlend = kZero_GrBlendCoeff;
897 fCommon.fBlendConstant = 0x0;
898 fCommon.fFlagBits = 0x0;
899 fCommon.fStencilSettings.setDisabled();
900 fCommon.fCoverage = 0xffffffff;
901 fCommon.fDrawFace = kBoth_DrawFace;
967 fCommon = drawState.fCommon;
987 drawState->fCommon = fCommon;
1007 fCommon != state.fCommon) {
1029 CommonState fCommon;
1039 CommonState fCommon;