Lines Matching refs:programId
120 GLhandleARB programId;
440 DWORD *tex_unit_map, GLhandleARB programId)
448 name_loc = GL_EXTCALL(glGetUniformLocationARB(programId, sampler_name));
465 DWORD *tex_unit_map, GLhandleARB programId)
473 name_loc = GL_EXTCALL(glGetUniformLocationARB(programId, sampler_name));
696 GLhandleARB programId, const BOOL *constants, WORD constants_set)
736 tmp_loc = GL_EXTCALL(glGetUniformLocationARB(programId, tmp_name));
755 tmp_loc = GL_EXTCALL(glGetUniformLocationARB(programId, tmp_name));
857 GLhandleARB programId;
866 programId = prog->programId;
881 shader_glsl_load_constantsB(vshader, gl_info, programId, stateBlock->vertexShaderConstantB,
902 shader_glsl_load_constantsB(pshader, gl_info, programId, stateBlock->pixelShaderConstantB,
3914 TRACE("deleting program %p\n", (void *)(uintptr_t)entry->programId);
3915 GL_EXTCALL(glDeleteObjectARB(entry->programId));
3920 WARN("Attempting to delete program %p created in ctx %p from ctx %p\n", (void *)(uintptr_t)entry->programId, entry->context, context_get_current());
4266 GLhandleARB programId, char prefix)
4276 tmp_loc = GL_EXTCALL(glGetUniformLocationARB(programId, glsl_name));
4618 * It sets the programId on the current StateBlock (because it should be called
4635 GLhandleARB programId = 0;
4652 programId = GL_EXTCALL(glCreateProgramObjectARB());
4653 TRACE("Created new GLSL shader program %p\n", (void *)(uintptr_t)programId);
4658 entry->programId = programId;
4680 TRACE("Attaching GLSL shader object %p to program %p\n", (void *)(uintptr_t)reorder_shader_id, (void *)(uintptr_t)programId);
4681 GL_EXTCALL(glAttachObjectARB(programId, reorder_shader_id));
4688 TRACE("Attaching GLSL shader object %p to program %p\n", (void *)(uintptr_t)vshader_id, (void *)(uintptr_t)programId);
4689 GL_EXTCALL(glAttachObjectARB(programId, vshader_id));
4706 GL_EXTCALL(glBindAttribLocationARB(programId, i, tmp_name));
4720 TRACE("Attaching GLSL shader object %p to program %p\n", (void *)(uintptr_t)pshader_id, (void *)(uintptr_t)programId);
4721 GL_EXTCALL(glAttachObjectARB(programId, pshader_id));
4728 TRACE("Linking GLSL shader program %p\n", (void *)(uintptr_t)programId);
4729 GL_EXTCALL(glLinkProgramARB(programId));
4730 shader_glsl_validate_compile_link(gl_info, programId, TRUE);
4737 entry->vuniformF_locations[i] = GL_EXTCALL(glGetUniformLocationARB(programId, glsl_name));
4742 entry->vuniformI_locations[i] = GL_EXTCALL(glGetUniformLocationARB(programId, glsl_name));
4749 entry->puniformF_locations[i] = GL_EXTCALL(glGetUniformLocationARB(programId, glsl_name));
4754 entry->puniformI_locations[i] = GL_EXTCALL(glGetUniformLocationARB(programId, glsl_name));
4762 entry->bumpenvmat_location[i] = GL_EXTCALL(glGetUniformLocationARB(programId, name));
4764 entry->luminancescale_location[i] = GL_EXTCALL(glGetUniformLocationARB(programId, name));
4766 entry->luminanceoffset_location[i] = GL_EXTCALL(glGetUniformLocationARB(programId, name));
4771 entry->np2Fixup_location = GL_EXTCALL(glGetUniformLocationARB(programId, "PsamplerNP2Fixup"));
4778 entry->posFixup_location = GL_EXTCALL(glGetUniformLocationARB(programId, "posFixup"));
4779 entry->ycorrection_location = GL_EXTCALL(glGetUniformLocationARB(programId, "ycorrection"));
4786 TRACE("Shader %p needs vertex color clamping disabled\n", (void *)(uintptr_t)programId);
4793 GL_EXTCALL(glUseProgramObjectARB(programId));
4794 checkGLcall("glUseProgramObjectARB(programId)");
4800 Assert(programIdTest == programId);
4812 if (vshader) shader_glsl_load_vsamplers(gl_info, device->texUnitMap, programId);
4813 if (pshader) shader_glsl_load_psamplers(gl_info, device->texUnitMap, programId);
4821 hardcode_local_constants((IWineD3DBaseShaderImpl *) pshader, gl_info, programId, 'P');
4825 hardcode_local_constants((IWineD3DBaseShaderImpl *) vshader, gl_info, programId, 'V');
4935 program_id = priv->glsl_program ? priv->glsl_program->programId : 0;
4995 program_id = priv->glsl_program ? priv->glsl_program->programId : 0;