| Index: content/browser/renderer_host/image_transport_factory.h
|
| diff --git a/content/browser/renderer_host/image_transport_factory.h b/content/browser/renderer_host/image_transport_factory.h
|
| index 597ee71f1c44ec53d5cfae4db152314122a9bdab..44b10b0e1c984474568b0ab3d0568beef58cbd17 100644
|
| --- a/content/browser/renderer_host/image_transport_factory.h
|
| +++ b/content/browser/renderer_host/image_transport_factory.h
|
| @@ -69,16 +69,18 @@ class ImageTransportFactory {
|
| // Destroys a shared surface handle.
|
| virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) = 0;
|
|
|
| - // Creates a transport texture of a given size, and using the opaque handle
|
| - // sent by the GPU process.
|
| + // Creates a transport texture of a given size and scale factor, and using the
|
| + // opaque handle sent by the GPU process.
|
| virtual scoped_refptr<ui::Texture> CreateTransportClient(
|
| const gfx::Size& size,
|
| + float device_scale_factor,
|
| uint64 transport_handle) = 0;
|
|
|
| // Variant of CreateTransportClient() that deletes the texture on the GPU when
|
| // the returned value is deleted.
|
| virtual scoped_refptr<ui::Texture> CreateOwnedTexture(
|
| const gfx::Size& size,
|
| + float device_scale_factor,
|
| unsigned int texture_id) = 0;
|
|
|
| // Gets a GLHelper instance, associated with the shared context. This
|
|
|