skia2/include
egdaniel 990dbc8879 Add Texture2D and Sampler GrSLTypes
These two new types are in support of Vulkan and the ability to send
separate texture and sampler uniforms to the shader. They don't really fit
well in the current system, since the current system ties together to idea
of intended use and how to emit shader code into the same GrSLType enum.

In vulkan, I want the GrGLSLSampler object to be used as a Sampler2D, but
when appending its declaration it will emit a Texture2D and sampler object.

Our query for GrSLTypeIsSamplerType refers more to the combination of texture
and sampler and not just the sampler part. The GrSLTypeIs2DTextureType query
is for is a a SamplerType that uses Texture2Ds. My new types don't really fit
into either these categories as they are just half of the whole.

In some refactoring down the road (possibly connected with SkSL), I suggest we
split apart the concept of how we intend to use a GrGLSLSampler (Sampler2D, SamplerBuffer,
etc.), from how we actually add it to the code (sampler, texture2D, sampler2D, etc.).

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

Review-Url: https://codereview.chromium.org/2143143002
2016-07-13 14:09:31 -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 Added the framework for having canvas/recorder/picture record depth_set's. 2016-07-13 14:05:28 -07:00
effects remove DownSample imagefilter 2016-06-25 14:30:44 -07:00
gpu Add Texture2D and Sampler GrSLTypes 2016-07-13 14:09:31 -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 Added the framework for having canvas/recorder/picture record depth_set's. 2016-07-13 14:05:28 -07:00
svg move SkTDict and SkTSearch into private 2016-01-03 18:36:05 -08:00
utils drawTextRSXform 2016-07-07 12:47:17 -07:00
views Try fix the mac build bot after removing Android SampleApp 2016-07-06 07:52:08 -07:00
xml remove unused BML (binary xml) code 2016-04-09 11:09:49 -07:00