• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2012 The ANGLE Project Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef COMMON_EVENT_TRACER_H_
6 #define COMMON_EVENT_TRACER_H_
7 
8 #include "common/platform.h"
9 #include "platform/PlatformMethods.h"
10 
11 namespace angle
12 {
13 const unsigned char *GetTraceCategoryEnabledFlag(PlatformMethods *platform, const char *name);
14 angle::TraceEventHandle AddTraceEvent(PlatformMethods *platform,
15                                       char phase,
16                                       const unsigned char *categoryGroupEnabled,
17                                       const char *name,
18                                       unsigned long long id,
19                                       int numArgs,
20                                       const char **argNames,
21                                       const unsigned char *argTypes,
22                                       const unsigned long long *argValues,
23                                       unsigned char flags);
24 }  // namespace angle
25 
26 #endif  // COMMON_EVENT_TRACER_H_
27