Edit

kc3-lang/angle/src/common/event_tracer.h

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2020-06-03 17:08:43
    Hash : 0df92012
    Message : Rename Platform.h to PlatformMethods.h. "platform.h" is too common a name and causes headers to be included incorrectly. Disambiguate the header using a more specific name. Solves a problem that came up with the GLES 1 tests and the standalone test harness. Bug: angleproject:3162 Change-Id: I88229a2c9407e0db57f5beee44daa11a4075f700 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2229065 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@chromium.org>

  • src/common/event_tracer.h
  • // Copyright 2012 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    
    #ifndef COMMON_EVENT_TRACER_H_
    #define COMMON_EVENT_TRACER_H_
    
    #include "common/platform.h"
    #include "platform/PlatformMethods.h"
    
    namespace angle
    {
    const unsigned char *GetTraceCategoryEnabledFlag(PlatformMethods *platform, const char *name);
    angle::TraceEventHandle AddTraceEvent(PlatformMethods *platform,
                                          char phase,
                                          const unsigned char *categoryGroupEnabled,
                                          const char *name,
                                          unsigned long long id,
                                          int numArgs,
                                          const char **argNames,
                                          const unsigned char *argTypes,
                                          const unsigned long long *argValues,
                                          unsigned char flags);
    }  // namespace angle
    
    #endif  // COMMON_EVENT_TRACER_H_