Home
last modified time | relevance | path

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

12345678910

/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DGLESvalidate.cpp77 bool GLESvalidate::bufferTarget(GLenum target) { in bufferTarget() argument
78 return target == GL_ARRAY_BUFFER || target == GL_ELEMENT_ARRAY_BUFFER; in bufferTarget()
105 bool GLESvalidate::textureTarget(GLenum target) { in textureTarget() argument
106 return target==GL_TEXTURE_2D || target==GL_TEXTURE_CUBE_MAP; in textureTarget()
109 bool GLESvalidate::textureTargetLimited(GLenum target) { in textureTargetLimited() argument
110 return target==GL_TEXTURE_2D; in textureTargetLimited()
113 bool GLESvalidate::textureTargetEx(GLenum target) { in textureTargetEx() argument
114 switch(target) { in textureTargetEx()
133 bool GLESvalidate::framebufferTarget(GLenum target){ in framebufferTarget() argument
134 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()
/sdk/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 …]
/sdk/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);
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 …]
DGLEScontext.h125 unsigned int getBindedTexture(GLenum target);
126 unsigned int getBindedTexture(GLenum unit,GLenum target);
127 void setBindedTexture(GLenum target,unsigned int tex);
129 void setTextureEnabled(GLenum target, GLenum enable);
130 ObjectLocalName getDefaultTextureName(GLenum target);
140 void bindBuffer(GLenum target,GLuint buffer);
143 bool isBindedBuffer(GLenum target);
144 GLvoid* getBindedBuffer(GLenum target);
145 void getBufferSize(GLenum target,GLint* param);
146 void getBufferUsage(GLenum target,GLint* param);
[all …]
/sdk/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()
286 GL_API void GL_APIENTRY glBindBuffer( GLenum target, GLuint buffer) { in glBindBuffer() argument
288 SET_ERROR_IF(!GLEScmValidate::bufferTarget(target),GL_INVALID_ENUM); in glBindBuffer()
295 ctx->bindBuffer(target,buffer); in glBindBuffer()
303 GL_API void GL_APIENTRY glBindTexture( GLenum target, GLuint texture) { in glBindTexture() argument
305 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()
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/src/test/pkg/
DStringFormatActivity.java.txt11 String target = "World";
13 String output1 = String.format(hello, target);
15 String output2 = String.format(hello2, target, "How are you");
24 String.format(getResources().getString(R.string.hello2), target, "How are you");
25 getResources().getString(hello2, target, "How are you");
26 getResources().getString(R.string.hello2, target, "How are you");
31 String target = "World";
33 String output1 = String.format(hello, target);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidClasspathContainerInitializer.java159 IAndroidTarget target = null; in allocateAndroidContainer() local
179 target = state.getTarget(); in allocateAndroidContainer()
183 if (sdkIsLoaded && target != null) { in allocateAndroidContainer()
185 Sdk.getCurrent().checkAndLoadTargetData(target, null /*project*/); in allocateAndroidContainer()
187 String targetName = target.getClasspathName(); in allocateAndroidContainer()
190 createClasspathEntries(iProject, target, targetName), in allocateAndroidContainer()
219 target); in allocateAndroidContainer()
291 IAndroidTarget target, String targetName) {
294 String[] paths = getTargetPaths(target);
297 IClasspathEntry[] entries = createClasspathEntriesFromPaths(paths, target);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DSdkSelectionPage.java100 mValues.target = mSdkTargetSelector.getSelected(); in createControl()
122 if (mValues.target != null) { in setVisible()
123 mSdkTargetSelector.setSelection(mValues.target); in setVisible()
136 if (mValues.target == null) { in isPageComplete()
154 IAndroidTarget target = mValues.target; in onSdkTargetModified() local
158 if (target != null) { in onSdkTargetModified()
160 AndroidVersion version = target.getVersion(); in onSdkTargetModified()
192 loadSamplesForTarget(target); in onSdkTargetModified()
200 private void loadSamplesForTarget(IAndroidTarget target) { in loadSamplesForTarget() argument
207 if (target != null) { in loadSamplesForTarget()
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/
DPlatformPackage.java101 public static Package create(IAndroidTarget target, Properties props) { in create() argument
102 return new PlatformPackage(target, props); in create()
106 protected PlatformPackage(IAndroidTarget target, Properties props) { in PlatformPackage() argument
107 this(null /*source*/, target, props); in PlatformPackage()
111 protected PlatformPackage(SdkSource source, IAndroidTarget target, Properties props) { in PlatformPackage() argument
114 target.getRevision(), //revision in PlatformPackage()
116 target.getDescription(), //description in PlatformPackage()
120 target.getLocation() //archiveOsPath in PlatformPackage()
123 mVersion = target.getVersion(); in PlatformPackage()
124 mVersionName = target.getVersionName(); in PlatformPackage()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DSampleProjectTest.java67 for (IAndroidTarget target : targets) { in testSamples()
68 doTestSamplesForTarget(target); in testSamples()
72 private void doTestSamplesForTarget(IAndroidTarget target) throws CoreException { in doTestSamplesForTarget() argument
73 String path = target.getPath(IAndroidTarget.SAMPLES); in doTestSamplesForTarget()
79 doTestSampleProject(file.getName(), file.getAbsolutePath(), target); in doTestSamplesForTarget() local
93 private void doTestSampleProject(String name, String path, IAndroidTarget target) in doTestSampleProject() argument
98 target.getName())); in doTestSampleProject()
100 prepareProject(path, target); in doTestSampleProject()
111 state.target = target; in doTestSampleProject()
127 "for target %s", name, target.getName())); in doTestSampleProject()
[all …]
/sdk/emulator/opengl/host/libs/GLESv1_dec/
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 …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/
Dentries.in16 void, glBeginQueryEXT, GLenum target, GLuint id
18 void, glBindBuffer, GLenum target, GLuint buffer
19 void, glBindFramebuffer, GLenum target, GLuint framebuffer
20 void, glBindFramebufferOES, GLenum target, GLuint framebuffer
22 void, glBindRenderbuffer, GLenum target, GLuint renderbuffer
23 void, glBindRenderbufferOES, GLenum target, GLuint renderbuffer
24 void, glBindTexture, GLenum target, GLuint texture
35 void, glBufferData, GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage
36 void, glBufferSubData, GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data
37 GLenum, glCheckFramebufferStatus, GLenum target
[all …]
/sdk/sdkmanager/app/src/com/android/sdkmanager/
DMain.java530 IAndroidTarget target = targets[targetId - 1]; // target id is 1-based in createProject() local
573 target, in createProject()
662 IAndroidTarget target = mSdkManager.getTargetFromHashString(targetHash); in createTestProject() local
663 if (target == null) { in createTestProject()
670 mSdkLog.info("Found main project target: %1$s\n", target.getFullName()); in createTestProject()
688 target, in createTestProject()
699 IAndroidTarget target = null; in updateProject() local
711 target = targets[targetId - 1]; // target id is 1-based in updateProject()
722 target, in updateProject()
740 target, in updateProject() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DTargetMenuListener.java44 @Nullable IAndroidTarget target) { in TargetMenuListener() argument
46 mTarget = target; in TargetMenuListener()
61 for (final IAndroidTarget target : targets) { in show()
62 String title = ConfigurationChooser.getRenderingTargetLabel(target, false); in show()
66 boolean selected = current == target; in show()
71 item.addSelectionListener(new TargetMenuListener(chooser, target)); in show()
/sdk/emulator/opengl/host/libs/GLESv2_dec/
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 …]
/sdk/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 …]
/sdk/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 …]
/sdk/emulator/opengl/host/libs/Translator/include/GLES/
Dglext.h531 GL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
532 GL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
534 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image…
535 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImag…
577 GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
587 GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfix…
597 GL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
598 GL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
599 GL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
600 GL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/
DSystemImage.java67 IAndroidTarget target, in SystemImage() argument
76 location = new File(target.getLocation(), SdkConstants.OS_IMAGES_FOLDER); in SystemImage()
80 location = FileOp.append(target.getLocation(), SdkConstants.OS_IMAGES_FOLDER, abiType); in SystemImage()
84 if (!target.isPlatform()) { in SystemImage()
89 location = getCanonicalFolder(sdkManager.getLocation(), target.getVersion(), abiType); in SystemImage()

12345678910