DescriptionAdd API for GrContext to recommend rendertarget sample count
Add GrContext::getRecommendedSampleCount method that can be
used to determine which GPU backend and what exact sample count
is recommendeded for a particular render target at particular
dpi.
Make this initially recommend 4xMSAA for contexts which have
NVPR enabled if dpi is 250 or more, 16 if dpi is less than 250
and no MSAA for others.
BUG=chromium:347962
Committed: http://code.google.com/p/skia/source/detail?r=13717
Patch Set 1 #
Total comments: 1
Patch Set 2 : address review comments #Patch Set 3 : address review comments #
Total comments: 1
Patch Set 4 : address review commetns #
Messages
Total messages: 9 (0 generated)
|