mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 14:54:25 +00:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
@@ -3462,8 +3462,8 @@ MacroAssemblerARMCompat::storePayload(const Value& val, const Address& dest)
|
||||
ScratchRegisterScope scratch(asMasm());
|
||||
SecondScratchRegisterScope scratch2(asMasm());
|
||||
|
||||
if (val.isMarkable())
|
||||
ma_mov(ImmGCPtr(val.toMarkablePointer()), scratch);
|
||||
if (val.isGCThing())
|
||||
ma_mov(ImmGCPtr(val.toGCThing()), scratch);
|
||||
else
|
||||
ma_mov(Imm32(val.toNunboxPayload()), scratch);
|
||||
ma_str(scratch, ToPayload(dest), scratch2);
|
||||
|
||||
@@ -26,11 +26,7 @@
|
||||
# include <sys/syscall.h>
|
||||
# include <sys/types.h>
|
||||
# include <unistd.h>
|
||||
static pid_t
|
||||
gettid()
|
||||
{
|
||||
return syscall(__NR_gettid);
|
||||
}
|
||||
# define gettid() static_cast<pid_t>(syscall(SYS_gettid))
|
||||
# endif
|
||||
|
||||
#else
|
||||
|
||||
@@ -66,4 +66,4 @@ LOCAL_INCLUDES += [
|
||||
]
|
||||
|
||||
if CONFIG['GNU_CXX']:
|
||||
CXXFLAGS += ['-Wno-shadow', '-Werror=format']
|
||||
CXXFLAGS += ['-Wno-shadow']
|
||||
|
||||
@@ -38,6 +38,7 @@ cp $1/src/demux/demux.c demux
|
||||
mkdir -p dsp
|
||||
cp $1/src/dsp/*.h dsp
|
||||
cp $1/src/dsp/alpha_processing.c dsp
|
||||
cp $1/src/dsp/alpha_processing_neon.c dsp
|
||||
cp $1/src/dsp/alpha_processing_sse2.c dsp
|
||||
cp $1/src/dsp/alpha_processing_sse41.c dsp
|
||||
cp $1/src/dsp/dec.c dsp
|
||||
@@ -46,6 +47,7 @@ cp $1/src/dsp/dec_neon.c dsp
|
||||
cp $1/src/dsp/dec_sse2.c dsp
|
||||
cp $1/src/dsp/dec_sse41.c dsp
|
||||
cp $1/src/dsp/filters.c dsp
|
||||
cp $1/src/dsp/filters_neon.c dsp
|
||||
cp $1/src/dsp/filters_sse2.c dsp
|
||||
cp $1/src/dsp/lossless.c dsp
|
||||
cp $1/src/dsp/lossless_neon.c dsp
|
||||
@@ -58,6 +60,7 @@ cp $1/src/dsp/upsampling_neon.c dsp
|
||||
cp $1/src/dsp/upsampling_sse2.c dsp
|
||||
cp $1/src/dsp/upsampling_sse41.c dsp
|
||||
cp $1/src/dsp/yuv.c dsp
|
||||
cp $1/src/dsp/yuv_neon.c dsp
|
||||
cp $1/src/dsp/yuv_sse2.c dsp
|
||||
cp $1/src/dsp/yuv_sse41.c dsp
|
||||
|
||||
|
||||
@@ -20,22 +20,16 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
// We need a definition of gettid(), but glibc doesn't provide a
|
||||
// We need a definition of gettid(), but older glibc versions don't provide a
|
||||
// wrapper for it.
|
||||
#if defined(__GLIBC__)
|
||||
#include <unistd.h>
|
||||
#include <sys/syscall.h>
|
||||
static inline pid_t gettid()
|
||||
{
|
||||
return (pid_t) syscall(SYS_gettid);
|
||||
}
|
||||
#define gettid() static_cast<pid_t>(syscall(SYS_gettid))
|
||||
#elif defined(XP_MACOSX)
|
||||
#include <unistd.h>
|
||||
#include <sys/syscall.h>
|
||||
static inline pid_t gettid()
|
||||
{
|
||||
return (pid_t) syscall(SYS_thread_selfid);
|
||||
}
|
||||
#define gettid() static_cast<pid_t>(syscall(SYS_thread_selfid))
|
||||
#elif defined(LINUX)
|
||||
#include <sys/types.h>
|
||||
pid_t gettid();
|
||||
|
||||
@@ -332,7 +332,7 @@ GfxInfo::Init()
|
||||
// Unfortunately, the Device ID is nullptr, and we can't enumerate
|
||||
// it using the setup infrastructure (SetupDiGetClassDevsW below
|
||||
// will return INVALID_HANDLE_VALUE).
|
||||
if (mWindowsVersion == kWindows8 &&
|
||||
if (mWindowsVersion >= kWindows8 &&
|
||||
mDeviceID.Length() == 0 &&
|
||||
mDeviceString.EqualsLiteral("RDPUDD Chained DD"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user