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
Process each RenderTask render-instruction separately
[platform/core/uifw/dali-core.git]
/
dali
/
integration-api
/
profiling.cpp
diff --git
a/dali/integration-api/profiling.cpp
b/dali/integration-api/profiling.cpp
index
d01d274
..
04d11d5
100644
(file)
--- a/
dali/integration-api/profiling.cpp
+++ b/
dali/integration-api/profiling.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 201
4
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
8
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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-26,13
+26,8
@@
#include <dali/internal/event/actors/actor-impl.h>
#include <dali/internal/event/actors/camera-actor-impl.h>
#include <dali/internal/event/actors/actor-impl.h>
#include <dali/internal/event/actors/camera-actor-impl.h>
-#include <dali/internal/event/actors/image-actor-impl.h>
#include <dali/internal/event/actors/layer-impl.h>
#include <dali/internal/event/actors/layer-impl.h>
-#include <dali/internal/event/actor-attachments/actor-attachment-impl.h>
-#include <dali/internal/event/actor-attachments/camera-attachment-impl.h>
-#include <dali/internal/event/actor-attachments/image-attachment-impl.h>
-
#include <dali/internal/event/animation/animation-impl.h>
#include <dali/internal/event/animation/animator-connector.h>
#include <dali/internal/event/animation/constraint-impl.h>
#include <dali/internal/event/animation/animation-impl.h>
#include <dali/internal/event/animation/animator-connector.h>
#include <dali/internal/event/animation/constraint-impl.h>
@@
-42,28
+37,17
@@
#include <dali/internal/event/images/image-impl.h>
#include <dali/internal/event/images/image-impl.h>
-#include <dali/internal/event/images/image-factory-cache.h>
-
-#include <dali/internal/event/resources/resource-ticket.h>
-#include <dali/internal/event/resources/image-ticket.h>
#include <dali/internal/update/nodes/node.h>
#include <dali/internal/update/nodes/scene-graph-layer.h>
#include <dali/internal/update/nodes/node.h>
#include <dali/internal/update/nodes/scene-graph-layer.h>
-#include <dali/internal/update/node-attachments/node-attachment.h>
-#include <dali/internal/update/node-attachments/scene-graph-camera-attachment.h>
-#include <dali/internal/update/node-attachments/scene-graph-image-attachment.h>
-
#include <dali/internal/update/rendering/scene-graph-renderer.h>
#include <dali/internal/update/rendering/scene-graph-renderer.h>
-#include <dali/internal/update/resources/bitmap-metadata.h>
-#include <dali/internal/render/gl-resources/bitmap-texture.h>
#include <dali/internal/render/renderers/render-geometry.h>
#include <dali/internal/render/renderers/render-geometry.h>
-#include <dali/internal/render/renderers/render-image-renderer.h>
-#include <dali/internal/render/renderers/render-new-renderer.h>
#include <dali/internal/render/renderers/render-property-buffer.h>
#include <dali/internal/render/renderers/render-renderer.h>
#include <dali/internal/render/renderers/render-sampler.h>
#include <dali/internal/render/renderers/render-property-buffer.h>
#include <dali/internal/render/renderers/render-renderer.h>
#include <dali/internal/render/renderers/render-sampler.h>
+#include <dali/internal/update/render-tasks/scene-graph-camera.h>
using Dali::Internal::GestureEventProcessor;
using Dali::Internal::ThreadLocalStorage;
using Dali::Internal::GestureEventProcessor;
using Dali::Internal::ThreadLocalStorage;
@@
-96,59
+80,43
@@
void EnableProfiling( ProfilingType type )
namespace Profiling
{
namespace Profiling
{
-const
in
t ANIMATION_MEMORY_SIZE(
+const
std::size_
t ANIMATION_MEMORY_SIZE(
sizeof( Internal::Animation ) +
sizeof( Internal::AnimatorConnector<float> ) +
sizeof( Internal::SceneGraph::Animation ) );
sizeof( Internal::Animation ) +
sizeof( Internal::AnimatorConnector<float> ) +
sizeof( Internal::SceneGraph::Animation ) );
-const
in
t CONSTRAINT_MEMORY_SIZE(
+const
std::size_
t CONSTRAINT_MEMORY_SIZE(
sizeof( Internal::Constraint<float> ) +
sizeof( Internal::SceneGraph::Constraint<float, Internal::PropertyAccessor<float> > ) );
sizeof( Internal::Constraint<float> ) +
sizeof( Internal::SceneGraph::Constraint<float, Internal::PropertyAccessor<float> > ) );
-const
in
t ACTOR_MEMORY_SIZE(
+const
std::size_
t ACTOR_MEMORY_SIZE(
sizeof( Internal::Actor ) +
sizeof( Internal::Actor ) +
- sizeof( Internal::ActorAttachment ) +
- sizeof( Internal::SceneGraph::Node ) +
- sizeof( Internal::SceneGraph::NodeAttachment ));
-const int CAMERA_ACTOR_MEMORY_SIZE(
+ sizeof( Internal::SceneGraph::Node ) );
+const std::size_t CAMERA_ACTOR_MEMORY_SIZE(
sizeof( Internal::CameraActor ) +
sizeof( Internal::CameraActor ) +
- sizeof( Internal::CameraAttachment ) +
- sizeof( Internal::SceneGraph::Node ) +
- sizeof( Internal::SceneGraph::CameraAttachment ) );
-const int IMAGE_ACTOR_MEMORY_SIZE(
- sizeof( Internal::ImageActor ) +
- sizeof( Internal::ImageAttachment ) +
sizeof( Internal::SceneGraph::Node ) +
sizeof( Internal::SceneGraph::Node ) +
- sizeof( Internal::SceneGraph::ImageAttachment ) +
- sizeof( Internal::Render::ImageRenderer ));
-const int LAYER_MEMORY_SIZE(
+ sizeof( Internal::SceneGraph::Camera ) );
+const std::size_t LAYER_MEMORY_SIZE(
sizeof( Internal::Layer ) +
sizeof( Internal::Layer ) +
- sizeof( Internal::ActorAttachment ) +
- sizeof( Internal::SceneGraph::Layer ) +
- sizeof( Internal::SceneGraph::NodeAttachment ) );
-const int IMAGE_MEMORY_SIZE(
+ sizeof( Internal::SceneGraph::Layer ) );
+const std::size_t IMAGE_MEMORY_SIZE(
sizeof( Internal::Image ) +
sizeof( Internal::Image ) +
- sizeof( Internal::ImageFactoryCache::Request ) +
- sizeof( Integration::Bitmap ) +
- sizeof( Internal::BitmapMetadata ) +
- sizeof( Internal::BitmapTexture ) +
- sizeof( Internal::ImageTicket ) );
-const int RENDERER_MEMORY_SIZE(
+ sizeof( Integration::Bitmap ) );
+const std::size_t RENDERER_MEMORY_SIZE(
sizeof( Internal::Renderer ) +
sizeof( Internal::SceneGraph::Renderer ) +
sizeof( Internal::Renderer ) +
sizeof( Internal::SceneGraph::Renderer ) +
- sizeof( Internal::Render::
New
Renderer ) );
-const
in
t GEOMETRY_MEMORY_SIZE(
+ sizeof( Internal::Render::Renderer ) );
+const
std::size_
t GEOMETRY_MEMORY_SIZE(
sizeof( Internal::Geometry ) +
sizeof( Internal::Geometry ) +
- sizeof( Internal::SceneGraph::Geometry ) +
- sizeof( Internal::SceneGraph::RenderGeometry) );
-const int PROPERTY_BUFFER_MEMORY_SIZE(
+ sizeof( Internal::Render::Geometry) );
+const std::size_t PROPERTY_BUFFER_MEMORY_SIZE(
sizeof( Internal::PropertyBuffer ) +
sizeof( Internal::Render::PropertyBuffer ) );
sizeof( Internal::PropertyBuffer ) +
sizeof( Internal::Render::PropertyBuffer ) );
-const
int MATERIAL
_MEMORY_SIZE(
- sizeof( Internal::
Material
) +
- sizeof( Internal::SceneGraph::
Material
) );
-const
in
t SAMPLER_MEMORY_SIZE(
+const
std::size_t TEXTURE_SET
_MEMORY_SIZE(
+ sizeof( Internal::
TextureSet
) +
+ sizeof( Internal::SceneGraph::
TextureSet
) );
+const
std::size_
t SAMPLER_MEMORY_SIZE(
sizeof( Internal::Sampler ) +
sizeof( Internal::Render::Sampler ) );
sizeof( Internal::Sampler ) +
sizeof( Internal::Render::Sampler ) );
-const
in
t SHADER_MEMORY_SIZE(
+const
std::size_
t SHADER_MEMORY_SIZE(
sizeof( Internal::Shader ) +
sizeof( Internal::SceneGraph::Shader ) );
sizeof( Internal::Shader ) +
sizeof( Internal::SceneGraph::Shader ) );