/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 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.
mGraphics.Initialize();
mGraphicsController.InitializeGLES(mGlAbstraction);
mGraphicsController.Initialize(mGraphicsSyncImplementation, mGlContextHelperAbstraction, mGraphics);
+ mGraphicsController.ActivateResourceContext();
mCore = Dali::Integration::Core::New(mRenderController,
mPlatformAbstraction,
TestGraphicsApplication::~TestGraphicsApplication()
{
+ mGraphicsController.Shutdown();
Dali::Integration::Log::UninstallLogFunction();
delete mCore;
}
-void TestGraphicsApplication::LogContext(bool start, const char* tag)
+void TestGraphicsApplication::LogContext(bool start, const char* tag, const char* message)
{
if(start)
{
- fprintf(stderr, "INFO: Trace Start: %s\n", tag);
+ fprintf(stderr, "INFO: Trace Start: %s %s\n", tag, message ? message : "");
}
else
{
- fprintf(stderr, "INFO: Trace End: %s\n", tag);
+ fprintf(stderr, "INFO: Trace End: %s %s\n", tag, message ? message : "");
}
}