uiacceltk/hitchcock/coretoolkit/src/huicanvaswsswgc.cpp
branchRCL_3
changeset 3 d8a3531bc6b8
parent 0 15bf7259bb7c
child 6 10534483575f
equal deleted inserted replaced
0:15bf7259bb7c 3:d8a3531bc6b8
  1323 	return rect;
  1323 	return rect;
  1324 	}
  1324 	}
  1325 	
  1325 	
  1326 TDisplayMode CHuiCanvasWsSwGc::SelectDisplayMode()
  1326 TDisplayMode CHuiCanvasWsSwGc::SelectDisplayMode()
  1327     {
  1327     {
  1328     TDisplayMode mode = EColor16MA;
  1328     TDisplayMode mode = EColor16MAP;
  1329         
  1329     
  1330     // Note 64K mode cannot be used until separate mask is supported. It might be
  1330     // Note 64K mode cannot be used until separate mask is supported. It might be
  1331     // possible to generate according to dirty region ?
  1331     // possible to generate according to dirty region ?
  1332     
  1332     
  1333     /*
  1333     /*
  1334     // NOTE: EHuiRendererGles10 and EHuiRendererGles11 temporarely use EColor64K
  1334     // NOTE: EHuiRendererGles10 and EHuiRendererGles11 temporarely use EColor64K
  1475     if (!iBitGc)
  1475     if (!iBitGc)
  1476         {
  1476         {
  1477         return;
  1477         return;
  1478         }
  1478         }
  1479     
  1479     
       
  1480     iBitGc->Reset();
       
  1481     
  1480     if (aClear)
  1482     if (aClear)
  1481         {
  1483         {
  1482         if (iDefaultClipRegion.Count())
  1484         if (iDefaultClipRegion.Count())
  1483             {
  1485             {
  1484             iBitGc->SetClippingRegion(iDefaultClipRegion);
  1486             iBitGc->SetClippingRegion(iDefaultClipRegion);