Home
last modified time | relevance | path

Searched refs:shadow (Results 1 – 25 of 238) sorted by relevance

12345678910

/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/
DPostShadowPSSM15.frag70 float shadow = 0.0;
72 shadow += SHADOWCOMPARE(tex, vec4(projCoord.xy+pixSize*(vec2(-1.5, 1.5)+o), projCoord.zw));
73 shadow += SHADOWCOMPARE(tex, vec4(projCoord.xy+pixSize*(vec2( 0.5, 1.5)+o), projCoord.zw));
74 shadow += SHADOWCOMPARE(tex, vec4(projCoord.xy+pixSize*(vec2(-1.5, -0.5)+o), projCoord.zw));
75 shadow += SHADOWCOMPARE(tex, vec4(projCoord.xy+pixSize*(vec2( 0.5, -0.5)+o), projCoord.zw));
76 shadow *= 0.25;
77 return shadow;
105 float shadow = 0.0;
115 shadow += SHADOWCOMPARE(tex, coord);
119 shadow = shadow / (KERNEL * KERNEL);
[all …]
DPostShadowPSSM.frag67 float shadow = 0.0;
69 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, 1.5) + o);
70 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2( 0.5, 1.5) + o);
71 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, -0.5) + o);
72 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2( 0.5, -0.5) + o);
73 shadow *= 0.25 ;
74 return shadow;
90 float shadow = 0.0;
95 shadow += clamp(Shadow_DoShadowCompareOffset(tex,projCoord,vec2(x,y)) +
101 shadow = shadow / (KERNEL * KERNEL);
[all …]
/external/chromium/chrome/browser/chromeos/login/
Drounded_rect_painter.cc81 int shadow, in DrawRoundedRectShadow() argument
88 shadow / 2, SkBlurMaskFilter::kNormal_BlurStyle); in DrawRoundedRectShadow()
92 SkIntToScalar(x + shadow / 2), SkIntToScalar(y + shadow / 2), in DrawRoundedRectShadow()
93 SkIntToScalar(x + w - shadow / 2), SkIntToScalar(y + h - shadow / 2)); in DrawRoundedRectShadow()
107 int shadow = border->shadow; in DrawRectWithBorder() local
119 if (border->shadow > 0) { in DrawRectWithBorder()
125 shadow, shadow_color); in DrawRectWithBorder()
129 padding + shadow, in DrawRectWithBorder()
130 padding + shadow - shadow / 3, in DrawRectWithBorder()
131 w - 2 * padding - 2 * shadow, in DrawRectWithBorder()
[all …]
/external/webkit/Source/WebCore/rendering/style/
DShadowData.cpp59 static inline void calculateShadowExtent(const ShadowData* shadow, int additionalOutlineSize, int& … in calculateShadowExtent() argument
62 int blurAndSpread = shadow->blur() + shadow->spread() + additionalOutlineSize; in calculateShadowExtent()
63 if (shadow->style() == Normal) { in calculateShadowExtent()
64 shadowLeft = min(shadow->x() - blurAndSpread, shadowLeft); in calculateShadowExtent()
65 shadowRight = max(shadow->x() + blurAndSpread, shadowRight); in calculateShadowExtent()
66 shadowTop = min(shadow->y() - blurAndSpread, shadowTop); in calculateShadowExtent()
67 shadowBottom = max(shadow->y() + blurAndSpread, shadowBottom); in calculateShadowExtent()
70 shadow = shadow->next(); in calculateShadowExtent()
71 } while (shadow); in calculateShadowExtent()
DSVGRenderStyleDefs.cpp168 , shadow(other.shadow ? new ShadowData(*other.shadow) : 0) in StyleShadowSVGData()
174 if ((!shadow && other.shadow) || (shadow && !other.shadow)) in operator ==()
176 if (shadow && other.shadow && (*shadow != *other.shadow)) in operator ==()
DRenderStyle.cpp1033 void RenderStyle::getShadowExtent(const ShadowData* shadow, int &top, int &right, int &bottom, int … in getShadowExtent() argument
1040 for ( ; shadow; shadow = shadow->next()) { in getShadowExtent()
1041 if (shadow->style() == Inset) in getShadowExtent()
1043 int blurAndSpread = shadow->blur() + shadow->spread(); in getShadowExtent()
1045 top = min(top, shadow->y() - blurAndSpread); in getShadowExtent()
1046 right = max(right, shadow->x() + blurAndSpread); in getShadowExtent()
1047 bottom = max(bottom, shadow->y() + blurAndSpread); in getShadowExtent()
1048 left = min(left, shadow->x() - blurAndSpread); in getShadowExtent()
1052 void RenderStyle::getShadowHorizontalExtent(const ShadowData* shadow, int &left, int &right) const in getShadowHorizontalExtent() argument
1057 for ( ; shadow; shadow = shadow->next()) { in getShadowHorizontalExtent()
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/context/
DPlatformGraphicsContext.cpp119 , shadow(other.shadow) in State()
143 shadow.blur = SkScalarHalf(SkIntToScalar(radius)); in setShadow()
144 shadow.dx = SkIntToScalar(dx); in setShadow()
145 shadow.dy = SkIntToScalar(dy); in setShadow()
146 shadow.color = c; in setShadow()
155 paint->setColor(shadow.color); in setupShadowPaint()
156 offset->set(shadow.dx, shadow.dy); in setupShadowPaint()
168 if (shadow.blur > 0) { in setupShadowPaint()
169 paint->setMaskFilter(SkBlurMaskFilter::Create(shadow.blur, in setupShadowPaint()
172 return SkColorGetA(shadow.color) && (shadow.blur || shadow.dx || shadow.dy); in setupShadowPaint()
[all …]
/external/webkit/Source/WebCore/rendering/svg/
DSVGRenderSupport.cpp64 if (const ShadowData* shadow = svgStyle->shadow()) in computeRectForRepaint() local
65 shadow->adjustRectForShadow(repaintRect); in computeRectForRepaint()
92 const ShadowData* shadow = svgStyle->shadow(); in prepareToRenderSVGContent() local
93 if (opacity < 1 || shadow) { in prepareToRenderSVGContent()
101 if (shadow) { in prepareToRenderSVGContent()
103 …paintInfo.context->setShadow(IntSize(shadow->x(), shadow->y()), shadow->blur(), shadow->color(), s… in prepareToRenderSVGContent()
159 if (svgStyle->shadow()) in finishRenderSVGContent()
282 if (const ShadowData* shadow = svgStyle->shadow()) in intersectRepaintRectWithResources() local
283 shadow->adjustRectForShadow(repaintRect); in intersectRepaintRectWithResources()
298 if (const ShadowData* shadow = svgStyle->shadow()) in intersectRepaintRectWithResources() local
[all …]
/external/chromium/chrome/browser/resources/
Dprint_preview.css21 -webkit-transition: text-shadow .15s;
24 text-shadow: 0 0 1px white;
28 text-shadow: 0 0 1px rgba(80, 108, 164, .5);
33 text-shadow: 0 0 1px rgba(40, 60, 120, .5);
59 -webkit-box-shadow: inset 0 2px 3px rgba(0, 0, 0, .1),
104 text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
301 -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .1),
308 -webkit-transition: -webkit-box-shadow .1s, background .1s, border .5s;
333 -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .15),
338 -webkit-transition: -webkit-box-shadow .2s, background .2s, border .2s;
[all …]
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DShadow.glsllib45 float shadow = 0.0;
47 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, 1.5) + o);
48 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2( 0.5, 1.5) + o);
49 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, -0.5) + o);
50 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2( 0.5, -0.5) + o);
51 shadow *= 0.25 ;
52 return shadow;
88 float shadow = 0.0;
92 shadow += clamp(Shadow_DoShadowCompareOffset(tex,projCoord,vec2(x,y)) +
96 shadow /= 16.0 ;
[all …]
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp201 ContextShadow shadow; member in WebCore::GraphicsContextPlatformPrivate
302 m_data->shadowStack.push(m_data->shadow); in savePlatformState()
314 m_data->shadow = ContextShadow(); in restorePlatformState()
316 m_data->shadow = m_data->shadowStack.pop(); in restorePlatformState()
500 ContextShadow* shadow = contextShadow(); in fillPath() local
501 if (shadow->mustUseContextShadow(this) || m_state.fillPattern || m_state.fillGradient) in fillPath()
503 … QPainter* shadowPainter = shadow->beginShadowLayer(this, platformPath.controlPointRect()); in fillPath()
507 shadowPainter->setOpacity(static_cast<qreal>(shadow->m_color.alpha()) / 255); in fillPath()
512 shadowPainter->setOpacity(static_cast<qreal>(shadow->m_color.alpha()) / 255); in fillPath()
515 QColor shadowColor = shadow->m_color; in fillPath()
[all …]
DStillImageQt.cpp77 ContextShadow* shadow = ctxt->contextShadow(); in draw() local
78 if (shadow->m_type != ContextShadow::NoShadow) { in draw()
79 QPainter* shadowPainter = shadow->beginShadowLayer(ctxt, normalizedDst); in draw()
81 shadowPainter->setOpacity(static_cast<qreal>(shadow->m_color.alpha()) / 255); in draw()
83 shadow->endShadowLayer(ctxt); in draw()
DImageQt.cpp227 ContextShadow* shadow = ctxt->contextShadow(); in draw() local
228 if (shadow->m_type != ContextShadow::NoShadow) { in draw()
229 QPainter* shadowPainter = shadow->beginShadowLayer(ctxt, normalizedDst); in draw()
231 shadowPainter->setOpacity(static_cast<qreal>(shadow->m_color.alpha()) / 255); in draw()
233 shadow->endShadowLayer(ctxt); in draw()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DFontCairo.cpp70 ContextShadow* shadow = graphicsContext->contextShadow(); in drawGlyphsShadow() local
71 ASSERT(shadow); in drawGlyphsShadow()
73 …if (!(graphicsContext->textDrawingMode() & TextModeFill) || shadow->m_type == ContextShadow::NoSha… in drawGlyphsShadow()
76 if (!shadow->mustUseContextShadow(graphicsContext)) { in drawGlyphsShadow()
80 cairo_translate(context, shadow->m_offset.width(), shadow->m_offset.height()); in drawGlyphsShadow()
81 setSourceRGBAFromColor(context, shadow->m_color); in drawGlyphsShadow()
91 cairo_t* shadowContext = shadow->beginShadowLayer(graphicsContext, fontExtentsRect); in drawGlyphsShadow()
95 shadow->endShadowLayer(graphicsContext); in drawGlyphsShadow()
DImageCairo.cpp139 ContextShadow* shadow = context->contextShadow(); in draw() local
140 ASSERT(shadow); in draw()
141 if (shadow->m_type != ContextShadow::NoShadow) { in draw()
142 cairo_t* shadowContext = shadow->beginShadowLayer(context, dstRect); in draw()
148 shadow->endShadowLayer(context); in draw()
/external/webkit/LayoutTests/fast/dom/HTMLKeygenElement/
Dkeygen-expected.txt5 PASS shadow.firstChild.tagName is "SELECT"
6 PASS layoutTestController.shadowRoot(shadow) is null
7 PASS layoutTestController.shadowRoot(shadow.firstChild) is null
/external/valgrind/main/docs/internals/
Dtracking-fn-entry-exit.txt30 I have a shadow call stack for every thread. For signal handlers of a thread,
31 I first PUSH a separation marker on the shadow stack, and use the stack as
45 - do unwinding if needed (i.e, POPs of the shadow call stack)
55 BB on shadow call stack.
59 as we need separate shadow call stacks.
114 > - have a shadow call stack for every thread
123 changes with %esp > stored esp on shadow stack.
142 > - Unwind the shadow call stack if necessary.
143 > [when is "necessary"? If the real %esp > the shadow stack %esp?]
149 > - If this is a function return and there was no shadow stack unwinding,
[all …]
/external/webkit/Source/WebCore/rendering/
DInlineTextBox.cpp363 …applyShadowToGraphicsContext(GraphicsContext* context, const ShadowData* shadow, const FloatRect& … in applyShadowToGraphicsContext() argument
365 if (!shadow) in applyShadowToGraphicsContext()
369 int shadowX = horizontal ? shadow->x() : shadow->y(); in applyShadowToGraphicsContext()
370 int shadowY = horizontal ? shadow->y() : -shadow->x(); in applyShadowToGraphicsContext()
372 int shadowBlur = shadow->blur(); in applyShadowToGraphicsContext()
373 const Color& shadowColor = shadow->color(); in applyShadowToGraphicsContext()
375 if (shadow->next() || stroked || !opaque) { in applyShadowToGraphicsContext()
391 … const FloatRect& boxRect, const ShadowData* shadow, bool stroked, bool horizontal) in paintTextWithShadows() argument
401 if (shadow) in paintTextWithShadows()
402 …et = roundedIntSize(InlineTextBox::applyShadowToGraphicsContext(context, shadow, boxRect, stroked,… in paintTextWithShadows()
[all …]
/external/chromium/chrome/browser/resources/shared/css/
Dbutton.css5 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
19 -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
28 -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
39 -webkit-box-shadow: none;
/external/chromium-trace/src/shared/css/
Dbubble.css52 .bubble-shadow {
66 * it would overlap/darken the content shadow. */
96 .bubble-shadow,
99 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
102 .bubble-shadow,
/external/chromium/chrome/browser/ui/cocoa/
Dhover_close_button.mm61 // Give the 'x' an inner shadow for depth. If the button is in a hover state
62 // (circle behind it), then adjust the shadow accordingly (not as harsh).
63 NSShadow* shadow = [[[NSShadow alloc] init] autorelease];
66 [shadow setShadowColor:[NSColor colorWithCalibratedWhite:0.15
68 [shadow setShadowOffset:NSMakeSize(0.0, 0.0)];
69 [shadow setShadowBlurRadius:2.5];
70 [xPath_ fillWithInnerShadow:shadow];
/external/compiler-rt/lib/asan/
Dasan_poisoning.cc36 uint8_t *shadow = (uint8_t*)MemToShadow(addr); in PoisonShadowPartialRightRedzone() local
38 i += SHADOW_GRANULARITY, shadow++) { in PoisonShadowPartialRightRedzone()
40 *shadow = 0; // fully addressable in PoisonShadowPartialRightRedzone()
42 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable in PoisonShadowPartialRightRedzone()
44 *shadow = size - i; // first size-i bytes are addressable in PoisonShadowPartialRightRedzone()
/external/chromium/base/
Dlazy_instance_unittest.cc64 base::ShadowingAtExitManager shadow; in TEST() local
85 base::ShadowingAtExitManager shadow; in TEST() local
124 base::ShadowingAtExitManager shadow; in TEST() local
134 base::ShadowingAtExitManager shadow; in TEST() local
/external/webkit/Source/WebCore/html/
DHTMLKeygenElement.cpp129 Node* shadow = shadowRoot(); in shadowSelect() local
130 ASSERT(shadow); in shadowSelect()
131 return shadow ? static_cast<HTMLSelectElement*>(shadow->firstChild()) : 0; in shadowSelect()
/external/valgrind/main/memcheck/tests/
Dsh-mem-random.c73 U1* shadow = malloc(n); in check() local
76 (void)VALGRIND_GET_VBITS(arr, shadow, n); in check()
79 if (arr_i != shadow[i]) { in check()
82 who, i, shadow[i], arr[i]); in check()
87 free(shadow); in check()

12345678910