Edit

kc3-lang/angle/util/system_utils.h

Branch :

  • Show log

    Commit

  • Author : Yuly Novikov
    Date : 2018-02-08 18:17:43
    Hash : 6108b766
    Message : Remove angle::Library and its usages No longer needed after https://chromium-review.googlesource.com/513519 Loading libGLESv2 interferes with API tracing tools BUG=angleproject:1892,angleproject:2343 Change-Id: I2ccbc99377d75d107fd644301402c52466dded21 Reviewed-on: https://chromium-review.googlesource.com/910094 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>

  • util/system_utils.h
  • //
    // Copyright (c) 2014 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.
    //
    
    // system_utils.h: declaration of OS-specific utility functions
    
    #ifndef UTIL_SYSTEM_UTILS_H_
    #define UTIL_SYSTEM_UTILS_H_
    
    #include <string>
    
    #include <export.h>
    
    #include "common/angleutils.h"
    #include "common/system_utils.h"
    
    namespace angle
    {
    
    // Cross platform equivalent of the Windows Sleep function
    ANGLE_EXPORT void Sleep(unsigned int milliseconds);
    
    ANGLE_EXPORT void SetLowPriorityProcess();
    
    // Write a debug message, either to a standard output or Debug window.
    ANGLE_EXPORT void WriteDebugMessage(const char *format, ...);
    
    } // namespace angle
    
    #endif  // UTIL_SYSTEM_UTILS_H_