internal BrowserPaint(HTML_NeedsPaint_t t)
 {
     ImageData   = t.PBGRA;
     Width       = (int)t.UnWide;
     Height      = (int)t.UnTall;
     DirtyX      = (int)t.UnUpdateX;
     DirtyY      = (int)t.UnUpdateY;
     DirtyWidth  = (int)t.UnUpdateWide;
     DirtyHeight = (int)t.UnUpdateTall;
     ScrollX     = (int)t.UnScrollX;
     ScrollY     = (int)t.UnScrollY;
     PageScale   = (int)t.FlPageScale;
     PageSerial  = (int)t.UnPageSerial;
 }
	void OnHTML_NeedsPaint(HTML_NeedsPaint_t pCallback) {
		Debug.Log("[" + HTML_NeedsPaint_t.k_iCallback + " - HTML_NeedsPaint] - " + pCallback.unBrowserHandle + " -- " + pCallback.pBGRA + " -- " + pCallback.unWide + " -- " + pCallback.unTall + " -- " + pCallback.unUpdateX + " -- " + pCallback.unUpdateY + " -- " + pCallback.unUpdateWide + " -- " + pCallback.unUpdateTall + " -- " + pCallback.unScrollX + " -- " + pCallback.unScrollY + " -- " + pCallback.flPageScale + " -- " + pCallback.unPageSerial);

		if (m_Texture == null) {
			m_Texture = new Texture2D((int)pCallback.unWide, (int)pCallback.unTall, TextureFormat.BGRA32, false, true);
		}

		int dataSize = (int)(pCallback.unWide * pCallback.unTall * 4);
		byte[] bytes = new byte[dataSize];
		System.Runtime.InteropServices.Marshal.Copy(pCallback.pBGRA, bytes, 0, dataSize);

		m_Texture.LoadRawTextureData(bytes);
		m_Texture.Apply();
	}