gsdx-ogl: Adjust some gl debug logs.

Move Additional colclip info, dithering, FixedTEX0 to extra debug logs.
It will allow to keep track of more important stuff going on and they
can be enabled with ENABLE_EXTRA_LOG if needed.

Change context creation log type from stderr to stdout.
This commit is contained in:
lightningterror 2020-06-06 06:27:05 +02:00
parent d923432023
commit 5db24d4e4a
3 changed files with 5 additions and 5 deletions

View File

@ -119,7 +119,7 @@ GIFRegTEX0 GSDrawingContext::GetSizeFixedTEX0(const GSVector4& st, bool linear,
if((theApp.GetCurrentRendererType() == GSRendererType::OGL_SW) && ((int)TEX0.TW != tw || (int)TEX0.TH != th))
{
GL_INS("FixedTEX0 %05x %d %d tw %d=>%d th %d=>%d st (%.0f,%.0f,%.0f,%.0f) uvmax %d,%d wm %d,%d (%d,%d,%d,%d)",
GL_DBG("FixedTEX0 %05x %d %d tw %d=>%d th %d=>%d st (%.0f,%.0f,%.0f,%.0f) uvmax %d,%d wm %d,%d (%d,%d,%d,%d)",
(int)TEX0.TBP0, (int)TEX0.TBW, (int)TEX0.PSM,
(int)TEX0.TW, tw, (int)TEX0.TH, th,
uvf.x, uvf.y, uvf.z, uvf.w,
@ -168,7 +168,7 @@ void GSDrawingContext::ComputeFixedTEX0(const GSVector4& st)
TEX0.TW = tw;
TEX0.TH = th;
GL_INS("FixedTEX0 TW %d=>%d, TH %d=>%d wm %d,%d",
GL_DBG("FixedTEX0 TW %d=>%d, TH %d=>%d wm %d,%d",
(int)stack.TEX0.TW, (int)TEX0.TW, (int)stack.TEX0.TH, (int)TEX0.TH,
(int)CLAMP.WMS, (int)CLAMP.WMT);
}

View File

@ -525,7 +525,7 @@ void GSRendererOGL::EmulateBlending(bool DATE_GL42)
// fixes shadows in Superman shadows of Apokolips.
const bool sw_fbmask_colclip = !m_require_one_barrier && m_ps_sel.fbmask;
const bool free_colclip = m_prim_overlap == PRIM_OVERLAP_NO || blend_non_recursive || sw_fbmask_colclip;
GL_INS("COLCLIP Info (Blending: %d/%d/%d/%d, SW FBMASK: %d, OVERLAP: %d)",
GL_DBG("COLCLIP Info (Blending: %d/%d/%d/%d, SW FBMASK: %d, OVERLAP: %d)",
ALPHA.A, ALPHA.B, ALPHA.C, ALPHA.D, sw_fbmask_colclip, m_prim_overlap);
if (free_colclip) {
// The fastest algo that requires a single pass
@ -1213,7 +1213,7 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
if (m_ps_sel.dither)
{
GL_INS("DITHERING mode ENABLED (%d)", m_dithering);
GL_DBG("DITHERING mode ENABLED (%d)", m_dithering);
m_ps_sel.dither = m_dithering;
ps_cb.DitherMatrix[0] = GSVector4(m_env.DIMX.DM00, m_env.DIMX.DM01, m_env.DIMX.DM02, m_env.DIMX.DM03);

View File

@ -120,7 +120,7 @@ void GSWndWGL::CreateContext(int major, int minor)
win_error("Failed to create a 3.x context with compatible flags");
m_context = context30;
fprintf(stderr, "3.x GL context successfully created\n");
fprintf(stdout, "3.x GL context successfully created\n");
}
void GSWndWGL::AttachContext()