Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e04d7e58 authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

vulkan/opengl: rename some vars and comments

Fixes: 159027425
Test: ./vulkan/scripts/code_generator.py and build
Change-Id: I23524a0c65d0c7c31e4dc3859ce7b979f9093553
Merged-In: I23524a0c65d0c7c31e4dc3859ce7b979f9093553
parent e65d87a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ char const * const gBuiltinExtensionString =
        "EGL_EXT_surface_CTA861_3_metadata "
        ;

// Whitelist of extensions exposed to applications if implemented in the vendor driver.
// Allowed list of extensions exposed to applications if implemented in the vendor driver.
char const * const gExtensionString  =
        "EGL_KHR_image "                        // mandatory
        "EGL_KHR_image_base "                   // mandatory
+2 −2
Original line number Diff line number Diff line
@@ -1137,7 +1137,7 @@ VK_KHR_bind_memory2
  {{if not (GetAnnotation $ "pfn")}}
    {{$ext := GetAnnotation $ "extension"}}
    {{if not $ext}}true
    {{else if not (Macro "IsExtensionBlacklisted" $ext)}}true
    {{else if not (Macro "IsExtensionBlocked" $ext)}}true
    {{end}}
  {{end}}
{{end}}
@@ -1168,7 +1168,7 @@ VK_KHR_bind_memory2
  Emit "true" if an extension is unsupportable on Android.
------------------------------------------------------------------------------
*/}}
{{define "IsExtensionBlacklisted"}}
{{define "IsExtensionBlocked"}}
  {{$ext := index $.Arguments 0}}
  {{     if eq $ext "VK_KHR_display"}}true
  {{else if eq $ext "VK_KHR_display_swapchain"}}true