Home
last modified time | relevance | path

Searched refs:shaderId (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp29 GrGLuint shaderId; in GrGLCompileAndAttachShader() local
30 GR_GL_CALL_RET(gli, shaderId, CreateShader(type)); in GrGLCompileAndAttachShader()
31 if (0 == shaderId) { in GrGLCompileAndAttachShader()
39 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &sourceStr, &sourceLength)); in GrGLCompileAndAttachShader()
41 GR_GL_CALL(gli, ShaderSource(shaderId, count, strings, lengths)); in GrGLCompileAndAttachShader()
54 GR_GL_CALL(gli, CompileShader(shaderId)); in GrGLCompileAndAttachShader()
63 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_COMPILE_STATUS, &compiled)); in GrGLCompileAndAttachShader()
67 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); in GrGLCompileAndAttachShader()
73 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, &length, (char*)log.get())); in GrGLCompileAndAttachShader()
78 GR_GL_CALL(gli, DeleteShader(shaderId)); in GrGLCompileAndAttachShader()
[all …]
DGrGLProgramBuilder.cpp109 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders() local
117 if (!shaderId) { in compileAndAttachShaders()
121 *shaderIds->append() = shaderId; in compileAndAttachShaders()
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js108 function loadShader(ctx, shaderId) argument
110 var shaderScript = document.getElementById(shaderId);
112 log("*** Error: shader script '"+shaderId+"' not found");
121 log("*** Error: shader script '"+shaderId+"' of undefined type '"+shaderScript.type+"'");
139 log("*** Error compiling shader '"+shaderId+"':"+error);