Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / tools / trace / SkPerfettoTrace.cpp
1 /*
2  * Copyright 2022 Google LLC
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7
8 #include "src/core/SkTraceEvent.h"
9 #include "src/core/SkTraceEventCommon.h"
10 #include "tools/trace/SkPerfettoTrace.h"
11
12 PERFETTO_TRACK_EVENT_STATIC_STORAGE();
13
14 SkPerfettoTrace::SkPerfettoTrace() {
15 }
16
17 SkPerfettoTrace::~SkPerfettoTrace() {
18 }
19
20 SkEventTracer::Handle SkPerfettoTrace::addTraceEvent(char phase,
21                                                      const uint8_t* categoryEnabledFlag,
22                                                      const char* name,
23                                                      uint64_t id,
24                                                      int numArgs,
25                                                      const char** argNames,
26                                                      const uint8_t* argTypes,
27                                                      const uint64_t* argValues,
28                                                      uint8_t flags) {
29     return 0;
30 }
31
32 void SkPerfettoTrace::updateTraceEventDuration(const uint8_t* categoryEnabledFlag,
33                                                const char* name,
34                                                SkEventTracer::Handle handle) {
35 }
36
37 const uint8_t* SkPerfettoTrace::getCategoryGroupEnabled(const char* name) {
38     return fCategories.getCategoryGroupEnabled(name);
39 }
40
41 const char* SkPerfettoTrace::getCategoryGroupName(const uint8_t* categoryEnabledFlag) {
42     return fCategories.getCategoryGroupName(categoryEnabledFlag);
43 }