Move sampler state setting to the Renderer
Trac #21727
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1336 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/renderer/Renderer.h b/src/libGLESv2/renderer/Renderer.h
index 70cf76f..d0eefd7 100644
--- a/src/libGLESv2/renderer/Renderer.h
+++ b/src/libGLESv2/renderer/Renderer.h
@@ -23,6 +23,8 @@
#include "common/angleutils.h"
#include "libGLESv2/renderer/ShaderCache.h"
+#include "libGLESv2/EnumTypes.h"
+#include "libGLESv2/Texture.h"
const int versionWindowsVista = MAKEWORD(0x00, 0x06);
const int versionWindows7 = MAKEWORD(0x01, 0x06);
@@ -78,6 +80,7 @@
virtual void applyRenderTargets();
virtual void applyState();
#endif
+ virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler);
// lost device
virtual void markDeviceLost();
@@ -108,7 +111,8 @@
virtual bool getDepthTextureSupport() const;
virtual bool getOcclusionQuerySupport() const;
virtual bool getInstancingSupport() const;
- virtual float getTextureFilterAnisotropySupport() const;
+ virtual bool getTextureFilterAnisotropySupport() const;
+ virtual float getTextureMaxAnisotropy() const;
virtual bool getShareHandleSupport() const;
virtual D3DPOOL getBufferPool(DWORD usage) const;
@@ -140,6 +144,7 @@
bool mSceneStarted;
bool mSupportsNonPower2Textures;
+ bool mSupportsTextureFilterAnisotropy;
// A pool of event queries that are currently unused.
std::vector<IDirect3DQuery9*> mEventQueryPool;