Home
last modified time | relevance | path

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

/external/skqp/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp123 GrGLuint shaderId; in GrGLCompileAndAttachShader() local
124 GR_GL_CALL_RET(gli, shaderId, CreateShader(type)); in GrGLCompileAndAttachShader()
125 if (0 == shaderId) { in GrGLCompileAndAttachShader()
128 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &glsl, &glslLength)); in GrGLCompileAndAttachShader()
131 GR_GL_CALL(gli, CompileShader(shaderId)); in GrGLCompileAndAttachShader()
140 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_COMPILE_STATUS, &compiled)); in GrGLCompileAndAttachShader()
146 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); in GrGLCompileAndAttachShader()
152 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, &length, (char*)log.get())); in GrGLCompileAndAttachShader()
160 GR_GL_CALL(gli, DeleteShader(shaderId)); in GrGLCompileAndAttachShader()
174 GR_GL_CALL(gli, AttachShader(programId, shaderId)); in GrGLCompileAndAttachShader()
[all …]
DGrGLProgramBuilder.cpp92 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders() local
99 if (!shaderId) { in compileAndAttachShaders()
103 *shaderIds->append() = shaderId; in compileAndAttachShaders()
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp123 GrGLuint shaderId; in GrGLCompileAndAttachShader() local
124 GR_GL_CALL_RET(gli, shaderId, CreateShader(type)); in GrGLCompileAndAttachShader()
125 if (0 == shaderId) { in GrGLCompileAndAttachShader()
128 GR_GL_CALL(gli, ShaderSource(shaderId, 1, &glsl, &glslLength)); in GrGLCompileAndAttachShader()
131 GR_GL_CALL(gli, CompileShader(shaderId)); in GrGLCompileAndAttachShader()
140 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_COMPILE_STATUS, &compiled)); in GrGLCompileAndAttachShader()
146 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); in GrGLCompileAndAttachShader()
152 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, &length, (char*)log.get())); in GrGLCompileAndAttachShader()
160 GR_GL_CALL(gli, DeleteShader(shaderId)); in GrGLCompileAndAttachShader()
174 GR_GL_CALL(gli, AttachShader(programId, shaderId)); in GrGLCompileAndAttachShader()
[all …]
DGrGLProgramBuilder.cpp92 GrGLuint shaderId = GrGLCompileAndAttachShader(gpu->glContext(), in compileAndAttachShaders() local
99 if (!shaderId) { in compileAndAttachShaders()
103 *shaderIds->append() = shaderId; in compileAndAttachShaders()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_gs.c140 SVGA3dShaderId shaderId = SVGA3D_INVALID_ID; in svga_reemit_gs_bindings() local
150 shaderId = svga->state.hw_draw.gs->id; in svga_reemit_gs_bindings()
160 gbshader, shaderId); in svga_reemit_gs_bindings()
Dsvga_cmd_vgpu10.c236 SVGA3dShaderId shaderId) in SVGA3D_vgpu10_SetShader() argument
245 swc->shader_relocation(swc, &cmd->shaderId, NULL, NULL, gbshader, 0); in SVGA3D_vgpu10_SetShader()
248 cmd->shaderId = shaderId; in SVGA3D_vgpu10_SetShader()
1055 SVGA3dShaderId shaderId, in SVGA3D_vgpu10_DefineAndBindShader() argument
1074 dcmd->shaderId = shaderId; in SVGA3D_vgpu10_DefineAndBindShader()
1089 bcmd->shid = shaderId; in SVGA3D_vgpu10_DefineAndBindShader()
1097 SVGA3dShaderId shaderId) in SVGA3D_vgpu10_DestroyShader() argument
1101 cmd->shaderId = shaderId; in SVGA3D_vgpu10_DestroyShader()
Dsvga_state_vs.c214 SVGA3dShaderId shaderId = SVGA3D_INVALID_ID; in svga_reemit_vs_bindings() local
221 shaderId = svga->state.hw_draw.vs->id; in svga_reemit_vs_bindings()
232 gbshader, shaderId); in svga_reemit_vs_bindings()
Dsvga_cmd.h360 SVGA3dShaderId shaderId);
606 SVGA3dShaderId shaderId);
611 SVGA3dShaderId shaderId,
Dsvga_winsys.h426 uint32 shaderId,
/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);
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h239 SVGA3dShaderId shaderId; member
1271 SVGA3dShaderId shaderId; member
1293 SVGA3dShaderId shaderId; member
1506 uint32 shaderId; member
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_context.c721 uint32 shaderId, in vmw_svga_winsys_vgpu10_shader_create() argument
735 shader->shid = shaderId; in vmw_svga_winsys_vgpu10_shader_create()
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c1506 SVGA3D_DUMP_PARAMETER(shaderId, u); in SVGA3D_DUMP_HEADER()
1891 SVGA3D_DUMP_PARAMETER(shaderId, u); in SVGA3D_DUMP_HEADER()
1898 SVGA3D_DUMP_PARAMETER(shaderId, u); in SVGA3D_DUMP_HEADER()