HomeSort by relevance Sort by last modified time
    Searched refs:SkLights (Results 1 - 10 of 10) sorted by null

  /external/skia/src/shaders/
SkLightingShader.h 11 #include "SkLights.h"
34 sk_sp<SkLights> lights);
SkLightingShader.cpp 50 sk_sp<SkLights> lights)
93 sk_sp<SkLights> fLights;
118 sk_sp<SkLights> lights) {
197 const SkTArray<SkLights::Light>& directionalLights = lightingFP.directionalLights();
201 for (const SkLights::Light& light : directionalLights) {
220 SkTArray<SkLights::Light> fDirectionalLights;
234 const SkTArray<SkLights::Light>& directionalLights() const { return fDirectionalLights; }
238 LightingFP(sk_sp<GrFragmentProcessor> normalFP, sk_sp<SkLights> lights)
243 if (SkLights::Light::kDirectional_LightType == lights->light(i).type()) {
263 SkTArray<SkLights::Light> fDirectionalLights
    [all...]
  /external/skia/include/core/
SkLights.h 20 class SK_API SkLights : public SkRefCnt {
116 friend class SkLights;
144 Builder() : fLights(new SkLights) {}
164 sk_sp<SkLights> finish() {
169 sk_sp<SkLights> fLights;
188 static sk_sp<SkLights> MakeFromBuffer(SkReadBuffer& buf);
193 SkLights() {
198 sk_sp<SkLights> makeColorSpace(SkColorSpaceXformer* xformer) const;
SkCanvas.h 30 class SkLights;
    [all...]
  /external/skia/src/core/
SkLights.cpp 10 #include "SkLights.h"
13 sk_sp<SkLights> SkLights::MakeFromBuffer(SkReadBuffer& buf) {
74 sk_sp<SkLights> SkLights::makeColorSpace(SkColorSpaceXformer* xformer) const {
75 SkLights::Builder builder;
85 void SkLights::flatten(SkWriteBuffer& buf) const {
  /external/skia/samplecode/
SampleLighting.cpp 16 static sk_sp<SkLights> create_lights(SkScalar angle, SkScalar blue) {
22 SkLights::Builder builder;
24 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, blue), dir));
66 sk_sp<SkLights> lights(create_lights(fLightAngle, fColorFactor));
SampleLitAtlas.cpp 14 #include "SkLights.h"
183 SkLights::Builder builder;
185 builder.add(SkLights::Light::MakeDirectional(
447 sk_sp<SkLights> fLights;
  /external/skia/gm/
lightingshader2.cpp 48 SkLights::Builder builder;
49 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f),
55 SkLights::Builder builderNoDir;
60 SkLights::Builder builderTwoDir;
61 builderTwoDir.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 0.0f, 1.0f),
63 builderTwoDir.add(SkLights::Light::MakeDirectional(SkColor3f::Make(0.0f, 1.0f, 1.0f),
107 bool useTranslucentPaint, bool useTranslucentShader, sk_sp<SkLights> lights) {
265 sk_sp<SkLights> fLights;
266 sk_sp<SkLights> fLightsNoDir;
267 sk_sp<SkLights> fLightsTwoDir
    [all...]
lightingshader.cpp 50 SkLights::Builder builder;
52 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f),
174 sk_sp<SkLights> fLights;
  /external/skia/tests/
SerializationTest.cpp 560 SkLights::Builder builder;
562 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f),
566 sk_sp<SkLights> fLights = builder.finish();

Completed in 194 milliseconds