]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/tests.h
Redesign depth and stencil test and blend state management
[libs/gl.git] / source / core / tests.h
index f7d729504a37f34b477a635675197f4166c29791..7e38e81e41a0c956f36da24578d998f94d215fd6 100644 (file)
@@ -8,27 +8,6 @@
 namespace Msp {
 namespace GL {
 
 namespace Msp {
 namespace GL {
 
-/**
-Tests incoming fragment depth values against the depth buffer.  If the test
-fails, the fragment is discarded.
-*/
-class DepthTest: public Bindable<DepthTest>
-{
-private:
-       bool write;
-       Predicate pred;
-
-public:
-       DepthTest();
-       DepthTest(Predicate, bool = true);
-
-       void bind() const;
-
-       static const DepthTest &lequal();
-       static void unbind();
-};
-
-
 /**
 Tests fragment coordinates against a rectangle.  Any fragments outside the
 rectangle are discarded.
 /**
 Tests fragment coordinates against a rectangle.  Any fragments outside the
 rectangle are discarded.