Lines Matching refs:ThreadContext
20 ThreadContext::ThreadContext(SkSL::Compiler* compiler, SkSL::ProgramKind kind,
53 ThreadContext::~ThreadContext() {
69 void ThreadContext::setupSymbolTable() {
126 SkSL::Context& ThreadContext::Context() {
130 SkSL::ProgramSettings& ThreadContext::Settings() {
134 std::shared_ptr<SkSL::SymbolTable>& ThreadContext::SymbolTable() {
138 const SkSL::Modifiers* ThreadContext::Modifiers(const SkSL::Modifiers& modifiers) {
142 ThreadContext::RTAdjustData& ThreadContext::RTAdjustState() {
147 void ThreadContext::StartFragmentProcessor(GrFragmentProcessor::ProgramImpl* processor,
149 ThreadContext& instance = ThreadContext::Instance();
155 void ThreadContext::EndFragmentProcessor() {
156 ThreadContext& instance = Instance();
164 void ThreadContext::SetErrorReporter(ErrorReporter* errorReporter) {
169 void ThreadContext::ReportError(skstd::string_view msg, PositionInfo info) {
173 void ThreadContext::DefaultErrorReporter::handleError(skstd::string_view msg, PositionInfo pos) {
184 void ThreadContext::ReportErrors(PositionInfo pos) {
188 thread_local ThreadContext* instance = nullptr;
190 bool ThreadContext::IsActive() {
194 ThreadContext& ThreadContext::Instance() {
199 void ThreadContext::SetInstance(std::unique_ptr<ThreadContext> newInstance) {