1 // 2 // Copyright 2016 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. 5 // 6 // SamplerNULL.h: 7 // Defines the class interface for SamplerNULL, implementing SamplerImpl. 8 // 9 10 #ifndef LIBANGLE_RENDERER_NULL_SAMPLERNULL_H_ 11 #define LIBANGLE_RENDERER_NULL_SAMPLERNULL_H_ 12 13 #include "libANGLE/renderer/SamplerImpl.h" 14 15 namespace rx 16 { 17 18 class SamplerNULL : public SamplerImpl 19 { 20 public: 21 SamplerNULL(const gl::SamplerState &state); 22 ~SamplerNULL() override; 23 24 angle::Result syncState(const gl::Context *context, const bool dirty) override; 25 }; 26 27 } // namespace rx 28 29 #endif // LIBANGLE_RENDERER_NULL_SAMPLERNULL_H_ 30