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

Commit 57864a82 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: 0cc0df1e

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

Change-Id: I566712eb510cc8ee29bfcf14b6518d27729e5e49
parents fab6c766 0cc0df1e
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