Lines Matching refs:fDebugTrace
344 SkVMDebugTrace* fDebugTrace; member in SkSL::SkVMGenerator
419 , fDebugTrace(debugTrace) in SkVMGenerator()
452 if (fDebugTrace) { in setupGlobals()
454 fDebugTrace->setSource(*fProgram.fSource); in setupGlobals()
457 fDebugTrace->fTraceHook = SkSLTracer::Make(fDebugTrace); in setupGlobals()
458 fTraceHookID = fBuilder->attachTraceHook(fDebugTrace->fTraceHook.get()); in setupGlobals()
462 skvm::Coord traceCoord = {to_F32(fBuilder->splat(fDebugTrace->fTraceCoord.fX)) + 0.5f, in setupGlobals()
463 to_F32(fBuilder->splat(fDebugTrace->fTraceCoord.fY)) + 0.5f}; in setupGlobals()
549 SkASSERT(fDebugTrace); in getDebugFunctionInfo()
561 for (size_t index = 0; index < fDebugTrace->fFuncInfo.size(); ++index) { in getDebugFunctionInfo()
562 if (fDebugTrace->fFuncInfo[index].name == name) { in getDebugFunctionInfo()
568 int slot = (int)fDebugTrace->fFuncInfo.size(); in getDebugFunctionInfo()
569 fDebugTrace->fFuncInfo.push_back(FunctionDebugInfo{std::move(name)}); in getDebugFunctionInfo()
579 if (fDebugTrace) { in writeFunction()
620 if (fDebugTrace) { in writeFunction()
628 if (fDebugTrace && (!fSlots[slot].writtenTo || fSlots[slot].val != value)) { in writeToSlot()
640 SkASSERT(fDebugTrace); in addDebugSlotInfoForGroup()
678 fDebugTrace->fSlotInfo.push_back(std::move(slotInfo)); in addDebugSlotInfoForGroup()
700 if (fDebugTrace) { in createSlot()
702 SkASSERT(fDebugTrace->fSlotInfo.size() == slot); in createSlot()
705 fDebugTrace->fSlotInfo.reserve(slot + nslots); in createSlot()
709 SkASSERT(fDebugTrace->fSlotInfo.size() == (slot + nslots)); in createSlot()
2017 if (fDebugTrace && line > 0 && fInsideCompoundStatement == 0) { in emitTraceLine()
2023 if (fDebugTrace) { in emitTraceScope()