зеркало из https://github.com/AvaloniaUI/angle.git
ff64d2c7e5
Define directMetalGeneration in FeaturesMtl.h. If ANGLE_ENABLE_METAL_SPIRV is defined to 1 (still the default), directMetalGeneration defaults to false. It can be overridden via the standard ANGLE mechanism: ANGLE_FEATURE_OVERRIDES_ENABLED=directMetalGeneration It can also be overridden by instantiating angle_end2end_tests with the directives: WithDirectMetalGeneration(ES2_METAL()) WithDirectMetalGeneration(ES3_METAL()) These directives aren't working properly yet though. The direct-to-Metal compiler is instantiated, but the _DirectMetalGen versions of the tests fail. They pass when switching the Metal backend's default behavior using the above environment variable. This will be debugged in follow-on CLs. Thanks to syoussefi@ for the prototype of this CL: https://chromium-review.googlesource.com/3076129 Bug: angleproject:5505 Change-Id: I188ab89abc75bf89c5ed2d90102af311feaa1960 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3079083 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Kenneth Russell <kbr@chromium.org> |
||
---|---|---|
.. | ||
android | ||
display | ||
fuchsia | ||
ios | ||
osx | ||
ozone | ||
posix | ||
windows | ||
x11 | ||
BUILD.gn | ||
EGLPlatformParameters.h | ||
EGLWindow.cpp | ||
EGLWindow.h | ||
Event.h | ||
Matrix.cpp | ||
Matrix.h | ||
OSPixmap.h | ||
OSWindow.cpp | ||
OSWindow.h | ||
Timer.cpp | ||
Timer.h | ||
com_utils.h | ||
egl_loader_autogen.cpp | ||
egl_loader_autogen.h | ||
frame_capture_test_utils.h | ||
geometry_utils.cpp | ||
geometry_utils.h | ||
gles_loader_autogen.cpp | ||
gles_loader_autogen.h | ||
keyboard.h | ||
mouse.h | ||
png_utils.cpp | ||
png_utils.h | ||
random_utils.cpp | ||
random_utils.h | ||
shader_utils.cpp | ||
shader_utils.h | ||
test_utils.cpp | ||
test_utils.h | ||
test_utils_unittest.cpp | ||
test_utils_unittest_helper.cpp | ||
test_utils_unittest_helper.h | ||
util_export.h | ||
util_gl.h |