/external/chromium_org/ui/compositor/ |
H A D | layer_owner_unittest.cc | 8 #include "ui/compositor/layer.h" 16 Layer* layer = new Layer; local 17 layer->SetVisible(true); 18 layer->SetOpacity(1.0f); 20 owner.SetLayer(layer); 22 ScopedLayerAnimationSettings settings(layer->GetAnimator()); 23 layer->SetVisible(false); 24 layer->SetOpacity(0.0f); 25 EXPECT_TRUE(layer->visible()); 26 EXPECT_EQ(1.0f, layer [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | Canvas2DLayerManager.cpp | 84 Canvas2DLayerBridge* layer = m_layerList.head(); local 85 while (layer) { 86 Canvas2DLayerBridge* currentLayer = layer; 88 // may result in the layer being removed from the list. 89 layer = layer->next(); 94 void Canvas2DLayerManager::layerDidDraw(Canvas2DLayerBridge* layer) argument 96 if (isInList(layer)) { 97 if (layer != m_layerList.head()) { 98 m_layerList.remove(layer); 110 layerTransientResourceAllocationChanged(Canvas2DLayerBridge* layer, intptr_t deltaBytes) argument 130 Canvas2DLayerBridge* layer = m_layerList.tail(); // LRU local [all...] |
H A D | Canvas2DLayerManagerTest.cpp | 77 // Because the fake layer has no canvas to query, just 156 // verify multi-layer allocation tracking 172 FakeCanvas2DLayerBridgePtr layer(adoptRef(new FakeCanvas2DLayerBridge(webContext.get(), canvas.release(), surface.release()))); 173 layer->fakeFreeableBytes(10); 174 layer->storageAllocatedForRecordingChanged(8); // under the max 175 EXPECT_EQ(0, layer->m_freeMemoryIfPossibleCount); 176 layer->storageAllocatedForRecordingChanged(12); // over the max 177 EXPECT_EQ(1, layer->m_freeMemoryIfPossibleCount); 178 EXPECT_EQ((size_t)3, layer->m_freeableBytes); 179 EXPECT_EQ(0, layer 237 doDeferredFrameTestTask(FakeCanvas2DLayerBridge* layer, bool skipCommands) argument 253 DeferredFrameTestTask(Canvas2DLayerManagerTest* test, FakeCanvas2DLayerBridge* layer, bool skipCommands) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/web/painting/ |
H A D | ContinuousPainter.cpp | 40 void ContinuousPainter::setNeedsDisplayRecursive(GraphicsLayer* layer, PageOverlayList* pageOverlays) argument 42 if (!layer) 45 if (pageOverlays && pageOverlays->findGraphicsLayer(layer) != WTF::kNotFound) 49 layer->setNeedsDisplay(); 51 setNeedsDisplayRecursive(layer->maskLayer(), pageOverlays); 52 setNeedsDisplayRecursive(layer->contentsClippingMaskLayer(), pageOverlays); 53 setNeedsDisplayRecursive(layer->replicaLayer(), pageOverlays); 55 const Vector<GraphicsLayer*>& children = layer->children();
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
H A D | CompositingLayerAssigner.cpp | 84 bool CompositingLayerAssigner::needsOwnBacking(const RenderLayer* layer) const 86 if (!m_compositor->canBeComposited(layer)) 90 bool needsOwnBackingForDisabledSquashing = !m_layerSquashingEnabled && requiresSquashing(layer->compositingReasons()); 92 return requiresCompositing(layer->compositingReasons()) || needsOwnBackingForDisabledSquashing || (m_compositor->staleInCompositingMode() && layer->isRootLayer()); 95 CompositingStateTransitionType CompositingLayerAssigner::computeCompositedLayerUpdate(RenderLayer* layer) argument 98 if (needsOwnBacking(layer)) { 99 if (!layer->hasCompositedLayerMapping()) { 103 if (layer->hasCompositedLayerMapping()) 107 if (!layer 119 getReasonsPreventingSquashing(const RenderLayer* layer, const CompositingLayerAssigner::SquashingState& squashingState) argument 178 updateSquashingAssignment(RenderLayer* layer, SquashingState& squashingState, const CompositingStateTransitionType compositedLayerUpdate, Vector<RenderLayer*>& layersNeedingPaintInvalidation) argument 238 assignLayersToBackingsInternal(RenderLayer* layer, SquashingState& squashingState, Vector<RenderLayer*>& layersNeedingPaintInvalidation) argument [all...] |
H A D | GraphicsLayerUpdater.cpp | 49 UpdateContext(const UpdateContext& other, const RenderLayer& layer) argument 51 , m_compositingAncestor(other.compositingContainer(layer)) 53 CompositingState compositingState = layer.compositingState(); 55 m_compositingAncestor = &layer; 56 if (layer.stackingNode()->isStackingContext()) 57 m_compositingStackingContext = &layer; 61 const RenderLayer* compositingContainer(const RenderLayer& layer) const 63 return layer.stackingNode()->isNormalFlowOnly() ? m_compositingAncestor : m_compositingStackingContext; 85 void GraphicsLayerUpdater::update(RenderLayer& layer, Vector<RenderLayer*>& layersNeedingPaintInvalidation) argument 88 updateRecursive(layer, DoNotForceUpdat 92 updateRecursive(RenderLayer& layer, UpdateType updateType, const UpdateContext& context, Vector<RenderLayer*>& layersNeedingPaintInvalidation) argument 127 assertNeedsToUpdateGraphicsLayerBitsCleared(RenderLayer& layer) argument [all...] |
H A D | GraphicsLayerTreeBuilder.cpp | 48 static bool shouldAppendLayer(const RenderLayer& layer) argument 52 Node* node = layer.renderer()->node(); 58 void GraphicsLayerTreeBuilder::rebuild(RenderLayer& layer, AncestorInfo info) argument 60 // Make the layer compositing if necessary, and set up clipping and content layers. 64 layer.stackingNode()->updateLayerListsIfNeeded(); 66 const bool hasCompositedLayerMapping = layer.hasCompositedLayerMapping(); 67 CompositedLayerMapping* currentCompositedLayerMapping = layer.compositedLayerMapping(); 69 // If this layer has a compositedLayerMapping, then that is where we place subsequent children GraphicsLayers. 70 // Otherwise children continue to append to the child list of the enclosing layer. 75 infoForChildren.enclosingCompositedLayer = &layer; [all...] |
H A D | CompositingInputsUpdater.cpp | 32 static const RenderLayer* findParentLayerOnClippingContainerChain(const RenderLayer* layer) argument 34 RenderObject* current = layer->renderer(); 42 return static_cast<const RenderLayerModelObject*>(current)->layer(); 49 return static_cast<const RenderLayerModelObject*>(current)->layer(); 57 return static_cast<const RenderLayerModelObject*>(current)->layer(); 58 // Having clip or overflow clip forces the RenderObject to become a layer. 69 return static_cast<const RenderLayerModelObject*>(current)->layer(); 75 static bool hasClippedStackingAncestor(const RenderLayer* layer, const RenderLayer* clippingLayer) argument 77 if (layer == clippingLayer) 80 for (const RenderLayer* current = layer 92 updateRecursive(RenderLayer* layer, UpdateType updateType, AncestorInfo info) argument 188 assertNeedsCompositingInputsUpdateBitsCleared(RenderLayer* layer) argument [all...] |
/external/chromium_org/cc/layers/ |
H A D | layer_utils.cc | 15 bool HasAnimationThatInflatesBounds(const LayerImpl& layer) { argument 16 return layer.layer_animation_controller()->HasAnimationThatInflatesBounds(); 19 bool HasFilterAnimationThatInflatesBounds(const LayerImpl& layer) { argument 20 return layer.layer_animation_controller() 24 bool HasTransformAnimationThatInflatesBounds(const LayerImpl& layer) { argument 25 return layer.layer_animation_controller() 29 inline bool HasAncestorTransformAnimation(const LayerImpl& layer) { argument 30 return layer.screen_space_transform_is_animating(); 33 inline bool HasAncestorFilterAnimation(const LayerImpl& layer) { argument 34 for (const LayerImpl* current = &layer; curren [all...] |
H A D | layer_impl_unittest.cc | 171 // Changing these properties only affects the layer itself. 190 // Changing this property does not cause the layer to be marked as changed 191 // but does cause the layer to need to push properties. 195 // Changing these properties should cause the layer to need to push properties 258 LayerImpl* layer = layer_ptr.get(); local 260 layer->SetScrollClipLayer(root->id()); 280 VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(arbitrary_filters)); 281 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(arbitrary_filters)); 282 VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(FilterOperations())); 283 VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer 363 scoped_ptr<LayerImpl> layer = LayerImpl::Create(host_impl.active_tree(), 1); local 394 scoped_ptr<LayerImpl> layer = LayerImpl::Create(host_impl.active_tree(), 1); local 436 LayerImpl* layer() { function in class:cc::__anon2683::LayerImplScrollTest [all...] |
H A D | picture_layer_unittest.cc | 35 scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); local 36 layer->SetBounds(gfx::Size(10, 10)); 40 host->SetRootLayer(layer); 41 layer->SetIsDrawable(true); 42 layer->SavePaintProperties(); 46 layer->Update(queue.get(), &occlusion); 48 layer->SetBounds(gfx::Size(0, 0)); 49 layer->SavePaintProperties(); 51 // a layer with empty bounds. 64 layer 74 scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); local 89 scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); local [all...] |
H A D | heads_up_display_layer_impl_unittest.cc | 17 void CheckDrawLayer(HeadsUpDisplayLayerImpl* layer, argument 23 bool will_draw = layer->WillDraw(draw_mode, resource_provider); 25 layer->AppendQuads(render_pass.get(), occlusion_tracker, &data); 26 layer->UpdateHudTexture(draw_mode, resource_provider); 28 layer->DidDraw(resource_provider); 41 scoped_ptr<HeadsUpDisplayLayerImpl> layer = local 43 layer->SetContentBounds(gfx::Size(100, 100)); 47 layer.get(), host_impl.resource_provider(), DRAW_MODE_HARDWARE); 50 layer->ReleaseResources(); 53 CheckDrawLayer(layer [all...] |
H A D | solid_color_layer_impl_unittest.cc | 33 scoped_ptr<SolidColorLayerImpl> layer = local 35 layer->draw_properties().visible_content_rect = visible_content_rect; 36 layer->SetBounds(layer_size); 37 layer->SetContentBounds(layer_size); 38 layer->CreateRenderSurface(); 39 layer->draw_properties().render_target = layer.get(); 42 layer->AppendQuads(render_pass.get(), occlusion_tracker, &data); 60 scoped_ptr<SolidColorLayerImpl> layer = local 62 layer 90 scoped_ptr<SolidColorLayerImpl> layer = local 112 scoped_refptr<SolidColorLayer> layer = SolidColorLayer::Create(); local [all...] |
/external/chromium_org/ppapi/c/ |
H A D | ppb_compositor_layer.h | 71 * Determines if a resource is a compositor layer resource. 76 * resource is a compositor layer resource or <code>PP_FALSE</code> 81 * Sets the color of a solid color layer. If the layer is uninitialized, 82 * it will initialize the layer first, and then set its color. 83 * If the layer has been initialized to another kind of layer, the layer will 86 * param[in] layer A <code>PP_Resource</code> corresponding to a compositor 87 * layer resourc [all...] |
/external/chromium-trace/trace-viewer/src/cc/ |
H A D | layer_tree_impl.js | 37 function visitLayer(layer, depth, isMask, isReplica) { 38 func(layer, depth, isMask, isReplica); 39 for (var i = 0; i < layer.children.length; i++) 40 visitLayer(layer.children[i], depth + 1); 41 if (layer.maskLayer) 42 visitLayer(layer, depth + 1, true, false); 43 if (layer.replicaLayer) 44 visitLayer(layer, depth + 1, false, true); 50 function visitLayer(layer) { 51 if (layer [all...] |
H A D | layer_viewer.css | 6 layer-viewer { 14 layer-viewer > layer-tree-quad-stack-viewer { 21 layer-viewer > layer-viewer-analysis {
|
/external/chromium_org/ash/wm/ |
H A D | window_animations_unittest.cc | 14 #include "ui/compositor/layer.h" 73 EXPECT_TRUE(window->layer()->visible()); 80 EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity()); 81 EXPECT_FALSE(window->layer()->GetTargetVisibility()); 82 EXPECT_FALSE(window->layer()->visible()); 89 EXPECT_EQ(0.0f, window->layer()->GetTargetBrightness()); 90 EXPECT_EQ(0.0f, window->layer()->GetTargetGrayscale()); 91 EXPECT_TRUE(window->layer()->visible()); 94 window->layer()->GetAnimator()->Step(base::TimeTicks::Now() + 96 EXPECT_EQ(0.0f, window->layer() 178 Layer* layer = window->layer(); local [all...] |
/external/chromium_org/cc/trees/ |
H A D | layer_tree_host_common.cc | 12 #include "cc/layers/layer.h" 45 static gfx::Vector2dF GetEffectiveScrollDelta(LayerType* layer) { argument 46 gfx::Vector2dF scroll_delta = layer->ScrollDelta(); 48 // compositor thread since the commit for this layer tree's source frame. 51 if (layer->scroll_parent()) 52 scroll_delta += layer->scroll_parent()->ScrollDelta(); 57 static gfx::Vector2dF GetEffectiveTotalScrollOffset(LayerType* layer) { argument 58 gfx::Vector2dF offset = layer->TotalScrollOffset(); 61 // scroll children's positions by the main thread layer positioning code. 62 if (layer 118 NextTargetSurface(LayerType* layer) argument 171 UpdateClipRectsForClipChild( const LayerType* layer, gfx::Rect* clip_rect_in_parent_target_space, bool* subtree_should_be_clipped) argument 242 UpdateAccumulatedSurfaceState( LayerType* layer, const gfx::Rect& drawable_content_rect, std::vector<AccumulatedSurfaceState<LayerType> >* accumulated_surface_state) argument 326 IsRootLayer(LayerType* layer) argument 331 LayerIsInExisting3DRenderingContext(LayerType* layer) argument 337 IsRootLayerOfNewRenderingContext(LayerType* layer) argument 345 IsLayerBackFaceVisible(LayerType* layer) argument 360 IsSurfaceBackFaceVisible(LayerType* layer, const gfx::Transform& draw_transform) argument 375 LayerClipsSubtree(LayerType* layer) argument 380 CalculateVisibleContentRect( LayerType* layer, const gfx::Rect& clip_rect_of_target_surface_in_target_space, const gfx::Rect& layer_rect_in_target_space) argument 419 TransformToParentIsKnown(LayerImpl* layer) argument 421 TransformToParentIsKnown(Layer* layer) argument 425 TransformToScreenIsKnown(LayerImpl* layer) argument 427 TransformToScreenIsKnown(Layer* layer) argument 432 LayerShouldBeSkipped(LayerType* layer, bool layer_is_drawn) argument 474 HasInvertibleOrAnimatedTransform(LayerType* layer) argument 478 SubtreeShouldBeSkipped(LayerImpl* layer, bool layer_is_drawn) argument 513 SubtreeShouldBeSkipped(Layer* layer, bool layer_is_drawn) argument 542 SavePaintPropertiesLayer(LayerImpl* layer) argument 544 SavePaintPropertiesLayer(Layer* layer) argument 554 SubtreeShouldRenderToSeparateSurface( LayerType* layer, bool axis_aligned_with_respect_to_parent) argument 685 ComputeSizeDeltaCompensation( LayerImpl* layer, LayerImpl* container, const gfx::Vector2dF& position_offset) argument 750 ApplyPositionAdjustment( Layer* layer, Layer* container, const gfx::Transform& scroll_compensation, gfx::Transform* combined_transform) argument 755 ApplyPositionAdjustment( LayerImpl* layer, LayerImpl* container, const gfx::Transform& scroll_compensation, gfx::Transform* combined_transform) argument 837 ComputeScrollCompensationMatrixForChildren( LayerImpl* layer, const gfx::Transform& parent_matrix, const gfx::Transform& current_scroll_compensation_matrix, const gfx::Vector2dF& scroll_delta) argument 924 UpdateLayerScaleDrawProperties( LayerType* layer, float ideal_contents_scale, float maximum_animation_contents_scale, float page_scale_factor, float device_scale_factor) argument 937 CalculateContentsScale(LayerImpl* layer, float contents_scale) argument 943 CalculateContentsScale(Layer* layer, float contents_scale) argument 969 UpdateLayerContentsScale( LayerImpl* layer, bool can_adjust_raster_scale, float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen) argument 979 UpdateLayerContentsScale( Layer* layer, bool can_adjust_raster_scale, float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen) argument 1025 CalculateAnimationContentsScale( Layer* layer, bool ancestor_is_animating_scale, float ancestor_maximum_animation_contents_scale, const gfx::Transform& parent_transform, const gfx::Transform& combined_transform, bool* combined_is_animating_scale, float* combined_maximum_animation_contents_scale) argument 1037 CalculateAnimationContentsScale( LayerImpl* layer, bool ancestor_is_animating_scale, float ancestor_maximum_animation_contents_scale, const gfx::Transform& ancestor_transform, const gfx::Transform& combined_transform, bool* combined_is_animating_scale, float* combined_maximum_animation_contents_scale) argument 1112 CreateOrReuseRenderSurface( LayerType* layer) argument 1124 MarkLayerWithRenderSurfaceLayerListId( LayerTypePtr layer, int current_render_surface_layer_list_id) argument 1132 MarkMasksWithRenderSurfaceLayerListId( LayerTypePtr layer, int current_render_surface_layer_list_id) argument 1209 PreCalculateMetaInformation( LayerType* layer, PreCalculateMetaInformationRecursiveData* recursive_data) argument 1320 GetChildContainingLayer(const LayerType& parent, LayerType* layer) argument 1331 AddScrollParentChain(std::vector<LayerType*>* out, const LayerType& parent, LayerType* layer) argument 1394 GetNewDescendantsStartIndexAndCount(LayerType* layer, size_t* start_index, size_t* count) argument 1402 GetNewRenderSurfacesStartIndexAndCount(LayerType* layer, size_t* start_index, size_t* count) argument 1448 CalculateDrawPropertiesInternal( LayerType* layer, const SubtreeGlobals<LayerType>& globals, const DataForRecursion<LayerType>& data_from_ancestor, typename LayerType::RenderSurfaceListType* render_surface_layer_list, typename LayerType::LayerListType* layer_list, std::vector<AccumulatedSurfaceState<LayerType> >* accumulated_surface_state, int current_render_surface_layer_list_id) argument [all...] |
H A D | tree_synchronizer.cc | 15 #include "cc/layers/layer.h" 90 LayerType* layer, 92 scoped_ptr<LayerImpl> layer_impl = old_layers->take(layer->id()); 95 layer_impl = layer->CreateLayerImpl(tree_impl); 97 (*new_layers)[layer->id()] = layer_impl.get(); 105 LayerType* layer, 107 if (!layer) 111 ReuseOrCreateLayerImpl(new_layers, old_layers, layer, tree_impl); 114 for (size_t i = 0; i < layer->children().size(); ++i) { 116 new_layers, old_layers, layer 88 ReuseOrCreateLayerImpl(RawPtrLayerImplMap* new_layers, ScopedPtrLayerImplMap* old_layers, LayerType* layer, LayerTreeImpl* tree_impl) argument 102 SynchronizeTreesRecursiveInternal( RawPtrLayerImplMap* new_layers, ScopedPtrLayerImplMap* old_layers, LayerType* layer, LayerTreeImpl* tree_impl) argument 127 SynchronizeTreesRecursive( RawPtrLayerImplMap* new_layers, ScopedPtrLayerImplMap* old_layers, Layer* layer, LayerTreeImpl* tree_impl) argument 136 SynchronizeTreesRecursive( RawPtrLayerImplMap* new_layers, ScopedPtrLayerImplMap* old_layers, LayerImpl* layer, LayerTreeImpl* tree_impl) argument 146 UpdateScrollbarLayerPointersRecursiveInternal( const RawPtrLayerImplMap* new_layers, LayerType* layer) argument 172 UpdateScrollbarLayerPointersRecursive(const RawPtrLayerImplMap* new_layers, Layer* layer) argument 178 UpdateScrollbarLayerPointersRecursive(const RawPtrLayerImplMap* new_layers, LayerImpl* layer) argument 187 PushPropertiesInternal( LayerType* layer, LayerImpl* layer_impl, size_t* num_dependents_need_push_properties_for_parent) argument 239 CheckScrollAndClipPointersRecursive(Layer* layer, LayerImpl* layer_impl) argument 295 PushProperties(Layer* layer, LayerImpl* layer_impl) argument 305 PushProperties(LayerImpl* layer, LayerImpl* layer_impl) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | GraphicsLayerFactoryChromium.cpp | 45 OwnPtr<GraphicsLayer> layer = adoptPtr(new GraphicsLayer(client)); local 46 m_webView->registerForAnimations(layer->platformLayer()); 47 return layer.release();
|
/external/skia/src/gpu/ |
H A D | GrLayerCache.cpp | 27 static bool LessThan(const GrCachedLayer& layer, const PictureLayerKey& key) { argument 28 if (layer.pictureID() == key.pictureID()) { 29 return layer.layerID() < key.layerID(); 32 return layer.pictureID() < key.pictureID(); 35 static bool Equals(const GrCachedLayer& layer, const PictureLayerKey& key) { argument 36 return layer.pictureID() == key.pictureID() && layer.layerID() == key.layerID(); 58 // The layer cache only gets 1 plot 70 GrCachedLayer* layer = fLayerPool.alloc(); local 73 layer 81 GrCachedLayer* layer = fLayerHash.find(PictureLayerKey(picture->uniqueID(), layerID)); local [all...] |
/external/chromium_org/cc/blink/ |
H A D | web_scrollbar_layer_impl.cc | 9 #include "cc/layers/layer.h" 57 blink::WebLayer* WebScrollbarLayerImpl::layer() { function in class:cc_blink::WebScrollbarLayerImpl 61 void WebScrollbarLayerImpl::setScrollLayer(blink::WebLayer* layer) { argument 63 layer ? static_cast<WebLayerImpl*>(layer)->layer() : 0; 64 layer_->layer()->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id()); 67 void WebScrollbarLayerImpl::setClipLayer(blink::WebLayer* layer) { argument 69 layer ? static_cast<WebLayerImpl*>(layer) [all...] |
H A D | web_content_layer_impl.cc | 27 layer_->layer()->SetIsDrawable(true); 28 can_use_lcd_text_ = layer_->layer()->can_use_lcd_text(); 33 static_cast<PictureLayer*>(layer_->layer())->ClearClient(); 35 static_cast<ContentLayer*>(layer_->layer())->ClearClient(); 38 blink::WebLayer* WebContentLayerImpl::layer() { function in class:cc_blink::WebContentLayerImpl 43 layer_->layer()->SetDoubleSided(double_sided); 47 layer_->layer()->SetDrawCheckerboardForMissingTiles(enable); 68 // here can get out of sync with that in the layer. 69 if (can_use_lcd_text_ == layer_->layer()->can_use_lcd_text()) 73 if (layer_->layer() [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/layers/ |
H A D | LayerTreeOutline.js | 56 * @param {?WebInspector.Layer} layer 58 selectLayer: function(layer) 61 var node = layer && this._treeOutline.getCachedTreeElement(layer); 69 * @param {?WebInspector.Layer} layer 71 hoverLayer: function(layer) 73 var node = layer && this._treeOutline.getCachedTreeElement(layer); 91 * @param {!WebInspector.Layer} layer 94 function updateLayer(layer) [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | GpuLayerCacheTest.cpp | 34 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(), local 39 REPORTER_ASSERT(reporter, layer); 42 REPORTER_ASSERT(reporter, temp == layer); 46 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); 47 REPORTER_ASSERT(reporter, layer->start() == idOffset + i + 1); 48 REPORTER_ASSERT(reporter, layer->stop() == idOffset + i + 2); 49 REPORTER_ASSERT(reporter, layer->ctm() == SkMatrix::I()); 50 REPORTER_ASSERT(reporter, NULL == layer->texture()); 51 REPORTER_ASSERT(reporter, NULL == layer->paint()); 52 REPORTER_ASSERT(reporter, !layer 58 lock_layer(skiatest::Reporter* reporter, GrLayerCache* cache, GrCachedLayer* layer) argument 106 GrCachedLayer* layer = cache.findLayer(picture->uniqueID(), i+1, i+2, local 124 GrCachedLayer* layer = cache.findLayer(picture->uniqueID(), i+1, i+2, local 131 GrCachedLayer* layer = cache.findLayer(picture->uniqueID(), i+1, i+2, local 151 GrCachedLayer* layer = cache.findLayer(picture->uniqueID(), local 161 GrCachedLayer* layer = cache.findLayer(picture->uniqueID(), i+1, i+2, local [all...] |