Home
last modified time | relevance | path

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

12

/development/samples/HelloEffects/src/com/example/android/mediafx/
DGLToolbox.java52 int program = GLES20.glCreateProgram(); in createProgram() local
53 if (program != 0) { in createProgram()
54 GLES20.glAttachShader(program, vertexShader); in createProgram()
56 GLES20.glAttachShader(program, pixelShader); in createProgram()
58 GLES20.glLinkProgram(program); in createProgram()
60 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, in createProgram()
63 String info = GLES20.glGetProgramInfoLog(program); in createProgram()
64 GLES20.glDeleteProgram(program); in createProgram()
65 program = 0; in createProgram()
69 return program; in createProgram()
/development/tools/emulator/opengl/shared/OpenglCodecCommon/
DGLSharedGroup.h119 bool isProgram(GLuint program);
120 bool isProgramInitialized(GLuint program);
121 void addProgramData(GLuint program);
122 void initProgramData(GLuint program, GLuint numIndexes);
123 void attachShader(GLuint program, GLuint shader);
124 void detachShader(GLuint program, GLuint shader);
125 void deleteProgramData(GLuint program);
126 …void setProgramIndexInfo(GLuint program, GLuint index, GLint base, GLint size, GLenum type, con…
127 GLenum getProgramUniformType(GLuint program, GLint location);
128 void setupLocationShiftWAR(GLuint program);
[all …]
DGLSharedGroup.cpp266 void GLSharedGroup::addProgramData(GLuint program) in addProgramData() argument
269 ProgramData *pData = m_programs.valueFor(program); in addProgramData()
272 m_programs.removeItem(program); in addProgramData()
276 m_programs.add(program,new ProgramData()); in addProgramData()
279 void GLSharedGroup::initProgramData(GLuint program, GLuint numIndexes) in initProgramData() argument
282 ProgramData *pData = m_programs.valueFor(program); in initProgramData()
289 bool GLSharedGroup::isProgramInitialized(GLuint program) in isProgramInitialized() argument
292 ProgramData* pData = m_programs.valueFor(program); in isProgramInitialized()
300 void GLSharedGroup::deleteProgramData(GLuint program) in deleteProgramData() argument
303 ProgramData *pData = m_programs.valueFor(program); in deleteProgramData()
[all …]
DGLClientState.h127 void setCurrentProgram(GLint program) { m_currentProgram = program; } in setCurrentProgram() argument
/development/ndk/platforms/android-5/samples/hello-gl2/jni/
Dgl_code.cpp94 GLuint program = glCreateProgram(); in createProgram() local
95 if (program) { in createProgram()
96 glAttachShader(program, vertexShader); in createProgram()
98 glAttachShader(program, pixelShader); in createProgram()
100 glLinkProgram(program); in createProgram()
102 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in createProgram()
105 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
109 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
114 glDeleteProgram(program); in createProgram()
115 program = 0; in createProgram()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DGLES20TriangleRenderer.java185 int program = GLES20.glCreateProgram(); in createProgram() local
186 if (program != 0) { in createProgram()
187 GLES20.glAttachShader(program, vertexShader); in createProgram()
189 GLES20.glAttachShader(program, pixelShader); in createProgram()
191 GLES20.glLinkProgram(program); in createProgram()
193 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in createProgram()
196 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram()
197 GLES20.glDeleteProgram(program); in createProgram()
198 program = 0; in createProgram()
201 return program; in createProgram()
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
DGLES20TriangleRenderer.java183 int program = GLES20.glCreateProgram(); in createProgram() local
184 if (program != 0) { in createProgram()
185 GLES20.glAttachShader(program, vertexShader); in createProgram()
187 GLES20.glAttachShader(program, pixelShader); in createProgram()
189 GLES20.glLinkProgram(program); in createProgram()
191 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in createProgram()
194 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram()
195 GLES20.glDeleteProgram(program); in createProgram()
196 program = 0; in createProgram()
199 return program; in createProgram()
/development/ndk/platforms/android-3/include/linux/sunrpc/
Dstats.h18 struct rpc_program * program; member
32 struct svc_program * program; member
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java250 int program = GLES20.glCreateProgram(); in createProgram() local
251 if (program != 0) { in createProgram()
252 GLES20.glAttachShader(program, vertexShader); in createProgram()
254 GLES20.glAttachShader(program, pixelShader); in createProgram()
256 GLES20.glLinkProgram(program); in createProgram()
258 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in createProgram()
261 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram()
262 GLES20.glDeleteProgram(program); in createProgram()
263 program = 0; in createProgram()
266 return program; in createProgram()
/development/tools/emulator/opengl/system/GLESv2_enc/
DGL2Encoder.cpp665 void GL2Encoder::s_glLinkProgram(void * self, GLuint program) in s_glLinkProgram() argument
668 ctx->m_glLinkProgram_enc(self, program); in s_glLinkProgram()
671 ctx->glGetProgramiv(self,program,GL_LINK_STATUS,&linkStatus); in s_glLinkProgram()
677 ctx->glGetProgramiv(self, program, GL_ACTIVE_UNIFORMS, &numUniforms); in s_glLinkProgram()
678 ctx->m_shared->initProgramData(program,numUniforms); in s_glLinkProgram()
682 ctx->glGetProgramiv(self, program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLength); in s_glLinkProgram()
691 ctx->glGetActiveUniform(self, program, i, maxLength, NULL, &size, &type, name); in s_glLinkProgram()
692 location = ctx->m_glGetUniformLocation_enc(self, program, name); in s_glLinkProgram()
693 ctx->m_shared->setProgramIndexInfo(program, i, location, size, type, name); in s_glLinkProgram()
695 ctx->m_shared->setupLocationShiftWAR(program); in s_glLinkProgram()
[all …]
Dgl2_entry.cpp10 void glAttachShader(GLuint program, GLuint shader);
11 void glBindAttribLocation(GLuint program, GLuint index, const GLchar* name);
39 void glDeleteProgram(GLuint program);
46 void glDetachShader(GLuint program, GLuint shader);
63 …void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size…
64 …void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* siz…
65 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
66 int glGetAttribLocation(GLuint program, const GLchar* name);
73 void glGetProgramiv(GLuint program, GLenum pname, GLint* params);
74 void glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
[all …]
DGL2EncoderUtils.cpp34 GLenum uniformType(void * self, GLuint program, GLint location) in uniformType() argument
38 return ctx->shared()->getProgramUniformType(program, location); in uniformType()
DGL2Encoder.h125 static void s_glLinkProgram(void *self, GLuint program);
128 static void s_glDeleteProgram(void * self, GLuint program);
131 static void s_glGetUniformiv(void *self, GLuint program, GLint location , GLint *params);
134 static void s_glGetUniformfv(void *self, GLuint program, GLint location , GLfloat *params);
146 static void s_glAttachShader(void *self, GLuint program, GLuint shader);
149 static void s_glDetachShader(void *self, GLuint program, GLuint shader);
152 static int s_glGetUniformLocation(void *self, GLuint program, const GLchar *name);
175 static void s_glUseProgram(void *self, GLuint program);
Dgl2_enc.h26 void glAttachShader_enc(void *self , GLuint program, GLuint shader);
27 void glBindAttribLocation_enc(void *self , GLuint program, GLuint index, const GLchar* name);
55 void glDeleteProgram_enc(void *self , GLuint program);
62 void glDetachShader_enc(void *self , GLuint program, GLuint shader);
79 …void glGetActiveAttrib_enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* le…
80 …void glGetActiveUniform_enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* l…
81 …void glGetAttachedShaders_enc(void *self , GLuint program, GLsizei maxcount, GLsizei* count, GLuin…
82 int glGetAttribLocation_enc(void *self , GLuint program, const GLchar* name);
89 void glGetProgramiv_enc(void *self , GLuint program, GLenum pname, GLint* params);
90 …void glGetProgramInfoLog_enc(void *self , GLuint program, GLsizei bufsize, GLsizei* length, GLchar…
[all …]
DGL2EncoderUtils.h22 GLenum uniformType(void * self, GLuint program, GLint location);
Dgl2_enc.cpp32 void glAttachShader_enc(void *self , GLuint program, GLuint shader) in glAttachShader_enc() argument
44 memcpy(ptr, &program, 4); ptr += 4; in glAttachShader_enc()
48 void glBindAttribLocation_enc(void *self , GLuint program, GLuint index, const GLchar* name) in glBindAttribLocation_enc() argument
61 memcpy(ptr, &program, 4); ptr += 4; in glBindAttribLocation_enc()
555 void glDeleteProgram_enc(void *self , GLuint program) in glDeleteProgram_enc() argument
567 memcpy(ptr, &program, 4); ptr += 4; in glDeleteProgram_enc()
667 void glDetachShader_enc(void *self , GLuint program, GLuint shader) in glDetachShader_enc() argument
679 memcpy(ptr, &program, 4); ptr += 4; in glDetachShader_enc()
927 void glGetActiveAttrib_enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* len… in glGetActiveAttrib_enc() argument
943 memcpy(ptr, &program, 4); ptr += 4; in glGetActiveAttrib_enc()
[all …]
/development/samples/USB/MissileLauncher/
DREADME.txt1 MissileLauncher is a simple program that controls Dream Cheeky USB missile launchers.
6 This program serves as an example of the following USB host features:
/development/samples/USB/AdbTest/
DREADME.txt1 AdbTest is a sample program that implements a subset of the adb USB protocol.
7 This program serves as an example of the following USB host features:
/development/ndk/platforms/android-5/include/GLES2/
Dgl2.h475 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader);
476 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLcha…
504 GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program);
511 GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader);
528 GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsiz…
529 GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsi…
530 GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei…
531 GL_APICALL int GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name);
538 GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params);
539 GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* …
[all …]
Dgl2ext.h438 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length…
439 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *…
441 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei …
442 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const G…
782 GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
783 GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLc…
787 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
788 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shaderty…
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dlicense-LGPL.txt60 any free program. We wish to make sure that a company cannot
61 effectively restrict the users of a free program by obtaining a
73 When a program is linked with a library, whether statically or using
105 users' freedom, it does ensure that the user of a program that is
107 that program using a modified version of the Library.
119 program which contains a notice placed by the copyright holder or
144 running a program using the Library is not restricted, and output from
145 such a program is covered only if its contents constitute a work based
148 and what the program that uses the Library does.
176 table of data to be supplied by an application program that uses
[all …]
/development/ndk/platforms/
DREADME.CRT.TXT115 unloaded (i.e. either through 'dlclose' or at program exit).
127 The Posix standard doesn't mandate the program behaviour's when a shared
132 the program will crash when it calls exit() or returns from main().
/development/ndk/platforms/android-4/include/GLES/
Dglext.h979 GL_API GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
980 GL_API void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar …
984 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
985 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shaderty…
/development/tools/emulator/opengl/tests/gles_android_wrapper/
Dgles.cpp1391 GLboolean glExtIsProgramBinaryQCOM(GLuint program) in glExtIsProgramBinaryQCOM() argument
1393 return getDispatch()->glExtIsProgramBinaryQCOM(program); in glExtIsProgramBinaryQCOM()
1396 void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *leng… in glExtGetProgramBinarySourceQCOM() argument
1398 getDispatch()->glExtGetProgramBinarySourceQCOM(program, shadertype, source, length); in glExtGetProgramBinarySourceQCOM()
/development/tools/emulator/opengl/system/GLESv1_enc/
Dgl_entry.cpp296 GLboolean glExtIsProgramBinaryQCOM(GLuint program);
297 …void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar* source, GLint* len…
2043 GLboolean glExtIsProgramBinaryQCOM(GLuint program) in glExtIsProgramBinaryQCOM() argument
2046 return ctx->glExtIsProgramBinaryQCOM(ctx, program); in glExtIsProgramBinaryQCOM()
2049 void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar* source, GLint* leng… in glExtGetProgramBinarySourceQCOM() argument
2052 ctx->glExtGetProgramBinarySourceQCOM(ctx, program, shadertype, source, length); in glExtGetProgramBinarySourceQCOM()

12