summaryrefslogtreecommitdiff
path: root/libs/renderengine/ExternalTexture.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2024-07-13 23:25:06 +0000
committer Vishnu Nair <vishnun@google.com> 2024-07-15 22:45:32 +0000
commit40d8001464b93d679ab715cc642a25fa5925fe2a (patch)
tree7961260096082c1e21c69071e704d651e4590748 /libs/renderengine/ExternalTexture.cpp
parent687f9fea008f01b02284f45c5a582e1b445d3030 (diff)
Migrate renderengine atrace calls to perfetto
Flag: android.os.perfetto_sdk_tracing Bug: 349905670 Test: perfetto Change-Id: Icd84634317471a249976fd59eca28a300fc38266
Diffstat (limited to 'libs/renderengine/ExternalTexture.cpp')
-rw-r--r--libs/renderengine/ExternalTexture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/renderengine/ExternalTexture.cpp b/libs/renderengine/ExternalTexture.cpp
index 6f2a96a87b..8d0fbba2e0 100644
--- a/libs/renderengine/ExternalTexture.cpp
+++ b/libs/renderengine/ExternalTexture.cpp
@@ -14,11 +14,11 @@
* limitations under the License.
*/
+#include <common/trace.h>
#include <log/log.h>
#include <renderengine/RenderEngine.h>
#include <renderengine/impl/ExternalTexture.h>
#include <ui/GraphicBuffer.h>
-#include <utils/Trace.h>
namespace android::renderengine::impl {
@@ -35,7 +35,7 @@ ExternalTexture::~ExternalTexture() {
}
void ExternalTexture::remapBuffer() {
- ATRACE_CALL();
+ SFTRACE_CALL();
{
auto buf = mBuffer;
mRenderEngine.unmapExternalTextureBuffer(std::move(buf));