 		private var matr:Matrix = new Matrix;
 		private var bitmapUVScale:Vector.<Number> = Vector.<Number>([1,1,0,0]);
 		private var stage:Stage;
-		public function GLCanvasRenderingContext2D(stage:Stage) 
+		private var isBatch:Boolean;
+		public function GLCanvasRenderingContext2D(stage:Stage,isBatch:Boolean=false) 
 		{
+			this.isBatch = isBatch;
 			this.stage = stage;
 			this.canvas = stage.canvas;
 			context3D = new Context3D;

		}

		public function fillText (text:String, x:Number, y:Number, opt_maxWidth:Number = 0) : Object {
			return null;
		}

		public function getImageData (sx:Number, sy:Number, sw:Number, sh:Number) : ImageData {

		public var context3D:Context3D;
		
		private var bmd2texture:ObjectMap = new ObjectMap;
		private var text2img:Object = { };
		private var bitmapPosBuf:VertexBuffer3D;
		private var bitmapUVBuf:VertexBuffer3D;
		private var bitmapIBuf:IndexBuffer3D;
