• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2021 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // angle_version_info.cpp: ANGLE version queries.
7 
8 #include "common/angle_version.h"
9 
10 namespace angle
11 {
GetANGLERevision()12 int GetANGLERevision()
13 {
14     return ANGLE_REVISION;
15 }
16 
GetANGLEVersionString()17 const char *GetANGLEVersionString()
18 {
19     return ANGLE_VERSION_STRING;
20 }
21 
GetANGLECommitHash()22 const char *GetANGLECommitHash()
23 {
24     return ANGLE_COMMIT_HASH;
25 }
26 
GetANGLECommitHashSize()27 int GetANGLECommitHashSize()
28 {
29     return ANGLE_COMMIT_HASH_SIZE;
30 }
31 }  // namespace angle
32