/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrBezierEffect.cpp | 51 const char *vsName, *fsName; 54 &vsName, &fsName); 65 builder->fsCodeAppendf("\t\tvec3 dklmdx = dFdx(%s.xyz);\n", fsName); 66 builder->fsCodeAppendf("\t\tvec3 dklmdy = dFdy(%s.xyz);\n", fsName); 69 fsName, fsName, fsName); 72 fsName, fsName, fsName); [all...] |
/external/skia/src/gpu/effects/ |
GrBezierEffect.cpp | 51 const char *vsName, *fsName; 54 &vsName, &fsName); 65 builder->fsCodeAppendf("\t\tvec3 dklmdx = dFdx(%s.xyz);\n", fsName); 66 builder->fsCodeAppendf("\t\tvec3 dklmdy = dFdy(%s.xyz);\n", fsName); 69 fsName, fsName, fsName); 72 fsName, fsName, fsName); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 540 const char *vsName, *fsName; 547 builder->addVarying(kVec4f_GrSLType, "QuadEdge", &vsName, &fsName); 550 builder->fsCodeAppendf("\t\tvec2 duvdx = dFdx(%s.xy);\n", fsName); 551 builder->fsCodeAppendf("\t\tvec2 duvdy = dFdy(%s.xy);\n", fsName); 552 builder->fsCodeAppendf("\t\tif (%s.z > 0.0 && %s.w > 0.0) {\n", fsName, fsName); 554 builder->fsCodeAppendf("\t\t\tedgeAlpha = min(min(%s.z, %s.w) + 0.5, 1.0);\n", fsName, 555 fsName); 559 fsName, fsName); [all...] |
GrOvalRenderer.cpp | 103 const char *vsName, *fsName; 104 builder->addVarying(kVec4f_GrSLType, "CircleEdge", &vsName, &fsName); 110 builder->fsCodeAppendf("\tfloat d = length(%s.xy);\n", fsName); 111 builder->fsCodeAppendf("\tfloat edgeAlpha = clamp(%s.z - d, 0.0, 1.0);\n", fsName); 113 builder->fsCodeAppendf("\tfloat innerAlpha = clamp(d - %s.w, 0.0, 1.0);\n", fsName); [all...] |
/external/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 540 const char *vsName, *fsName; 547 builder->addVarying(kVec4f_GrSLType, "QuadEdge", &vsName, &fsName); 550 builder->fsCodeAppendf("\t\tvec2 duvdx = dFdx(%s.xy);\n", fsName); 551 builder->fsCodeAppendf("\t\tvec2 duvdy = dFdy(%s.xy);\n", fsName); 552 builder->fsCodeAppendf("\t\tif (%s.z > 0.0 && %s.w > 0.0) {\n", fsName, fsName); 554 builder->fsCodeAppendf("\t\t\tedgeAlpha = min(min(%s.z, %s.w) + 0.5, 1.0);\n", fsName, 555 fsName); 559 fsName, fsName); [all...] |
GrOvalRenderer.cpp | 103 const char *vsName, *fsName; 104 builder->addVarying(kVec4f_GrSLType, "CircleEdge", &vsName, &fsName); 110 builder->fsCodeAppendf("\tfloat d = length(%s.xy);\n", fsName); 111 builder->fsCodeAppendf("\tfloat edgeAlpha = clamp(%s.z - d, 0.0, 1.0);\n", fsName); 113 builder->fsCodeAppendf("\tfloat innerAlpha = clamp(d - %s.w, 0.0, 1.0);\n", fsName); [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLShaderBuilder.cpp | 767 const char *vsName, *fsName; 768 this->addVarying(kVec4f_GrSLType, "Color", &vsName, &fsName); 770 this->setInputColor(fsName); 775 const char *vsName, *fsName; 776 this->addVarying(kVec4f_GrSLType, "Coverage", &vsName, &fsName); 778 this->setInputCoverage(fsName); [all...] |
/external/skia/src/gpu/gl/ |
GrGLShaderBuilder.cpp | 767 const char *vsName, *fsName; 768 this->addVarying(kVec4f_GrSLType, "Color", &vsName, &fsName); 770 this->setInputColor(fsName); 775 const char *vsName, *fsName; 776 this->addVarying(kVec4f_GrSLType, "Coverage", &vsName, &fsName); 778 this->setInputCoverage(fsName); [all...] |