Lines Matching defs:code
4 * Use of this source code is governed by a BSD-style license that can be
47 /** Version of above that appends the result to the fragment shader code instead.*/
83 * Called by GrGLSLProcessors to add code to one of the shaders.
88 this->code().appendVAList(format, args);
92 void codeAppend(const char* str) { this->code().append(str); }
97 this->code().prependVAList(format, args);
125 * Helper for begining and ending a block in the shader code.
185 fCompilerStrings.push_back(this->code().c_str());
186 fCompilerStringLengths.push_back((int)this->code().size());
200 SkString& code() { return fShaderStrings[fCodeIndex]; }