skia2/include
csmartdalton 42eafa4bc0 Begin instanced rendering for simple shapes
Adds a module that performs instanced rendering and starts using it
for a select subset of draws on Mac GL platforms. The instance
processor can currently handle rects, ovals, round rects, and double
round rects. It can generalize shapes as round rects in order to
improve batching. The instance processor also employs new drawing
algorithms, irrespective of instanced rendering, that improve GPU-side
performance (e.g. sample mask, different triangle layouts, etc.).

This change only scratches the surface of instanced rendering. The
majority of draws still only have one instance. Future work may
include:

 * Passing coord transforms through the texel buffer.
 * Sending FP uniforms through instanced vertex attribs.
 * Using instanced rendering for more draws (stencil writes,
   drawAtlas, etc.).
 * Adding more shapes to the instance processor’s repertoire.
 * Batching draws that have mismatched scissors (analyzing draw
   bounds, inserting clip planes, etc.).
 * Bindless textures.
 * Uber shaders.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2066993003

Review-Url: https://codereview.chromium.org/2066993003
2016-06-30 12:15:49 -07:00
..
android Delete SkBitmapRegionCanvas 2016-05-18 06:23:57 -07:00
animator Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. 2016-03-25 12:59:53 -07:00
c add drawCircle to c api 2016-02-09 13:25:51 -08:00
codec Revert of Make SkPngCodec decode progressively. (patchset #26 id:520001 of https://codereview.chromium.org/1997703003/ ) 2016-06-06 11:26:17 -07:00
config SkPDF: Use Pathops clipping 2016-03-31 07:33:57 -07:00
core SkPDF: allow overriding Producer metadata 2016-06-30 08:22:04 -07:00
effects remove DownSample imagefilter 2016-06-25 14:30:44 -07:00
gpu Begin instanced rendering for simple shapes 2016-06-30 12:15:49 -07:00
images Delete SkPageFlipper 2016-03-25 10:31:22 -07:00
pathops Move SkTDArray to private. 2016-02-18 08:53:33 -08:00
ports SkLeanWindows.h: #include "Windows.h" fewer places 2016-06-07 17:21:10 -07:00
private Begin instanced rendering for simple shapes 2016-06-30 12:15:49 -07:00
svg move SkTDict and SkTSearch into private 2016-01-03 18:36:05 -08:00
utils Move headers in include/utils/win to src/utils/win. 2016-06-16 15:31:43 -07:00
views Revert of Remove Android SampleApp (patchset #5 id:80001 of https://codereview.chromium.org/2096683002/ ) 2016-06-24 05:24:16 -07:00
xml remove unused BML (binary xml) code 2016-04-09 11:09:49 -07:00