 Chromium Code Reviews
 Chromium Code Reviews Issue 9194005:
  gpu: reference target surfaces through a globally unique surface id.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 9194005:
  gpu: reference target surfaces through a globally unique surface id.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| Index: content/browser/renderer_host/accelerated_surface_container_mac.h | 
| diff --git a/content/browser/renderer_host/accelerated_surface_container_mac.h b/content/browser/renderer_host/accelerated_surface_container_mac.h | 
| index 1bbf7308888f58e3772828188a90068af523c54c..71b14e98de3080295970b77880ec89c0eeb343f5 100644 | 
| --- a/content/browser/renderer_host/accelerated_surface_container_mac.h | 
| +++ b/content/browser/renderer_host/accelerated_surface_container_mac.h | 
| @@ -82,8 +82,8 @@ class AcceleratedSurfaceContainerMac { | 
| bool ShouldBeVisible() const; | 
| // Notifies the the container that its surface was painted to. | 
| - void set_was_painted_to(uint64 surface_id); | 
| - void set_was_painted_to(uint64 surface_id, | 
| + void set_was_painted_to(uint64 surface_handle); | 
| + void set_was_painted_to(uint64 surface_handle, | 
| const gfx::Rect& update_rect); | 
| // Notifies the container that its surface is invalid. | 
| @@ -92,7 +92,7 @@ class AcceleratedSurfaceContainerMac { | 
| // Enqueue our texture for later deletion. | 
| void EnqueueTextureForDeletion(); | 
| - void set_was_painted_to_common(uint64 surface_id); | 
| + void set_was_painted_to_common(uint64 surface_handle); | 
| // The manager of this accelerated surface container. | 
| AcceleratedSurfaceContainerManagerMac* manager_; | 
| @@ -107,7 +107,7 @@ class AcceleratedSurfaceContainerMac { | 
| base::mac::ScopedCFTypeRef<CFTypeRef> surface_; | 
| // The id of |surface_|, or 0 if |surface_| is NULL. | 
| 
jonathan.backer
2012/01/16 19:47:26
s/id/handle?
 
piman
2012/01/17 19:40:54
Done. Thanks.
 | 
| - uint64 surface_id_; | 
| + uint64 surface_handle_; | 
| // The width and height of the io surface. During resizing, this is different | 
| // from |width_| and |height_|. |