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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc

Issue 15685003: Part 2/3 (GL) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
index 831c4f28461cdf668b485dc080c6cd4ad70d983f..f60d354bf077c2b710857cd80a35da5e3fc0d289 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
@@ -954,7 +954,7 @@ void WebGraphicsContext3DInProcessCommandBufferImpl::reshapeWithScaleFactor(
// TODO(gmam): See if we can comment this in.
// ClearContext();
- gl_->ResizeCHROMIUM(width, height);
+ gl_->ResizeCHROMIUM(width, height, scale_factor);
}
WebGLId WebGraphicsContext3DInProcessCommandBufferImpl::createCompositorTexture(
« ppapi/shared_impl/ppb_graphics_3d_shared.cc ('K') | « ppapi/shared_impl/ppb_graphics_3d_shared.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698