Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: cc/layers/layer.h

Issue 135493002: Plumb debug name via debug info (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layers/heads_up_display_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_LAYERS_LAYER_H_ 5 #ifndef CC_LAYERS_LAYER_H_
6 #define CC_LAYERS_LAYER_H_ 6 #define CC_LAYERS_LAYER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 virtual bool DrawsContent() const; 355 virtual bool DrawsContent() const;
356 virtual void SavePaintProperties(); 356 virtual void SavePaintProperties();
357 // Returns true iff any resources were updated that need to be committed. 357 // Returns true iff any resources were updated that need to be committed.
358 virtual bool Update(ResourceUpdateQueue* queue, 358 virtual bool Update(ResourceUpdateQueue* queue,
359 const OcclusionTracker* occlusion); 359 const OcclusionTracker* occlusion);
360 virtual bool NeedMoreUpdates(); 360 virtual bool NeedMoreUpdates();
361 virtual void SetIsMask(bool is_mask) {} 361 virtual void SetIsMask(bool is_mask) {}
362 virtual void ReduceMemoryUsage() {} 362 virtual void ReduceMemoryUsage() {}
363 virtual void OnOutputSurfaceCreated() {} 363 virtual void OnOutputSurfaceCreated() {}
364 364
365 virtual std::string DebugName();
366 virtual scoped_refptr<base::debug::ConvertableToTraceFormat> TakeDebugInfo(); 365 virtual scoped_refptr<base::debug::ConvertableToTraceFormat> TakeDebugInfo();
367 366
368 void SetLayerClient(LayerClient* client) { client_ = client; } 367 void SetLayerClient(LayerClient* client) { client_ = client; }
369 368
370 virtual void PushPropertiesTo(LayerImpl* layer); 369 virtual void PushPropertiesTo(LayerImpl* layer);
371 370
372 void CreateRenderSurface(); 371 void CreateRenderSurface();
373 void ClearRenderSurface(); 372 void ClearRenderSurface();
374 373
375 // The contents scale converts from logical, non-page-scaled pixels to target 374 // The contents scale converts from logical, non-page-scaled pixels to target
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 DrawProperties<Layer> draw_properties_; 620 DrawProperties<Layer> draw_properties_;
622 621
623 PaintProperties paint_properties_; 622 PaintProperties paint_properties_;
624 623
625 DISALLOW_COPY_AND_ASSIGN(Layer); 624 DISALLOW_COPY_AND_ASSIGN(Layer);
626 }; 625 };
627 626
628 } // namespace cc 627 } // namespace cc
629 628
630 #endif // CC_LAYERS_LAYER_H_ 629 #endif // CC_LAYERS_LAYER_H_
OLDNEW
« no previous file with comments | « cc/layers/heads_up_display_layer_impl.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698