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

Commit 0cc0df1e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents c8cdfef8 9592422b
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