Chromium Code Reviews| Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
| diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
| index b5ee5c45a585d047be9afca83935a8234e938b2f..33f6ea1e1148ab637a8ed4aff27769feaa6b7f82 100644 |
| --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
| +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
| @@ -567,6 +567,11 @@ void WebGraphicsContext3DCommandBufferImpl::postSubBufferCHROMIUM( |
| } |
| void WebGraphicsContext3DCommandBufferImpl::reshape(int width, int height) { |
| + reshapeWithScaleFactor(width, height, 1.f); |
| +} |
| + |
| +void WebGraphicsContext3DCommandBufferImpl::reshapeWithScaleFactor( |
| + int width, int height, float scale_factor) { |
|
Ken Russell (switch to Gerrit)
2013/05/22 18:50:54
Presumably the scale factor will be passed down fu
ccameron
2013/05/22 19:24:43
Exactly -- part 2 picks up here and send it to the
|
| cached_width_ = width; |
| cached_height_ = height; |