Lines Matching refs:ThreadContext
48 if (ThreadContext::InFragmentProcessor()) { in DSLVarBase()
53 SkAssertResult(SkSL::type_to_grsltype(ThreadContext::Context(), in DSLVarBase()
58 SkAssertResult(SkSL::type_to_grsltype(ThreadContext::Context(), skslType, in DSLVarBase()
63 SkASSERT(ThreadContext::CurrentEmitArgs()); in DSLVarBase()
64 fUniformHandle = ThreadContext::CurrentEmitArgs()->fUniformHandler->addUniformArray( in DSLVarBase()
65 &ThreadContext::CurrentEmitArgs()->fFp, kFragment_GrShaderFlag, grslType, in DSLVarBase()
75 ThreadContext::ReportError(String::printf("variable '%.*s' was destroyed without being " in ~DSLVarBase()
111 fName = ThreadContext::CurrentEmitArgs()->fSampleCoord; in DSLGlobalVar()
117 const SkSL::Modifiers* modifiers = ThreadContext::Context().fModifiersPool->add( in DSLGlobalVar()
123 fVar = ThreadContext::SymbolTable()->takeOwnershipOfIRNode(std::make_unique<SkSL::Variable>( in DSLGlobalVar()
127 ThreadContext::Context().fTypes.fFloat2.get(), in DSLGlobalVar()
134 const SkSL::Symbol* result = (*ThreadContext::SymbolTable())[fName]; in DSLGlobalVar()
162 return BinaryExpression::Convert(ThreadContext::Context(), in assign()
182 ThreadContext::ReportError("type does not support method calls", pos); in methodCall()
185 return FieldAccess::Convert(ThreadContext::Context(), *ThreadContext::SymbolTable(), in methodCall()
192 method ? SkSL::FunctionCall::Convert(ThreadContext::Context(), pos.line(), in eval()