Commit Graph
105 Commits
Author SHA1 Message Date
Geoff Lang 8b57fae579 Roll EGL headers.
BUG=angleproject:2508

Change-Id: I28782e488495a31da885f35e9c37b0dd22d951a3
Reviewed-on: https://chromium-review.googlesource.com/1236754
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2018-09-25 21:52:02 +00:00
Shahbaz Youssefi 9137adeafb Add support for EGL_ANDROID_blob_cache
The functionality of MemoryProgramCache is divided up in two.  BlobCache
is now a generic binary cache, which interfaces with the callbacks from
EGL_ANDROID_blob_cache.  MemoryProgramCache handles program
[de]serialization and interacts with BlobCache.

Bug: angleproject:2516
Change-Id: Ie4328a2e56a26338e033d84f4e53a1103411937d
Reviewed-on: https://chromium-review.googlesource.com/1194285
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2018-09-04 15:21:20 +00:00
Geoff Lang 7535966499 Implement EGL_KHR_debug.
BUG=angleproject:1618

Change-Id: I790944b49badc910b6c72266469fcb8e86ac4252
Reviewed-on: https://chromium-review.googlesource.com/1019387
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2018-06-14 15:32:13 +00:00
Geoff Lang e1a057e8aa Fully format some files.
Change-Id: Id6ea245849696d4c6d7eabc6860c0ac424dd8013
Reviewed-on: https://chromium-review.googlesource.com/1091309
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2018-06-07 20:00:44 +00:00
Geoff Lang 1da467747b Add support for EGL_ANDROID_presentation_time.
BUG=angleproject:2506

Change-Id: I46b3c6ac7f259eabfdd8ea5799da6ef563ff81ee
Reviewed-on: https://chromium-review.googlesource.com/1057997
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2018-05-31 17:12:41 +00:00
Geoff Lang c2014bce88 Expose eglCreatePlatformWindowSurfaceEXT and eglCreatePlatformPixmapSurfaceEXT
These entry points are part of EGL_EXT_platform_base but were never returned by
eglGetProcAddress.

BUG=angleproject:2603

Change-Id: I4782df67fa8625a9af29a18df02af7b5fa73d75e
Reviewed-on: https://chromium-review.googlesource.com/1075469
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2018-05-29 14:27:44 +00:00
Geoff Lang 3f1eba94a7 Support EGL_KHR_swap_buffers_with_damage in the EGL backend.
Update the EXT extension to KHR in ANGLE.

BUG=angleproject:2544

Change-Id: Ia647191c3e762d658b0f7e28a34a9ce2cc545f48
Reviewed-on: https://chromium-review.googlesource.com/1054415
Reviewed-by: Luc Ferron <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2018-05-29 13:57:02 +00:00
Jeff Gilbert 3dddccff31 Support RGB gl-tex-external stream consumers for StreamProducerNV12.
This makes it relatively simple to sample from a D3D11Texture of
arbitrary format.

From: https://bugzilla.mozilla.org/show_bug.cgi?id=1322746

BUG=angleproject:2233
TEST=angle_end2end_tests

Change-Id: I10cd3043b5cb0c5d36dd613467ba6c0ceadf41af
Reviewed-on: https://chromium-review.googlesource.com/758042
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2017-12-05 15:24:25 +00:00
Jamie Madill 315ecd2074 Add entry points for EGL_ANGLE_program_cache_control.
This instruments the plumbing for the extension without adding any
functionality or exposing the extensions string.

The extension text is also updated to reflect the new entry point
design and naming. Also this corrects a few mistakes.

