gfx/angle/src/libGLESv2/renderer/Fence9.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/angle/src/libGLESv2/renderer/Fence9.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +//
     1.5 +// Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
     1.6 +// Use of this source code is governed by a BSD-style license that can be
     1.7 +// found in the LICENSE file.
     1.8 +//
     1.9 +
    1.10 +// Fence9.h: Defines the rx::Fence9 class which implements rx::FenceImpl.
    1.11 +
    1.12 +#ifndef LIBGLESV2_RENDERER_FENCE9_H_
    1.13 +#define LIBGLESV2_RENDERER_FENCE9_H_
    1.14 +
    1.15 +#include "libGLESv2/renderer/FenceImpl.h"
    1.16 +
    1.17 +namespace rx
    1.18 +{
    1.19 +class Renderer9;
    1.20 +
    1.21 +class Fence9 : public FenceImpl
    1.22 +{
    1.23 +  public:
    1.24 +    explicit Fence9(rx::Renderer9 *renderer);
    1.25 +    virtual ~Fence9();
    1.26 +
    1.27 +    GLboolean isFence();
    1.28 +    void setFence(GLenum condition);
    1.29 +    GLboolean testFence();
    1.30 +    void finishFence();
    1.31 +    void getFenceiv(GLenum pname, GLint *params);
    1.32 +
    1.33 +  private:
    1.34 +    DISALLOW_COPY_AND_ASSIGN(Fence9);
    1.35 +
    1.36 +    rx::Renderer9 *mRenderer;
    1.37 +    IDirect3DQuery9 *mQuery;
    1.38 +};
    1.39 +
    1.40 +}
    1.41 +
    1.42 +#endif // LIBGLESV2_RENDERER_FENCE9_H_

mercurial