DescriptionUse the factory to create SkGpuDevice objects.
SkGpuDevice constructors are deprecated and the factory should
be used instead when filters and blending require offscreen targets.
Extra NULL check added: for many reasons, something can go wrong
within GrGpuGL::onCreateTexture() and fail to create the backing
store's texture. Instead of crashing, we can handle this gracefully
and simply render the page without the blending applied.
BUG=359947
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275553
Patch Set 1 #Patch Set 2 : rebase & traces #Messages
Total messages: 11 (0 generated)
|