Home | History | Annotate | Download | only in pixelflinger2

Lines Matching full:shaderkey

96 struct ShaderKey {
104 bool operator <(const ShaderKey & rhs) const {
123 std::map<ShaderKey, Instance *> instances;
191 for (std::map<ShaderKey, Instance *>::iterator it=shader->executable->instances.begin();
285 static void GetShaderKey(const GGLState * ctx, const gl_shader * shader, ShaderKey * key)
317 static void GetShaderKeyString(const GLenum type, const ShaderKey * key,
339 static const unsigned SCANLINE_KEY_STRING_LEN = 2 * sizeof(ShaderKey::ScanLineKey) + 3 + SHADER_KEY_STRING_LEN;
341 static char * GetScanlineKeyString(const ShaderKey * key, char * buffer,
433 shader->executable->instances = std::map<ShaderKey, Instance *>();
436 ShaderKey shaderKey;
437 GetShaderKey(gglState, shader, &shaderKey);
438 Instance * instance = shader->executable->instances[shaderKey];
445 GetShaderKeyString(shader->Type, &shaderKey, shaderName, sizeof shaderName / sizeof *shaderName);
520 GetScanlineKeyString(&shaderKey, scanlineName, sizeof scanlineName / sizeof *scanlineName);
527 shader->executable->instances[shaderKey] = instance;