Move sampler state structure to angle types header.

TRAC #22251 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Geoff Lang/Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1662 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 5cdd0586
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "libGLESv2/renderer/TextureStorage.h" #include "libGLESv2/renderer/TextureStorage.h"
#include "libGLESv2/Renderbuffer.h" #include "libGLESv2/Renderbuffer.h"
#include "libGLESv2/utilities.h" #include "libGLESv2/utilities.h"
#include "libGLESv2/angletypes.h"
namespace egl namespace egl
{ {
...@@ -48,16 +49,6 @@ enum ...@@ -48,16 +49,6 @@ enum
IMPLEMENTATION_MAX_TEXTURE_LEVELS = 15 // 1+log2 of MAX_TEXTURE_SIZE IMPLEMENTATION_MAX_TEXTURE_LEVELS = 15 // 1+log2 of MAX_TEXTURE_SIZE
}; };
struct SamplerState
{
GLenum minFilter;
GLenum magFilter;
GLenum wrapS;
GLenum wrapT;
float maxAnisotropy;
int lodOffset;
};
class Texture : public RefCountObject class Texture : public RefCountObject
{ {
public: public:
......
...@@ -98,6 +98,16 @@ struct DepthStencilState ...@@ -98,6 +98,16 @@ struct DepthStencilState
GLuint stencilBackWritemask; GLuint stencilBackWritemask;
}; };
struct SamplerState
{
GLenum minFilter;
GLenum magFilter;
GLenum wrapS;
GLenum wrapT;
float maxAnisotropy;
int lodOffset;
};
struct ClearParameters struct ClearParameters
{ {
GLbitfield mask; GLbitfield mask;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment