Edit

kc3-lang/angle/util/windows/winrt/WinRT_system_utils.cpp

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2016-05-17 13:43:17
    Hash : 776a75b4
    Message : Make Platform errors trigger test failures. This can be useful in the Vulkan back-end to make validation layer errors cause test cases to fail. BUG=angleproject:1319 Change-Id: I523f3c874e892a2646600e4c5c554319ed8d770c Reviewed-on: https://chromium-review.googlesource.com/342050 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>

  • util/windows/winrt/WinRT_system_utils.cpp
  • //
    // Copyright (c) 2015 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.
    //
    
    // WinRT_system_utils.cpp: Implementation of OS-specific functions for WinRT (Windows)
    
    #include "system_utils.h"
    
    #include <windows.h>
    #include <array>
    
    namespace angle
    {
    
    void SetLowPriorityProcess()
    {
        // No equivalent to this in WinRT
    }
    
    Library *loadLibrary(const std::string &libraryName)
    {
        // WinRT cannot load code dynamically.
        return nullptr;
    }
    
    }  // namespace angle