/frameworks/native/opengl/tests/gl2_jni/jni/ |
gl_code.cpp | 74 GLuint program = glCreateProgram(); local 75 if (program) { 76 glAttachShader(program, vertexShader); 78 glAttachShader(program, pixelShader); 80 glLinkProgram(program); 82 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 85 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 89 glGetProgramInfoLog(program, bufLength, NULL, buf); 90 ALOGE("Could not link program:\n%s\n", buf); 94 glDeleteProgram(program); [all...] |
/frameworks/native/opengl/tests/gldual/jni/ |
gl_code.cpp | 74 GLuint program = glCreateProgram(); local 75 if (program) { 76 glAttachShader(program, vertexShader); 78 glAttachShader(program, pixelShader); 80 glLinkProgram(program); 82 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 85 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 89 glGetProgramInfoLog(program, bufLength, NULL, buf); 90 ALOGE("Could not link program:\n%s\n", buf); 94 glDeleteProgram(program); [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
Renderer.cpp | 78 GLuint program = glCreateProgram(); local 79 if (program) 81 glAttachShader(program, vertexShader); 83 glAttachShader(program, pixelShader); 86 glLinkProgram(program); 88 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 90 LOGI("Program Linked!"); 95 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 101 glGetProgramInfoLog(program, bufLength, NULL, buf); 102 LOGE("Could not link program:\n%s\n", buf) [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
CCCanvasLayerImpl.cpp | 53 const CCCanvasLayerImpl::Program* program = layerRenderer()->canvasLayerProgram(); local 54 ASSERT(program && program->initialized()); 60 layerRenderer()->useShader(program->program()); 61 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0)); 64 program->vertexShader().matrixLocation(), 65 program->fragmentShader().alphaLocation());
|
CCVideoLayerImpl.cpp | 104 void CCVideoLayerImpl::drawYUV(const CCVideoLayerImpl::YUVProgram* program) const 118 layerRenderer()->useShader(program->program()); 123 GLC(context, context->uniform1f(program->vertexShader().yWidthScaleFactorLocation(), yWidthScaleFactor)); 124 GLC(context, context->uniform1f(program->vertexShader().uvWidthScaleFactorLocation(), uvWidthScaleFactor)); 126 GLC(context, context->uniform1i(program->fragmentShader().yTextureLocation(), 1)); 127 GLC(context, context->uniform1i(program->fragmentShader().uTextureLocation(), 2)); 128 GLC(context, context->uniform1i(program->fragmentShader().vTextureLocation(), 3)); 130 GLC(context, context->uniformMatrix3fv(program->fragmentShader().ccMatrixLocation(), 0, const_cast<float*>(yuv2RGB), 1)); 131 GLC(context, context->uniform3fv(program->fragmentShader().yuvAdjLocation(), const_cast<float*>(yuvAdjust), 1)) [all...] |
/cts/tests/tests/opengl/libopengltest/ |
attach_shader_five.cpp | 28 GLuint program = glCreateProgram(); local 29 glAttachShader(program, fragmentShaderOne); 30 glAttachShader(program, fragmentShaderTwo); 35 glGetAttachedShaders(program, maxCount, 43 glDeleteProgram(program);
|
attach_shader_one.cpp | 43 GLuint program = glCreateProgram(); local 45 glAttachShader(program, vertexShader); 46 glAttachShader(program, pixelShader); 52 glGetAttachedShaders(program, maxCount, 61 glDeleteProgram(program);
|
/external/javassist/sample/ |
Test.java | 6 A very simple sample program 8 This program overwrites sample/Test.class (the class file of this 10 defined in class Test, then this program adds a copy of 11 f() to the class Test with name g(). Otherwise, this program does 18 after running this program.
|
/external/llvm/utils/not/ |
not.cpp | 11 #include "llvm/Support/Program.h" 16 sys::Path Program = sys::Program::FindProgramByName(argv[1]); 19 int Result = sys::Program::ExecuteAndWait(Program, argv + 1, 0, 0, 0, 0,
|
/frameworks/base/libs/hwui/ |
ProgramCache.h | 27 #include "Program.h" 38 * Generates and caches program. Programs are generated based on 46 Program* get(const ProgramDescription& description); 51 Program* generateProgram(const ProgramDescription& description, programid key); 59 KeyedVector<programid, Program*> mCache;
|
/external/ceres-solver/internal/ceres/ |
solver_impl.h | 47 class Program; 57 // Create the transformed Program, which has all the fixed blocks 59 // ordering, has the E blocks first in the resulting program, with 64 static Program* CreateReducedProgram(Solver::Options* options, 77 // Reorder the parameter blocks in program using the ordering. A 82 Program* program, 86 // Reorder the residuals for program, if necessary, so that the 92 Program* program, [all...] |
/external/bison/build-aux/ |
Makefile.am | 3 # This program is free software: you can redistribute it and/or modify 8 # This program is distributed in the hope that it will be useful, 14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
/external/bison/data/ |
c-skel.m4 | 7 # This program is free software: you can redistribute it and/or modify 12 # This program is distributed in the hope that it will be useful, 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
/external/bison/etc/ |
Makefile.am | 3 # This program is free software: you can redistribute it and/or modify 8 # This program is distributed in the hope that it will be useful, 14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
/external/bison/examples/ |
Makefile.am | 4 # This program is free software: you can redistribute it and/or modify 9 # This program is distributed in the hope that it will be useful, 15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
/external/bison/lib/ |
bitsetv-print.h | 7 This program is free software: you can redistribute it and/or modify 12 This program is distributed in the hope that it will be useful, 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
exitfail.c | 5 This program is free software: you can redistribute it and/or modify 10 This program is distributed in the hope that it will be useful, 16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
exitfail.h | 5 This program is free software: you can redistribute it and/or modify 10 This program is distributed in the hope that it will be useful, 16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
fpending.h | 6 This program is free software: you can redistribute it and/or modify 11 This program is distributed in the hope that it will be useful, 17 along with this program. If not, see <http://www.gnu.org/licenses/>.
|
get-errno.h | 5 This program is free software: you can redistribute it and/or modify 10 This program is distributed in the hope that it will be useful, 16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
getline.c | 4 This program is free software; you can redistribute it and/or 9 This program is distributed in the hope that it will be useful, but 15 along with this program; if not, see <http://www.gnu.org/licenses/>. */
|
isnand.c | 4 This program is free software: you can redistribute it and/or modify 9 This program is distributed in the hope that it will be useful, 15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
isnanf.c | 4 This program is free software: you can redistribute it and/or modify 9 This program is distributed in the hope that it will be useful, 15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
isnanl.c | 4 This program is free software: you can redistribute it and/or modify 9 This program is distributed in the hope that it will be useful, 15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
iswblank.c | 4 This program is free software; you can redistribute it and/or modify 9 This program is distributed in the hope that it will be useful, 15 with this program; if not, see <http://www.gnu.org/licenses/>. */
|