Home | History | Annotate | Download | only in renderscript

Lines Matching refs:lod

95     void initLOD(int lod) {
96 if (lod < 0) {
97 throw new RSIllegalArgumentException("Attempting to set negative lod (" + lod + ").");
104 for (int ct=0; ct < lod; ct++) {
106 throw new RSIllegalArgumentException("Attempting to set lod (" + lod + ") out of range.");
129 * Set the active LOD. The LOD must be within the range for the
135 * @param lod The LOD to make active.
137 public void setLOD(int lod) {
139 throw new RSInvalidStateException("Cannot set LOD when the allocation type does not include mipmaps.");
142 throw new RSInvalidStateException("Cannot set LOD when the adapter includes mipmaps.");
145 initLOD(lod);
159 throw new RSInvalidStateException("Cannot set LOD when the adapter includes mipmaps.");