/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
GlAbstraction& glAbstraction,
GlSyncAbstraction& glSyncAbstraction,
GlContextHelperAbstraction& glContextHelperAbstraction,
- ResourcePolicy::DataRetention policy,
RenderToFrameBuffer renderToFboEnabled,
DepthBufferAvailable depthBufferAvailable,
StencilBufferAvailable stencilBufferAvailable )
glAbstraction,
glSyncAbstraction,
glContextHelperAbstraction,
- policy,
renderToFboEnabled,
depthBufferAvailable,
stencilBufferAvailable );
mImpl->Update( elapsedSeconds, lastVSyncTimeMilliseconds, nextVSyncTimeMilliseconds, status, renderToFboEnabled, isRenderingToFbo );
}
-void Core::Render( RenderStatus& status, bool forceClear )
+void Core::Render( RenderStatus& status, bool forceClear, bool uploadOnly )
{
- mImpl->Render( status, forceClear );
+ mImpl->Render( status, forceClear, uploadOnly );
}
void Core::RegisterProcessor( Processor& processor )