Edit

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

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2018-04-11 01:42:27
    Hash : 75359664
    Message : Implement EGL_KHR_debug. BUG=angleproject:1618 Change-Id: I790944b49badc910b6c72266469fcb8e86ac4252 Reviewed-on: https://chromium-review.googlesource.com/1019387 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>

  • src/libGLESv2/global_state.h
  • //
    // Copyright(c) 2014 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.
    //
    
    // global_state.h : Defines functions for querying the thread-local GL and EGL state.
    
    #ifndef LIBGLESV2_GLOBALSTATE_H_
    #define LIBGLESV2_GLOBALSTATE_H_
    
    namespace gl
    {
    class Context;
    
    Context *GetGlobalContext();
    Context *GetValidGlobalContext();
    
    }  // namespace gl
    
    namespace egl
    {
    class Debug;
    class Thread;
    
    Thread *GetCurrentThread();
    Debug *GetDebug();
    
    }  // namespace egl
    
    #endif  // LIBGLESV2_GLOBALSTATE_H_