angle/util
Kenneth Russell ff64d2c7e5 Choose direct-to-Metal translator through a feature.
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>
2021-08-11 20:58:45 +00:00
..
android Android: Call getExternalStorageDirectory natively. 2021-04-09 22:35:00 +00:00
display Make Display and X11 available in the same build 2021-07-23 17:12:58 +00:00
fuchsia Gracefully fail end2end tests if no window support 2020-09-02 15:33:45 +00:00
ios angle_end2end_tests passes on iOS! 2021-01-06 23:08:43 +00:00
osx Gracefully fail end2end tests if no window support 2020-09-02 15:33:45 +00:00
ozone Gracefully fail end2end tests if no window support 2020-09-02 15:33:45 +00:00
posix Allow capturing process stdout and stderr interleaved 2021-06-22 20:01:31 +00:00
windows Allow capturing process stdout and stderr interleaved 2021-06-22 20:01:31 +00:00
x11 Vulkan: Initial emulated prerotation support 2020-10-27 09:23:14 +00:00
BUILD.gn Upstream Apple's direct-to-Metal backend: compile libANGLE. 2021-07-12 14:54:45 +00:00
EGLPlatformParameters.h Choose direct-to-Metal translator through a feature. 2021-08-11 20:58:45 +00:00
EGLWindow.cpp Choose direct-to-Metal translator through a feature. 2021-08-11 20:58:45 +00:00
EGLWindow.h PerfTests: Replay EGL color spaces. 2021-08-06 16:26:38 +00:00
Event.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
Matrix.cpp Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
Matrix.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
OSPixmap.h GLX: Support X11 pixmaps 2020-06-12 21:41:11 +00:00
OSWindow.cpp Use Android API to get storage path. 2020-12-22 17:40:34 +00:00
OSWindow.h Use Android API to get storage path. 2020-12-22 17:40:34 +00:00
Timer.cpp Move timer functionality from util/ to common/ 2019-08-30 17:05:57 +00:00
Timer.h GN: Make new angle_test_utils target. 2019-12-16 22:35:05 +00:00
com_utils.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
egl_loader_autogen.cpp Generators: Use fixed year in license headers. 2021-02-23 17:17:12 +00:00
egl_loader_autogen.h Generators: Use fixed year in license headers. 2021-02-23 17:17:12 +00:00
frame_capture_test_utils.h Vulkan: Prefer the local vulkan loader over the system one. 2021-07-16 18:56:40 +00:00
geometry_utils.cpp Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
geometry_utils.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
gles_loader_autogen.cpp Remove the explicit context extension. 2021-07-16 20:04:00 +00:00
gles_loader_autogen.h Remove the explicit context extension. 2021-07-16 20:04:00 +00:00
keyboard.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
mouse.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
png_utils.cpp Fix up screenshot saving for trace tests. 2020-05-07 20:18:41 +00:00
png_utils.h Fix up screenshot saving for trace tests. 2020-05-07 20:18:41 +00:00
random_utils.cpp Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
random_utils.h Vulkan: Defer RenderPass image barriers. 2020-02-10 21:14:28 +00:00
shader_utils.cpp Perf Tests: Trigger test failure on API errors. 2021-04-07 17:13:52 +00:00
shader_utils.h Perf Tests: Trigger test failure on API errors. 2021-04-07 17:13:52 +00:00
test_utils.cpp Allow capturing process stdout and stderr interleaved 2021-06-22 20:01:31 +00:00
test_utils.h Allow capturing process stdout and stderr interleaved 2021-06-22 20:01:31 +00:00
test_utils_unittest.cpp Revert "Disable RunAppAsync and RunAppAsyncRedirectStderrToStdout" 2021-07-30 15:17:18 +00:00
test_utils_unittest_helper.cpp Allow capturing process stdout and stderr interleaved 2021-06-22 20:01:31 +00:00
test_utils_unittest_helper.h Re-land "Add new test runner harness." (#2) 2019-12-16 23:52:35 +00:00
util_export.h Make trace tests a shared library. 2020-07-21 21:06:07 +00:00
util_gl.h Serialize framebuffers + compare contexts for CaptureReplayTests 2020-07-02 21:37:40 +00:00