Home
last modified time | relevance | path

Searched refs:GLStateType (Results 1 – 25 of 26) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLState.java36 array = new GLIntegerProperty(GLStateType.ARRAY_BUFFER_BINDING, 0); in createBufferBindings()
37 eArray = new GLIntegerProperty(GLStateType.ELEMENT_ARRAY_BUFFER_BINDING, 0); in createBufferBindings()
40 GLStateType.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_PER_INDEX, 0); in createBufferBindings()
41 IGLProperty vArray8 = new GLListProperty(GLStateType.VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGS, in createBufferBindings()
45 GLStateType.BUFFER_BINDINGS, in createBufferBindings()
54 enabled = new GLBooleanProperty(GLStateType.VERTEX_ATTRIB_ARRAY_ENABLED, false); in createVertexAttribArrays()
55 size = new GLIntegerProperty(GLStateType.VERTEX_ATTRIB_ARRAY_SIZE, 4); in createVertexAttribArrays()
56 stride = new GLIntegerProperty(GLStateType.VERTEX_ATTRIB_ARRAY_STRIDE, 0); in createVertexAttribArrays()
57 type = new GLEnumProperty(GLStateType.VERTEX_ATTRIB_ARRAY_TYPE, GLEnum.GL_FLOAT); in createVertexAttribArrays()
58 normalized = new GLBooleanProperty(GLStateType.VERTEX_ATTRIB_ARRAY_NORMALIZED, false); in createVertexAttribArrays()
[all …]
DGLCompositeProperty.java27 private final GLStateType mType;
28 private final Map<GLStateType, IGLProperty> mPropertiesMap;
32 public GLCompositeProperty(GLStateType type, IGLProperty... iglProperties) { in GLCompositeProperty()
34 mPropertiesMap = new EnumMap<GLStateType, IGLProperty>(GLStateType.class); in GLCompositeProperty()
46 public IGLProperty getProperty(GLStateType name) { in getProperty()
85 public GLStateType getType() { in getType()
DGLAbstractAtomicProperty.java25 private final GLStateType mType;
28 public GLAbstractAtomicProperty(GLStateType type) { in GLAbstractAtomicProperty()
33 public GLStateType getType() { in getType()
DGLSparseArrayProperty.java26 private final GLStateType mType;
32 public GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue) { in GLSparseArrayProperty()
42 public GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue, in GLSparseArrayProperty()
50 private GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue, in GLSparseArrayProperty()
98 public GLStateType getType() { in getType()
DGLListProperty.java28 private final GLStateType mType;
37 public GLListProperty(GLStateType type, IGLProperty template, int size) { in GLListProperty()
50 private GLListProperty(GLStateType type, List<IGLProperty> props) { in GLListProperty()
127 public GLStateType getType() { in getType()
DGLLongProperty.java25 public GLLongProperty(GLStateType name, Long defaultValue, DisplayRadix radix) { in GLLongProperty()
32 public GLLongProperty(GLStateType name, Long defaultValue) { in GLLongProperty()
DGLIntegerProperty.java25 public GLIntegerProperty(GLStateType name, Integer defaultValue, DisplayRadix radix) { in GLIntegerProperty()
32 public GLIntegerProperty(GLStateType name, Integer defaultValue) { in GLIntegerProperty()
DGLStateType.java20 public enum GLStateType { enum
180 GLStateType(String description) { in GLStateType() method in GLStateType
DIGLProperty.java26 GLStateType getType(); in getType()
DGLStringProperty.java23 public GLStringProperty(GLStateType type, String defaultValue) { in GLStringProperty()
DGLFloatProperty.java24 public GLFloatProperty(GLStateType name, Float defaultValue) { in GLFloatProperty()
DGLBooleanProperty.java25 public GLBooleanProperty(GLStateType name, Boolean defaultValue) { in GLBooleanProperty()
DGLEnumProperty.java26 public GLEnumProperty(GLStateType name, GLEnum defaultValue) { in GLEnumProperty()
DGLObjectProperty.java29 public GLObjectProperty(GLStateType type, Object defaultValue) { in GLObjectProperty()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DStateTransformFactory.java23 import com.android.ide.eclipse.gltrace.state.GLStateType;
203 GLStateType.VERTEX_ARRAY_DATA, in transformsForGlVertexAttribPointer()
204 GLStateType.VERTEX_ATTRIB_ARRAY, in transformsForGlVertexAttribPointer()
206 GLStateType.VERTEX_ATTRIB_ARRAY_SIZE), in transformsForGlVertexAttribPointer()
210 GLStateType.VERTEX_ARRAY_DATA, in transformsForGlVertexAttribPointer()
211 GLStateType.VERTEX_ATTRIB_ARRAY, in transformsForGlVertexAttribPointer()
213 GLStateType.VERTEX_ATTRIB_ARRAY_TYPE), in transformsForGlVertexAttribPointer()
217 GLStateType.VERTEX_ARRAY_DATA, in transformsForGlVertexAttribPointer()
218 GLStateType.VERTEX_ATTRIB_ARRAY, in transformsForGlVertexAttribPointer()
220 GLStateType.VERTEX_ATTRIB_ARRAY_NORMALIZED), in transformsForGlVertexAttribPointer()
[all …]
DTexturePropertyAccessor.java20 import com.android.ide.eclipse.gltrace.state.GLStateType;
31 private final GLStateType mTargetUnitType;
33 private final GLStateType mTextureType;
36 public TexturePropertyAccessor(int contextId, GLStateType textureUnitTarget, int level, in TexturePropertyAccessor()
37 GLStateType textureTargetName) { in TexturePropertyAccessor()
46 public TexturePropertyAccessor(int contextId, GLStateType textureUnitTarget, in TexturePropertyAccessor()
47 GLStateType textureTargetName) { in TexturePropertyAccessor()
64 GLStateType.TEXTURE_STATE, in getProperty()
65 GLStateType.TEXTURES, in getProperty()
67 GLStateType.TEXTURE_MIPMAPS, in getProperty()
[all …]
DCurrentVboPropertyAccessor.java21 import com.android.ide.eclipse.gltrace.state.GLStateType;
31 private final GLStateType mVboProperty;
33 public CurrentVboPropertyAccessor(int contextId, GLEnum target, GLStateType vboProperty) { in CurrentVboPropertyAccessor()
37 GLStateType vboType; in CurrentVboPropertyAccessor()
39 vboType = GLStateType.ARRAY_BUFFER_BINDING; in CurrentVboPropertyAccessor()
41 vboType = GLStateType.ELEMENT_ARRAY_BUFFER_BINDING; in CurrentVboPropertyAccessor()
45 GLStateType.VERTEX_ARRAY_DATA, in CurrentVboPropertyAccessor()
46 GLStateType.BUFFER_BINDINGS, in CurrentVboPropertyAccessor()
61 GLStateType.VERTEX_ARRAY_DATA, in getProperty()
62 GLStateType.VBO, in getProperty()
DCurrentProgramPropertyAccessor.java20 import com.android.ide.eclipse.gltrace.state.GLStateType;
25 private final GLStateType mStateCategory;
27 private final GLStateType mStateType;
30 public CurrentProgramPropertyAccessor(int contextid, GLStateType stateCategory, in CurrentProgramPropertyAccessor()
31 int location, GLStateType stateType) { in CurrentProgramPropertyAccessor()
38 GLStateType.PROGRAM_STATE, in CurrentProgramPropertyAccessor()
39 GLStateType.CURRENT_PROGRAM); in CurrentProgramPropertyAccessor()
54 GLStateType.PROGRAM_STATE, in getProperty()
55 GLStateType.PROGRAMS, in getProperty()
DTextureUnitPropertyAccessor.java20 import com.android.ide.eclipse.gltrace.state.GLStateType;
31 private final GLStateType mTargetType;
33 public TextureUnitPropertyAccessor(int contextId, GLStateType targetPropertyType) { in TextureUnitPropertyAccessor()
38 GLStateType.TEXTURE_STATE, in TextureUnitPropertyAccessor()
39 GLStateType.ACTIVE_TEXTURE_UNIT); in TextureUnitPropertyAccessor()
53 GLStateType.TEXTURE_STATE, in getProperty()
54 GLStateType.TEXTURE_UNITS, in getProperty()
DGLPropertyAccessor.java22 import com.android.ide.eclipse.gltrace.state.GLStateType;
70 if (accessor instanceof GLStateType) { in makeAccessor()
71 extractors.add(new GLNamePropertyExtractor((GLStateType) accessor)); in makeAccessor()
89 private final GLStateType mType;
91 public GLNamePropertyExtractor(GLStateType type) { in GLNamePropertyExtractor()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/
DTextureImageDetailsProvider.java21 import com.android.ide.eclipse.gltrace.state.GLStateType;
102 if (state.getType() == GLStateType.TEXTURE_IMAGE) { in getTextureImageProperty()
120 if (state != null && state.getType() != GLStateType.PER_TEXTURE_LEVEL_STATE) { in getImageFromPerTextureLevelState()
124 if (state == null || state.getType() != GLStateType.PER_TEXTURE_LEVEL_STATE) { in getImageFromPerTextureLevelState()
128 return ((GLCompositeProperty) state).getProperty(GLStateType.TEXTURE_IMAGE); in getImageFromPerTextureLevelState()
136 if (state != null && state.getType() != GLStateType.PER_TEXTURE_STATE) { in getFirstMipmapImage()
140 if (state == null || state.getType() != GLStateType.PER_TEXTURE_STATE) { in getFirstMipmapImage()
145 ((GLCompositeProperty) state).getProperty(GLStateType.TEXTURE_MIPMAPS); in getFirstMipmapImage()
DShaderSourceDetailsProvider.java20 import com.android.ide.eclipse.gltrace.state.GLStateType;
80 if (state.getType() == GLStateType.SHADER_SOURCE) { in getShaderSourceProperty()
85 if (state.getType() != GLStateType.PER_SHADER_STATE) { in getShaderSourceProperty()
91 if (state != null && state.getType() == GLStateType.PER_SHADER_STATE) { in getShaderSourceProperty()
93 return ((GLCompositeProperty) state).getProperty(GLStateType.SHADER_SOURCE); in getShaderSourceProperty()
DShaderUniformDetailsProvider.java21 import com.android.ide.eclipse.gltrace.state.GLStateType;
63 IGLProperty nameProperty = uniformProperty.getProperty(GLStateType.UNIFORM_NAME); in updateControl()
64 IGLProperty typeProperty = uniformProperty.getProperty(GLStateType.UNIFORM_TYPE); in updateControl()
65 IGLProperty valueProperty = uniformProperty.getProperty(GLStateType.UNIFORM_VALUE); in updateControl()
157 if (state.getType() == GLStateType.PER_UNIFORM_STATE) { in getShaderUniformProperty()
162 if (state != null && state.getType() == GLStateType.PER_UNIFORM_STATE) { in getShaderUniformProperty()
DVboDetailProvider.java22 import com.android.ide.eclipse.gltrace.state.GLStateType;
137 IGLProperty sizeProperty = vboProperty.getProperty(GLStateType.BUFFER_SIZE); in updateControl()
140 IGLProperty usageProperty = vboProperty.getProperty(GLStateType.BUFFER_USAGE); in updateControl()
143 IGLProperty typeProperty = vboProperty.getProperty(GLStateType.BUFFER_TYPE); in updateControl()
146 IGLProperty dataProperty = vboProperty.getProperty(GLStateType.BUFFER_DATA); in updateControl()
178 if (state.getType() == GLStateType.VBO_COMPOSITE) { in getVboProperty()
183 if (state != null && state.getType() == GLStateType.VBO_COMPOSITE) { in getVboProperty()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DStateLabelProvider.java21 import com.android.ide.eclipse.gltrace.state.GLStateType;
64 if (element.getType() == GLStateType.GL_STATE_ES1) { in getName()
66 } else if (element.getType() == GLStateType.GL_STATE_ES2) { in getName()

12