OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:paintingData
(Results
1 - 13
of
13
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
SpotLightSource.cpp
43
void SpotLightSource::initPaintingData(
PaintingData
&
paintingData
) const
45
paintingData
.privateColorVector =
paintingData
.colorVector;
46
paintingData
.directionVector.setX(m_direction.x() - m_position.x());
47
paintingData
.directionVector.setY(m_direction.y() - m_position.y());
48
paintingData
.directionVector.setZ(m_direction.z() - m_position.z());
49
paintingData
.directionVector.normalize();
52
paintingData
.coneCutOffLimit = 0.0f;
53
paintingData
.coneFullLight = -antiAliasTreshold
[
all
...]
PointLightSource.cpp
38
void PointLightSource::initPaintingData(
PaintingData
&) const
42
void PointLightSource::updatePaintingData(
PaintingData
&
paintingData
, int x, int y, float z) const
44
paintingData
.lightVector.setX(m_position.x() - x);
45
paintingData
.lightVector.setY(m_position.y() - y);
46
paintingData
.lightVector.setZ(m_position.z() - z);
47
paintingData
.lightVectorLength =
paintingData
.lightVector.length();
DistantLightSource.cpp
38
void DistantLightSource::initPaintingData(
PaintingData
&
paintingData
) const
42
paintingData
.lightVector.setX(cosf(azimuth) * cosf(elevation));
43
paintingData
.lightVector.setY(sinf(azimuth) * cosf(elevation));
44
paintingData
.lightVector.setZ(sinf(elevation));
45
paintingData
.lightVectorLength = 1;
48
void DistantLightSource::updatePaintingData(
PaintingData
&, int, int, float) const
FETurbulence.cpp
151
inline long FETurbulence::
PaintingData
::random()
170
inline void FETurbulence::initPaint(
PaintingData
&
paintingData
)
175
if (
paintingData
.seed <= 0)
176
paintingData
.seed = -(
paintingData
.seed % (s_randMaximum - 1)) + 1;
177
if (
paintingData
.seed > s_randMaximum - 1)
178
paintingData
.seed = s_randMaximum - 1;
183
paintingData
.latticeSelector[i] = i;
184
gradient =
paintingData
.gradient[channel][i]
[
all
...]
FEConvolveMatrix.cpp
262
ALWAYS_INLINE void FEConvolveMatrix::fastSetInteriorPixels(
PaintingData
&
paintingData
, int clipRight, int clipBottom, int yStart, int yEnd)
265
int pixel = (m_targetOffset.y() *
paintingData
.width + m_targetOffset.x()) * 4;
291
totals[0] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->item(kernelPixel++));
292
totals[1] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->item(kernelPixel++));
293
totals[2] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->item(kernelPixel++));
295
totals[3] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->item(kernelPixel));
304
setDestinationPixels<preserveAlphaValues>(
paintingData
.dstPixelArray, pixel, totals, m_divisor,
paintingData
.bias,
paintingData
.srcPixelArray)
[
all
...]
FELighting.cpp
186
inline void FELighting::inlineSetPixel(int offset, LightingData& data, LightSource::
PaintingData
&
paintingData
,
189
data.lightSource->updatePaintingData(
paintingData
, lightX, lightY, static_cast<float>(data.pixels->item(offset + cAlphaChannelOffset)) * data.surfaceScale);
195
lightStrength = m_diffuseConstant *
paintingData
.lightVector.z() /
paintingData
.lightVectorLength;
197
FloatPoint3D halfwayVector =
paintingData
.lightVector;
198
halfwayVector.setZ(halfwayVector.z() +
paintingData
.lightVectorLength);
213
lightStrength = m_diffuseConstant * (normalVector *
paintingData
.lightVector) / (normalVectorLength *
paintingData
.lightVectorLength);
215
FloatPoint3D halfwayVector =
paintingData
.lightVector
[
all
...]
FEMorphology.h
55
struct
PaintingData
{
70
PaintingData
*
paintingData
;
FETurbulence.h
71
struct
PaintingData
{
72
PaintingData
(long paintingSeed, const IntSize& paintingSize)
107
PaintingData
*
paintingData
;
122
inline void initPaint(
PaintingData
&);
123
float noise2D(int channel,
PaintingData
&, StitchData&, const FloatPoint&);
124
unsigned char calculateTurbulenceValueForPoint(int channel,
PaintingData
&, StitchData&, const FloatPoint&, float, float);
125
inline void fillRegion(Uint8ClampedArray*,
PaintingData
&, int, int, float, float);
FEConvolveMatrix.h
80
struct
PaintingData
{
94
ALWAYS_INLINE void fastSetInteriorPixels(
PaintingData
&, int clipRight, int clipBottom, int yStart, int yEnd);
96
ALWAYS_INLINE int getPixelValue(
PaintingData
&, int x, int y);
99
void fastSetOuterPixels(
PaintingData
&, int x1, int y1, int x2, int y2);
102
ALWAYS_INLINE void setInteriorPixels(
PaintingData
&, int clipRight, int clipBottom, int yStart, int yEnd);
103
ALWAYS_INLINE void setOuterPixels(
PaintingData
&, int x1, int y1, int x2, int y2);
113
PaintingData
*
paintingData
;
FELighting.h
81
LightSource::
PaintingData
paintingData
;
94
inline void inlineSetPixel(int offset, LightingData&, LightSource::
PaintingData
&,
98
void setPixel(int offset, LightingData&, LightSource::
PaintingData
&,
101
inline void platformApply(LightingData&, LightSource::
PaintingData
&);
103
inline void platformApplyGenericPaint(LightingData&, LightSource::
PaintingData
&, int startX, int startY);
104
inline void platformApplyGeneric(LightingData&, LightSource::
PaintingData
&);
/external/skia/include/effects/
SkPerlinNoiseShader.h
26
struct
PaintingData
;
88
int channel, const
PaintingData
&
paintingData
,
90
SkScalar noise2D(int channel, const
PaintingData
&
paintingData
,
126
PaintingData
* fPaintingData;
/external/skia/src/effects/
SkPerlinNoiseShader.cpp
80
struct SkPerlinNoiseShader::
PaintingData
{
81
PaintingData
(const SkISize& tileSize, SkScalar seed,
278
fPaintingData = SkNEW_ARGS(
PaintingData
, (fTileSize, fSeed, fBaseFrequencyX, fBaseFrequencyY));
292
fPaintingData = SkNEW_ARGS(
PaintingData
, (fTileSize, fSeed, fBaseFrequencyX, fBaseFrequencyY));
316
int channel, const
PaintingData
&
paintingData
,
350
paintingData
.fLatticeSelector[noiseX.noisePositionIntegerValue];
352
paintingData
.fLatticeSelector[noiseX.nextNoisePositionIntegerValue];
362
u =
paintingData
.fGradient[channel][b00].dot(fractionValue);
364
v =
paintingData
.fGradient[channel][b10].dot(fractionValue)
[
all
...]
/external/chromium_org/third_party/skia/src/effects/
SkPerlinNoiseShader.cpp
81
struct SkPerlinNoiseShader::
PaintingData
{
82
PaintingData
(const SkISize& tileSize, SkScalar seed,
476
fPaintingData = SkNEW_ARGS(
PaintingData
, (shader.fTileSize, shader.fSeed, shader.fBaseFrequencyX, shader.fBaseFrequencyY, newMatrix));
549
SkPerlinNoiseShader::
PaintingData
*
paintingData
,
552
return SkNEW_ARGS(GrPerlinNoiseEffect, (type, numOctaves, stitchTiles,
paintingData
,
591
SkPerlinNoiseShader::
PaintingData
*
paintingData
,
600
, fPaintingData(
paintingData
) {
617
SkPerlinNoiseShader::
PaintingData
*fPaintingData
[
all
...]
Completed in 895 milliseconds