HomeSort by relevance Sort by last modified time
    Searched refs:layer (Results 51 - 75 of 269) sorted by null

1 23 4 5 6 7 8 91011

  /frameworks/base/opengl/tests/hwc/
hwcTestLib.cpp 397 * Dynamically creates layer list with numLayers worth
423 // Display the settings of the layer list pointed to by list
430 for (unsigned int layer = 0; layer < list->numHwLayers; layer++) {
431 testPrintI(" layer %u compositionType: %#x%s%s", layer,
432 list->hwLayers[layer].compositionType,
433 (list->hwLayers[layer].compositionType == HWC_FRAMEBUFFER)
435 (list->hwLayers[layer].compositionType == HWC_OVERLAY
    [all...]
  /external/webkit/Source/WebCore/tests/
TreeManager_test.cpp 33 #include "Layer.h"
45 class TestLayer : public Layer {
74 void setIsPainting(Layer* drawingTree) {
128 SkSafeUnref(p); // layer takes sole ownership of picture
158 TestLayer layer; local
161 manager.updateWithTree(&layer, true);
163 ASSERT_TRUE(layer.m_isPainting);
164 ASSERT_FALSE(layer.m_isDrawing);
171 ASSERT_EQ(layer.m_drawCount, 0);
174 layer.m_isDonePainting = true
185 TestLayer* layer = new TestLayer(); local
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderObjectChildList.cpp 84 // if we remove visible child from an invisible parent, we don't know the layer visibility any more
85 RenderLayer* layer = 0; local
87 layer = owner->enclosingLayer();
88 layer->dirtyVisibleContentStatus();
91 // Keep our layer hierarchy updated.
93 if (!layer)
94 layer = owner->enclosingLayer();
95 oldChild->removeLayers(layer);
158 // Keep our layer hierarchy updated. Optimize for the common case where we don't have any children
159 // and don't have a layer attached to ourselves
160 RenderLayer* layer = 0; local
220 RenderLayer* layer = 0; local
    [all...]
RenderLayerCompositor.h 65 // This will make a compositing layer at the root automatically, and hook up to
77 // Called when the layer hierarchy needs to be updated (compositing layers have been
104 // Update the compositing state of the given layer. Returns true if that state changed.
109 void updateCompositingDescendantGeometry(RenderLayer* compositingAncestor, RenderLayer* layer, RenderLayerBacking::UpdateDepth);
111 // Whether layer's backing needs a graphics layer to do clipping by an ancestor (non-stacking-context parent with overflow).
113 // Whether layer's backing needs a graphics layer to clip z-order children of the given layer.
116 // Whether the given layer needs an extra 'contents' layer
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/
Layer.cpp 2 #include "Layer.h"
14 Layer::Layer() {
30 SkDebugf("Layer new: %d\n", gLayerAllocCount);
34 Layer::Layer(const Layer& src) : INHERITED() {
50 SkDebugf("Layer copy: %d\n", gLayerAllocCount);
54 Layer::~Layer() {
    [all...]
GraphicsLayerAndroid.cpp 28 #include "Layer.h"
237 // If we are a fixed position layer, just set it
318 // If it is a media layer the size may have changed as a result of the media
321 RenderLayer* layer = renderLayerFromClient(m_client); local
322 if (layer && m_contentLayer->isMedia()) {
323 RenderBox* box = layer->renderBox();
326 LOG("Media Outline: %d %p %p %p", outline, m_client, layer, box);
364 GraphicsLayer* layer = m_children[i]; local
365 layer->setTransform(t);
366 if (layer->children().size()
489 RenderLayer* layer = renderLayerFromClient(m_client); local
521 LayerAndroid* layer = new ScrollableLayerAndroid(*m_contentLayer); local
544 LayerAndroid* layer = new LayerAndroid(*m_contentLayer); local
567 RenderLayer* layer = renderLayerFromClient(m_client); local
938 LayerAndroid* layer = m_contentLayer; local
    [all...]
MediaLayer.h 36 MediaLayer(const MediaLayer& layer);
AndroidAnimation.cpp 177 bool AndroidAnimation::evaluate(LayerAndroid* layer, double time)
187 // in this case we want to apply the initial keyframe to the layer
188 applyForProgress(layer, 0);
203 applyForProgress(layer, progress);
246 void AndroidOpacityAnimation::applyForProgress(LayerAndroid* layer, float progress)
254 XLOG("[layer %d] opacity fromValue %x, key %.2f, toValue %x, key %.2f for progress %.2f",
255 layer->uniqueId(),
269 layer->setOpacity(value);
287 void AndroidTransformAnimation::applyForProgress(LayerAndroid* layer, float progress)
296 XLOG("[layer %d] fromValue %x, key %.2f, toValue %x, key %.2f for progress %.2f"
    [all...]
LayerAndroid.cpp 141 LayerAndroid::LayerAndroid(RenderLayer* owner) : Layer(),
171 LayerAndroid::LayerAndroid(const LayerAndroid& layer) : Layer(layer),
172 m_haveClip(layer.m_haveClip),
173 m_isIframe(layer.m_isIframe),
174 m_uniqueId(layer.m_uniqueId),
176 m_owningLayer(layer.m_owningLayer),
180 m_isFixed = layer.m_isFixed;
181 m_imageCRC = layer.m_imageCRC
1154 LayerAndroid* layer = sublayers[i]; local
1174 LayerAndroid* layer = sublayers[i]; local
    [all...]
VideoLayerAndroid.h 53 explicit VideoLayerAndroid(const VideoLayerAndroid& layer);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
Kube.java 138 mLayers[kUp] = new Layer(Layer.kAxisY);
139 mLayers[kDown] = new Layer(Layer.kAxisY);
140 mLayers[kLeft] = new Layer(Layer.kAxisX);
141 mLayers[kRight] = new Layer(Layer.kAxisX);
142 mLayers[kFront] = new Layer(Layer.kAxisZ)
150 Layer layer; local
    [all...]
  /frameworks/base/services/surfaceflinger/
SurfaceFlinger.cpp 51 #include "Layer.h"
340 // Check the visible layer list for the ISurface
344 const sp<LayerBase>& layer(currentLayers[i]);
345 sp<LayerBaseClient> lbc(layer->getLayerBaseClient());
363 const sp<LayerBase>& layer(mLayerPurgatory.itemAt(i));
364 sp<LayerBaseClient> lbc(layer->getLayerBaseClient());
524 const sp<LayerBase>& layer = currentLayers[i]; local
525 uint32_t trFlags = layer->getTransactionFlags(eTransactionNeeded);
528 const uint32_t flags = layer->doTransaction(0);
529 if (flags & Layer::eVisibleRegion
601 const sp<LayerBase>& layer = currentLayers[i]; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/texmap/
GraphicsLayerTextureMapper.cpp 79 void GraphicsLayerTextureMapper::setParent(GraphicsLayer* layer)
82 GraphicsLayer::setParent(layer);
95 void GraphicsLayerTextureMapper::addChild(GraphicsLayer* layer)
98 GraphicsLayer::addChild(layer);
103 void GraphicsLayerTextureMapper::addChildAtIndex(GraphicsLayer* layer, int index)
105 GraphicsLayer::addChildAtIndex(layer, index);
111 void GraphicsLayerTextureMapper::addChildAbove(GraphicsLayer* layer, GraphicsLayer* sibling)
113 GraphicsLayer::addChildAbove(layer, sibling);
119 void GraphicsLayerTextureMapper::addChildBelow(GraphicsLayer* layer, GraphicsLayer* sibling)
122 GraphicsLayer::addChildBelow(layer, sibling)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
GraphicsLayerChromium.cpp 36 * Ideally the common code (mostly the code that keeps track of the layer hierarchy)
67 static void setLayerBorderColor(LayerChromium& layer, const Color& color)
69 layer.setBorderColor(color);
72 static void clearBorderColor(LayerChromium& layer)
74 layer.setBorderColor(static_cast<RGBA32>(0));
77 static void setLayerBackgroundColor(LayerChromium& layer, const Color& color)
79 layer.setBackgroundColor(color);
82 static void clearLayerBackgroundColor(LayerChromium& layer)
84 layer.setBackgroundColor(static_cast<RGBA32>(0));
123 m_layer->setName("Layer for " + m_nameBase)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/win/
WebTiledLayer.cpp 45 CFArrayRef sublayers = CACFLayerGetSublayers(layer());
55 ASSERT(!layer(m_tileParent.get()));
59 void WebTiledLayer::tileDisplayCallback(CACFLayerRef layer, CGContextRef context)
61 static_cast<WebTiledLayer*>(CACFLayerGetUserData(layer))->drawTile(layer, context);
71 : WebLayer(WKCACFLayer::Layer, owner)
75 // Tiled layers are placed in a child layer that is always the first child of the TiledLayer
77 CACFLayerInsertSublayer(layer(), m_tileParent.get(), 0);
123 // Subtract 1 to account for the tile parent layer
131 CACFLayerInsertSublayer(layer(), m_tileParent.get(), 0)
    [all...]
  /frameworks/base/core/java/android/view/
HardwareCanvas.java 75 * Draws the specified layer onto this canvas.
77 * @param layer The layer to composite on this canvas
78 * @param x The left coordinate of the layer
79 * @param y The top coordinate of the layer
80 * @param paint The paint used to draw the layer
82 abstract void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint);
  /external/bluetooth/bluez/audio/
a2dp-codecs.h 85 uint8_t layer:3; member in struct:__anon1515
105 uint8_t layer:3; member in struct:__anon1517
  /external/skia/samplecode/
SampleSkLayer.cpp 107 static void dump_layers(const SkLayer* layer, int tab = 0) {
111 layer->getLocalTransform(&matrix);
117 SkDebugf("layer=%p parent=%p size=[%g %g] transform=%s\n",
118 layer, layer->getParent(), layer->getWidth(), layer->getHeight(),
120 for (int i = 0; i < layer->countChildren(); i++) {
121 dump_layers(layer->getChild(i), tab + 4);
  /frameworks/base/libs/hwui/
OpenGLRenderer.cpp 364 * programs (for instance.) When a layer is created, previously created layers
366 * layer is created and a shape intersecting the bounds of the layers and the
367 * framebuffer is draw, the shape will be drawn on both (unless the layer was
370 * A way to implement layers is to create an FBO for each layer, backed by an RGBA
380 * general case. FBOs are used, as an optimization, when the "clip to layer" flag
385 * a layer is created, only a texture is created, not an FBO. The content of the
386 * frame buffer contained within the layer's bounds is copied into this texture
387 * using glCopyTexImage2D(). The layer's region is then cleared(1) in the frame
391 * To compose the layers back onto the frame buffer, each layer texture
398 * An empty quad is drawn over the layer's region in the frame buffer. This qua
455 Layer* layer = mCaches.layerCache.get(bounds.getWidth(), bounds.getHeight()); local
585 Layer* layer = current->layer; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
GraphicsLayer.h 87 LayerTreeAsTextDebug = 1 << 0, // Dump extra debugging info like layer addresses.
196 // Layer name. Only used to identify layers in debug output
201 void setParent(GraphicsLayer* layer) { m_parent = layer; } // Internal use only.
203 // Returns true if the layer has the given layer as an ancestor (excluding self).
213 virtual void addChildAbove(GraphicsLayer* layer, GraphicsLayer* sibling);
214 virtual void addChildBelow(GraphicsLayer* layer, GraphicsLayer* sibling);
221 virtual void setMaskLayer(GraphicsLayer* layer) { m_maskLayer = layer; }
    [all...]
  /external/webkit/Examples/NetscapeCoreAnimationPlugin/
main.m 52 QCCompositionLayer *layer;
147 [obj->layer release];
197 [obj->layer setValue:[NSNumber numberWithBool:obj->gold] forInputKey:@"gold"];
226 if (!obj->layer) {
230 obj->layer = [[QCCompositionLayer compositionLayerWithComposition:composition] retain];
233 // Make sure to return a retained layer
234 *((CALayer **)value) = [obj->layer retain];
  /external/webkit/Source/WebCore/page/animation/
KeyframeAnimation.cpp 252 RenderLayer* layer = toRenderBoxModelObject(m_object)->layer(); local
253 if (layer->isComposited())
254 return layer->backing()->startAnimation(timeOffset, m_animation.get(), m_keyframes);
269 RenderLayer* layer = toRenderBoxModelObject(m_object)->layer(); local
270 if (layer->isComposited())
271 layer->backing()->animationPaused(timeOffset, m_keyframes.animationName());
288 RenderLayer* layer = toRenderBoxModelObject(m_object)->layer(); local
    [all...]
  /hardware/ti/omap4xxx/hwc/
hwc.c 254 hwc_layer_t *layer = &list->hwLayers[i]; local
255 IMG_native_handle_t *handle = (IMG_native_handle_t *)layer->handle;
256 dump_printf(&log, "%p:%s,", handle, layer->compositionType == HWC_OVERLAY ? "DSS" : "SGX");
257 if ((layer->flags & HWC_SKIP_LAYER) || !handle) {
261 if (layer->flags & HWC_HINT_CLEAR_FB)
264 if (layer->transform)
265 dump_printf(&log, "~%d", layer->transform);
311 static int scaled(hwc_layer_t *layer)
313 int w = WIDTH(layer->sourceCrop);
314 int h = HEIGHT(layer->sourceCrop)
964 hwc_layer_t *layer = &list->hwLayers[i]; local
1220 hwc_layer_t *layer = &list->hwLayers[i]; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/ca/win/
WKCACFViewLayerTreeHost.cpp 53 SOFT_LINK(WebKitQuartzCoreAdditions, WKCACFViewSetLayer, void, __cdecl, (WKCACFViewRef view, CACFLayerRef layer), (view, layer))
92 // Flush the context so the layer's rendered bounds will match our bounds.
120 void WKCACFViewLayerTreeHost::initializeContext(void* userData, PlatformCALayer* layer)
123 WKCACFViewSetLayer(m_view.get(), layer->platformLayer());
  /external/webkit/Source/WebKit/android/nav/
CachedLayer.h 53 const LayerAndroid* layer(const LayerAndroid* root) const;
58 // Set the global position of the layer. This is recorded by the nav cache
61 // the layer if the layer is fixed positioned or scrollable.

Completed in 562 milliseconds

1 23 4 5 6 7 8 91011