Граф коммитов

11745 Коммитов

Автор SHA1 Сообщение Дата
Jamie Madill 25097b6c42 Vulkan: Lift failing test suppression.
EGLContextSharingTest.DeleteReaderOfSharedTexture/ES2_Vulkan

Passes with the new command graph linearization.

Bug: angleproject:4130
Change-Id: Ic7233696d2c06303ddf46947610b793a1a9e8a65
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2063041
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-19 19:22:04 +00:00
Yuly Novikov 113d000238 Roll chromium_revision 8ffb18d0b9..a9ad696264 (736949:742676)
Change log: 8ffb18d0b9..a9ad696264
Full diff: 8ffb18d0b9..a9ad696264

Changed dependencies
* build: e5293d8fa2..5499c7c1d6
* testing: cf6ed46cff..177ef69e99
* third_party/googletest: c83f99e10c..703ca235f0
* third_party/zlib: b9b9a5af7c..c2eb8a7f7a
* tools/clang: 953ea7aff8..eeaa53b76f
DEPS diff: 8ffb18d0b9..a9ad696264/DEPS

Clang version changed eaabaf7e04fe98990a8177a3e053346395efde1c:c29003813ab9bd6ea7b6de40ea8f1fe21979f13f
Details: 8ffb18d0b9..a9ad696264/tools/clang/scripts/update.py

TBR=ynovikov@chromium.org,

Bug: chromium:1050703
Change-Id: Ic3b5104698fe7c1a8d95b22fee164af1b8d3c02c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2064067
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2020-02-19 19:21:44 +00:00
Pierre-Marc Berube 9a481b6ec8 Add missing #include to fix build with GCC 10.
Bug: angleproject:4389
Change-Id: I4a2f04a12a059924871f5d54f137c67670747ebd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2063042
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-19 19:16:44 +00:00
Jamie Madill ee0498b950 GN: Update trace tests build.
Includes two small fixes:

 - add .gitignore for trace tests.
 - fix path for restricted traces, should fix bots.

Bug: angleproject:4386
Change-Id: I51c657c4f2e772411e95faa76188d43c8b6981f7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057350
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-19 19:08:12 +00:00
Shahbaz Youssefi 1f5f7ea3e9 Vulkan: Fix SPIR-V transformation name-info association
Prior to this commit, when "OpName %id name" was encountered, the info
corresponding to "name" was immediately associated with %id.  This is
not necessarily correct because there could be multiple ids with the
same name.  For example a sampler declaration and an unrelated function
argument could have the same name.  In this case, the sampler
declaration and function argument name don't even need to be in the same
shader stage.

This change modifies the SPIR-V transformation such that the name-id
mapping is tracked until the OpVariable instruction that actually
declares the variable is visited.  The mapping to variable info is only
done if the storage class specified in this instruction corresponds to a
shader interface variable.

Bug: angleproject:3394
Change-Id: I35a1f6f8278e4b1ad81c9955a55e1b72d6f2e4ea
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057248
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-02-19 18:59:03 +00:00
Ethan Lee 4b4ea4beb4 Remove getIndexRange call from ValidateDrawRangeElementsBaseVertex
This is essentially the same commit as fed0dda, but with the BaseVertex variant.

Bug: angleproject:4373
Change-Id: I2d6fe46a0e8ce5faa8c92d4db6909f8cabd9692f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2032972
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Charlie Lao <cclao@google.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-19 18:13:44 +00:00
angle-autoroll c5b227ba0d Roll third_party/vulkan-loader/src 0bd30e43c007..39e685ccd37e (2 commits)
0bd30e43c0..39e685ccd3

git log 0bd30e43c007..39e685ccd37e --date=short --first-parent --format='%ad %ae %s'
2020-02-18 bas@basnieuwenhuizen.nl loader: Deal with failure loading implicit layer libraries.
2020-02-18 georg.m.lehmann@gmail.com loader: correct the name of vkNegotiateLayerInterfaceVersion

Created with:
  gclient setdep -r third_party/vulkan-loader/src@39e685ccd37e

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-loader-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I6f92fecb5ea14e14fdabe7e73d7f4327c0dacb25
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2064049
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-19 17:56:02 +00:00
angle-autoroll 9b731d47f7 Roll third_party/vulkan-tools/src fb2272297f00..16cf5591e399 (1 commits)
fb2272297f..16cf5591e3

