GitHub PushEvent at 2014-07-02 18:31:47
Repository: android_frameworks_base
Actor: fraz14
Payload: {"shas":[["760e0c4f246607da36a1c2adcf7dabfb9c3e5afb","c13738bc14dd346621267c625c6f0a12ae209b61@codeaurora.org","Fix a resource race bug in PathCache\n\nWhen enabled defer rendering, it will do precache for DrawPathOp.\nThe paint used for creating PathTask in precache just get the address\nof mFilteredPaint of OpenGLRenderer. So for the following defer\noperation like DrawTextOp has possibility change the mFilteredPaint\nby getPaint while another WorkerThread in PathCache is using the paint\nwhich pointed to the same address of mFilteredPaint to generate bitmap.\nAs a result, it will generate a wrong bitmap for generateTexture in\nPathCache. To fix it, do a copy of paint when creating PathTask.\n\nCRs-Fixed: 664244\n\nChange-Id: I5516f5b143458b88d3573d15b7ebb34f688800c7","yuyang",true]],"size":1,"ref":"refs/heads/kk","head":"760e0c4f246607da36a1c2adcf7dabfb9c3e5afb"}