Lines Matching refs:surfaceLevel
3129 int surfaceLevel = mipmapLevel; in applyTexture() local
3131 if(surfaceLevel < 0) in applyTexture()
3133 surfaceLevel = 0; in applyTexture()
3135 else if(surfaceLevel >= levelCount) in applyTexture()
3137 surfaceLevel = levelCount - 1; in applyTexture()
3140 egl::Image *surface = texture->getImage(surfaceLevel); in applyTexture()
3150 int surfaceLevel = mipmapLevel; in applyTexture() local
3152 if(surfaceLevel < 0) in applyTexture()
3154 surfaceLevel = 0; in applyTexture()
3156 else if(surfaceLevel >= levelCount) in applyTexture()
3158 surfaceLevel = levelCount - 1; in applyTexture()
3161 egl::Image *surface = texture->getImage(surfaceLevel); in applyTexture()
3171 int surfaceLevel = mipmapLevel; in applyTexture() local
3173 if(surfaceLevel < 0) in applyTexture()
3175 surfaceLevel = 0; in applyTexture()
3177 else if(surfaceLevel >= levelCount) in applyTexture()
3179 surfaceLevel = levelCount - 1; in applyTexture()
3182 egl::Image *surface = texture->getImage(surfaceLevel); in applyTexture()
3194 int surfaceLevel = mipmapLevel; in applyTexture() local
3196 if(surfaceLevel < 0) in applyTexture()
3198 surfaceLevel = 0; in applyTexture()
3200 else if(surfaceLevel >= levelCount) in applyTexture()
3202 surfaceLevel = levelCount - 1; in applyTexture()
3205 egl::Image *surface = cubeTexture->getImage(face, surfaceLevel); in applyTexture()