Flutter Engine
The Flutter Engine
Namespaces | Functions
SkSLEliminateDeadGlobalVariables.cpp File Reference
#include "src/base/SkStringView.h"
#include "src/sksl/SkSLCompiler.h"
#include "src/sksl/SkSLContext.h"
#include "src/sksl/SkSLProgramSettings.h"
#include "src/sksl/analysis/SkSLProgramUsage.h"
#include "src/sksl/ir/SkSLProgram.h"
#include "src/sksl/ir/SkSLProgramElement.h"
#include "src/sksl/ir/SkSLVarDeclarations.h"
#include "src/sksl/ir/SkSLVariable.h"
#include "src/sksl/transform/SkSLTransform.h"
#include <algorithm>
#include <cstddef>
#include <memory>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  SkSL
 

Functions

static bool SkSL::is_dead_variable (const ProgramElement &element, ProgramUsage *usage, bool onlyPrivateGlobals)