<div dir="ltr">Thanks, I set it to 5. On startup it prints info such as<div><br></div><div>(I) D3DContext::InitContext device 0<br>(V) HARDWARE_VERTEXPROCESSING<br>(I) D3DContext::InitContext: successfully created device: 0<br>(I) D3DContext::InitDevice: device 0<br>(I) D3DContext::InitDevice: successfully initialized device 0<br>(V) CAPS_TEXNONPOW2<br>(V) CAPS_TEXNONSQUARE<br><br></div>but I don't see any DebugPrintD3DError or TraceLn1 output despite them being higher severity. I also tried setting it to 2 and then no additional output appeared. I added cout prints next to them so I know they are being reached.<div>Any ideas?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 14, 2023 at 3:29 PM Kevin Rushforth <<a href="mailto:kevin.rushforth@oracle.com">kevin.rushforth@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

  
  <div>
    export NWT_TRACE_LEVEL=N<br>
    <br>
    where "N" is the trace level. See
    modules/javafx.graphics/src/main/native-prism-d3d/Trace.h<br>
    <br>
    Btw, you can ignore the part about it being only enabled in debug
    mode. That env var is recognized in production builds as well.<br>
    <br>
    -- Kevin<br>
    <br>
    <br>
    <div>On 9/14/2023 4:27 AM, Nir Lisker wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi,<br>
        <div><br>
        </div>
        <div>I see that the D3D c++ files can output debug info via
          various DebugPrintD3DError and TraceLn functions. How can this
          output be enabled?</div>
        <div><br>
        </div>
        <div>- Nir</div>
        <div style="background-color:rgb(47,47,47);padding:0px 2px">
          <div style="color:rgb(170,170,170);font-family:Consolas;font-size:11pt;white-space:pre-wrap"><p style="background-color:rgb(55,55,55);margin:0px"><span style="color:rgb(217,232,247)"></span></p></div>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div>