66 |
this.space = space; |
this.space = space; |
67 |
this.context.setAccursed(current); |
this.context.setAccursed(current); |
68 |
this.d = d; |
this.d = d; |
69 |
this.coordinatePlaneView = new CoordinatePlaneView(d.contains, d.pan); |
this.coordinatePlaneView = new CoordinatePlaneMultiView(d.contains, d.pan); |
70 |
this.window = win; |
this.window = win; |
71 |
} |
} |
72 |
|
|
101 |
|
|
102 |
|
|
103 |
private Vob black = GLCache.getCallList("Color 0 0 0\n"); |
private Vob black = GLCache.getCallList("Color 0 0 0\n"); |
104 |
private CoordinatePlaneView coordinatePlaneView; |
private CoordinatePlaneMultiView coordinatePlaneView; |
105 |
private GraphicsAPI.Window window; |
private GraphicsAPI.Window window; |
106 |
|
|
107 |
|
|
124 |
*/ |
*/ |
125 |
void render(final VobScene vs, final int frameCS, final int panZoom, |
void render(final VobScene vs, final int frameCS, final int panZoom, |
126 |
CellPlacementHook hook) { |
CellPlacementHook hook) { |
127 |
if(hook != null) |
final CellPlacementHook hook_final = hook; |
128 |
|
|
129 |
if (space.getCellTexter() == null) |
// don't want to move this away from here.. |
130 |
context.setCellView(new CellViewPlugin(cellview, hook)); |
// rest are set in CoordinatePlaneMultiView |
131 |
else |
context.setCellView(cellview); |
|
context.setCellView( |
|
|
new CellViewPlugin(new PageSpanCellView(), hook)); |
|
|
else |
|
|
if (space.getCellTexter() == null) |
|
|
context.setCellView(cellview); |
|
|
else |
|
|
context.setCellView(new PageSpanCellView()); |
|
132 |
|
|
133 |
final GLVobCoorder glc = (GLVobCoorder)vs.coords; |
final GLVobCoorder glc = (GLVobCoorder)vs.coords; |
134 |
float[] sqs = new float[2]; |
float[] sqs = new float[2]; |
182 |
bg.put(vs, frameUnit, bg2screen); |
bg.put(vs, frameUnit, bg2screen); |
183 |
vs.map.put(black); |
vs.map.put(black); |
184 |
coordinatePlaneView.render(vs, paper2screen_shifted, |
coordinatePlaneView.render(vs, paper2screen_shifted, |
185 |
context, frameCS); |
context, frameCS, space, hook_final); |
186 |
}}; |
}}; |
187 |
|
|
188 |
if(useStencil) |
if(useStencil) |