mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-06 02:09:55 +03:00
Revert "Implement missing util/ functions on Mac"
This reverts commit 959e197c84.
BUG=
Change-Id: I71ea2894c74be8fda80a59c99bc53f4fcb7e9115
Reviewed-on: https://chromium-review.googlesource.com/299873
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Tested-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
#ifndef SAMPLE_UTIL_PIXMAP_H_
|
||||
#define SAMPLE_UTIL_PIXMAP_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "system_utils.h"
|
||||
|
||||
#include <sys/resource.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
|
||||
// OSXPixmap.h: Definition of the implementation of OSPixmap for OSX
|
||||
|
||||
#ifndef UTIL_OSX_PIXMAP_H_
|
||||
#define UTIL_OSX_PIXMAP_H_
|
||||
|
||||
#include "OSPixmap.h"
|
||||
|
||||
#endif // UTIL_OSX_PIXMAP_H_
|
||||
@@ -1,15 +0,0 @@
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
|
||||
// OSXPixmap.cpp: Implementation of OSPixmap for OSX
|
||||
|
||||
#include "osx/OSXPixmap.h"
|
||||
|
||||
// TODO(cwallez) find out the native OSX pixmap type and implement this
|
||||
OSPixmap *CreateOSPixmap()
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
@@ -8,10 +8,8 @@
|
||||
|
||||
#include "system_utils.h"
|
||||
|
||||
#include <sys/resource.h>
|
||||
#include <sched.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
namespace angle
|
||||
{
|
||||
@@ -36,9 +34,4 @@ void Sleep(unsigned int milliseconds)
|
||||
}
|
||||
}
|
||||
|
||||
void SetLowPriorityProcess()
|
||||
{
|
||||
setpriority(PRIO_PROCESS, getpid(), 10);
|
||||
}
|
||||
|
||||
} // namespace angle
|
||||
|
||||
@@ -54,8 +54,6 @@
|
||||
'osx/OSX_system_utils.cpp',
|
||||
'osx/OSXTimer.cpp',
|
||||
'osx/OSXTimer.h',
|
||||
'osx/OSXPixmap.mm',
|
||||
'osx/OSXPixmap.h',
|
||||
'osx/OSXWindow.mm',
|
||||
'osx/OSXWindow.h',
|
||||
'posix/Posix_system_utils.cpp',
|
||||
|
||||
@@ -29,4 +29,4 @@ class X11Pixmap : public OSPixmap
|
||||
Display *mDisplay;
|
||||
};
|
||||
|
||||
#endif // UTIL_X11_PIXMAP_H_
|
||||
#endif // UTIL_WIN32_PIXMAP_H_
|
||||
|
||||
Reference in New Issue
Block a user