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

Commit cc12f5d8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "vulkan/opengl: rename some vars and comments" into rvc-dev am:...

Merge "vulkan/opengl: rename some vars and comments" into rvc-dev am: 0cc0df1e am: eb00380b am: 29b107d5

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11869147

Change-Id: I9c678a14c849a4d47b607a7f5110ab08ea4a72f3
parents 6363044e 29b107d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,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
@@ -22,7 +22,7 @@ import subprocess
import xml.etree.ElementTree as element_tree

# Extensions unsupported on Android.
_BLACKLISTED_EXTENSIONS = [
_BLOCKED_EXTENSIONS = [
    'VK_EXT_acquire_xlib_display',
    'VK_EXT_direct_mode_display',
    'VK_EXT_display_control',
@@ -192,7 +192,7 @@ def is_function_supported(cmd):
  if cmd not in extension_dict:
    return True
  else:
    if extension_dict[cmd] not in _BLACKLISTED_EXTENSIONS:
    if extension_dict[cmd] not in _BLOCKED_EXTENSIONS:
      return True
  return False