mirror of https://github.com/PCSX2/pcsx2.git
gsdx sw: increase the size of the ring buffer 256 => 65536
memory overhead by thead is only 256KB However it will reduce the probability to block the push thread to nearly 0 I tested a couple of dumps and only manage 4000 element with 1 extrathread.
This commit is contained in:
parent
85fb55a0e1
commit
91eccb7bab
|
@ -1211,7 +1211,7 @@ int GSRasterizerList::GetPixels(bool reset)
|
|||
// GSRasterizerList::GSWorker
|
||||
|
||||
GSRasterizerList::GSWorker::GSWorker(GSRasterizer* r)
|
||||
: GSJobQueue<shared_ptr<GSRasterizerData>, 256>()
|
||||
: GSJobQueue<shared_ptr<GSRasterizerData>, 65536>()
|
||||
, m_r(r)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -180,7 +180,7 @@ public:
|
|||
class GSRasterizerList : public IRasterizer
|
||||
{
|
||||
protected:
|
||||
class GSWorker : public GSJobQueue<shared_ptr<GSRasterizerData>, 256 >
|
||||
class GSWorker : public GSJobQueue<shared_ptr<GSRasterizerData>, 65536 >
|
||||
{
|
||||
GSRasterizer* m_r;
|
||||
|
||||
|
|
Loading…
Reference in New Issue