Memory Pool Logging 99/285299/5
authorDavid Steele <david.steele@samsung.com>
Thu, 22 Sep 2022 10:05:10 +0000 (11:05 +0100)
committerDavid Steele <david.steele@samsung.com>
Tue, 13 Dec 2022 16:02:20 +0000 (16:02 +0000)
commit815490375bbb42ef8454fa5f474268084e08b62f
treed8294c6c057c5c7c5ef5cc8611f81b4496641df0
parent741de12613579e7caf298b683b2d89b8ef3d6867
Memory Pool Logging

Added methods to fetch the current capacity of graphics memory pools
Added an environment variable DALI_MEMORY_POOL_INTERVAL to trigger
logging of Core memory pools on a timer, and Graphics memory pools
from inside the render thread.

Added logging to PixelBuffer to log individual allocations (By setting
DALI_LOG_PIXEL_BUFFER_SIZE to "1" or higher, and enabling debug).
Added method to PixelData to log total allocation (By setting
DALI_OBJECT_PROFILER_INTERVAL to a non-zero value and enabling debug).

Change-Id: Ib65e16d33d7219456d0245bfe686c199dcfa330f
17 files changed:
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-application.h
dali/internal/adaptor/common/adaptor-impl.cpp
dali/internal/adaptor/common/adaptor-impl.h
dali/internal/adaptor/common/combined-update-render-controller.cpp
dali/internal/graphics/common/graphics-interface.h
dali/internal/graphics/gles-impl/egl-graphics-controller.cpp
dali/internal/graphics/gles-impl/egl-graphics-controller.h
dali/internal/graphics/gles-impl/gles-graphics-command-buffer.cpp
dali/internal/graphics/gles-impl/gles-graphics-command-buffer.h
dali/internal/graphics/gles/egl-graphics.cpp
dali/internal/graphics/gles/egl-graphics.h
dali/internal/imaging/common/pixel-buffer-impl.cpp
dali/internal/imaging/common/pixel-buffer-impl.h
dali/internal/system/common/environment-options.cpp
dali/internal/system/common/environment-options.h
dali/internal/system/common/environment-variables.h
dali/internal/system/common/object-profiler.cpp