Home
last modified time | relevance | path

Searched refs:newTexParams (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLGpu.cpp2955 GrGLTexture::TexParams newTexParams; in bindTexture() local
2975 newTexParams.fMinFilter = glMinFilterModes[filterMode]; in bindTexture()
2976 newTexParams.fMagFilter = glMagFilterModes[filterMode]; in bindTexture()
2979 newTexParams.fSRGBDecode = allowSRGBInputs ? GR_GL_DECODE_EXT : GR_GL_SKIP_DECODE_EXT; in bindTexture()
2980 if (setAll || newTexParams.fSRGBDecode != oldTexParams.fSRGBDecode) { in bindTexture()
2982 GL_CALL(TexParameteri(target, GR_GL_TEXTURE_SRGB_DECODE_EXT, newTexParams.fSRGBDecode)); in bindTexture()
2999 newTexParams.fMaxMipMapLevel = texture->texturePriv().maxMipMapLevel(); in bindTexture()
3001 newTexParams.fWrapS = tile_to_gl_wrap(params.getTileModeX()); in bindTexture()
3002 newTexParams.fWrapT = tile_to_gl_wrap(params.getTileModeY()); in bindTexture()
3003 get_tex_param_swizzle(texture->config(), this->glCaps(), newTexParams.fSwizzleRGBA); in bindTexture()
[all …]