remove 4x4 downsample filter mode
Review URL: http://codereview.appspot.com/6267046/
git-svn-id: http://skia.googlecode.com/svn/trunk@4149 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h
index be154b0..026a854 100644
--- a/src/gpu/gl/GrGLProgram.h
+++ b/src/gpu/gl/GrGLProgram.h
@@ -108,12 +108,6 @@
kIsEnabled_OptFlagBit = 1 << 7
};
- enum FetchMode {
- kSingle_FetchMode,
- k2x2_FetchMode,
-
- kFetchModeCnt,
- };
/**
Flags set based on a src texture's pixel config. The operations
described are performed after reading a texel.
@@ -148,7 +142,7 @@
/**
Multiply r,g,b by a after texture reads. This flag incompatible
- with kSmearAlpha and may only be used with FetchMode kSingle.
+ with kSmearAlpha.
It is assumed the src texture has 8bit color components. After
reading the texture one version rounds up to the next multiple
@@ -165,7 +159,6 @@
uint8_t fOptFlags;
uint8_t fInConfigFlags; // bitfield of InConfigFlags values
- uint8_t fFetchMode; // casts to enum FetchMode
/** Non-zero if user-supplied code will write the stage's
contribution to the fragment shader. */
@@ -250,12 +243,10 @@
struct StageUniLocations {
GrGLint fTextureMatrixUni;
- GrGLint fNormalizedTexelSizeUni;
GrGLint fSamplerUni;
GrGLint fTexDomUni;
void reset() {
fTextureMatrixUni = kUnusedUniform;
- fNormalizedTexelSizeUni = kUnusedUniform;
fSamplerUni = kUnusedUniform;
fTexDomUni = kUnusedUniform;
}