Lines Matching refs:state
245 void bindSampler(int unitIdx, GrSamplerState state) {
246 int index = state.asIndex();
254 GrGLenum minFilter = filter_to_gl_min_filter(state.filter(), state.mipmapMode());
255 GrGLenum magFilter = filter_to_gl_mag_filter(state.filter());
256 GrGLenum wrapX = wrap_mode_to_gl_wrap(state.wrapModeX(), fGpu->glCaps());
257 GrGLenum wrapY = wrap_mode_to_gl_wrap(state.wrapModeY(), fGpu->glCaps());
509 // Desktop-only state that we never change
550 // Restore GL_MULTISAMPLE to its initial state. It being enabled has no effect on draws
1338 GrGLTextureParameters::SamplerOverriddenState state;
1339 state.fMinFilter = GR_GL_NEAREST;
1340 state.fMagFilter = GR_GL_NEAREST;
1341 state.fWrapS = GR_GL_CLAMP_TO_EDGE;
1342 state.fWrapT = GR_GL_CLAMP_TO_EDGE;
1343 GR_GL_CALL(interface, TexParameteri(target, GR_GL_TEXTURE_MAG_FILTER, state.fMagFilter));
1344 GR_GL_CALL(interface, TexParameteri(target, GR_GL_TEXTURE_MIN_FILTER, state.fMinFilter));
1345 GR_GL_CALL(interface, TexParameteri(target, GR_GL_TEXTURE_WRAP_S, state.fWrapS));
1346 GR_GL_CALL(interface, TexParameteri(target, GR_GL_TEXTURE_WRAP_T, state.fWrapT));
1347 return state;
1915 // to be msaa-resolved (which will modify bound FBO state).
1952 // Index buffer state is tied to the vertex array.
2298 // The driver forgets the correct scissor state when using FBO 0.
2549 // We need to work around a driver bug by using a blend state that preserves the dst color,
2584 // reset our gl state and thus we will have forgotten if the previous use was a coeff
2613 // Advanced equations have no other blend state.
3008 // We're relying on the GL state shadowing being correct in the workaround code below so we
3530 // Set "simple" state once: