Edit

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

Branch :

  • Show log

    Commit

  • Author : Corentin Wallez
    Date : 2015-09-29 13:21:27
    Hash : 25e563fe
    Message : Add -Wnon-virtual-dtor and fix a warning. BUG= Change-Id: I234e3a963e110762bac2a89d146b60f028928fb5 Reviewed-on: https://chromium-review.googlesource.com/302487 Tryjob-Request: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Corentin Wallez <cwallez@chromium.org>

  • src/libANGLE/renderer/gl/CompilerGL.h
  • //
    // Copyright 2015 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.
    //
    
    // CompilerGL.h: Defines the class interface for CompilerGL.
    
    #ifndef LIBANGLE_RENDERER_GL_COMPILERGL_H_
    #define LIBANGLE_RENDERER_GL_COMPILERGL_H_
    
    #include "libANGLE/renderer/CompilerImpl.h"
    
    namespace rx
    {
    class FunctionsGL;
    
    class CompilerGL : public CompilerImpl
    {
      public:
        CompilerGL(const FunctionsGL *functions);
        ~CompilerGL() override {}
    
        gl::Error release() override { return gl::Error(GL_NO_ERROR); }
        ShShaderOutput getTranslatorOutputType() const override { return mTranslatorOutputType; }
    
      private:
        ShShaderOutput mTranslatorOutputType;
    };
    
    }
    
    #endif // LIBANGLE_RENDERER_GL_COMPILERGL_H_