git log fb2272297f00..16cf5591e399 --date=short --first-parent --format='%ad %ae %s'
2020-02-18 shannon@lunarg.com build: Update known-good for 1.2.133 header

Created with:
  gclient setdep -r third_party/vulkan-tools/src@16cf5591e399

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I92325cf3cf797b12eeafd8c1b52f38dfd6cc1736
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2064052
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-19 17:51:24 +00:00
angle-autoroll bbd00336a6 Roll third_party/spirv-tools/src 77fefe765c06..79f8caf9154a (2 commits)
77fefe765c..79f8caf915


Created with:
  gclient setdep -r third_party/spirv-tools/src@79f8caf9154a

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: Ia851eb56702cc4c02ccd238ad4c49ad9f31ca91f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2063813
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-19 17:05:05 +00:00
angle-autoroll 54d1b3831a Roll third_party/SwiftShader 0bbf7ba9f909..8def9063c4fd (2 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/0bbf7ba9f909..8def9063c4fd

git log 0bbf7ba9f909..8def9063c4fd --date=short --first-parent --format='%ad %ae %s'
2020-02-18 cwallez@chromium.org Only call updateBorders on ranges that can be cubemaps.
2020-02-18 capn@google.com Fix sRGB conversion precision issues

Created with:
  gclient setdep -r third_party/SwiftShader@8def9063c4

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: Ib73fd3373ba4065034921e8bfed97cb4583a5388
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2063814
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-19 17:01:05 +00:00
Jamie Madill 0b41c4afae Reland "Use newer OSX SDK for iOS"
This is a reland of 192da9d76f

Re-land after OS upgrade to 10.15.

Original change's description:
> Use newer OSX SDK for iOS
>
> Based on http://crrev.com/c/2056465
>
> Bug: chromium:1052887
> Change-Id: I2f76067883ff528ca45becd90dd3a6f71a507494
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2059669
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Commit-Queue: Jamie Madill <jmadill@chromium.org>

Bug: chromium:1052887
Change-Id: If5d5c9e5b2dbb3b56eedfd9060015721817f47cd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2063040
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2020-02-19 17:00:25 +00:00
angle-autoroll d57bcfdba2 Roll third_party/vulkan-validation-layers/src 873e416c2d07..f155ccfd202d (13 commits)
873e416c2d..f155ccfd20

git log 873e416c2d07..f155ccfd202d --date=short --first-parent --format='%ad %ae %s'
2020-02-19 locke@lunarg.com layers: Clean up
2020-02-19 jzulauf@lunarg.com layers: Refactor global image layout map for perf
2020-02-19 locke@lunarg.com layers: Remove ImageSubresourcePair
2020-02-19 locke@lunarg.com layers: Add initial layout when creating
2020-02-19 locke@lunarg.com layers: New container
2020-02-19 locke@lunarg.com layers: format is not necessary
2020-02-19 locke@lunarg.com layers: Correct data type
2020-02-19 locke@lunarg.com layers: Remove binding.mem
2020-02-19 locke@lunarg.com layers: Remove MEMORY_UNBOUND
2020-02-19 locke@lunarg.com layers: shared_ptr memory
2020-02-18 baldurk@baldurk.org tests: Add positive and negative non-semantic info tests
2020-02-18 baldurk@baldurk.org layers: Validate non-semantic info extension
2020-02-17 shannon@lunarg.com build: Update known-good files for 1.2.133 header

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@f155ccfd202d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: If8d1b808c1e10d8be5161886035b2f063dda4280
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2064050
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-19 16:55:26 +00:00
Corentin Wallez 38bb9fdf36 Revert "Move sampleAlphaToCoverage out of blendState"
This reverts commit f6e73131c5.

Reason for revert: Crashes on Win10 FYI x64 Debug (NVIDIA) and Win7 FYI Debug (AMD) in the webgl CTS

Original change's description:
> Move sampleAlphaToCoverage out of blendState
> 
> This is the second step towards exposing OES_draw_buffers_indexed (that defines independent blend state for each draw buffer). This flag is global in all graphics APIs, however D3D11 technically puts it in the blend state.
> 
> D3D11: BlendStateKey was extended to keep existing D3D11 state caching semantics.
> 
> D3D9: a comment was added explaining why this feature was never implemented there.
> 
> Bug: angleproject:4394
> Change-Id: Ie6a294eeb6fcf4c868a1f1001c4f7efd61692ccd
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057063
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Geoff Lang <geofflang@chromium.org>
> Commit-Queue: Geoff Lang <geofflang@chromium.org>

TBR=geofflang@chromium.org,jmadill@chromium.org,lexa.knyazev@gmail.com

Change-Id: I650624b5dfb7f2777c316906b9145a411243f42f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: angleproject:4394
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2062605
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-02-19 13:02:18 +00:00
Corentin Wallez 90c9f66cc4 Revert "Provide default implementation of rx::DisplayEGL"
This reverts commit 123fd97000.

Reason for revert: Causes GL creation failure on Linux FYI Ozone (Intel)

Original change's description:
> Provide default implementation of rx::DisplayEGL
> 
> Will allow to use EGL instead of GLX on X11.
> 
> Meant to be used on modern EGL so it requires the extensions
> EGL_KHR_no_config_context and EGL_KHR_surfaceless_context.
> This keeps the default implementation simple (no pBuffer
> fallback)
> 
> Also provide simple WorkerContextEGL.
> 
> Bug: angleproject:4328
> Change-Id: I92a1ded9e09e65de8bb83710274e0a73ecdff0a4
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2061168
> Commit-Queue: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Jamie Madill <jmadill@chromium.org>

TBR=geofflang@chromium.org,jmadill@chromium.org,julien.isorce@chromium.org

Change-Id: Ia55180ed83386fe1a158ccefda6155b33d779e98
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: angleproject:4328
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2062604
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-02-19 12:51:16 +00:00
Peng Huang fa9eff37c3 Disable GL_EXT_semaphore_fd for Mesa version < 19.3.5 on AMD GPUs
Bug: chromium:1053516
Change-Id: Idfc271ac70c8ded7d05a258beb4a7578a5a652c3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2062162
Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
2020-02-18 23:21:22 +00:00
Julien Isorce 123fd97000 Provide default implementation of rx::DisplayEGL
Will allow to use EGL instead of GLX on X11.

Meant to be used on modern EGL so it requires the extensions
EGL_KHR_no_config_context and EGL_KHR_surfaceless_context.
This keeps the default implementation simple (no pBuffer
fallback)

Also provide simple WorkerContextEGL.

Bug: angleproject:4328
Change-Id: I92a1ded9e09e65de8bb83710274e0a73ecdff0a4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2061168
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-02-18 21:35:21 +00:00
Jamie Madill 4b7bac78a9 Vulkan: Throttle when way ahead of device.
This CL adds a fence wait when we get more than 100 serials behind the
device. This fixes an ASSERT when unit tests or offscreen performance
tests get way ahead of the device.

Bug: angleproject:3630
Bug: angleproject:4281
Change-Id: I90f9af1b2ceb2b1cd9f2f638d6d84caaeeb83bb1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057351
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Ian Elliott <ianelliott@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
2020-02-18 19:25:01 +00:00
Jamie Madill efd2a66947 Vulkan: Command graph linearization for SemaphoreVk.
This doesn't seem to be tested in the default CQ configuration.

Bug: angleproject:4029
Change-Id: If0acd5c78602324433b63498e2de8c16881023de
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057354
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Michael Spang <spang@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-18 19:17:03 +00:00
Alexey Knyazev f6e73131c5 Move sampleAlphaToCoverage out of blendState
This is the second step towards exposing OES_draw_buffers_indexed (that defines independent blend state for each draw buffer). This flag is global in all graphics APIs, however D3D11 technically puts it in the blend state.

D3D11: BlendStateKey was extended to keep existing D3D11 state caching semantics.

D3D9: a comment was added explaining why this feature was never implemented there.

Bug: angleproject:4394
Change-Id: Ie6a294eeb6fcf4c868a1f1001c4f7efd61692ccd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057063
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2020-02-18 17:08:04 +00:00
Jamie Madill f87fac56d2 Use non-mutating getQuery in validation.
Previously the validation layer would create the query if not created.
This change should be a no-op that makes the validation layer work in
a more "const-friendly" way.

Bug: angleproject:1280
Change-Id: Ife0c216c8a0dcda2a33d1182821c51e4ed5f67e0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2060688
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-18 16:04:25 +00:00
angle-autoroll e96da533c5 Roll third_party/vulkan-validation-layers/src 211ee9c4eec1..873e416c2d07 (3 commits)
211ee9c4ee..873e416c2d

git log 211ee9c4eec1..873e416c2d07 --date=short --first-parent --format='%ad %ae %s'
2020-02-17 mark@lunarg.com tests: Touch up some incorrect errorMonitor calls
2020-02-17 mark@lunarg.com tests: Added tests for CmdBlitImage planar VUIDs
2020-02-17 mark@lunarg.com corechecks: Add CmdBlitImage multiplanar format checks

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@873e416c2d07

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I589193d37add002f04f7426df0308cff0beb74bb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2061124
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-18 10:03:54 +00:00
angle-autoroll a33dc9ce8b Roll third_party/vulkan-loader/src c731adec183b..0bd30e43c007 (1 commits)
c731adec18..0bd30e43c0

git log c731adec183b..0bd30e43c007 --date=short --first-parent --format='%ad %ae %s'
2020-02-17 shannon@lunarg.com build: Update known-good for 1.2.133 header

Created with:
  gclient setdep -r third_party/vulkan-loader/src@0bd30e43c007

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-loader-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I3ba81af4748d41f690b79b229245909e9b13add5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2061123
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-18 08:09:44 +00:00
angle-autoroll 7efa03ac94 Roll third_party/SwiftShader 481daed34f15..0bbf7ba9f909 (5 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/481daed34f15..0bbf7ba9f909

git log 481daed34f15..0bbf7ba9f909 --date=short --first-parent --format='%ad %ae %s'
2020-02-17 amaiorano@google.com Cache callstack results to avoid expensive lookup
2020-02-17 amaiorano@google.com Subzero: add REACTOR_EMIT_PRINT_LOCATION support
2020-02-17 bclayton@google.com third_party: Add shell script that updates marl.
2020-02-17 amaiorano@google.com Implement rr::Print support for Subzero
2020-02-17 amaiorano@google.com Subzero: fix another load from constant data

Created with:
  gclient setdep -r third_party/SwiftShader@0bbf7ba9f9

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I52277a2305d73e84211ad9b48a12b8275aa221b0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2061126
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-18 08:08:24 +00:00
angle-autoroll 9fcbd7e3cd Roll third_party/glslang/src ae59435606fc..113d07a6ebda (1 commits)
ae59435606..113d07a6eb


Created with:
  gclient setdep -r third_party/glslang/src@113d07a6ebda

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I62752cf29e88146c2df52f371ba7bb2e109ff235
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2061125
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-18 07:59:54 +00:00
Cody Northrop 2e0661d7dd Vulkan: Update ES 3.1 test expectations
Split off shader compilation failure to a new bug.

Bug: angleproject:3596
Bug: angleproject:4402
Change-Id: Iac054e469440cfa2b84289e08c5b21e3fbdf5410
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2061448
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-02-18 04:15:14 +00:00
Xinghua Cao c8676d4ba3 Unlimit texture size on relatively new linux
If limit texture size to a small number, application may
need to reshape texture, lead to more discontinuous
memory access and performance loss.

Bug: angleproject:4086
Change-Id: I502a90535c2e3d13738e23827f4712a77987585e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1934048
Reviewed-by: Xinghua Cao <xinghua.cao@intel.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Xinghua Cao <xinghua.cao@intel.com>
2020-02-18 03:45:55 +00:00
Jamie Madill 015cb80815 Revert "Use newer OSX SDK for iOS"
This reverts commit 192da9d76f.

Reason for revert: Causing failures on mac builders due to license.

Original change's description:
> Use newer OSX SDK for iOS
> 
> Based on http://crrev.com/c/2056465
> 
> Bug: chromium:1052887
> Change-Id: I2f76067883ff528ca45becd90dd3a6f71a507494
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2059669
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Commit-Queue: Jamie Madill <jmadill@chromium.org>

TBR=thakis@chromium.org,ynovikov@chromium.org,jmadill@chromium.org

Change-Id: I8698ed56fc81a76900da2aaf6cd19d08b57c5525
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1052887
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2061228
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-18 00:25:05 +00:00
Jamie Madill 192da9d76f Use newer OSX SDK for iOS
Based on http://crrev.com/c/2056465

Bug: chromium:1052887
Change-Id: I2f76067883ff528ca45becd90dd3a6f71a507494
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2059669
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-17 22:44:54 +00:00
Le Hoang Quyen ee89849b7c Metal: Fixed memory leak due to the CAMetalLayer still attached to super layer
When destroying SurfaceMtl, the CAMetalLayer should detach from its
super layer, otherwise memory leak could happen.
This memory leak caused the end2end tests to ran out of memory.

Bug: angleproject:2634
Change-Id: I8ea91cccdb42cf0ae8ef807cf01f1e05043dc7c1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2060250
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-02-17 22:27:33 +00:00
Khushal 5f5292c86e Only enable robust client memory if the context supports validation.
Bug: chromium:1028418
Change-Id: Id47ac64a3d56b58455e1f36d8a17dbdc9db7e509
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2056506
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Khushal <khushalsagar@chromium.org>
2020-02-17 20:27:43 +00:00
Corentin Wallez 59126651bc Revert "Provide default implementation of rx::DisplayEGL"
This reverts commit e82ab75a4c.

Reason for revert: crbug.com/1052772

Original change's description:
> Provide default implementation of rx::DisplayEGL
> 
> Will allow to use EGL instead of GLX on X11.
> 
> Meant to be used on modern EGL so it requires the extensions
> EGL_KHR_no_config_context and EGL_KHR_surfaceless_context.
> This keeps the default implementation simple (no pBuffer
> fallback)
> 
> Also provide simple WorkerContextEGL.
> 
> Bug: angleproject:4328
> Change-Id: I825c6998e4a3727a13e533ede3d9fb1820edc804
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2031699
> Commit-Queue: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Jamie Madill <jmadill@chromium.org>

TBR=geofflang@chromium.org,syoussefi@chromium.org,jonahr@google.com,jmadill@chromium.org,julien.isorce@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: angleproject:4328
Change-Id: I62436cad1e6aae0c5e072acb1dab0bd10b2cf722
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2058952
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-02-17 10:42:02 +00:00
angle-autoroll 6b43fba9fe Roll third_party/spirv-tools/src 6c218ec60b5f..77fefe765c06 (1 commits)
6c218ec60b..77fefe765c


Created with:
  gclient setdep -r third_party/spirv-tools/src@77fefe765c06

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC courtneygo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: courtneygo@google.com
Change-Id: Ibf658094111733ca1a8fa50b865c30d903d51721
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2059856
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-17 08:11:37 +00:00
angle-autoroll 18bfdb7ffa Roll third_party/vulkan-validation-layers/src 73d377fae66e..211ee9c4eec1 (3 commits)
73d377fae6..211ee9c4ee

git log 73d377fae66e..211ee9c4eec1 --date=short --first-parent --format='%ad %ae %s'
2020-02-14 s.fricke@samsung.com tests: Add test for vkCmdCopyImage VUID
2020-02-14 s.fricke@samsung.com layers: Add support for vkCmdCopyImage VUID
2020-02-14 mark@lunarg.com corechecks: Correct conditions for triggering VUID 1564

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@211ee9c4eec1

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC courtneygo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: courtneygo@google.com
Change-Id: I730510f9bf8891032075e9ec964d4e04b918e6fd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2059855
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-17 08:09:37 +00:00
angle-autoroll 674d0ec2e4 Roll third_party/vulkan-headers/src 726435870206..9bd3f561bcee (1 commits)
7264358702..9bd3f561bc

git log 726435870206..9bd3f561bcee --date=short --first-parent --format='%ad %ae %s'
2020-02-16 oddhack@sonic.net Update for Vulkan-Docs 1.2.133

Created with:
  gclient setdep -r third_party/vulkan-headers/src@9bd3f561bcee

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-headers-angle-autoroll
Please CC courtneygo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

TBR=courtneygo@google.com

Bug: None
Change-Id: I7676db5d51844e2633fa3aa6e660444edaca971a
Tbr: courtneygo@google.com
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2058775
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-17 08:06:37 +00:00
angle-autoroll c7df822fa8 Roll third_party/SwiftShader f9f999f5a2eb..481daed34f15 (2 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/f9f999f5a2eb..481daed34f15

git log f9f999f5a2eb..481daed34f15 --date=short --first-parent --format='%ad %ae %s'
2020-02-15 swiftshader.regress@gmail.com Regres: Update test lists @ 348f07b4
2020-02-14 amaiorano@google.com Fix unit test when ENABLE_RR_EMIT_PRINT_LOCATION is defined

Created with:
  gclient setdep -r third_party/SwiftShader@481daed34f

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC courtneygo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: courtneygo@google.com
Change-Id: I7021723c43885bdfeccb96e63b8ad988a740407b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2059857
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-17 07:56:27 +00:00
Jamie Madill 2dd40d7fa7 Vulkan: Free pool allocation leak with graph disabled.
Our secondary command buffer pools were leaking memory every submit.
This change pops the secondary command buffer pool allocator scope
after commands are flushed during a submit.

Fixes the memory leak observable on any Vulkan application.

Bug: angleproject:4029
Bug: angleproject:4403
Change-Id: I3d0f8d53456336ef0b03c6d37425fb76c88d1551
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057349
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-15 14:00:45 +00:00
Jamie Madill 798a837599 Vulkan: Add more debug labels handling with graph off.
Bug: angleproject:4029
Change-Id: Ia3c88af5f9fa1a7940d7f809ded599c064126be7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2055555
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2020-02-15 02:27:49 +00:00
Jamie Madill 12a36dd9ea Vulkan: Add debug utils functions to wrapper.
Also adds a more consistent way of checking if the debug utils
extension is enabled.

Enables adding support for the debug utils markers with the command
graph disabled.

Bug: angleproject:4029
Change-Id: I5f8762921b06f54e400c25764012ab70e10bfb8d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2055554
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-15 00:37:29 +00:00
Yuly Novikov bb7534ee99 Use ASSERT() instead of assert() when possible.
Since ASSERT() works in Release builds.

Left assert() in a few places where calling a function may not be safe.

Bug: angleproject:4396
Change-Id: Ic75a3d41d846e327097f8c37fe2336dcd3be6cb8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057745
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2020-02-14 22:58:19 +00:00
Jamie Madill 9f4ab98d12 Return angle::Result from more label functions.
This is necessary for the new Vulkan implementation.

Bug: angleproject:4029
Change-Id: I07ef54145252ff102c74179361436587bb330fc7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2055553
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-14 14:51:49 +00:00
Anders Leino 3a3e7d4dd2 Don't skip functional.layout_binding.ubo.vertex_binding_max on NV/D3D11
This test no longer fails with any recent drivers.

Bug: angleproject:4276
Change-Id: I7a20ee66f1da82d0f378848ccc9faa327a4ed63a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2057065
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-02-14 13:30:29 +00:00
angle-autoroll eaff904e72 Roll third_party/vulkan-tools/src db0a1553991d..fb2272297f00 (2 commits)
db0a155399..fb2272297f

git log db0a1553991d..fb2272297f00 --date=short --first-parent --format='%ad %ae %s'
2020-02-13 charles@lunarg.com vulkaninfo: support ASTC HDR formats
2020-02-13 charles@lunarg.com vulkaninfo: Update VkFormat ranges

Created with:
  gclient setdep -r third_party/vulkan-tools/src@fb2272297f00

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC courtneygo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: courtneygo@google.com
Change-Id: I01999deef8a186abbb83a717364235f766534568
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2056306
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-14 08:12:03 +00:00
angle-autoroll 2646163d89 Roll third_party/SwiftShader ac4e1d236088..f9f999f5a2eb (6 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/ac4e1d236088..f9f999f5a2eb

git log ac4e1d236088..f9f999f5a2eb --date=short --first-parent --format='%ad %ae %s'
2020-02-13 jonahr@google.com Implement HostMappedForeignMemory DeviceMemory
2020-02-13 bclayton@google.com Update Marl to a047dd0bb
2020-02-13 bclayton@google.com third_party/marl: Add mips64 support to BUILD.gn
2020-02-13 swiftshader.regress@gmail.com Regres: Update test lists @ ac4e1d23
2020-02-13 amaiorano@google.com Kokoro: build and run rr::Print unit tests
2020-02-13 amaiorano@google.com Fix rr::Print and add unit tests

Created with:
  gclient setdep -r third_party/SwiftShader@f9f999f5a2

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC courtneygo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: courtneygo@google.com
Change-Id: Id1422ca8e34f6eaf013b47416a35bb7cefd67745
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2056308
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-14 08:03:33 +00:00
angle-autoroll 2e9b53763f Roll third_party/vulkan-validation-layers/src 30794ac2f91b..73d377fae66e (2 commits)
30794ac2f9..73d377fae6

git log 30794ac2f91b..73d377fae66e --date=short --first-parent --format='%ad %ae %s'
2020-02-13 tony@lunarg.com layers: Fix false errors if query condition is unknown
2020-02-13 mark@lunarg.com layers: Fix string validation returned results

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@73d377fae66e

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC courtneygo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: courtneygo@google.com
Change-Id: Ic6f674dfe8c209ac38a69d76728741574d53de1b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2056307
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-02-14 07:59:13 +00:00
Yuly Novikov d5861a68d9 Fix ASAN errors in end2end tests.
2 minor issues of reading from uninitialized memory in tests.
Removes the suppressions from the fixed tests.

Bug: chromium:1029378
Change-Id: I466ce231cfed1ce53a60732706c05b778b096805
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2055649
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2020-02-13 23:52:08 +00:00
Cody Northrop 4f9608ca6a Vulkan: Update more bug numbers for ES 3.1
This reflects the most recent conformance run on Android with SwiftShader.

Bug: angleproject:4106
Bug: angleproject:4108
Bug: angleproject:4188
Bug: angleproject:4190
Bug: angleproject:4240
Bug: angleproject:4300
Bug: angleproject:4312
Change-Id: I0107262eecc963a8d5343a53806bb0483b5af3be
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2054068
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
2020-02-13 21:34:07 +00:00
Charlie Lao ef599fb0f4 Vulkan: Fold glClear into draw call when command graph is disabled
This sets ContextVk::mRenderPassCommandBuffer properly when glClear get
called so that it wonr end up start anotyer render pass during setupDraw
call.

Bug: angleproject:4395
Change-Id: Id2110719ad4d70b4c410062466d32381fb5e1f88
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2050966
Commit-Queue: Charlie Lao <cclao@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-02-13 19:08:57 +00:00
Cody Northrop 94c191427a Capture/Replay: Track and restore mapped buffer data
When a buffer is mapped writable by the host, we need to
track its final contents, and then restore them during replay.

This implementation just blindly captures the whole mapped
range if writable, and can be optimized in the future.

This change renders the moving billboards in Manhattan correctly.

Test: First 500 frames of Manhattan and TRex
Bug: angleproject:4091
Change-Id: I5f7775235f569efb264bde679fd3045d7012c622
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2053512
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
2020-02-13 18:46:27 +00:00
Alexey Knyazev b79b57e047 Vulkan: expose ANGLE_compressed_texture_etc
Bug: angleproject:4399
Change-Id: I51cd304c8726c985c5f70b78bd98c8af19d2a80d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2053889
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
2020-02-13 17:50:57 +00:00
Julien Isorce e82ab75a4c Provide default implementation of rx::DisplayEGL
Will allow to use EGL instead of GLX on X11.

Meant to be used on modern EGL so it requires the extensions
EGL_KHR_no_config_context and EGL_KHR_surfaceless_context.
This keeps the default implementation simple (no pBuffer
fallback)

Also provide simple WorkerContextEGL.

Bug: angleproject:4328
Change-Id: I825c6998e4a3727a13e533ede3d9fb1820edc804
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2031699
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-02-13 14:28:07 +00:00