2 // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 // Fence9.h: Defines the rx::Fence9 class which implements rx::FenceImpl.
9 #ifndef LIBGLESV2_RENDERER_FENCE9_H_
10 #define LIBGLESV2_RENDERER_FENCE9_H_
12 #include "libGLESv2/renderer/FenceImpl.h"
18 class Fence9 : public FenceImpl
21 explicit Fence9(rx::Renderer9 *renderer);
26 bool test(bool flushCommandBuffer);
27 bool hasError() const;
30 DISALLOW_COPY_AND_ASSIGN(Fence9);
32 rx::Renderer9 *mRenderer;
33 IDirect3DQuery9 *mQuery;
38 #endif // LIBGLESV2_RENDERER_FENCE9_H_