aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/share
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-01-27 14:05:54 -0800
committerHarvey Harrison <[email protected]>2013-01-27 14:05:54 -0800
commit3531f53765d808a83deab8b229beab4df2294ff5 (patch)
tree55c6371a518e6dc4233421f51fadf1e939fd01bd /src/classes/share
parentff861a3aa4ddf6b729d7a1b5eef4d234b8ee5d56 (diff)
j3dcore: annotate dirtyList in RenderBin
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes/share')
-rw-r--r--src/classes/share/javax/media/j3d/RenderBin.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java
index b55343e..29c387c 100644
--- a/src/classes/share/javax/media/j3d/RenderBin.java
+++ b/src/classes/share/javax/media/j3d/RenderBin.java
@@ -359,8 +359,8 @@ ArrayList<RenderAtomListInfo> removeDlistPerRinfo = new ArrayList<RenderAtomList
*/
private boolean visQuery = false;
- // Temporary dirtylist
- ArrayList dirtyList = new ArrayList(5);
+// Temporary dirtylist
+ArrayList<RenderAtomListInfo> dirtyList = new ArrayList<RenderAtomListInfo>(5);
// Transaprency sort mode
int transpSortMode = View.TRANSPARENCY_SORT_NONE;
@@ -1042,7 +1042,7 @@ ArrayList<RenderAtomListInfo> removeDlistPerRinfo = new ArrayList<RenderAtomList
}
if ((size = dirtyList.size()) > 0) {
for (i = 0; i < size; i++) {
- ra = (RenderAtomListInfo)dirtyList.get(i);
+ ra = dirtyList.get(i);
GeometryArrayRetained geo = (GeometryArrayRetained)ra.geometry();
if ( (geo.resourceCreationMask & rdr.rendererBit) != 0) {
rdr.dirtyRenderAtomList.add(ra);
@@ -1128,7 +1128,7 @@ ArrayList<RenderAtomListInfo> removeDlistPerRinfo = new ArrayList<RenderAtomList
}
if ((size = dirtyList.size()) > 0) {
for (i = 0; i <size; i++) {
- ra = (RenderAtomListInfo)dirtyList.get(i);
+ ra = dirtyList.get(i);
GeometryArrayRetained geo = (GeometryArrayRetained)ra.geometry();
if ((geo.resourceCreationMask & cv.canvasBit) != 0) {
cv.dirtyRenderAtomList.add(ra);