tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

SamplerD3D.h (856B)


      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:
     20    SamplerD3D(const gl::SamplerState &state) : SamplerImpl(state) {}
     21    ~SamplerD3D() override {}
     22 
     23    angle::Result syncState(const gl::Context *context, const bool dirtyBits) override;
     24 };
     25 
     26 inline 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_