Edit

kc3-lang/angle/src/libANGLE/Data.cpp

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2015-09-29 15:08:34
    Hash : f0aa8429
    Message : Implement QueryGL. Passes all tests in: * dEQP-GLES3.functional.occlusion_query * angle_end2end_tests BUG=angleproject:887 Change-Id: I643ab4c28cb545de9e7b0e1740e3fd8e2aa9d3d9 Reviewed-on: https://chromium-review.googlesource.com/302338 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tryjob-Request: Geoff Lang <geofflang@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>

  • src/libANGLE/Data.cpp
  • //
    // 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.
    //
    
    // Data.cpp: Container class for all GL relevant state, caps and objects
    
    #include "libANGLE/Data.h"
    #include "libANGLE/ResourceManager.h"
    
    namespace gl
    {
    
    Data::Data(uintptr_t contextIn,
               GLint clientVersionIn,
               const State &stateIn,
               const Caps &capsIn,
               const TextureCapsMap &textureCapsIn,
               const Extensions &extensionsIn,
               const ResourceManager *resourceManagerIn)
        : context(contextIn),
          clientVersion(clientVersionIn),
          state(&stateIn),
          caps(&capsIn),
          textureCaps(&textureCapsIn),
          extensions(&extensionsIn),
          resourceManager(resourceManagerIn)
    {}
    
    Data::~Data()
    {
    }
    
    }