/*
- * 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.
#include <dali/public-api/render-tasks/render-task-list.h>
#include <dali/integration-api/events/event.h>
#include <dali/integration-api/gl-sync-abstraction.h>
+#include <dali/integration-api/gl-context-helper-abstraction.h>
#include <dali/integration-api/processor-interface.h>
#include <dali/internal/common/core-impl.h>
PlatformAbstraction& platformAbstraction,
GlAbstraction& glAbstraction,
GlSyncAbstraction& glSyncAbstraction,
- GestureManager& gestureManager,
- ResourcePolicy::DataRetention policy,
+ GlContextHelperAbstraction& glContextHelperAbstraction,
RenderToFrameBuffer renderToFboEnabled,
DepthBufferAvailable depthBufferAvailable,
StencilBufferAvailable stencilBufferAvailable )
platformAbstraction,
glAbstraction,
glSyncAbstraction,
- gestureManager,
- policy,
+ glContextHelperAbstraction,
renderToFboEnabled,
depthBufferAvailable,
stencilBufferAvailable );
mImpl->RecoverFromContextLoss();
}
-void Core::SurfaceResized( Integration::RenderSurface* surface )
+void Core::SurfaceDeleted( Integration::RenderSurface* surface )
{
- mImpl->SurfaceResized(surface);
+ mImpl->SurfaceDeleted(surface);
}
void Core::SceneCreated()
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 )