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:
Gregory Hainaut 2016-07-10 10:33:37 +02:00
parent 85fb55a0e1
commit 91eccb7bab
2 changed files with 2 additions and 2 deletions

View File

@ -1211,7 +1211,7 @@ int GSRasterizerList::GetPixels(bool reset)
// GSRasterizerList::GSWorker // GSRasterizerList::GSWorker
GSRasterizerList::GSWorker::GSWorker(GSRasterizer* r) GSRasterizerList::GSWorker::GSWorker(GSRasterizer* r)
: GSJobQueue<shared_ptr<GSRasterizerData>, 256>() : GSJobQueue<shared_ptr<GSRasterizerData>, 65536>()
, m_r(r) , m_r(r)
{ {
} }

View File

@ -180,7 +180,7 @@ public:
class GSRasterizerList : public IRasterizer class GSRasterizerList : public IRasterizer
{ {
protected: protected:
class GSWorker : public GSJobQueue<shared_ptr<GSRasterizerData>, 256 > class GSWorker : public GSJobQueue<shared_ptr<GSRasterizerData>, 65536 >
{ {
GSRasterizer* m_r; GSRasterizer* m_r;