/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
D | GLState.java | 33 private IGLProperty createBufferBindings() { in createBufferBindings() 34 IGLProperty array, eArray, vArray; in createBufferBindings() 41 IGLProperty vArray8 = new GLListProperty(GLStateType.VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGS, in createBufferBindings() 51 private IGLProperty createVertexAttribArrays() { in createVertexAttribArrays() 52 IGLProperty enabled, size, stride, type, normalized, pointer; in createVertexAttribArrays() 62 IGLProperty perVertexAttribArrayState = new GLCompositeProperty( in createVertexAttribArrays() 77 private IGLProperty createGenericVertexAttributeState() { in createGenericVertexAttributeState() 78 IGLProperty v0 = new GLFloatProperty(GLStateType.GENERIC_VERTEX_ATTRIB_V0, in createGenericVertexAttributeState() 80 IGLProperty v1 = new GLFloatProperty(GLStateType.GENERIC_VERTEX_ATTRIB_V1, in createGenericVertexAttributeState() 82 IGLProperty v2 = new GLFloatProperty(GLStateType.GENERIC_VERTEX_ATTRIB_V2, in createGenericVertexAttributeState() [all …]
|
D | GLSparseArrayProperty.java | 25 public class GLSparseArrayProperty implements IGLProperty { 27 private final IGLProperty mDefaultValue; 29 private final SparseArray<IGLProperty> mSparseArray; 30 private IGLProperty mParent; 32 public GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue) { in GLSparseArrayProperty() 42 public GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue, in GLSparseArrayProperty() 47 mSparseArray = new SparseArray<IGLProperty>(20); in GLSparseArrayProperty() 50 private GLSparseArrayProperty(GLStateType type, IGLProperty defaultValue, in GLSparseArrayProperty() 51 boolean createOnAccess, SparseArray<IGLProperty> contents) { in GLSparseArrayProperty() 58 public List<IGLProperty> getValues() { in getValues() [all …]
|
D | GLListProperty.java | 26 public class GLListProperty implements IGLProperty { 27 private final List<IGLProperty> mList; 29 private IGLProperty mParent; 30 private IGLProperty mTemplate; 37 public GLListProperty(GLStateType type, IGLProperty template, int size) { in GLListProperty() 41 mList = new ArrayList<IGLProperty>(size); in GLListProperty() 43 IGLProperty p = template.clone(); in GLListProperty() 50 private GLListProperty(GLStateType type, List<IGLProperty> props) { in GLListProperty() 54 for (IGLProperty p : mList) { in GLListProperty() 59 public List<IGLProperty> getList() { in getList() [all …]
|
D | GLCompositeProperty.java | 26 public class GLCompositeProperty implements IGLProperty { 28 private final Map<GLStateType, IGLProperty> mPropertiesMap; 29 private IGLProperty mParent; 32 public GLCompositeProperty(GLStateType type, IGLProperty... iglProperties) { in GLCompositeProperty() 34 mPropertiesMap = new EnumMap<GLStateType, IGLProperty>(GLStateType.class); in GLCompositeProperty() 36 for (IGLProperty p : iglProperties) { in GLCompositeProperty() 42 public Collection<IGLProperty> getProperties() { in getProperties() 46 public IGLProperty getProperty(GLStateType name) { in getProperty() 52 IGLProperty []props = new IGLProperty[mPropertiesMap.size()]; in clone() 55 for (IGLProperty p : mPropertiesMap.values()) { in clone() [all …]
|
D | GLAbstractAtomicProperty.java | 24 public abstract class GLAbstractAtomicProperty implements IGLProperty { 26 private IGLProperty mParent; 38 public IGLProperty getParent() { in getParent() 43 public void setParent(IGLProperty parent) { in setParent() 53 public IGLProperty clone() { in clone() 55 return (IGLProperty) super.clone(); in clone()
|
D | IGLProperty.java | 24 public interface IGLProperty extends Cloneable { interface 53 IGLProperty getParent(); in getParent() 56 void setParent(IGLProperty parent); in setParent() 59 IGLProperty clone(); in clone()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | ListElementAddTransform.java | 20 import com.android.ide.eclipse.gltrace.state.IGLProperty; 28 private final IGLProperty mElement; 30 public ListElementAddTransform(IGLPropertyAccessor accessor, IGLProperty element) { in ListElementAddTransform() 36 public void apply(IGLProperty currentState) { in apply() 44 public void revert(IGLProperty currentState) { in revert() 52 public IGLProperty getChangedProperty(IGLProperty currentState) { in getChangedProperty() 56 private GLListProperty getList(IGLProperty state) { in getList() 57 IGLProperty p = state; in getList()
|
D | SparseArrayElementAddTransform.java | 20 import com.android.ide.eclipse.gltrace.state.IGLProperty; 29 private IGLProperty mOldValue; 37 public void apply(IGLProperty currentState) { in apply() 49 public void revert(IGLProperty currentState) { in revert() 60 public IGLProperty getChangedProperty(IGLProperty currentState) { in getChangedProperty() 64 private GLSparseArrayProperty getArray(IGLProperty state) { in getArray() 65 IGLProperty p = state; in getArray()
|
D | GLPropertyAccessor.java | 23 import com.android.ide.eclipse.gltrace.state.IGLProperty; 42 public IGLProperty getProperty(IGLProperty state) { in getProperty() 43 IGLProperty root = ((GLListProperty) state).get(mContextId); in getProperty() 46 IGLProperty successor = e.getProperty(root); in getProperty() 84 IGLProperty getProperty(IGLProperty p); in getProperty() 96 public IGLProperty getProperty(IGLProperty p) { in getProperty() 114 public IGLProperty getProperty(IGLProperty p) { in getProperty()
|
D | IStateTransform.java | 19 import com.android.ide.eclipse.gltrace.state.IGLProperty; 27 void apply(IGLProperty currentState); in apply() 30 void revert(IGLProperty currentState); in revert() 33 IGLProperty getChangedProperty(IGLProperty currentState); in getChangedProperty()
|
D | PropertyChangeTransform.java | 19 import com.android.ide.eclipse.gltrace.state.IGLProperty; 55 public void apply(IGLProperty state) { in apply() 56 IGLProperty property = mAccessor.getProperty(state); in apply() 81 public void revert(IGLProperty state) { in revert() 83 IGLProperty property = mAccessor.getProperty(state); in revert() 91 public IGLProperty getChangedProperty(IGLProperty state) { in getChangedProperty()
|
D | BufferSubDataTransform.java | 20 import com.android.ide.eclipse.gltrace.state.IGLProperty; 43 public void apply(IGLProperty state) { in apply() 44 IGLProperty property = mAccessor.getProperty(state); in apply() 64 public void revert(IGLProperty state) { in revert() 66 IGLProperty property = mAccessor.getProperty(state); in revert() 73 public IGLProperty getChangedProperty(IGLProperty state) { in getChangedProperty()
|
D | SparseArrayElementRemoveTransform.java | 19 import com.android.ide.eclipse.gltrace.state.IGLProperty; 33 public void apply(IGLProperty currentState) { in apply() 39 public void revert(IGLProperty currentState) { in revert() 45 public IGLProperty getChangedProperty(IGLProperty currentState) { in getChangedProperty()
|
D | IGLPropertyAccessor.java | 19 import com.android.ide.eclipse.gltrace.state.IGLProperty; 27 IGLProperty getProperty(IGLProperty state); in getProperty()
|
D | TextureUnitPropertyAccessor.java | 21 import com.android.ide.eclipse.gltrace.state.IGLProperty; 43 public IGLProperty getProperty(IGLProperty state) { in getProperty() 45 IGLProperty activeTextureProperty = mActiveTextureAccessor.getProperty(state); in getProperty()
|
D | CurrentProgramPropertyAccessor.java | 21 import com.android.ide.eclipse.gltrace.state.IGLProperty; 43 public IGLProperty getProperty(IGLProperty state) { in getProperty() 45 IGLProperty currentProgramProperty = mCurrentProgramAccessor.getProperty(state); in getProperty()
|
D | CurrentVboPropertyAccessor.java | 22 import com.android.ide.eclipse.gltrace.state.IGLProperty; 51 public IGLProperty getProperty(IGLProperty state) { in getProperty() 53 IGLProperty currentBinding = mVboBindingAccessor.getProperty(state); in getProperty()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/ |
D | TextureImageDetailsProvider.java | 23 import com.android.ide.eclipse.gltrace.state.IGLProperty; 45 public boolean isApplicable(IGLProperty state) { in isApplicable() 74 public void updateControl(IGLProperty state) { in updateControl() 75 IGLProperty imageProperty = getTextureImageProperty(state); in updateControl() 101 private IGLProperty getTextureImageProperty(IGLProperty state) { in getTextureImageProperty() 107 IGLProperty img = getImageFromPerTextureLevelState(state); in getTextureImageProperty() 119 private IGLProperty getImageFromPerTextureLevelState(IGLProperty state) { in getImageFromPerTextureLevelState() 135 private IGLProperty getFirstMipmapImage(IGLProperty state) { in getFirstMipmapImage() 144 IGLProperty mipmaps = in getFirstMipmapImage() 150 IGLProperty perTextureLevelState = ((GLSparseArrayProperty) mipmaps).getProperty(0); in getFirstMipmapImage()
|
D | ShaderSourceDetailsProvider.java | 22 import com.android.ide.eclipse.gltrace.state.IGLProperty; 37 public boolean isApplicable(IGLProperty state) { in isApplicable() 58 public void updateControl(IGLProperty state) { in updateControl() 59 IGLProperty shaderSrcProperty = getShaderSourceProperty(state); in updateControl() 79 private IGLProperty getShaderSourceProperty(IGLProperty state) { in getShaderSourceProperty()
|
D | IStateDetailProvider.java | 19 import com.android.ide.eclipse.gltrace.state.IGLProperty; 23 boolean isApplicable(IGLProperty state); in isApplicable() 26 void updateControl(IGLProperty state); in updateControl()
|
D | ShaderUniformDetailsProvider.java | 22 import com.android.ide.eclipse.gltrace.state.IGLProperty; 39 public boolean isApplicable(IGLProperty state) { in isApplicable() 59 public void updateControl(IGLProperty state) { in updateControl() 60 IGLProperty uniform = getShaderUniformProperty(state); in updateControl() 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() 156 private IGLProperty getShaderUniformProperty(IGLProperty state) { in getShaderUniformProperty()
|
D | VboDetailProvider.java | 23 import com.android.ide.eclipse.gltrace.state.IGLProperty; 62 public boolean isApplicable(IGLProperty state) { in isApplicable() 132 public void updateControl(IGLProperty state) { in updateControl() 133 IGLProperty vbo = getVboProperty(state); in updateControl() 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() 177 private IGLProperty getVboProperty(IGLProperty state) { in getVboProperty()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
D | StateLabelProvider.java | 22 import com.android.ide.eclipse.gltrace.state.IGLProperty; 33 private Set<IGLProperty> mChangedProperties; 43 public String getColumnText(IGLProperty property, int columnIndex) { in getColumnText() 54 private String getValue(IGLProperty element) { in getValue() 58 private String getName(IGLProperty element) { in getName() 59 IGLProperty parent = element.getParent(); in getName() 84 if (!(element instanceof IGLProperty)) { in update() 88 IGLProperty prop = (IGLProperty) element; in update() 100 public void setChangedProperties(Set<IGLProperty> changedProperties) { in setChangedProperties()
|
D | StateContentProvider.java | 22 import com.android.ide.eclipse.gltrace.state.IGLProperty; 60 if (element instanceof IGLProperty) { in getParent() 61 return ((IGLProperty) element).getParent(); in getParent() 69 if (element instanceof IGLProperty) { in hasChildren() 70 return ((IGLProperty) element).isComposite(); in hasChildren()
|
D | StateViewPage.java | 24 import com.android.ide.eclipse.gltrace.state.IGLProperty; 81 private IGLProperty mState; 220 Set<IGLProperty> changedProperties = null; in selectionChanged() 277 private Set<IGLProperty> updateState(int fromIndex, int toIndex) { in updateState() 290 private Set<IGLProperty> applyTransformations(int fromIndex, int toIndex) { 292 Set<IGLProperty> changedProperties = new HashSet<IGLProperty>(setSizeHint); 299 IGLProperty changedProperty = f.getChangedProperty(mState); 314 private Set<IGLProperty> revertTransformations(int fromIndex, int toIndex) { 316 Set<IGLProperty> changedProperties = new HashSet<IGLProperty>(setSizeHint); 326 IGLProperty changedProperty = f.getChangedProperty(mState); [all …]
|