Skip to content

Commit

Permalink
remove some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dtugend committed Jul 11, 2021
1 parent e8c4e72 commit a9d35d0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions afx-cefhud-interop/assets/examples/default/drawing.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ <h2>Last game events:</h2>
"onHudEnd": async function(frameCount, pass){
this.elIndicator.classList.toggle("white",(frameCount % 2) == 0);

console.log(frameCount+", "+pass);
//console.log(frameCount+", "+pass);
await self.renderScreen(frameCount, pass, self.renderInfo.view.x, self.renderInfo.view.y, self.renderInfo.view.width, self.renderInfo.view.height);
}
};
Expand Down Expand Up @@ -636,7 +636,7 @@ <h2>Last game events:</h2>
self.lastRender = false;

let cmp = frameCount - clientFrameCount;
console.log(cmp+" "+hasLastRender);
//console.log(cmp+" "+hasLastRender);
if(hasLastRender) cmp -= 1;
if(0 == cmp) cmp = pass - clientPass;

Expand Down Expand Up @@ -672,7 +672,7 @@ <h2>Last game events:</h2>
self.vertexDeclarations["pos3_uv2"] = refVertexDeclaration[0];
}

console.log("doPaintGameToCef BEGIN");
//console.log("doPaintGameToCef BEGIN");

if(rootTextureHandle.invalid) throw Utils.toSoftError(new Error("rootTextureHandle.invalid"));

Expand Down Expand Up @@ -739,14 +739,14 @@ <h2>Last game events:</h2>

if(cefTextureSuraceLevel0Ref[0]) await Utils.toPromise(cefTextureSuraceLevel0Ref[0], "release");

console.log("doPaintGameToCef END");
//console.log("doPaintGameToCef END");

return true;
}

async function onAfterRender(cefTextureHandle,x,y,width,height) {

console.log("doPaintCefToGame BEGIN");
//console.log("doPaintCefToGame BEGIN");

if(cefTextureHandle.invalid) throw Utils.toSoftError(new Error("cefTextureHandle.invalid"));

Expand Down Expand Up @@ -775,7 +775,7 @@ <h2>Last game events:</h2>

await Utils.toPromise(self.interop, "waitForClientGpu");

console.log("doPaintCefToGame END");
//console.log("doPaintCefToGame END");

//

Expand Down

0 comments on commit a9d35d0

Please sign in to comment.