Lines Matching refs:ATIFragmentShader
123 ctx->ATIFragmentShader.Enabled = GL_FALSE; in _mesa_init_program()
124 ctx->ATIFragmentShader.Current = ctx->Shared->DefaultFragmentShader; in _mesa_init_program()
125 assert(ctx->ATIFragmentShader.Current); in _mesa_init_program()
126 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_init_program()
151 if (ctx->ATIFragmentShader.Current) { in _mesa_free_program_data()
152 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_free_program_data()
153 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_free_program_data()
154 free(ctx->ATIFragmentShader.Current); in _mesa_free_program_data()
189 if (ctx->ATIFragmentShader.Current) { in _mesa_update_default_objects_program()
190 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_update_default_objects_program()
191 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_update_default_objects_program()
192 free(ctx->ATIFragmentShader.Current); in _mesa_update_default_objects_program()
195 …ctx->ATIFragmentShader.Current = (struct ati_fragment_shader *) ctx->Shared->DefaultFragmentShader; in _mesa_update_default_objects_program()
196 assert(ctx->ATIFragmentShader.Current); in _mesa_update_default_objects_program()
197 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_update_default_objects_program()