// allows consumer thread to assign ownership of the texture to the tile. It
// returns false if ownership cannot be transferred because the tile is busy
bool acquire(BaseTile* owner);
+ void release(BaseTile* owner);
// private member accessor functions
BaseTile* owner() { return m_owner; } // only used by the consumer thread
, m_extra(0)
, m_navLayer(0)
{
- m_tiledPageA = new TiledPage(FIRST_TILED_PAGE_ID, this);
- m_tiledPageB = new TiledPage(SECOND_TILED_PAGE_ID, this);
m_viewport.setEmpty();
m_viewportTileBounds.setEmpty();
m_preZoomBounds.setEmpty();
+
+ m_tiledPageA = new TiledPage(FIRST_TILED_PAGE_ID, this);
+ m_tiledPageB = new TiledPage(SECOND_TILED_PAGE_ID, this);
#ifdef DEBUG_COUNT
gGLWebViewStateCount++;
#endif