Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 132) sorted by relevance

123456

/development/tools/emulator/opengl/host/libs/Translator/GLcommon/
DGLESvalidate.cpp61 bool GLESvalidate::bufferTarget(GLenum target) { in bufferTarget() argument
62 return target == GL_ARRAY_BUFFER || target == GL_ELEMENT_ARRAY_BUFFER; in bufferTarget()
89 bool GLESvalidate::textureTarget(GLenum target) { in textureTarget() argument
90 return target==GL_TEXTURE_2D || target==GL_TEXTURE_CUBE_MAP; in textureTarget()
93 bool GLESvalidate::textureTargetLimited(GLenum target) { in textureTargetLimited() argument
94 return target==GL_TEXTURE_2D; in textureTargetLimited()
97 bool GLESvalidate::textureTargetEx(GLenum target) { in textureTargetEx() argument
98 switch(target) { in textureTargetEx()
117 bool GLESvalidate::framebufferTarget(GLenum target){ in framebufferTarget() argument
118 return target == GL_FRAMEBUFFER; in framebufferTarget()
[all …]
DDummyGLfuncs.cpp20 void GLAPIENTRY dummy_glBindBuffer (GLenum target, GLuint buffer){} in dummy_glBindBuffer() argument
21 void GLAPIENTRY dummy_glBindTexture (GLenum target, GLuint texture){} in dummy_glBindTexture() argument
26 …void GLAPIENTRY dummy_glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usag… in dummy_glBufferData() argument
27 …void GLAPIENTRY dummy_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoi… in dummy_glBufferSubData() argument
32 …void GLAPIENTRY dummy_glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, G… in dummy_glCompressedTexImage2D() argument
33 …void GLAPIENTRY dummy_glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint … in dummy_glCompressedTexSubImage2D() argument
34 …void GLAPIENTRY dummy_glCopyTexImage2D(GLenum target, GLint level, GLenum internalFormat, GLint x,… in dummy_glCopyTexImage2D() argument
35 …void GLAPIENTRY dummy_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset… in dummy_glCopyTexSubImage2D() argument
57 void GLAPIENTRY dummy_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params){} in dummy_glGetTexParameterfv() argument
58 void GLAPIENTRY dummy_glGetTexParameteriv(GLenum target, GLenum pname, GLint *params){} in dummy_glGetTexParameteriv() argument
[all …]
DDummyGLfuncs.h27 void GLAPIENTRY dummy_glBindBuffer (GLenum target, GLuint buffer);
28 void GLAPIENTRY dummy_glBindTexture (GLenum target, GLuint texture);
33 …void GLAPIENTRY dummy_glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usag…
34 …void GLAPIENTRY dummy_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoi…
39 …void GLAPIENTRY dummy_glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, G…
40 …void GLAPIENTRY dummy_glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint …
41 …void GLAPIENTRY dummy_glCopyTexImage2D(GLenum target, GLint level, GLenum internalFormat, GLint x,…
42 …void GLAPIENTRY dummy_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset…
64 void GLAPIENTRY dummy_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params);
65 void GLAPIENTRY dummy_glGetTexParameteriv(GLenum target, GLenum pname, GLint *params);
[all …]
DFramebufferData.cpp36 m_attachPoints[i].target = 0; in FramebufferData()
50 GLenum target, in setAttachment() argument
56 if (m_attachPoints[idx].target != target || in setAttachment()
63 m_attachPoints[idx].target = target; in setAttachment()
68 if (target == GL_RENDERBUFFER_OES && obj.Ptr() != NULL) { in setAttachment()
82 if (outTarget) *outTarget = m_attachPoints[idx].target; in getAttachment()
102 … if (m_attachPoints[idx].target == GL_RENDERBUFFER_OES && m_attachPoints[idx].obj.Ptr() != NULL) { in detachObject()
110 switch(m_attachPoints[idx].target) in detachObject()
121 m_attachPoints[idx].target = 0; in detachObject()
/development/tools/emulator/opengl/host/libs/Translator/include/GLcommon/
DGLESvalidate.h27 static bool bufferTarget(GLenum target);
31 static bool textureTarget(GLenum target);
32 static bool textureTargetLimited(GLenum target);
33 static bool textureTargetEx(GLenum target);
36 static bool framebufferTarget(GLenum target);
39 static bool renderbufferTarget(GLenum target);
DGLEScontext.h109 unsigned int getBindedTexture(GLenum target);
110 unsigned int getBindedTexture(GLenum unit,GLenum target);
111 void setBindedTexture(GLenum target,unsigned int tex);
113 void setTextureEnabled(GLenum target, GLenum enable);
114 ObjectLocalName getDefaultTextureName(GLenum target);
124 void bindBuffer(GLenum target,GLuint buffer);
127 bool isBindedBuffer(GLenum target);
128 GLvoid* getBindedBuffer(GLenum target);
129 void getBufferSize(GLenum target,GLint* param);
130 void getBufferUsage(GLenum target,GLint* param);
[all …]
DGLDispatch.h37 static void (GLAPIENTRY *glBindBuffer) (GLenum target, GLuint buffer);
38 static void (GLAPIENTRY *glBindTexture) (GLenum target, GLuint texture);
43 …static void (GLAPIENTRY *glBufferData) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum…
44 …static void (GLAPIENTRY *glBufferSubData) (GLenum target, GLintptr offset, GLsizeiptr size, const …
49 …static void (GLAPIENTRY *glCompressedTexImage2D) ( GLenum target, GLint level, GLenum internalform…
50 …static void (GLAPIENTRY *glCompressedTexSubImage2D) ( GLenum target, GLint level, GLint xoffset, G…
51 …static void (GLAPIENTRY *glCopyTexImage2D) (GLenum target, GLint level, GLenum internalFormat, GLi…
52 …static void (GLAPIENTRY *glCopyTexSubImage2D) (GLenum target, GLint level, GLint xoffset, GLint yo…
74 static void (GLAPIENTRY *glGetTexParameterfv) (GLenum target, GLenum pname, GLfloat *params);
75 static void (GLAPIENTRY *glGetTexParameteriv) (GLenum target, GLenum pname, GLint *params);
[all …]
/development/tools/emulator/opengl/host/libs/Translator/EGL/
DClientAPIExts.in9 (GLenum target, GLeglImageOES image),
10 (target, image))
13 (GLenum target, GLeglImageOES image),
14 (target, image))
114 (GLenum target, GLuint renderbuffer),
115 (target, renderbuffer))
126 (GLenum target, GLenum internalformat, GLsizei width, GLsizei height),
127 (target, internalformat, width, height))
130 (GLenum target, GLenum pname, GLint* params),
131 (target, pname, params))
[all …]
/development/tools/emulator/opengl/system/egl/
DClientAPIExts.in9 (GLenum target, GLeglImageOES image),
10 (target, image))
13 (GLenum target, GLeglImageOES image),
14 (target, image))
114 (GLenum target, GLuint renderbuffer),
115 (target, renderbuffer))
126 (GLenum target, GLenum internalformat, GLsizei width, GLsizei height),
127 (target, internalformat, width, height))
130 (GLenum target, GLenum pname, GLint* params),
131 (target, pname, params))
[all …]
/development/tools/emulator/opengl/tests/gles_android_wrapper/
Dgles.cpp126 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) in glGetTexParameterfv() argument
128 getDispatch()->glGetTexParameterfv(target, pname, params); in glGetTexParameterfv()
176 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) in glMultiTexCoord4f() argument
178 getDispatch()->glMultiTexCoord4f(target, s, t, r, q); in glMultiTexCoord4f()
221 void glTexEnvf(GLenum target, GLenum pname, GLfloat param) in glTexEnvf() argument
223 getDispatch()->glTexEnvf(target, pname, param); in glTexEnvf()
226 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) in glTexEnvfv() argument
228 getDispatch()->glTexEnvfv(target, pname, params); in glTexEnvfv()
231 void glTexParameterf(GLenum target, GLenum pname, GLfloat param) in glTexParameterf() argument
233 getDispatch()->glTexParameterf(target, pname, param); in glTexParameterf()
[all …]
/development/tools/emulator/opengl/host/libs/Translator/GLES_CM/
DGLDispatch.h37 void (GLAPIENTRY *glBindBuffer) (GLenum target, GLuint buffer);
38 void (GLAPIENTRY *glBindTexture) (GLenum target, GLuint texture);
40 …void (GLAPIENTRY *glBufferData) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
41 …void (GLAPIENTRY *glBufferSubData) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid …
55 …void (GLAPIENTRY *glCompressedTexImage2D) ( GLenum target, GLint level, GLenum internalformat, GLs…
56 …void (GLAPIENTRY *glCompressedTexSubImage2D) ( GLenum target, GLint level, GLint xoffset, GLint yo…
57 …void (GLAPIENTRY *glCopyTexImage2D) (GLenum target, GLint level, GLenum internalFormat, GLint x, G…
58 …void (GLAPIENTRY *glCopyTexSubImage2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, …
91 void (GLAPIENTRY *glGetTexEnvfv) (GLenum target, GLenum pname, GLfloat *params);
92 void (GLAPIENTRY *glGetTexEnviv) (GLenum target, GLenum pname, GLint *params);
[all …]
DGLEScmImp.cpp173 static ObjectLocalName TextureLocalName(GLenum target, unsigned int tex) { in TextureLocalName() argument
175 return (tex!=0? tex : ctx->getDefaultTextureName(target)); in TextureLocalName()
197 static TextureData* getTextureTargetData(GLenum target){ in getTextureTargetData() argument
199 unsigned int tex = ctx->getBindedTexture(target); in getTextureTargetData()
200 return getTextureData(TextureLocalName(target,tex)); in getTextureTargetData()
290 GL_API void GL_APIENTRY glBindBuffer( GLenum target, GLuint buffer) { in glBindBuffer() argument
292 SET_ERROR_IF(!GLEScmValidate::bufferTarget(target),GL_INVALID_ENUM); in glBindBuffer()
299 ctx->bindBuffer(target,buffer); in glBindBuffer()
307 GL_API void GL_APIENTRY glBindTexture( GLenum target, GLuint texture) { in glBindTexture() argument
309 SET_ERROR_IF(!GLEScmValidate::textureTarget(target),GL_INVALID_ENUM) in glBindTexture()
[all …]
DGLEScmValidate.cpp87 bool GLEScmValidate::hintTargetMode(GLenum target,GLenum mode) { in hintTargetMode() argument
88 switch(target) { in hintTargetMode()
107 bool GLEScmValidate::texParams(GLenum target,GLenum pname) { in texParams() argument
119 return (target == GL_TEXTURE_2D)||(target == GL_TEXTURE_CUBE_MAP_OES); in texParams()
122 bool GLEScmValidate::texEnv(GLenum target,GLenum pname) { in texEnv() argument
147 return (target == GL_TEXTURE_ENV || target == GL_POINT_SPRITE_OES); in texEnv()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java93 public void glBindTexture(int target, int texture) { in glBindTexture() argument
94 mgl.glBindTexture(target, texture); in glBindTexture()
146 public void glCompressedTexImage2D(int target, int level, in glCompressedTexImage2D() argument
149 mgl.glCompressedTexImage2D(target, level, internalformat, width, in glCompressedTexImage2D()
153 public void glCompressedTexSubImage2D(int target, int level, int xoffset, in glCompressedTexSubImage2D() argument
156 mgl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, in glCompressedTexSubImage2D()
160 public void glCopyTexImage2D(int target, int level, int internalformat, in glCopyTexImage2D() argument
162 mgl.glCopyTexImage2D(target, level, internalformat, x, y, width, in glCopyTexImage2D()
166 public void glCopyTexSubImage2D(int target, int level, int xoffset, in glCopyTexSubImage2D() argument
168 mgl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, in glCopyTexSubImage2D()
[all …]
/development/testrunner/
Dcoverage_targets.py69 target = CoverageTarget(target_element)
70 self._AddTarget(target)
72 def _AddTarget(self, target): argument
73 self._target_map[target.GetName()] = target
78 for target in self:
79 build_targets.append(target.GetName())
Dcoverage.py100 target = self._targets_manifest.GetTarget(test_suite.GetTargetName())
101 if target is None:
107 return self._GenerateReport(report_path, coverage_local_path, [target],
150 for target in targets:
151 input_metadata = os.path.join(self._GetBuildIntermediatePath(target),
156 def _GetBuildIntermediatePath(self, target): argument
158 self._root_path, self._TARGET_INTERMEDIATES_BASE_PATH, target.GetType(),
159 "%s_intermediates" % target.GetName())
170 for target in targets:
171 target_srcs = target.GetPaths()
[all …]
/development/ndk/platforms/android-4/include/GLES/
Dglext.h309 GL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
310 GL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
312 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image…
313 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImag…
349 GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
359 GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfix…
369 GL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
370 GL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
371 GL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
372 GL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DAnimateDrawable.java30 public AnimateDrawable(Drawable target) { in AnimateDrawable() argument
31 super(target); in AnimateDrawable()
34 public AnimateDrawable(Drawable target, Animation animation) { in AnimateDrawable() argument
35 super(target); in AnimateDrawable()
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMainActivity.java75 public void onClick(View target) { in onClick() argument
77 if (target == mPlayButton) in onClick()
79 else if (target == mPauseButton) in onClick()
81 else if (target == mSkipButton) in onClick()
83 else if (target == mRewindButton) in onClick()
85 else if (target == mStopButton) in onClick()
87 else if (target == mEjectButton) { in onClick()
/development/ndk/platforms/android-5/include/GLES2/
Dgl2ext.h244 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
245 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES im…
247 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image…
248 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImag…
296 GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
297 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
298 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void** params);
300 typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
301 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
302 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void** para…
[all …]
/development/tools/emulator/opengl/system/GLESv1_enc/
Dgl.in15 GL_ENTRY(void, glGetTexParameterfv, GLenum target, GLenum pname, GLfloat *params)
25 GL_ENTRY(void, glMultiTexCoord4f, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
34 GL_ENTRY(void, glTexEnvf, GLenum target, GLenum pname, GLfloat param)
35 GL_ENTRY(void, glTexEnvfv, GLenum target, GLenum pname, const GLfloat *params)
36 GL_ENTRY(void, glTexParameterf, GLenum target, GLenum pname, GLfloat param)
37 GL_ENTRY(void, glTexParameterfv, GLenum target, GLenum pname, const GLfloat *params)
41 GL_ENTRY(void, glBindBuffer, GLenum target, GLuint buffer)
42 GL_ENTRY(void, glBindTexture, GLenum target, GLuint texture)
44 GL_ENTRY(void, glBufferData, GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
45 GL_ENTRY(void, glBufferSubData, GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
[all …]
/development/tools/emulator/opengl/system/GLESv2_enc/
Dgl2.in4 GL_ENTRY(void, glBindBuffer, GLenum target, GLuint buffer)
5 GL_ENTRY(void, glBindFramebuffer, GLenum target, GLuint framebuffer)
6 GL_ENTRY(void, glBindRenderbuffer, GLenum target, GLuint renderbuffer)
7 GL_ENTRY(void, glBindTexture, GLenum target, GLuint texture)
13 GL_ENTRY(void, glBufferData, GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage)
14 GL_ENTRY(void, glBufferSubData, GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data)
15 GL_ENTRY(GLenum, glCheckFramebufferStatus, GLenum target)
22 GL_ENTRY(void, glCompressedTexImage2D, GLenum target, GLint level, GLenum internalformat, GLsizei w…
23 GL_ENTRY(void, glCompressedTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset,…
24 GL_ENTRY(void, glCopyTexImage2D, GLenum target, GLint level, GLenum internalformat, GLint x, GLint …
[all …]
/development/tools/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Imp.cpp119 static ObjectLocalName TextureLocalName(GLenum target,unsigned int tex) { in TextureLocalName() argument
121 return (tex!=0? tex : ctx->getDefaultTextureName(target)); in TextureLocalName()
137 static TextureData* getTextureTargetData(GLenum target){ in getTextureTargetData() argument
139 unsigned int tex = ctx->getBindedTexture(target); in getTextureTargetData()
140 return getTextureData(TextureLocalName(target,tex)); in getTextureTargetData()
186 GL_APICALL void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer){ in glBindBuffer() argument
188 SET_ERROR_IF(!GLESv2Validate::bufferTarget(target),GL_INVALID_ENUM); in glBindBuffer()
194 ctx->bindBuffer(target,buffer); in glBindBuffer()
201 GL_APICALL void GL_APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer){ in glBindFramebuffer() argument
203 SET_ERROR_IF(!GLESv2Validate::framebufferTarget(target),GL_INVALID_ENUM); in glBindFramebuffer()
[all …]
/development/tools/emulator/opengl/host/libs/Translator/include/GLES2/
Dgl2ext.h488 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
489 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES im…
491 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image…
492 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImag…
531 GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
532 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
533 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid** params);
535 typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
536 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
537 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid** pa…
[all …]
/development/tools/glesv2debugger/src/com/android/glesv2debugger/
DGLServerTexture.java27 public final GLEnum target; field in GLTexture
35 GLTexture(final int name, final GLEnum target) { in GLTexture() argument
37 this.target = target; in GLTexture()
78 return String.format("%s %s %d*%d %d change(s)", target, format, width, height, in toString()
188 boolean bindTexture(final int target, final int name) { in bindTexture() argument
190 if (GLEnum.valueOf(target) == GLEnum.GL_TEXTURE_2D) { in bindTexture()
197 } else if (GLEnum.valueOf(target) == GLEnum.GL_TEXTURE_CUBE_MAP) { in bindTexture()
209 boolean texParameter(final int target, final int pname, final int param) { in texParameter() argument
211 if (GLEnum.valueOf(target) == GLEnum.GL_TEXTURE_2D) in texParameter()
213 else if (GLEnum.valueOf(target) == GLEnum.GL_TEXTURE_CUBE_MAP) in texParameter()

123456