Flutter Engine
The Flutter Engine
|
#include "include/core/SkStream.h"
#include "src/base/SkStringView.h"
#include "src/core/SkCpu.h"
#include "src/core/SkOpts.h"
#include "src/sksl/SkSLCompiler.h"
#include "src/sksl/SkSLFileOutputStream.h"
#include "src/sksl/SkSLLexer.h"
#include "src/sksl/SkSLModuleLoader.h"
#include "src/sksl/SkSLProgramKind.h"
#include "src/sksl/SkSLProgramSettings.h"
#include "src/sksl/SkSLStringStream.h"
#include "src/sksl/SkSLUtil.h"
#include "src/sksl/ir/SkSLStructDefinition.h"
#include "src/sksl/ir/SkSLSymbolTable.h"
#include "src/sksl/transform/SkSLTransform.h"
#include "src/utils/SkOSPath.h"
#include "tools/SkGetExecutablePath.h"
#include "tools/skslc/ProcessWorklist.h"
#include <cctype>
#include <forward_list>
#include <fstream>
#include <limits.h>
#include <optional>
#include <stdarg.h>
#include <stdio.h>
Go to the source code of this file.
Namespaces | |
namespace | SkOpts |
Macros | |
#define | SK_OPTS_NS sksl_minify_standalone |
Functions | |
void | SkDebugf (const char format[],...) |
static std::string | base_name (const std::string &path) |
static std::string | remove_extension (const std::string &path) |
static void | show_usage () |
static std::string_view | stringize (const SkSL::Token &token, std::string_view text) |
static bool | maybe_identifier (char c) |
static bool | is_plus_or_minus (char c) |
static std::forward_list< std::unique_ptr< const SkSL::Module > > | compile_module_list (SkSpan< const std::string > paths, SkSL::ProgramKind kind) |
static bool | generate_minified_text (std::string_view inputPath, std::string_view text, SkSL::FileOutputStream &out) |
static bool | find_boolean_flag (SkSpan< std::string > *args, std::string_view flagName) |
static bool | has_overlapping_flags (SkSpan< const bool > flags) |
static ResultCode | process_command (SkSpan< std::string > args) |
int | main (int argc, const char **argv) |
Variables | |
static bool | gUnoptimized = false |
static bool | gStringify = false |
static SkSL::ProgramKind | gProgramKind = SkSL::ProgramKind::kFragment |
#define SK_OPTS_NS sksl_minify_standalone |
Definition at line 8 of file SkSLMinify.cpp.
|
static |
Definition at line 51 of file SkSLMinify.cpp.
|
static |
Definition at line 81 of file SkSLMinify.cpp.
|
static |
Definition at line 215 of file SkSLMinify.cpp.
|
static |
Definition at line 142 of file SkSLMinify.cpp.
|
static |
Definition at line 223 of file SkSLMinify.cpp.
|
static |
Definition at line 77 of file SkSLMinify.cpp.
Definition at line 328 of file SkSLMinify.cpp.
|
static |
Definition at line 73 of file SkSLMinify.cpp.
|
static |
Definition at line 228 of file SkSLMinify.cpp.
|
static |
Definition at line 56 of file SkSLMinify.cpp.
|
static |
Displays a usage banner; used when the command line arguments don't make sense.
Definition at line 64 of file SkSLMinify.cpp.
void SkDebugf | ( | const char | format[], |
... | |||
) |
Definition at line 40 of file SkSLMinify.cpp.
|
static |
Definition at line 69 of file SkSLMinify.cpp.
|
static |
Definition at line 38 of file SkSLMinify.cpp.
|
static |
Definition at line 37 of file SkSLMinify.cpp.
|
static |
Definition at line 36 of file SkSLMinify.cpp.