- implement stat gpu on vulkan and fix it on opengl
This commit is contained in:
parent
692aed0551
commit
81e32ecc72
12 changed files with 176 additions and 19 deletions
|
|
@ -857,8 +857,6 @@ FShaderProgram *GLPPRenderState::GetGLShader(PPShader *shader)
|
|||
|
||||
void GLPPRenderState::Draw()
|
||||
{
|
||||
//FGLDebug::PushGroup(name.GetChars());
|
||||
|
||||
FGLPostProcessState savedState;
|
||||
|
||||
// Bind input textures
|
||||
|
|
@ -971,8 +969,16 @@ void GLPPRenderState::Draw()
|
|||
buffers->NextTexture();
|
||||
|
||||
glViewport(screen->mScreenViewport.left, screen->mScreenViewport.top, screen->mScreenViewport.width, screen->mScreenViewport.height);
|
||||
}
|
||||
|
||||
//FGLDebug::PopGroup();
|
||||
void GLPPRenderState::PushGroup(const FString &name)
|
||||
{
|
||||
FGLDebug::PushGroup(name.GetChars());
|
||||
}
|
||||
|
||||
void GLPPRenderState::PopGroup()
|
||||
{
|
||||
FGLDebug::PopGroup();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue