OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fLights
(Results
1 - 14
of
14
) sorted by null
/external/skia/include/core/
SkLights.h
142
Builder() :
fLights
(new SkLights) {}
145
if (
fLights
) {
146
fLights
->
fLights
.push_back(light);
151
if (
fLights
) {
152
fLights
->
fLights
.push_back(std::move(light));
157
if (
fLights
) {
158
fLights
->fAmbientLightColor = color;
163
return std::move(
fLights
);
[
all
...]
SkCanvas.h
[
all
...]
/external/skia/gm/
shadowmaps.cpp
79
fLights
= builder.finish();
103
canvas->setLights(
fLights
);
108
sk_sp<SkLights>
fLights
;
lightingshader2.cpp
52
fLights
= builder.finish();
167
useTranslucentPaint, useTranslucentShader,
fLights
);
211
this->drawRect(canvas, 0.6f, 0.6f, 45.0f, true, true, true, true,
fLights
);
224
this->drawRect(canvas, 0.6f, 0.4f, 30.0f, true, true, true, true,
fLights
);
265
sk_sp<SkLights>
fLights
;
lightingshader.cpp
58
fLights
= builder.finish();
109
fLights
));
174
sk_sp<SkLights>
fLights
;
lightingshaderbevel.cpp
43
fLights
= builder.finish();
118
paint.setShader(SkLightingShader::Make(fDiffuse, std::move(normalSource),
fLights
));
260
sk_sp<SkLights>
fLights
;
/external/skia/src/core/
SkLightingShader.cpp
51
,
fLights
(std::move(lights)) {}
90
sk_sp<SkLights>
fLights
;
271
sk_make_sp<LightingFP>(std::move(normalFP),
fLights
)
284
fLights
));
366
accum.fX += lightShader.
fLights
->ambientLightColor().fX * SkColorGetR(diffColor);
367
accum.fY += lightShader.
fLights
->ambientLightColor().fY * SkColorGetG(diffColor);
368
accum.fZ += lightShader.
fLights
->ambientLightColor().fZ * SkColorGetB(diffColor);
371
for (int l = 0; l < lightShader.
fLights
->numLights(); ++l) {
372
const SkLights::Light& light = lightShader.
fLights
->light(l);
429
fLights
->flatten(buf)
[
all
...]
SkShadowShader.cpp
31
,
fLights
(std::move(lights))
82
sk_sp<SkLights>
fLights
;
652
std::move(
fLights
),
688
fNonAmbLightCnt = lightShader.
fLights
->numLights();
692
if (lightShader.
fLights
->light(i).type() == SkLights::Light::kDirectional_LightType) {
693
lightShader.
fLights
->light(i).getShadowMap()->
[
all
...]
SkCanvas.cpp
650
fLights
= nullptr;
[
all
...]
/external/skia/samplecode/
SampleShadowing.cpp
140
for (int i = 0; i <
fLights
->numLights(); i++) {
141
fLights
->light(i).setShadowMap(nullptr);
149
canvas->setLights(
fLights
);
170
fLights
= builder.finish();
292
sk_sp<SkLights>
fLights
;
SampleLitAtlas.cpp
116
SkXfermode::kModulate_Mode, &cull, &paint,
fLights
);
140
std::move(normalSource),
fLights
));
189
fLights
= builder.finish();
447
sk_sp<SkLights>
fLights
;
SampleBevel.cpp
720
paint.setShader(SkLightingShader::Make(nullptr, fNormalSource,
fLights
));
753
fLights
= builder.finish();
806
sk_sp<SkLights>
fLights
;
/external/skia/src/utils/
SkShadowPaintFilterCanvas.cpp
82
// It is up to the user to set the 0th light in
fLights
to
84
if (this->
fLights
->light(0).type() == SkLights::Light::kDirectional_LightType) {
85
const SkVector3& lightDir = this->
fLights
->light(0).dir();
90
} else if (this->
fLights
->light(0).type() == SkLights::Light::kPoint_LightType) {
93
SkPoint3 lightPos = this->
fLights
->light(0).pos();
/external/skia/tests/
SerializationTest.cpp
585
sk_sp<SkLights>
fLights
= builder.finish();
614
fLights
);
619
fLights
);
624
fLights
);
629
fLights
);
Completed in 510 milliseconds