aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorChris Djali <57094650+chrisdjali-wrld3d@users.noreply.github.com>2021-09-09 22:11:10 +0100
committerGitHub <noreply@github.com>2021-09-09 14:11:10 -0700
commitd4aa0d2bfeb8c136570306968699174203896815 (patch)
tree0fe87b3dd1a7a99ede18db96414e0d35bbdbe494 /ports
parentb295670e4bab14debe88d92cd5364b21ce26232c (diff)
downloadvcpkg-d4aa0d2bfeb8c136570306968699174203896815.tar.gz
vcpkg-d4aa0d2bfeb8c136570306968699174203896815.zip
[angle] Enable ANGLE's desktop GL backend (#19891)
* Enable ANGLE's desktop GL backend Only the D3D and GLES backends were available, but getting desktop GL to work is trivial. The Vulkan backend would be a much bigger task, unfortunately. * x-add-version Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/angle/CMakeLists.txt2
-rw-r--r--ports/angle/vcpkg.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/angle/CMakeLists.txt b/ports/angle/CMakeLists.txt
index 24ab01d86..70a2e2143 100644
--- a/ports/angle/CMakeLists.txt
+++ b/ports/angle/CMakeLists.txt
@@ -362,7 +362,7 @@ if(WINDOWS_DESKTOP OR LINUX OR APPLE)
list(FILTER LIBANGLE_GL_SOURCES EXCLUDE REGEX "_unittest")
add_library(angle_renderer_opengl INTERFACE)
target_sources(angle_renderer_opengl INTERFACE "$<BUILD_INTERFACE:${LIBANGLE_GL_SOURCES}>")
- target_compile_definitions(angle_renderer_opengl INTERFACE -DANGLE_ENABLE_OPENGL)
+ target_compile_definitions(angle_renderer_opengl INTERFACE -DANGLE_ENABLE_OPENGL -DANGLE_ENABLE_OPENGL_DESKTOP)
add_library(angle::renderer::opengl ALIAS angle_renderer_opengl)
endif()
diff --git a/ports/angle/vcpkg.json b/ports/angle/vcpkg.json
index 3dc8b17df..e51cf0978 100644
--- a/ports/angle/vcpkg.json
+++ b/ports/angle/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "angle",
"version-string": "chromium_4472",
- "port-version": 1,
+ "port-version": 2,
"description": [
"A conformant OpenGL ES implementation for Windows, Mac and Linux.",
"The goal of ANGLE is to allow users of multiple operating systems to seamlessly run WebGL and other OpenGL ES content by translating OpenGL ES API calls to one of the hardware-supported APIs available for that platform. ANGLE currently provides translation from OpenGL ES 2.0 and 3.0 to desktop OpenGL, OpenGL ES, Direct3D 9, and Direct3D 11. Support for translation from OpenGL ES to Vulkan is underway, and future plans include compute shader support (ES 3.1) and MacOS support."