Hash :
04d0646c
Author :
Date :
2017-10-02T16:01:13
Support GL_NV_fence in the NULL backend. BUG=770696 Change-Id: Ice5345eddc4cec61cd5ce33a7cd5d45fa68379a5 Reviewed-on: https://chromium-review.googlesource.com/695918 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
//
// Copyright 2016 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.
//
// FenceNVNULL.cpp:
// Implements the class methods for FenceNVNULL.
//
#include "libANGLE/renderer/null/FenceNVNULL.h"
#include "common/debug.h"
namespace rx
{
FenceNVNULL::FenceNVNULL() : FenceNVImpl()
{
}
FenceNVNULL::~FenceNVNULL()
{
}
gl::Error FenceNVNULL::set(GLenum condition)
{
return gl::NoError();
}
gl::Error FenceNVNULL::test(GLboolean *outFinished)
{
*outFinished = GL_TRUE;
return gl::NoError();
}
gl::Error FenceNVNULL::finish()
{
return gl::NoError();
}
} // namespace rx