Lines Matching refs:newTexParams
2207 GrGLTexture::TexParams newTexParams; in bindTexture() local
2227 newTexParams.fMinFilter = glMinFilterModes[filterMode]; in bindTexture()
2228 newTexParams.fMagFilter = glMagFilterModes[filterMode]; in bindTexture()
2236 newTexParams.fWrapS = tile_to_gl_wrap(params.getTileModeX()); in bindTexture()
2237 newTexParams.fWrapT = tile_to_gl_wrap(params.getTileModeY()); in bindTexture()
2238 memcpy(newTexParams.fSwizzleRGBA, in bindTexture()
2240 sizeof(newTexParams.fSwizzleRGBA)); in bindTexture()
2241 if (setAll || newTexParams.fMagFilter != oldTexParams.fMagFilter) { in bindTexture()
2245 newTexParams.fMagFilter)); in bindTexture()
2247 if (setAll || newTexParams.fMinFilter != oldTexParams.fMinFilter) { in bindTexture()
2251 newTexParams.fMinFilter)); in bindTexture()
2253 if (setAll || newTexParams.fWrapS != oldTexParams.fWrapS) { in bindTexture()
2257 newTexParams.fWrapS)); in bindTexture()
2259 if (setAll || newTexParams.fWrapT != oldTexParams.fWrapT) { in bindTexture()
2263 newTexParams.fWrapT)); in bindTexture()
2266 (setAll || memcmp(newTexParams.fSwizzleRGBA, in bindTexture()
2268 sizeof(newTexParams.fSwizzleRGBA)))) { in bindTexture()
2272 const GrGLenum* swizzle = newTexParams.fSwizzleRGBA; in bindTexture()
2278 GR_STATIC_ASSERT(sizeof(newTexParams.fSwizzleRGBA[0]) == sizeof(GrGLint)); in bindTexture()
2279 const GrGLint* swizzle = reinterpret_cast<const GrGLint*>(newTexParams.fSwizzleRGBA); in bindTexture()
2283 texture->setCachedTexParams(newTexParams, this->getResetTimestamp()); in bindTexture()