HomeSort by relevance Sort by last modified time
    Searched refs:SkSL (Results 1 - 25 of 151) sorted by null

1 2 3 4 5 6 7

  /external/skia/src/sksl/
sksl.flex 13 the lex.sksl.c file must be manually regenerated if you make any changes to this file. Just run:
15 flex sksl.flex
17 You will have to manually add a copyright notice to the top of lex.sksl.c.
21 %option prefix="sksl"
32 {DIGIT}*"."{DIGIT}+([eE][+-]?{DIGIT}+)? { return SkSL::Token::FLOAT_LITERAL; }
34 {DIGIT}+"."{DIGIT}*([eE][+-]?{DIGIT}+)? { return SkSL::Token::FLOAT_LITERAL; }
36 {DIGIT}+([eE][+-]?{DIGIT}+) { return SkSL::Token::FLOAT_LITERAL; }
38 {DIGIT}+ { return SkSL::Token::INT_LITERAL; }
40 "0x"[0-9a-fA-F]+ { return SkSL::Token::INT_LITERAL; }
42 true { return SkSL::Token::TRUE_LITERAL;
    [all...]
layout.flex 34 "location" { return SkSL::Token::LOCATION; }
35 "offset" { return SkSL::Token::OFFSET; }
36 "binding" { return SkSL::Token::BINDING; }
37 "index" { return SkSL::Token::INDEX; }
38 "set" { return SkSL::Token::SET; }
39 "builtin" { return SkSL::Token::BUILTIN; }
40 "input_attachment_index" { return SkSL::Token::INPUT_ATTACHMENT_INDEX; }
41 "origin_upper_left" { return SkSL::Token::ORIGIN_UPPER_LEFT; }
42 "override_coverage" { return SkSL::Token::OVERRIDE_COVERAGE; }
43 "blend_support_all_equations" { return SkSL::Token::BLEND_SUPPORT_ALL_EQUATIONS;
    [all...]
SkSLMain.cpp 15 static SkSL::String base_name(const char* fpPath, const char* prefix, const char* suffix) {
16 SkSL::String result;
38 SkSL::Program::Kind kind;
39 SkSL::String input(argv[1]);
41 kind = SkSL::Program::kVertex_Kind;
43 kind = SkSL::Program::kFragment_Kind;
45 kind = SkSL::Program::kGeometry_Kind;
47 kind = SkSL::Program::kFragmentProcessor_Kind;
56 SkSL::String text(stdText.c_str());
61 SkSL::Program::Settings settings
    [all...]
SkSLErrorReporter.h 13 namespace SkSL {
SkSLPosition.h 13 namespace SkSL {
lex.sksl.c 8 #line 3 "lex.sksl.c"
648 #line 1 "sksl.flex"
660 the lex.sksl.c file must be manually regenerated if you make any changes to this file. Just run:
662 flex sksl.flex
664 You will have to manually add a copyright notice to the top of lex.sksl.c.
668 #line 663 "lex.sksl.c"
929 #line 30 "sksl.flex"
932 #line 927 "lex.sksl.c"
    [all...]
SkSLCodeGenerator.h 14 namespace SkSL {
SkSLOutputStream.h 13 namespace SkSL {
SkSLUtil.cpp 14 namespace SkSL {
  /external/skia/src/sksl/ast/
SkSLASTNode.h 13 namespace SkSL {
SkSLASTPositionNode.h 14 namespace SkSL {
SkSLASTBreakStatement.h 13 namespace SkSL {
SkSLASTContinueStatement.h 13 namespace SkSL {
SkSLASTDiscardStatement.h 13 namespace SkSL {
  /external/skia/tests/
SkSLGLSLTest.cpp 21 static void test(skiatest::Reporter* r, const char* src, const SkSL::Program::Settings& settings,
22 const char* expected, SkSL::Program::Inputs* inputs,
23 SkSL::Program::Kind kind = SkSL::Program::kFragment_Kind) {
24 SkSL::Compiler compiler;
25 SkSL::String output;
26 std::unique_ptr<SkSL::Program> program = compiler.convertProgram(kind, SkString(src), settings);
34 SkSL::String skExpected(expected);
44 const char* expected, SkSL::Program::Kind kind = SkSL::Program::kFragment_Kind)
    [all...]
SkSLSPIRVTest.cpp 15 SkSL::Compiler compiler;
16 SkSL::Program::Settings settings;
17 sk_sp<GrShaderCaps> caps = SkSL::ShaderCapsFactory::Default();
19 std::unique_ptr<SkSL::Program> program = compiler.convertProgram(SkSL::Program::kFragment_Kind,
22 SkSL::String ignored;
25 SkSL::String skError(error);
27 SkDebugf("SKSL ERROR:\n source: %s\n expected: %s received: %s", src, error,
SkSLFPTest.cpp 16 SkSL::Program::Settings settings;
18 SkSL::Compiler compiler;
19 SkSL::StringStream output;
20 std::unique_ptr<SkSL::Program> program = compiler.convertProgram(
21 SkSL::Program::kFragmentProcessor_Kind,
67 *SkSL::ShaderCapsFactory::Default(),
162 *SkSL::ShaderCapsFactory::Default(),
184 *SkSL::ShaderCapsFactory::Default(),
200 *SkSL::ShaderCapsFactory::Default(),
218 *SkSL::ShaderCapsFactory::Default()
    [all...]
SkSLMemoryLayoutTest.cpp 16 SkSL::Context context;
17 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k140_Standard);
56 std::vector<SkSL::Type::Field> fields1;
57 fields1.emplace_back(SkSL::Modifiers(), SkString("a"), context.fVec3_Type.get());
58 SkSL::Type s1(SkSL::Position(), SkString("s1"), fields1);
62 fields1.emplace_back(SkSL::Modifiers(), SkString("b"), context.fFloat_Type.get());
63 SkSL::Type s2(SkSL::Position(), SkString("s2"), fields1)
    [all...]
  /external/skia/src/gpu/gl/builders/
GrGLShaderStringBuilder.h 24 const SkSL::Program::Settings& settings,
25 SkSL::Program::Inputs* inputs);
28 int count, const SkSL::Program::Settings&);
  /external/skia/src/sksl/ir/
SkSLIRNode.h 13 namespace SkSL {
SkSLBreakStatement.h 14 namespace SkSL {
SkSLContinueStatement.h 14 namespace SkSL {
SkSLDiscardStatement.h 14 namespace SkSL {
SkSLNop.h 14 namespace SkSL {
SkSLSetting.cpp 12 namespace SkSL {

Completed in 643 milliseconds

1 2 3 4 5 6 7