X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftests.h;h=0d7e2384dcaea1bf3990048d9f396e377b1035a7;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hp=622834dcf888db6abb982abf1721a3291d8cc439;hpb=f17794d55923d4fb4f63e9d082d8d84a735a04e8;p=libs%2Fgl.git diff --git a/source/tests.h b/source/tests.h index 622834dc..0d7e2384 100644 --- a/source/tests.h +++ b/source/tests.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007, 2010 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_TESTS_H_ #define MSP_GL_TESTS_H_ @@ -15,13 +8,6 @@ Distributed under the LGPL namespace Msp { namespace GL { -enum -{ - SCISSOR_TEST = GL_SCISSOR_TEST, - ALPHA_TEST = GL_ALPHA_TEST, - DEPTH_TEST = GL_DEPTH_TEST -}; - /** Tests incoming fragment alpha values against a reference. If the test fails, the fragment is discarded. @@ -41,8 +27,6 @@ public: static void unbind(); }; -void alpha_func(Predicate func, float ref); - /** Tests incoming fragment depth values against the depth buffer. If the test @@ -54,8 +38,6 @@ private: bool write; Predicate pred; - static const DepthTest *current; - public: DepthTest(); DepthTest(Predicate, bool = true); @@ -66,8 +48,6 @@ public: static void unbind(); }; -void depth_func(Predicate func); - /** Tests fragment coordinates against a rectangle. Any fragments outside the @@ -90,8 +70,6 @@ public: static void unbind(); }; -void scissor(int left, int bottom, unsigned width, unsigned height); - } // namespace GL } // namespace Msp