Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • commit_id.py
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Output Swiftshader version to logcat · 9da287fd
    Tim Van Patten authored Nov 07, 2019
    This change allows for outputting the SwiftShader version to Android's
    logcat. The version information is as follows:
    
    major.minor.patch.commit_hash
    
    In logcat, when SwiftShader is loaded by ANGLE, this looks like:
    
    11-07 12:17:10.152  9110  9110 I SwiftShader: SwiftShader Version: 5.0.0.9c7bf8093a75
    11-07 12:17:10.162  9110  9110 I ANGLE   : Version (2.1.0.a2b1a958e2d8), Renderer (Vulkan 1.1.0(SwiftShader Device (0x0000C0DE)))
    
    This allows developers to verify that they are running the expecting
    build of SwiftShader when debugging problems or running conformance
    tests.
    
    The version information is logged to logcat when the build flag
    "ENABLE_BUILD_VERSION_OUTPUT" is enabled within src/Android.bp.
    
    Bug: b/142828252
    Change-Id: Iff773b16a2f3532aa843629ec50519b519bbadac
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/37990
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    9da287fd
commit_id.py 2.08 KB
EditWeb IDE
×

Replace commit_id.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.