Improve crash handling in drawers
This commit is contained in:
parent
15c08f73d5
commit
27b432a930
7 changed files with 219 additions and 21 deletions
|
|
@ -104,6 +104,11 @@ public:
|
|||
WorkerThreadData d = ThreadData(thread);
|
||||
LLVMDrawers::Instance()->DrawColumnRt1(&args, &d);
|
||||
}
|
||||
|
||||
FString DebugInfo() override
|
||||
{
|
||||
return "DrawColumnRt1LLVMCommand";
|
||||
}
|
||||
};
|
||||
|
||||
#define DECLARE_DRAW_COMMAND(name, func, base) \
|
||||
|
|
@ -158,6 +163,11 @@ public:
|
|||
{
|
||||
thread->dc_temp_rgba = buff == NULL ? thread->dc_temp_rgbabuff_rgba : (uint32_t*)buff;
|
||||
}
|
||||
|
||||
FString DebugInfo() override
|
||||
{
|
||||
return "RtInitColsRGBACommand";
|
||||
}
|
||||
};
|
||||
|
||||
template<typename InputPixelType>
|
||||
|
|
@ -233,6 +243,11 @@ public:
|
|||
dest += 32;
|
||||
} while (--count);
|
||||
}
|
||||
|
||||
FString DebugInfo() override
|
||||
{
|
||||
return "DrawColumnHorizRGBACommand";
|
||||
}
|
||||
};
|
||||
|
||||
class FillColumnHorizRGBACommand : public DrawerCommand
|
||||
|
|
@ -278,6 +293,11 @@ public:
|
|||
dest += 8;
|
||||
} while (--count);
|
||||
}
|
||||
|
||||
FString DebugInfo() override
|
||||
{
|
||||
return "FillColumnHorizRGBACommand";
|
||||
}
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue