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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.cc

Issue 15688002: Part 1/3 (compositor) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update Android build 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
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/gpu/webgraphicscontext3d_in_process_impl.cc
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
index fb47650459c3f45e0403076b1721f2a43b3c6d9a..b5ef5ca7e407483ddf61bf6a3852f99ec0a45c3d 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
@@ -343,6 +343,11 @@ void WebGraphicsContext3DInProcessImpl::reshape(int width, int height) {
scanline_ = new unsigned char[width * 4];
}
+void WebGraphicsContext3DInProcessImpl::reshapeWithScaleFactor(
+ int width, int height, float scaleFactor) {
+ reshape(width, height);
+}
+
bool WebGraphicsContext3DInProcessImpl::AllocateOffscreenFrameBuffer(
int width, int height) {
GLenum target = GL_TEXTURE_2D;
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698