OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:paintingData
(Results
1 - 16
of
16
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
SpotLightSource.cpp
43
void SpotLightSource::initPaintingData(
PaintingData
&
paintingData
)
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
...]
DistantLightSource.cpp
38
void DistantLightSource::initPaintingData(
PaintingData
&
paintingData
)
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)
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
...]
PointLightSource.cpp
38
void PointLightSource::initPaintingData(
PaintingData
&)
42
void PointLightSource::updatePaintingData(
PaintingData
&
paintingData
, int x, int y, float z)
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();
FEConvolveMatrix.cpp
254
ALWAYS_INLINE void FEConvolveMatrix::fastSetInteriorPixels(
PaintingData
&
paintingData
, int clipRight, int clipBottom, int yStart, int yEnd)
257
int pixel = (m_targetOffset.y() *
paintingData
.width + m_targetOffset.x()) * 4;
283
totals[0] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->item(kernelPixel++));
284
totals[1] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->item(kernelPixel++));
285
totals[2] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->item(kernelPixel++));
287
totals[3] += m_kernelMatrix[kernelValue] * static_cast<float>(
paintingData
.srcPixelArray->item(kernelPixel));
296
setDestinationPixels<preserveAlphaValues>(
paintingData
.dstPixelArray, pixel, totals, m_divisor,
paintingData
.bias,
paintingData
.srcPixelArray)
[
all
...]
FEMorphology.cpp
109
void FEMorphology::platformApplyGeneric(
PaintingData
*
paintingData
, int yStart, int yEnd)
111
Uint8ClampedArray* srcPixelArray =
paintingData
->srcPixelArray;
112
Uint8ClampedArray* dstPixelArray =
paintingData
->dstPixelArray;
113
const int width =
paintingData
->width;
114
const int height =
paintingData
->height;
116
const int radiusX =
paintingData
->radiusX;
117
const int radiusY =
paintingData
->radiusY;
168
param->filter->platformApplyGeneric(param->
paintingData
, param->startY, param->endY);
171
void FEMorphology::platformApply(
PaintingData
* paintingData
[
all
...]
FELighting.cpp
179
inline void FELighting::inlineSetPixel(int offset, LightingData& data, LightSource::
PaintingData
&
paintingData
,
182
m_lightSource->updatePaintingData(
paintingData
, lightX, lightY, static_cast<float>(data.pixels->item(offset + cAlphaChannelOffset)) * data.surfaceScale);
188
lightStrength = m_diffuseConstant *
paintingData
.lightVector.z() /
paintingData
.lightVectorLength;
190
FloatPoint3D halfwayVector =
paintingData
.lightVector;
191
halfwayVector.setZ(halfwayVector.z() +
paintingData
.lightVectorLength);
206
lightStrength = m_diffuseConstant * (normalVector *
paintingData
.lightVector) / (normalVectorLength *
paintingData
.lightVectorLength);
208
FloatPoint3D halfwayVector =
paintingData
.lightVector
[
all
...]
FEMorphology.h
56
struct
PaintingData
{
71
PaintingData
*
paintingData
;
76
inline void platformApply(
PaintingData
*);
77
inline void platformApplyGeneric(
PaintingData
*, const int yStart, const int yEnd);
FETurbulence.h
73
struct
PaintingData
{
74
PaintingData
(long paintingSeed, const IntSize& paintingSize)
109
PaintingData
*
paintingData
;
125
inline void initPaint(
PaintingData
&);
126
float noise2D(int channel,
PaintingData
&, StitchData&, const FloatPoint&);
127
unsigned char calculateTurbulenceValueForPoint(int channel,
PaintingData
&, StitchData&, const FloatPoint&, float, float);
128
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
84
LightSource::
PaintingData
paintingData
;
95
inline void inlineSetPixel(int offset, LightingData&, LightSource::
PaintingData
&,
99
void setPixel(int offset, LightingData&, LightSource::
PaintingData
&,
102
inline void platformApply(LightingData&, LightSource::
PaintingData
&);
104
inline void platformApplyGenericPaint(LightingData&, LightSource::
PaintingData
&, int startX, int startY);
105
inline void platformApplyGeneric(LightingData&, LightSource::
PaintingData
&);
108
inline void platformApplyNeon(LightingData&, LightSource::
PaintingData
&);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/cpu/arm/filters/
FELightingNEON.h
96
inline void FELighting::platformApplyNeon(LightingData& data, LightSource::
PaintingData
&
paintingData
)
135
floatArguments.directionX =
paintingData
.directionVector.x();
136
floatArguments.directionY =
paintingData
.directionVector.y();
137
floatArguments.directionZ =
paintingData
.directionVector.z();
140
floatArguments.coneCutOffLimit =
paintingData
.coneCutOffLimit;
141
floatArguments.coneFullLight =
paintingData
.coneFullLight;
142
floatArguments.coneCutOffRange =
paintingData
.coneCutOffLimit -
paintingData
.coneFullLight;
148
floatArguments.lightX =
paintingData
.lightVector.x()
[
all
...]
/external/chromium_org/third_party/skia/include/effects/
SkPerlinNoiseShader.h
26
struct
PaintingData
;
87
void initPaint(
PaintingData
&
paintingData
);
89
SkScalar noise2D(int channel, const
PaintingData
&
paintingData
,
92
SkScalar calculateTurbulenceValueForPoint(int channel, const
PaintingData
&
paintingData
,
106
PaintingData
* fPaintingData;
/external/skia/include/effects/
SkPerlinNoiseShader.h
26
struct
PaintingData
;
87
void initPaint(
PaintingData
&
paintingData
);
89
SkScalar noise2D(int channel, const
PaintingData
&
paintingData
,
92
SkScalar calculateTurbulenceValueForPoint(int channel, const
PaintingData
&
paintingData
,
106
PaintingData
* fPaintingData;
/external/chromium_org/third_party/skia/src/effects/
SkPerlinNoiseShader.cpp
82
struct SkPerlinNoiseShader::
PaintingData
{
83
PaintingData
(const SkISize& tileSize)
90
~
PaintingData
()
330
void SkPerlinNoiseShader::initPaint(
PaintingData
&
paintingData
)
332
paintingData
.init(fSeed);
335
paintingData
.fBaseFrequency.set(fBaseFrequencyX, fBaseFrequencyY);
338
paintingData
.stitch();
346
fPaintingData = SkNEW_ARGS(
PaintingData
, (fTileSize));
360
SkScalar SkPerlinNoiseShader::noise2D(int channel, const
PaintingData
& paintingData
[
all
...]
/external/skia/src/effects/
SkPerlinNoiseShader.cpp
82
struct SkPerlinNoiseShader::
PaintingData
{
83
PaintingData
(const SkISize& tileSize)
90
~
PaintingData
()
330
void SkPerlinNoiseShader::initPaint(
PaintingData
&
paintingData
)
332
paintingData
.init(fSeed);
335
paintingData
.fBaseFrequency.set(fBaseFrequencyX, fBaseFrequencyY);
338
paintingData
.stitch();
346
fPaintingData = SkNEW_ARGS(
PaintingData
, (fTileSize));
360
SkScalar SkPerlinNoiseShader::noise2D(int channel, const
PaintingData
& paintingData
[
all
...]
Completed in 1155 milliseconds