Home
last modified time | relevance | path

Searched refs:program (Results 1 – 25 of 1137) sorted by relevance

12345678910>>...46

/external/mesa3d/src/pixelflinger2/
Dshader.cpp206 gl_shader_program * program = hieralloc_zero(NULL, struct gl_shader_program); in GGLShaderProgramCreate() local
207 if (!program) in GGLShaderProgramCreate()
209 program->Attributes = hieralloc_zero(program, gl_program_parameter_list); in GGLShaderProgramCreate()
210 if (!program->Attributes) { in GGLShaderProgramCreate()
211 hieralloc_free(program); in GGLShaderProgramCreate()
214 program->Varying = hieralloc_zero(program, gl_program_parameter_list); in GGLShaderProgramCreate()
215 if (!program->Varying) { in GGLShaderProgramCreate()
216 hieralloc_free(program); in GGLShaderProgramCreate()
219 return program; in GGLShaderProgramCreate()
225 gl_shader_program * program = GGLShaderProgramCreate(); in ShaderProgramCreate() local
[all …]
/external/llvm/utils/
Dcheck-each-file9 program=$2
10 linker=./link-$program
11 echo "Building $program with llvm-native-gcc"
12 rm -f $program
13 gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx
14 echo "Erasing $program and re-linking it"
15 rm -f $program
16 echo "rm -f $program" > $linker
17 gmake -n $program >> $linker
23 echo "$program appears to need a dummy __main function; adding one"
[all …]
/external/webkit/Source/WebCore/platform/graphics/chromium/
DShaderChromium.cpp45 bool VertexShaderPosTex::init(GraphicsContext3D* context, unsigned program) in init() argument
47 m_matrixLocation = context->getUniformLocation(program, "matrix"); in init()
73 bool VertexShaderPosTexYUVStretch::init(GraphicsContext3D* context, unsigned program) in init() argument
75 m_matrixLocation = context->getUniformLocation(program, "matrix"); in init()
76 m_yWidthScaleFactorLocation = context->getUniformLocation(program, "y_widthScaleFactor"); in init()
77 m_uvWidthScaleFactorLocation = context->getUniformLocation(program, "uv_widthScaleFactor"); in init()
106 bool VertexShaderPos::init(GraphicsContext3D* context, unsigned program) in init() argument
108 m_matrixLocation = context->getUniformLocation(program, "matrix"); in init()
130 bool VertexShaderPosTexTransform::init(GraphicsContext3D* context, unsigned program) in init() argument
132 m_matrixLocation = context->getUniformLocation(program, "matrix"); in init()
[all …]
DShaderChromium.h45 bool init(GraphicsContext3D*, unsigned program);
58 bool init(GraphicsContext3D*, unsigned program);
75 bool init(GraphicsContext3D*, unsigned program);
88 bool init(GraphicsContext3D*, unsigned program);
103 bool init(GraphicsContext3D*, unsigned program);
132 bool init(GraphicsContext3D*, unsigned program);
154 bool init(GraphicsContext3D*, unsigned program);
177 bool init(GraphicsContext3D*, unsigned program);
DRenderSurfaceChromium.cpp107 const RenderSurfaceChromium::Program* program = layerRenderer()->renderSurfaceProgram(); in drawSurface() local
109 ASSERT(program && program->initialized()); in drawSurface()
114 layerRenderer()->useShader(maskProgram->program()); in drawSurface()
129 layerRenderer()->useShader(program->program()); in drawSurface()
131 GLC(context3D, context3D->uniform1i(program->fragmentShader().samplerLocation(), 0)); in drawSurface()
132 shaderMatrixLocation = program->vertexShader().matrixLocation(); in drawSurface()
133 shaderAlphaLocation = program->fragmentShader().alphaLocation(); in drawSurface()
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCVideoLayerImpl.cpp104 void CCVideoLayerImpl::drawYUV(const CCVideoLayerImpl::YUVProgram* program) const in drawYUV()
118 layerRenderer()->useShader(program->program()); in drawYUV()
123 …GLC(context, context->uniform1f(program->vertexShader().yWidthScaleFactorLocation(), yWidthScaleFa… in drawYUV()
124 …GLC(context, context->uniform1f(program->vertexShader().uvWidthScaleFactorLocation(), uvWidthScale… in drawYUV()
126 GLC(context, context->uniform1i(program->fragmentShader().yTextureLocation(), 1)); in drawYUV()
127 GLC(context, context->uniform1i(program->fragmentShader().uTextureLocation(), 2)); in drawYUV()
128 GLC(context, context->uniform1i(program->fragmentShader().vTextureLocation(), 3)); in drawYUV()
130 …GLC(context, context->uniformMatrix3fv(program->fragmentShader().ccMatrixLocation(), 0, const_cast… in drawYUV()
131 …GLC(context, context->uniform3fv(program->fragmentShader().yuvAdjLocation(), const_cast<float*>(yu… in drawYUV()
135 program->vertexShader().matrixLocation(), in drawYUV()
[all …]
DCCCanvasLayerImpl.cpp53 const CCCanvasLayerImpl::Program* program = layerRenderer()->canvasLayerProgram(); in draw() local
54 ASSERT(program && program->initialized()); in draw()
60 layerRenderer()->useShader(program->program()); in draw()
61 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0)); in draw()
64 program->vertexShader().matrixLocation(), in draw()
65 program->fragmentShader().alphaLocation()); in draw()
DCCPluginLayerImpl.cpp52 const CCPluginLayerImpl::Program* program = layerRenderer()->pluginLayerProgram(); in draw() local
53 ASSERT(program && program->initialized()); in draw()
65 layerRenderer()->useShader(program->program()); in draw()
66 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0)); in draw()
69 program->vertexShader().matrixLocation(), in draw()
70 program->fragmentShader().alphaLocation()); in draw()
/external/mesa3d/include/pixelflinger2/
Dpixelflinger2_interface.h237 void (* ShaderAttach)(const GGLInterface_t * iface, gl_shader_program_t * program,
241 void (* ShaderDetach)(const GGLInterface_t * iface, gl_shader_program_t * program,
245 GLboolean (* ShaderProgramLink)(gl_shader_program_t * program, const char ** infoLog);
247 void (* ShaderProgramDelete)(GGLInterface_t * iface, gl_shader_program_t * program);
250 void (* ShaderUse)(GGLInterface_t * iface, gl_shader_program_t * program);
256 …void (* ShaderProgramGetiv)(const gl_shader_program_t * program, const GLenum pname, GLint * param…
258 …void (* ShaderProgramGetInfoLog)(const gl_shader_program_t * program, GLsizei bufsize, GLsizei* le…
261 void (* ShaderAttributeBind)(const gl_shader_program_t * program,
263 GLint (* ShaderAttributeLocation)(const gl_shader_program_t * program,
266 GLint (* ShaderVaryingLocation)(const gl_shader_program_t * program,
[all …]
/external/webkit/Source/WebCore/platform/graphics/gpu/
DBicubicShader.cpp41 BicubicShader::BicubicShader(GraphicsContext3D* context, unsigned program) in BicubicShader() argument
42 : Shader(context, program) in BicubicShader()
43 , m_matrixLocation(context->getUniformLocation(program, "matrix")) in BicubicShader()
44 , m_texMatrixLocation(context->getUniformLocation(program, "texMatrix")) in BicubicShader()
45 , m_coefficientsLocation(context->getUniformLocation(program, "coefficients")) in BicubicShader()
46 , m_imageIncrementLocation(context->getUniformLocation(program, "imageIncrement")) in BicubicShader()
47 , m_imageLocation(context->getUniformLocation(program, "image")) in BicubicShader()
48 , m_alphaLocation(context->getUniformLocation(program, "alpha")) in BicubicShader()
49 , m_positionLocation(context->getAttribLocation(program, "position")) in BicubicShader()
105 unsigned program = loadProgram(context, vertexShaderSource, fragmentShaderSource); in create() local
[all …]
DConvolutionShader.cpp42 ConvolutionShader::ConvolutionShader(GraphicsContext3D* context, unsigned program, int kernelWidth) in ConvolutionShader() argument
43 : Shader(context, program) in ConvolutionShader()
45 , m_matrixLocation(context->getUniformLocation(program, "matrix")) in ConvolutionShader()
46 , m_texMatrixLocation(context->getUniformLocation(program, "texMatrix")) in ConvolutionShader()
47 , m_kernelLocation(context->getUniformLocation(program, "kernel")) in ConvolutionShader()
48 , m_imageLocation(context->getUniformLocation(program, "image")) in ConvolutionShader()
49 , m_imageIncrementLocation(context->getUniformLocation(program, "imageIncrement")) in ConvolutionShader()
50 , m_positionLocation(context->getAttribLocation(program, "position")) in ConvolutionShader()
93 unsigned program = loadProgram(context, vertexShaderSource, fragmentShaderSource); in create() local
94 if (!program) in create()
[all …]
DTexShader.cpp41 TexShader::TexShader(GraphicsContext3D* context, unsigned program) in TexShader() argument
42 : Shader(context, program) in TexShader()
44 m_matrixLocation = context->getUniformLocation(program, "matrix"); in TexShader()
45 m_texMatrixLocation = context->getUniformLocation(program, "texMatrix"); in TexShader()
46 m_alphaLocation = context->getUniformLocation(program, "globalAlpha"); in TexShader()
47 m_positionLocation = context->getAttribLocation(program, "position"); in TexShader()
48 m_samplerLocation = context->getUniformLocation(program, "sampler"); in TexShader()
53 unsigned program = loadProgram(context, in create() local
56 if (!program) in create()
58 return new TexShader(context, program); in create()
DSolidFillShader.cpp42 SolidFillShader::SolidFillShader(GraphicsContext3D* context, unsigned program) in SolidFillShader() argument
43 : Shader(context, program) in SolidFillShader()
45 m_matrixLocation = context->getUniformLocation(program, "matrix"); in SolidFillShader()
46 m_colorLocation = context->getUniformLocation(program, "color"); in SolidFillShader()
47 m_positionLocation = context->getAttribLocation(program, "position"); in SolidFillShader()
52 unsigned program = loadProgram(context, in create() local
55 if (!program) in create()
57 return new SolidFillShader(context, program); in create()
DShader.cpp109 unsigned program = context->createProgram(); in loadProgram() local
110 if (!program) in loadProgram()
112 context->attachShader(program, vertexShader); in loadProgram()
113 context->attachShader(program, fragmentShader); in loadProgram()
114 context->linkProgram(program); in loadProgram()
116 context->getProgramiv(program, GraphicsContext3D::LINK_STATUS, &linkStatus); in loadProgram()
118 context->deleteProgram(program); in loadProgram()
121 return program; in loadProgram()
124 Shader::Shader(GraphicsContext3D* context, unsigned program) in Shader() argument
126 , m_program(program) in Shader()
DLoopBlinnSolidFillShader.cpp40 unsigned program = loadProgram(context, in create() local
43 if (!program) in create()
45 return new LoopBlinnSolidFillShader(context, program); in create()
48 LoopBlinnSolidFillShader::LoopBlinnSolidFillShader(GraphicsContext3D* context, unsigned program) in LoopBlinnSolidFillShader() argument
49 : LoopBlinnShader(context, program) in LoopBlinnSolidFillShader()
51 m_colorLocation = context->getUniformLocation(program, "color"); in LoopBlinnSolidFillShader()
DLoopBlinnShader.cpp34 LoopBlinnShader::LoopBlinnShader(GraphicsContext3D* context, unsigned program) in LoopBlinnShader() argument
35 : Shader(context, program) in LoopBlinnShader()
37 m_worldViewProjectionLocation = context->getUniformLocation(program, "worldViewProjection"); in LoopBlinnShader()
38 m_positionLocation = context->getAttribLocation(program, "position"); in LoopBlinnShader()
39 m_klmLocation = context->getAttribLocation(program, "klm"); in LoopBlinnShader()
/external/grub/docs/
Dhelp2man170 (my $program = $ARGV[0]) =~ s!.*/!!;
171 my $package = $program;
200 $program = $1;
206 $program = $2;
215 $program =~ s!.*/!!;
218 $opt_no_info = 1 if $program eq 'info';
221 $include{NAME} = "$program \\- $opt_name\n" if $opt_name;
224 $include{NAME} ||= "$program \\- manual page for $program $version\n";
227 my $PROGRAM = uc $program;
457 .B $program
[all …]
/external/expat/conftools/
DPrintPath91 for program in $programs
95 if [ $test_exec_flag $path/${program}${ext} ] && \
96 [ ! -d $path/${program}${ext} ]; then
98 echo $path/${program}${ext}
105 if [ $test_exec_flag $path/${program} ] && \
106 [ ! -d $path/${program} ]; then
108 echo $path/${program}
/external/elfutils/tests/
Dtest-subr.sh88 program="$1"
90 case "$program" in
98 program=${bindir}/`program_transform ${program##*/}`
103 $program ${1+"$@"}
105 $program ${1+"$@"}
/external/webkit/Source/WebCore/html/canvas/
DWebGLUniformLocation.cpp35 PassRefPtr<WebGLUniformLocation> WebGLUniformLocation::create(WebGLProgram* program, GC3Dint locati… in create() argument
37 return adoptRef(new WebGLUniformLocation(program, location)); in create()
40 WebGLUniformLocation::WebGLUniformLocation(WebGLProgram* program, GC3Dint location) in WebGLUniformLocation() argument
41 : m_program(program) in WebGLUniformLocation()
48 WebGLProgram* WebGLUniformLocation::program() const in program() function in WebCore::WebGLUniformLocation
/external/webkit/Source/JavaScriptCore/qt/api/
Dqscriptengine_p.cpp51 QScriptSyntaxCheckResultPrivate* QScriptEnginePrivate::checkSyntax(const QString& program) in checkSyntax() argument
54 JSStringRef source = QScriptConverter::toString(program); in checkSyntax()
68 QScriptValuePrivate* QScriptEnginePrivate::evaluate(const QString& program, const QString& fileName… in evaluate() argument
70 JSStringRef script = QScriptConverter::toString(program); in evaluate()
82 QScriptValuePrivate* QScriptEnginePrivate::evaluate(const QScriptProgramPrivate* program) in evaluate() argument
84 if (program->isNull()) in evaluate()
86 return new QScriptValuePrivate(this, evaluate(*program, program->file(), program->line())); in evaluate()
/external/bison/djgpp/
Dsubpipe.c172 char *program; in end_of_output_subpipe() local
179 program = strrchr(arguments[0], '/'); in end_of_output_subpipe()
180 if (program) in end_of_output_subpipe()
181 program++; in end_of_output_subpipe()
183 program = arguments[0]; in end_of_output_subpipe()
220 status = spawnvp(P_WAIT, program, arguments); in end_of_output_subpipe()
226 error(EXIT_FAILURE, 0, _("subsidiary program `%s' interrupted"), program); in end_of_output_subpipe()
236 : "subsidiary program `%s' failed (status=%i, errno=%i)"), program, status, errno); in end_of_output_subpipe()
269 reap_subpipe(pid_t pid, char const *program) in reap_subpipe() argument
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/slider/
Dslider.edc174 program {
180 program {
187 program {
193 program {
202 program {
210 program {
218 program {
226 program {
234 program {
242 program {
[all …]
/external/webkit/Source/WebCore/platform/graphics/opengl/
DGraphicsContext3DOpenGL.cpp353 void GraphicsContext3D::attachShader(Platform3DObject program, Platform3DObject shader) in attachShader() argument
355 ASSERT(program); in attachShader()
358 ::glAttachShader(program, shader); in attachShader()
361 void GraphicsContext3D::bindAttribLocation(Platform3DObject program, GC3Duint index, const String& … in bindAttribLocation() argument
363 ASSERT(program); in bindAttribLocation()
365 ::glBindAttribLocation(program, index, name.utf8().data()); in bindAttribLocation()
593 void GraphicsContext3D::detachShader(Platform3DObject program, Platform3DObject shader) in detachShader() argument
595 ASSERT(program); in detachShader()
598 ::glDetachShader(program, shader); in detachShader()
673 bool GraphicsContext3D::getActiveAttrib(Platform3DObject program, GC3Duint index, ActiveInfo& info) in getActiveAttrib() argument
[all …]
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptengine/
Dtst_qscriptengine.cpp280 QScriptProgram program(code, fileName, lineNumber); in evaluateProgram() local
281 QVERIFY(!program.isNull()); in evaluateProgram()
282 QCOMPARE(program.sourceCode(), code); in evaluateProgram()
283 QCOMPARE(program.fileName(), fileName); in evaluateProgram()
284 QCOMPARE(program.firstLineNumber(), lineNumber); in evaluateProgram()
288 QScriptValue ret = eng.evaluate(program); in evaluateProgram()
293 QScriptProgram sameProgram = program; in evaluateProgram()
294 QVERIFY(sameProgram == program); in evaluateProgram()
298 QScriptProgram sameProgram2(program); in evaluateProgram()
299 QVERIFY(sameProgram2 == program); in evaluateProgram()
[all …]

12345678910>>...46