projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Implement partial update
[platform/core/uifw/dali-core.git]
/
dali
/
integration-api
/
core.cpp
diff --git
a/dali/integration-api/core.cpp
b/dali/integration-api/core.cpp
old mode 100644
(file)
new mode 100755
(executable)
index
b14df7c
..
8c8f09b
--- a/
dali/integration-api/core.cpp
+++ b/
dali/integration-api/core.cpp
@@
-25,6
+25,7
@@
#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/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>
#include <dali/integration-api/processor-interface.h>
#include <dali/internal/common/core-impl.h>
@@
-38,22
+39,24
@@
Core* Core::New( RenderController& renderController,
PlatformAbstraction& platformAbstraction,
GlAbstraction& glAbstraction,
GlSyncAbstraction& glSyncAbstraction,
PlatformAbstraction& platformAbstraction,
GlAbstraction& glAbstraction,
GlSyncAbstraction& glSyncAbstraction,
- G
estureManager& gestureManager
,
+ G
lContextHelperAbstraction& glContextHelperAbstraction
,
ResourcePolicy::DataRetention policy,
RenderToFrameBuffer renderToFboEnabled,
DepthBufferAvailable depthBufferAvailable,
ResourcePolicy::DataRetention policy,
RenderToFrameBuffer renderToFboEnabled,
DepthBufferAvailable depthBufferAvailable,
- StencilBufferAvailable stencilBufferAvailable )
+ StencilBufferAvailable stencilBufferAvailable,
+ PartialUpdateAvailable partialUpdateAvailable )
{
Core* instance = new Core;
instance->mImpl = new Internal::Core( renderController,
platformAbstraction,
glAbstraction,
glSyncAbstraction,
{
Core* instance = new Core;
instance->mImpl = new Internal::Core( renderController,
platformAbstraction,
glAbstraction,
glSyncAbstraction,
- g
estureManager
,
+ g
lContextHelperAbstraction
,
policy,
renderToFboEnabled,
depthBufferAvailable,
policy,
renderToFboEnabled,
depthBufferAvailable,
- stencilBufferAvailable );
+ stencilBufferAvailable,
+ partialUpdateAvailable );
return instance;
}
return instance;
}
@@
-88,9
+91,9
@@
void Core::RecoverFromContextLoss()
mImpl->RecoverFromContextLoss();
}
mImpl->RecoverFromContextLoss();
}
-void Core::Surface
Resiz
ed( Integration::RenderSurface* surface )
+void Core::Surface
Delet
ed( Integration::RenderSurface* surface )
{
{
- mImpl->Surface
Resiz
ed(surface);
+ mImpl->Surface
Delet
ed(surface);
}
void Core::SceneCreated()
}
void Core::SceneCreated()
@@
-118,9
+121,9
@@
void Core::Update( float elapsedSeconds, uint32_t lastVSyncTimeMilliseconds, uin
mImpl->Update( elapsedSeconds, lastVSyncTimeMilliseconds, nextVSyncTimeMilliseconds, status, renderToFboEnabled, isRenderingToFbo );
}
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 )
}
void Core::RegisterProcessor( Processor& processor )