Edit

kc3-lang/angle/src/libGLESv2/proc_table_cl.h

Branch :

  • Show log

    Commit

  • Author : John Plate
    Date : 2021-04-28 18:26:00
    Hash : dfe208f1
    Message : Add loader for CL pass-through back end Bug: angleproject:5904 Change-Id: If4960f3150f6bbc85a30f0f6ac5c9e668e6ff756 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2864022 Commit-Queue: John Plate <jplate@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com>

  • src/libGLESv2/proc_table_cl.h
  • //
    // Copyright 2021 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    // proc_table:
    //   Mapping from a string entry point name to function address.
    //
    
    #ifndef LIBGLESV2_PROC_TABLE_CL_H_
    #define LIBGLESV2_PROC_TABLE_CL_H_
    
    #include <string>
    #include <unordered_map>
    
    namespace cl
    {
    
    using ProcTable = std::unordered_map<std::string, void *>;
    
    const ProcTable &GetProcTable();
    
    }  // namespace cl
    
    #endif  // LIBGLESV2_PROC_TABLE_CL_H_