Edit

kc3-lang/angle/src/libANGLE/renderer/gl/renderergl_utils.h

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2015-05-21 08:17:18
    Hash : 8c5aeb6c
    Message : Add some string helper classes. *re-land with build fix for Clang* These helper functions mirror some utilities in Chrome, for splitting strings along whitespace, or reading file contents into a string. Also remove the hack for skipping the doubly-defined GLX header. BUG=angleproject:892,angleproject:998 Change-Id: Ife43fbf5035a3be7820460bea1b26d0e632a4fb0 Reviewed-on: https://chromium-review.googlesource.com/272518 Tested-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>

  • src/libANGLE/renderer/gl/renderergl_utils.h
  • //
    // Copyright (c) 2012-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.
    //
    
    // renderergl_utils.h: Conversion functions and other utility routines
    // specific to the OpenGL renderer.
    
    #ifndef LIBANGLE_RENDERER_GL_RENDERERGLUTILS_H_
    #define LIBANGLE_RENDERER_GL_RENDERERGLUTILS_H_
    
    #include "libANGLE/renderer/gl/functionsgl_typedefs.h"
    
    #include <string>
    #include <vector>
    
    namespace gl
    {
    struct Caps;
    class TextureCapsMap;
    struct Extensions;
    }
    
    namespace rx
    {
    class FunctionsGL;
    
    namespace nativegl_gl
    {
    
    void GenerateCaps(const FunctionsGL *functions, gl::Caps *caps, gl::TextureCapsMap *textureCapsMap,
                      gl::Extensions *extensions);
    }
    
    }
    
    #endif // LIBANGLE_RENDERER_GL_RENDERERGLUTILS_H_