/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_wm.c | 38 #include "program/prog_parameter.h" 97 /* Augment fragment program. Add instructions for pre- and 98 * post-fragment-program tasks such as interpolation and fogging. 196 bool uses_depth = (c->fp->program.Base.InputsRead & 246 if (c->fp->program.Base.OutputsWritten & 257 * All Mesa program -> GPU code generation goes through this function. 268 const GLuint *program; local 302 &fp->program); 337 /* get the program 339 program = brw_get_program(&c->func, &program_size) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
es_generator.py | 120 # Get the name of the program (without the directory part) for use in 122 program = os.path.basename(sys.argv[0]) variable 135 sys.stderr.write("%s: %s. Use -h for help.\n" % (program, message)) 140 sys.stderr.write("Usage: %s [-%s]\n" % (program, options)) 158 sys.stderr.write("%s: only switch arguments are supported - use -h for help\n" % program) 163 sys.stderr.write("%s: version '%s' is not valid - use -h for help\n" % (program, version)) 187 """ % (program, functionList, version, time.strftime("%Y-%m-%d %H:%M:%S")) 227 if verbose > 0: sys.stderr.write("%s: processing function %s\n" % (program, funcName)) 463 sys.stderr.write("%s: can't find dependent param '%s' for function '%s'\n" % (program, dependentParamName, funcName)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_program.c | 40 #include "program/prog_instruction.h" 41 #include "program/prog_statevars.h" 42 #include "program/prog_execute.h" 62 * Private storage for the vertex program pipeline stage. 65 /** The results of running the vertex program go into these arrays. */ 209 * Called via ctx->Driver.ProgramStringNotify() after a new vertex program 213 _tnl_program_string(struct gl_context *ctx, GLenum target, struct gl_program *program) 216 * If we had derived anything from the program that was private to this 224 * Initialize virtual machine state prior to executing vertex program. 270 * Map the texture images which the vertex program will access (if any) 316 struct gl_vertex_program *program = ctx->VertexProgram._Current; local [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGpuGL_program.cpp | 18 "Display program cache usage."); 65 SkDebugf("--- Program Cache ---\n"); 129 GrGLProgram* program = GrGLProgram::Create(fGpu, desc, colorStages, coverageStages); local 130 if (NULL == program) { 153 entry->fProgram.reset(program); 252 SkDEBUGFAIL("Failed to create program!");
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 39 GrProgramObj *program = GR_FIND(programID, GrProgramObj, local 41 GrAlwaysAssert(program); 48 program->AttachShader(shader); 54 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindAttribLocation(GrGLuint program, 195 GrProgramObj *program = GR_FIND(programID, local 199 GrDebugGL::getInstance()->useProgram(program); 464 GrProgramObj *program = GR_CREATE(GrProgramObj, local 467 return program->getID(); 483 GrProgramObj *program = GR_FIND(programID, local 486 GrAlwaysAssert(program); [all...] |
/external/deqp/execserver/tools/ |
xsClient.cpp | 2 * drawElements Quality Program Execution Server 140 std::string program; member in class:xs::CommandLine 185 msg.name = m_cmdLine.program; 294 printf(" --program=[program] Test program\n"); 295 printf(" --params=[params] Test program params\n"); 319 else if (deStringBeginsWith(arg, "--program=")) 320 cmdLine.program = parseString(arg+10);
|
/external/deqp/executor/ |
xeTestLogWriter.cpp | 2 * drawElements Quality Program Test Executor 321 const ri::ShaderProgram& program = static_cast<const ri::ShaderProgram&>(item); local 323 << Writer::Attribute("LinkStatus", getStatusName(program.linkStatus)); 325 writeResultItem(program.linkInfoLog, dst); 327 for (int ndx = 0; ndx < program.shaders.getNumItems(); ndx++) 328 writeResultItem(program.shaders.getItem(ndx), dst);
|
/external/deqp/modules/egl/ |
teglNativeColorMappingTests.cpp | 2 * drawElements Quality Program EGL Module 99 deUint32 program = 0; local 112 program = gl.createProgram(); 116 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program"); 154 gl.attachShader(program, vertexShader); 155 gl.attachShader(program, fragmentShader); 156 gl.linkProgram(program); 157 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup program"); 162 gl.getProgramiv(program, GL_LINK_STATUS, &linkStatus); 163 gl.getProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength) 322 deUint32 program = 0; local 364 deUint32 program = 0; local 404 deUint32 program = 0; local [all...] |
teglSwapBuffersTests.cpp | 2 * drawElements Quality Program EGL Module 134 deUint32 program = 0; local 147 program = gl.createProgram(); 151 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program"); 189 gl.attachShader(program, vertexShader); 190 gl.attachShader(program, fragmentShader); 191 gl.linkProgram(program); 192 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup program"); 197 gl.getProgramiv(program, GL_LINK_STATUS, &linkStatus); 198 gl.getProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength) 293 deUint32 program = 0; local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fComputeShaderBuiltinVarTests.cpp | 2 * drawElements Quality Program OpenGL ES 3.1 Module 164 ShaderProgramSp program(new ShaderProgram(m_context.getRenderContext(), 168 m_testCtx.getLog() << *program; 169 if (!program->isOk()) 172 m_progMap[localSize] = program; 173 return program->getProgram(); 210 const deUint32 program = getProgram(subCase.localSize); local 216 const deUint32 outVarIndex = gl.getProgramResourceIndex(program, GL_BUFFER_VARIABLE, "Output.result"); 217 const InterfaceVariableInfo outVarInfo = getProgramInterfaceVariableInfo(gl, program, GL_BUFFER_VARIABLE, outVarIndex); 231 gl.useProgram(program); [all...] |
es31fFboNoAttachmentTests.cpp | 2 * drawElements Quality Program OpenGL ES 3.1 Module 86 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); 92 if (!program.isOk()) 93 log << program; local 95 TCU_CHECK(program.isOk()); 97 gl.useProgram(program.getProgram()); 191 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); 194 if (!program.isOk()) 195 log << program; local 197 TCU_CHECK(program.isOk()) [all...] |
es31fShaderSharedVarTests.cpp | 2 * drawElements Quality Program OpenGL ES 3.1 Module 177 const deUint32 program = m_program->getProgram(); local 179 const deUint32 outBlockNdx = gl.getProgramResourceIndex(program, GL_SHADER_STORAGE_BLOCK, "Result"); 180 const InterfaceBlockInfo outBlockInfo = getProgramInterfaceBlockInfo(gl, program, GL_SHADER_STORAGE_BLOCK, outBlockNdx); 182 gl.useProgram(program); 187 const int valLoc = gl.getUniformLocation(program, "u_val[0]"); 188 const int refLoc = gl.getUniformLocation(program, "u_ref[0]"); 189 const int iterCountLoc = gl.getUniformLocation(program, "u_numIters"); 316 const InterfaceVariableInfo outVarInfo = getProgramInterfaceVariableInfo(gl, program, GL_BUFFER_VARIABLE, outBlockInfo.activeVariables[0]);
|
/external/mesa3d/src/gallium/tests/trivial/ |
quad-tex.c | 63 struct program struct 89 static void init_prog(struct program *p) 282 static void close_prog(struct program *p) 307 static void draw(struct program *p) 348 struct program *p = CALLOC_STRUCT(program);
|
tri.c | 61 struct program struct 84 static void init_prog(struct program *p) 223 static void close_prog(struct program *p) 243 static void draw(struct program *p) 277 struct program *p = CALLOC_STRUCT(program);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm.c | 38 #include "program/prog_parameter.h" 97 /* Augment fragment program. Add instructions for pre- and 98 * post-fragment-program tasks such as interpolation and fogging. 196 bool uses_depth = (c->fp->program.Base.InputsRead & 246 if (c->fp->program.Base.OutputsWritten & 257 * All Mesa program -> GPU code generation goes through this function. 268 const GLuint *program; local 302 &fp->program); 337 /* get the program 339 program = brw_get_program(&c->func, &program_size) [all...] |
/external/mesa3d/src/mesa/main/ |
es_generator.py | 120 # Get the name of the program (without the directory part) for use in 122 program = os.path.basename(sys.argv[0]) variable 135 sys.stderr.write("%s: %s. Use -h for help.\n" % (program, message)) 140 sys.stderr.write("Usage: %s [-%s]\n" % (program, options)) 158 sys.stderr.write("%s: only switch arguments are supported - use -h for help\n" % program) 163 sys.stderr.write("%s: version '%s' is not valid - use -h for help\n" % (program, version)) 187 """ % (program, functionList, version, time.strftime("%Y-%m-%d %H:%M:%S")) 227 if verbose > 0: sys.stderr.write("%s: processing function %s\n" % (program, funcName)) 463 sys.stderr.write("%s: can't find dependent param '%s' for function '%s'\n" % (program, dependentParamName, funcName)) [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_program.c | 40 #include "program/prog_instruction.h" 41 #include "program/prog_statevars.h" 42 #include "program/prog_execute.h" 62 * Private storage for the vertex program pipeline stage. 65 /** The results of running the vertex program go into these arrays. */ 209 * Called via ctx->Driver.ProgramStringNotify() after a new vertex program 213 _tnl_program_string(struct gl_context *ctx, GLenum target, struct gl_program *program) 216 * If we had derived anything from the program that was private to this 224 * Initialize virtual machine state prior to executing vertex program. 270 * Map the texture images which the vertex program will access (if any) 316 struct gl_vertex_program *program = ctx->VertexProgram._Current; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
SDL_ps3video.h | 77 spe_program_handle_t program; member in struct:spu_data
|
/external/skia/src/gpu/gl/ |
GrGpuGL_program.cpp | 18 "Display program cache usage."); 65 SkDebugf("--- Program Cache ---\n"); 129 GrGLProgram* program = GrGLProgram::Create(fGpu, desc, colorStages, coverageStages); local 130 if (NULL == program) { 153 entry->fProgram.reset(program); 252 SkDEBUGFAIL("Failed to create program!");
|
/external/skia/src/gpu/gl/debug/ |
GrGLCreateDebugInterface.cpp | 39 GrProgramObj *program = GR_FIND(programID, GrProgramObj, local 41 GrAlwaysAssert(program); 48 program->AttachShader(shader); 54 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindAttribLocation(GrGLuint program, 195 GrProgramObj *program = GR_FIND(programID, local 199 GrDebugGL::getInstance()->useProgram(program); 464 GrProgramObj *program = GR_CREATE(GrProgramObj, local 467 return program->getID(); 483 GrProgramObj *program = GR_FIND(programID, local 486 GrAlwaysAssert(program); [all...] |
/frameworks/base/libs/hwui/ |
SkiaShader.cpp | 193 Program* program = caches->currentProgram; local 194 glUniform1i(program->getUniform("bitmapSampler"), textureSlot); 195 glUniformMatrix4fv(program->getUniform("textureTransform"), 1, 197 glUniform2f(program->getUniform("textureDimension"), 1.0f / width, 1.0f / height); 279 Program* program = caches->currentProgram; local 292 glUniform1i(program->getUniform("bitmapSampler"), textureSlot); 293 glUniformMatrix4fv(program->getUniform("textureTransform"), 1, 295 glUniform2f(program->getUniform("textureDimension"), 1.0f / shaderInfo.width 383 Program* program = caches->currentProgram; local [all...] |
/frameworks/native/cmds/flatland/ |
GLHelper.cpp | 376 GLuint program = glCreateProgram(); local 377 if (program == 0) { 382 glAttachShader(program, vs); 383 glAttachShader(program, fs); 384 glLinkProgram(program); 386 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 389 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 393 glGetProgramInfoLog(program, bufLength, NULL, buf); 394 fprintf(stderr, "Program link log:\n%s\n", buf); 398 glDeleteProgram(program); [all...] |
/frameworks/native/opengl/tests/gl2_basic/ |
gl2_basic.cpp | 113 GLuint program = glCreateProgram(); local 114 if (program) { 115 glAttachShader(program, vertexShader); 117 glAttachShader(program, pixelShader); 119 glLinkProgram(program); 121 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 124 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 128 glGetProgramInfoLog(program, bufLength, NULL, buf); 129 fprintf(stderr, "Could not link program:\n%s\n", buf); 133 glDeleteProgram(program); [all...] |
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
gl2_copyTexImage.cpp | 113 GLuint program = glCreateProgram(); local 114 if (program) { 115 glAttachShader(program, vertexShader); 117 glAttachShader(program, pixelShader); 119 glLinkProgram(program); 121 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 124 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 128 glGetProgramInfoLog(program, bufLength, NULL, buf); 129 fprintf(stderr, "Could not link program:\n%s\n", buf); 133 glDeleteProgram(program); [all...] |
/frameworks/native/opengl/tests/gl_perf/ |
fill_common.cpp | 76 GLuint program = glCreateProgram(); local 77 if (program) { 78 glAttachShader(program, vertexShader); 80 glAttachShader(program, pixelShader); 83 glBindAttribLocation(program, A_POS, "a_pos"); 84 glBindAttribLocation(program, A_COLOR, "a_color"); 85 glBindAttribLocation(program, A_TEX0, "a_tex0"); 86 glBindAttribLocation(program, A_TEX1, "a_tex1"); 87 glLinkProgram(program); 89 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus) [all...] |