Lines Matching refs:ATIFragmentShader
105 ctx->ATIFragmentShader.Enabled = GL_FALSE; in _mesa_init_program()
106 ctx->ATIFragmentShader.Current = ctx->Shared->DefaultFragmentShader; in _mesa_init_program()
107 assert(ctx->ATIFragmentShader.Current); in _mesa_init_program()
108 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_init_program()
124 if (ctx->ATIFragmentShader.Current) { in _mesa_free_program_data()
125 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_free_program_data()
126 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_free_program_data()
127 free(ctx->ATIFragmentShader.Current); in _mesa_free_program_data()
152 if (ctx->ATIFragmentShader.Current) { in _mesa_update_default_objects_program()
153 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_update_default_objects_program()
154 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_update_default_objects_program()
155 free(ctx->ATIFragmentShader.Current); in _mesa_update_default_objects_program()
158 …ctx->ATIFragmentShader.Current = (struct ati_fragment_shader *) ctx->Shared->DefaultFragmentShader; in _mesa_update_default_objects_program()
159 assert(ctx->ATIFragmentShader.Current); in _mesa_update_default_objects_program()
160 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_update_default_objects_program()