This will be followed up by the tests (which won't run) and then
the extension functionality in ANGLE.

BUG=angleproject:1897

Change-Id: I5b009e23bc27da06b067375525bd6fc574027702
2017-07-11 13:51:04 -04:00
Stanislav Chiknavaryan ee218f273f Re-land eglGetSyncValuesCHROMIUM extension.
This reverts commit 20c97cac2a
and adds a few trivial changes to make it build with the current version
of ANGLE code.

Please see https://bugs.chromium.org/p/chromium/issues/detail?id=614147
for more details on how this extension will be used.

Original description:

This change adds implementation of eglGetSyncValuesCHROMIUM extension
on D3D11 with Direct Composition. This should work on Windows 8.1 and
above.

The implementation is based on IDXGISwapChain::GetFrameStatistics.

Extension documentation:
https://chromium.googlesource.com/chromium/src/gpu/+/master/GLES2/extensions/CHROMIUM/EGL_CHROMIUM_get_sync_values.txt

BUG=angleproject:1402

Change-Id: I4b77899f31a4c4cf1fa7f20ab12de5a02ccf74d8
Reviewed-on: https://chromium-review.googlesource.com/459217
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2017-03-24 20:13:46 +00:00
Stanislav Chiknavaryan 20c97cac2a Squashed commit of the following:
commit 0146dfeefa47b520e71f0e74230abd7dac163a79
Author: Stanislav Chiknavaryan <[email protected]>
Date:   Fri Nov 4 17:43:03 2016 -0700

    Revert "Implementation of eglGetSyncValuesCHROMIUM extension."

    This reverts commit 5d9f5df01a.

commit 0d920fe27bd8e73d831a9002548bde00fea78709
Author: Stanislav Chiknavaryan <[email protected]>
Date:   Fri Nov 4 17:23:11 2016 -0700

    Revert "Fix EGLSyncControlTest.SyncValuesTest timeout on Windowse Server 2012 R2"

    This reverts commit d258ca045f.

commit bde8defe53741855bb71fbf27bcb0a91cfafbd01
Author: Stanislav Chiknavaryan <[email protected]>
Date:   Fri Nov 4 17:22:58 2016 -0700

    Revert "Disabling EGLSyncControlTest.SyncValuesTest"

    This reverts commit a741836139.

commit f78e4b7e97b9d1259878f6902bb6ddeb0aeded87
Author: Stanislav Chiknavaryan <[email protected]>
Date:   Fri Nov 4 17:22:36 2016 -0700

    Revert "Fix and re-enable EGLSyncControlTest.SyncValuesTest"

    This reverts commit 138ec92f52.

commit f3933e6a04bd23473077d2fd74616023db3c9601
Author: Stanislav Chiknavaryan <[email protected]>
Date:   Fri Nov 4 17:20:26 2016 -0700

    Revert "Handle nullptr mSwapChain in SwapChain11::getSyncValues"

    This reverts commit af7f301f6b.

BUG=angleproject:1402

Change-Id: I99969e906e316574e9f739141de0e360d1edebd9
Reviewed-on: https://chromium-review.googlesource.com/408752
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Stanislav Chiknavaryan <[email protected]>
2016-11-07 23:47:19 +00:00
Geoff Lang a284f2ff19 Add stubs for EGL_EXT_swap_buffers_with_damage.
BUG=512090

Change-Id: I9413d6f5c13b9ea59ab9c923dc6c5d157f344166
Reviewed-on: https://chromium-review.googlesource.com/291652
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2016-10-24 17:35:47 +00:00
Stanislav Chiknavaryan 5d9f5df01a Implementation of eglGetSyncValuesCHROMIUM extension.
This change adds implementation of eglGetSyncValuesCHROMIUM extension
on D3D11 with Direct Composition. This should work on Windows 8.1 and
above.

The implementation is based on IDXGISwapChain::GetFrameStatistics.

Extension documentation:
https://chromium.googlesource.com/chromium/src/gpu/+/master/GLES2/extensions/CHROMIUM/EGL_CHROMIUM_get_sync_values.txt

BUG=angleproject:1402

Change-Id: I306434dd8d85d618b14edfa38fc2a22e50fddacc
Reviewed-on: https://chromium-review.googlesource.com/390351
Commit-Queue: Stanislav Chiknavaryan <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2016-10-06 20:44:37 +00:00
Ian Ewell 4a48d9a3af Initial implementation of ANGLE_stream_producer_d3d_texture_nv12.
Add the validation and entrypoints for
ANGLE_stream_producer_d3d_texture_nv12, which is a new EGL extension
currently being written. The purpose of this extension is to allow
insertion of D3D11 NV12 textures to be inserted into a stream. This acts
as the producer of the EGL stream.

BUG=angleproject:1332

Change-Id: I50d4565cc82b63f7da7632adad4ac4c77d8800f2
Reviewed-on: https://chromium-review.googlesource.com/336695
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Shannon Woods <[email protected]>
Reviewed-by: Corentin Wallez <[email protected]>
Commit-Queue: Ian Ewell <[email protected]>
2016-04-08 17:10:12 +00:00
Ian Ewell 54f8746e27 Add initial support for various stream extensions.
Add entry points and validation for various egl stream extensions
including EGL_KHR_stream_consumer_gltexture and
EGL_NV_stream_consumer_gltexture_yuv and NV_EGL_stream_consumer_external.
The extensions functionality is not yet implemented and the extension
strings are thus not exposed yet.

BUG=angleproject:1332
Change-Id: I115d872557db38d8dd94cc367038668406719109
Reviewed-on: https://chromium-review.googlesource.com/332026
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Ian Ewell <[email protected]>
2016-04-06 00:45:21 +00:00
Ian Ewell 701b74b0cc Add support for EGL_KHR_stream.
EGL_KHR_stream is now implemented. Since the extension does not come with
any producers or consumers, it does not have much functionality and the
implementation is therefore very simple (validation layers and a new
object to store some attributes). This however add the groundwork to add
the appropriate consumer and producer extensions to stream D3D NV12
textures directly into ANGLE which will significantly improve video
performance on Chromium on D3D-based platforms.

BUG=angleproject:1332

Change-Id: Ie240c73869f5098d1215cc5e27aa5decd06c3ed1
Reviewed-on: https://chromium-review.googlesource.com/330003
Commit-Queue: Ian Ewell <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2016-03-31 18:06:06 +00:00
Austin Kinross fc1a44a1fe Revert "Revert "Add and implement EGL_ANGLE_device_creation[_d3d11]""
This reverts commit dd5c5b7933.

BUG=angleproject:1190

Change-Id: I1bc1b232b6a916da6d18b546baf20e0854a2768f
Reviewed-on: https://chromium-review.googlesource.com/315169
Tested-by: Austin Kinross <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2015-12-03 18:20:07 +00:00
Jamie Madill dd5c5b7933 Revert "Add and implement EGL_ANGLE_device_creation[_d3d11]"
Causes failures on Windows/GN:

e:\b\build\slave\win_x64_gn\build\src\third_party\angle\src\tests\egl_tests\egldevicetest.cpp(108)
: error C3861: 'eglCreateDeviceANGLE': identifier not found
e:\b\build\slave\win_x64_gn\build\src\third_party\angle\src\tests\egl_tests\egldevicetest.cpp(113)
: error C3861: 'eglQueryDeviceAttribEXT': identifier not found
e:\b\build\slave\win_x64_gn\build\src\third_party\angle\src\tests\egl_tests\egldevicetest.cpp(119)
: error C3861: 'eglReleaseDeviceANGLE': identifier not found
e:\b\build\slave\win_x64_gn\build\src\third_party\angle\src\tests\egl_tests\egldevicetest.cpp(143)
: error C3861: 'eglQueryDeviceAttribEXT': identifier not found
e:\b\build\slave\win_x64_gn\build\src\third_party\angle\src\tests\egl_tests\egldevicetest.cpp(162)
: error C3861: 'eglCreateDeviceANGLE': identifier not found
e:\b\build\slave\win_x64_gn\build\src\third_party\angle\src\tests\egl_tests\egldevicetest.cpp(178)
: error C3861: 'eglCreateDeviceANGLE': identifier not found

This reverts commit 4029ad42d5.

BUG=angleproject:1190

Change-Id: Ibcdfd8cea7ba275cd67c0220f8d7a1069ec1cf97
Reviewed-on: https://chromium-review.googlesource.com/315480
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2015-12-02 13:51:31 +00:00
Austin Kinross 4029ad42d5 Add and implement EGL_ANGLE_device_creation[_d3d11]
BUG=angleproject:1190

Change-Id: I248935ef81803062cf9ba5776512cda456331f51
Reviewed-on: https://chromium-review.googlesource.com/309634
Tryjob-Request: Austin Kinross <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2015-11-30 15:15:59 +00:00
Geoff Lang dcab33be50 Add stubs for EGL image entry points and validation.
BUG=angleproject:970

Change-Id: Ic3b9f9f60146920571e0e5f00fac2273c35fff2f
Reviewed-on: https://chromium-review.googlesource.com/287162
Reviewed-by: Corentin Wallez <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2015-07-21 20:30:22 +00:00
Cooper Partin 97d61eb51c Add extension EGL_ANGLE_device_d3d
Access to the D3D device is needed for some advanced scenarios.
New entry points eglQueryDisplayAttribANGLE and
eglQueryDeviceAttribANGLE have been added in this change
to implement this extension.

BUG=angleproject:935

Change-Id: Ie39e86a2b6c6d8d05a08964b2907fb9fba5dec13
Reviewed-on: https://chromium-review.googlesource.com/265591
Tested-by: Cooper Partin <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2015-04-14 17:37:48 +00:00
Geoff Lang 1ea8284d03 Revert "Add extension EGL_ANGLE_device_d3d"
Compile error on clang:
src/libANGLE/Display.cpp:259:23: error: allocation of incomplete type 'egl::Device'
        mDevice = new Device(this, impl);
                      ^~~~~~
src/libANGLE/Display.h:36:7: note: forward declaration of 'egl::Device'
class Device;
      ^
In file included from src/libANGLE/Display.cpp:11:
In file included from src/libANGLE/Display.h:17:
In file included from src/libANGLE/Error.h:80:
In file included from src/libANGLE/Error.inl:9:
src/common/angleutils.h:66:5: error: deleting pointer to incomplete type 'egl::Device' may cause undefined behavior [-Werror,-Wdelete-incomplete]
    delete resource;
    ^      ~~~~~~~~
src/libANGLE/Display.cpp:209:5: note: in instantiation of function template specialization 'SafeDelete<egl::Device>' requested here
    SafeDelete(mDevice);
    ^
src/libANGLE/Display.h:36:7: note: forward declaration of 'egl::Device'
class Device;
      ^
2 errors generated.

This reverts commit 6dacaff4e0.

Change-Id: Ide348e156324a5af668604362c0b249ea73b6083
Reviewed-on: https://chromium-review.googlesource.com/265626
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2015-04-14 15:29:23 +00:00
Cooper Partin 6dacaff4e0 Add extension EGL_ANGLE_device_d3d
Access to the D3D device is needed for some advanced scenarios.
New entry points eglQueryDisplayAttribANGLE and
eglQueryDeviceAttribANGLE have been added in this change
to implement this extension.

BUG=angleproject:935

Change-Id: Id1560b0887fa5882b9858af7bad9043ada67038d
Reviewed-on: https://chromium-review.googlesource.com/251610
Tested-by: Cooper Partin <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2015-04-14 14:30:39 +00:00
Jamie Madill 254f3683ca Complete EGL 1.5 entry point stubs.
We were missing the entries in the def file, and we were missing two
new entry point functions from the new header. This fixes linking
against dEQP.

BUG=angle:901

Change-Id: I56d35bb6e8f3bd9e26943eaec196034605e154fc
Reviewed-on: https://chromium-review.googlesource.com/244444
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2015-01-30 15:36:44 +00:00
Geoff Lang e7c6e43c2c Implement all entry points in libGLES and have libEGL act as a shim.
This allows libANGLE to only be included in libGLESv2 and moves all TLS
data to libGLESv2.dll.

BUG=angle:733

Change-Id: I34f0b47987a5efbe906c290d3ca656142e69ea9a
Reviewed-on: https://chromium-review.googlesource.com/232962
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-12-05 16:11:01 +00:00
Jamie Madill 4eae6dfa62 Move native display check to the DisplayImpl.
This fixes another Linux compile error in the EGL layer.

BUG=angle:773

Change-Id: Iba643a72fb7b0d5994fe69e46184256e07aa3aad
Reviewed-on: https://chromium-review.googlesource.com/232945
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Brandon Jones <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2014-12-04 19:11:01 +00:00
Jamie Madill 5d94a2b16a Move native window check to the DisplayImpl.
This hides the D3D-specific methods from the EGL side of things.

BUG=angle:773

Change-Id: I5a1c2bbff865e02bc1a07b3295347469ef9792e3
Reviewed-on: https://chromium-review.googlesource.com/232943
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
2014-12-04 18:27:38 +00:00
Jamie Madill fb0580a676 MANGLE egl::Surface.
This class has its fingers in a lot of other classes. In particular,
we will likely need to revisit the context lost handling methods when
we implement the robustness extensions on top of desktop GL. For now,
we can leave them tied pretty tightly to the D3D implementation.

BUG=angle:795

Change-Id: I9b3ac90dfd393f52c5b49bc2bd6b97fb5536ed91
Reviewed-on: https://chromium-review.googlesource.com/228916
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2014-11-27 21:42:05 +00:00
Jamie Madill 1c9ecfd7cd Add querySurfacePointerANGLE method to Surface.
This method will more closely match the desktop GL implementation.

BUG=angle:795

Change-Id: I796b46bb6e8e895dad8d9824e8405edcc12e8a4f
Reviewed-on: https://chromium-review.googlesource.com/228915
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2014-11-25 20:50:40 +00:00
Geoff Lang 2207213ba5 Move as many files as possible from common to libANGLE.
BUG=angle:733

Change-Id: If01c91cd52ac5c2102276a9fdc4b68ebc13e47f9
Reviewed-on: https://chromium-review.googlesource.com/231850
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-11-25 16:20:33 +00:00
Jamie Madill 5ce48e2148 Use EGLClientBuffer in place of HANDLE in EGL.
BUG=angle:795

Change-Id: I7af47e9306e0e12b980cfd3f061bbbe0951ac4e4
Reviewed-on: https://chromium-review.googlesource.com/228913
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2014-11-25 16:17:48 +00:00
Geoff Lang 4349ab855d Revert "Move as many files as possible from common to libANGLE."
Chromium directly includes our common/version.h and couldn't build after this change.

This reverts commit f0a2c7727f.

Change-Id: Iafc41b1a3973f609518fe3588fdb64cecc285332
Reviewed-on: https://chromium-review.googlesource.com/231840
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-11-25 15:53:46 +00:00
Geoff Lang f0a2c7727f Move as many files as possible from common to libANGLE.
BUG=angle:733

Change-Id: I40cee6e2e305ac493acbc8649f858785c0569aed
Reviewed-on: https://chromium-review.googlesource.com/231051
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-11-25 15:29:02 +00:00
Jamie Madill 4c76feac2e Remove notify parameter from testDeviceLost.
We can get rid of this parameter now that we call notify
directly on the display in cases where we need to.

BUG=angle:795

Change-Id: I2024b70d0d725e755f7aa742ba221c2d0179d8b6
Reviewed-on: https://chromium-review.googlesource.com/228911
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2014-11-24 16:46:33 +00:00
Jamie Madill 9dd0cf0a91 Do not use notify feature of testDeviceLost.
This is part one of a simplification of testDeviceLost. This
patch changes the instances where we would use the notify
parameter to notify the Display directly. We can do this
by using the Display attached to the Renderer in some cases.

BUG=angle:795

Change-Id: I24fd827989d47b0b2cefef7afb99fa62581ddc1b
Reviewed-on: https://chromium-review.googlesource.com/228910
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2014-11-24 16:46:13 +00:00
Geoff Lang 2b5420c07f Merge libGLESv2 and libEGL classes into libANGLE.
BUG=angle:733

Change-Id: Ic491c971411fe82c56cd97c5c8325ac14ec218df
Reviewed-on: https://chromium-review.googlesource.com/230830
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-11-21 19:46:02 +00:00
Cooper Partin 980eb8f341 Added ISwapChainPanel support
Change-Id: I26faa32804ee47cb6ad8458c90abeb93a01dfbdf
Reviewed-on: https://chromium-review.googlesource.com/224991
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-11-04 17:44:55 +00:00
Geoff Lang 0d3683c425 Update ANGLE_platform_angle to allow requesting of Renderer versions.
Added enums to allow users to request major and minor versions of the
underlying API and if a WARP device is used.

BUG=angle:490

Change-Id: I0bfb2ac8d327da28a47cc8e6346300e47ab9538c
Reviewed-on: https://chromium-review.googlesource.com/225081
Reviewed-by: Shannon Woods <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-11-03 17:56:14 +00:00
Geoff Lang 6b0cf99612 Added an egl::Error class and updated libEGL to use it.
BUG=angle:520

Change-Id: I792c8ddd8e8b76184f566294196d089bc9d1902a
Reviewed-on: https://chromium-review.googlesource.com/223270
Reviewed-by: Brandon Jones <[email protected]>
Reviewed-by: Shannon Woods <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-11-03 15:38:12 +00:00
Cooper Partin 88d3b8cb73 Added IInspectable EGLNativeWindowType and ICoreWindow support
Change-Id: I6dd7fef72a73572d4a3deda7ce36a11da3a75c81
Reviewed-on: https://chromium-review.googlesource.com/224366
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-10-20 18:39:45 +00:00
Jamie Madill e020bed5a7 Revert "Added IInspectable EGLNativeWindowType and ICoreWindow support"
Causing regressions in the build: http://build.chromium.org/p/chromium.gpu.fyi/builders/GPU%20Mac%20Builder/builds/20182

This reverts commit 756aebfc7a.

Change-Id: I2f4bdb5aeb429c9bbc5e655a1761704f33737841
Reviewed-on: https://chromium-review.googlesource.com/224221
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2014-10-20 16:18:16 +00:00
Cooper Partin 756aebfc7a Added IInspectable EGLNativeWindowType and ICoreWindow support
Change-Id: I34e443b1e194800460e441ac6cee42cf68430564
Reviewed-on: https://chromium-review.googlesource.com/224302
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-10-20 15:58:08 +00:00
Shannon Woods 8858cf0a92 Revert "Added IInspectable EGLNativeWindowType and ICoreWindow support" due to build failures on Chromium FYI bots.
This reverts commit 406a3be91c.

Change-Id: Ica2abd2e557a4fd9852d85b7fc018e3d272b6edf
Reviewed-on: https://chromium-review.googlesource.com/224051
Reviewed-by: Shannon Woods <[email protected]>
Tested-by: Shannon Woods <[email protected]>
2014-10-17 20:53:49 +00:00
Cooper Partin 406a3be91c Added IInspectable EGLNativeWindowType and ICoreWindow support
Change-Id: I9ad82b7819bcca1c05e7aa60dc2baec4a7bc403c
Reviewed-on: https://chromium-review.googlesource.com/222360
Tested-by: Cooper Partin <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2014-10-17 20:05:34 +00:00
Cooper Partin eeb1f53793 Added SurfaceHost to enable additional hosts and abstract access for EGLNativeWindowType.
Change-Id: I590b52925c6b9127d08eaf0e5ba2a0bde30505c3
Reviewed-on: https://chromium-review.googlesource.com/219488
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-09-26 15:53:24 +00:00
Shannon Woods 70d457d8de Adds a required EGL_BAD_MATCH case to eglMakeCurrent
BUG=angle:723

Change-Id: I12bb763acc70cb0737adf460226242023357b368
Reviewed-on: https://chromium-review.googlesource.com/212701
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Shannon Woods <[email protected]>
2014-08-25 18:57:34 +00:00
Cooper Partin 40f93a244a Added check to avoid accessing possible NULL renderer pointer.
Change-Id: I38524e7d3c74656902151e004d3aa47555531fd5
Reviewed-on: https://chromium-review.googlesource.com/211203
Reviewed-by: Shannon Woods <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-08-25 14:24:06 +00:00
Geoff Lang bfdea66b45 Remove try-catch blocks from entry points.
BUG=angle:700

Change-Id: I036901c397053a75677923304d7e1ed697c82aa2
Reviewed-on: https://chromium-review.googlesource.com/209570
Reviewed-by: <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-07-24 17:58:45 +00:00
Geoff Lang 591e6afe5a Add support for ANGLE_platform_angle.
BUG=angle:490

Change-Id: If3c897a9ae3d27b96e4b9bf9475a9ac23a1090ba
Reviewed-on: https://chromium-review.googlesource.com/185396
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-07-22 19:43:10 +00:00
Ehsan Akhgari 10530c34b1 Add ANGLE_NO_EXCEPTIONS macro
This macro allows us to hide angle's usage of try/catch so that we can
properly hide them from compilers that do not support exceptions
properly (such as clang-cl and gcc/clang with -fno-exceptions).

Change-Id: I75f466a5322e5840e007711ea851f444bd6ca299
Reviewed-on: https://chromium-review.googlesource.com/206562
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2014-07-03 20:33:06 +00:00