1 // 2 // Copyright 2014 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 7 // SamplerD3D.h: Defines the rx::SamplerD3D class, an implementation of SamplerImpl. 8 9 #ifndef LIBANGLE_RENDERER_D3D_SAMPLERD3D_H_ 10 #define LIBANGLE_RENDERER_D3D_SAMPLERD3D_H_ 11 12 #include "libANGLE/renderer/SamplerImpl.h" 13 14 namespace rx 15 { 16 17 class SamplerD3D : public SamplerImpl 18 { 19 public: SamplerD3D(const gl::SamplerState & state)20 SamplerD3D(const gl::SamplerState &state) : SamplerImpl(state) {} ~SamplerD3D()21 ~SamplerD3D() override {} 22 23 angle::Result syncState(const gl::Context *context, const bool dirtyBits) override; 24 }; 25 syncState(const gl::Context * context,const bool dirtyBits)26inline angle::Result SamplerD3D::syncState(const gl::Context *context, const bool dirtyBits) 27 { 28 return angle::Result::Continue; 29 } 30 31 } // namespace rx 32 33 #endif // LIBANGLE_RENDERER_D3D_SAMPLERD3D_H_ 34