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

Side by Side Diff: chrome/gpu/gpu_backing_store_glx.cc

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/common/utility_messages_internal.h ('k') | chrome/gpu/gpu_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/gpu/gpu_backing_store_glx.h" 5 #include "chrome/gpu/gpu_backing_store_glx.h"
6 6
7 #include "app/gfx/gl/gl_bindings.h" 7 #include "app/gfx/gl/gl_bindings.h"
8 #include "app/surface/transport_dib.h" 8 #include "app/surface/transport_dib.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/common/gpu_messages.h" 10 #include "chrome/common/gpu_messages.h"
11 #include "chrome/gpu/gpu_backing_store_glx_context.h" 11 #include "chrome/gpu/gpu_backing_store_glx_context.h"
12 #include "chrome/gpu/gpu_thread.h" 12 #include "chrome/gpu/gpu_thread.h"
13 #include "chrome/gpu/gpu_view_x.h" 13 #include "chrome/gpu/gpu_view_x.h"
14 #include "gfx/rect.h"
14 #include "skia/ext/platform_canvas.h" 15 #include "skia/ext/platform_canvas.h"
15 #include "third_party/skia/include/core/SkBitmap.h" 16 #include "third_party/skia/include/core/SkBitmap.h"
16 17
17 GpuBackingStoreGLX::GpuBackingStoreGLX(GpuViewX* view, 18 GpuBackingStoreGLX::GpuBackingStoreGLX(GpuViewX* view,
18 GpuThread* gpu_thread, 19 GpuThread* gpu_thread,
19 int32 routing_id, 20 int32 routing_id,
20 const gfx::Size& size) 21 const gfx::Size& size)
21 : view_(view), 22 : view_(view),
22 gpu_thread_(gpu_thread), 23 gpu_thread_(gpu_thread),
23 routing_id_(routing_id), 24 routing_id_(routing_id),
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 DCHECK(err == GL_NO_ERROR) << "Error " << err << 221 DCHECK(err == GL_NO_ERROR) << "Error " << err <<
221 " copying (" << copy_rect.x() << "," << copy_rect.y() << 222 " copying (" << copy_rect.x() << "," << copy_rect.y() <<
222 ")," << copy_rect.width() << "x" << copy_rect.height() << 223 ")," << copy_rect.width() << "x" << copy_rect.height() <<
223 " for bitmap " << texture_size_.width() << "x" << 224 " for bitmap " << texture_size_.width() << "x" <<
224 texture_size_.height() << 225 texture_size_.height() <<
225 " real size " << existing_width << "x" << existing_height << 226 " real size " << existing_width << "x" << existing_height <<
226 " for " << this; 227 " for " << this;
227 */ 228 */
228 } 229 }
229 } 230 }
OLDNEW
« no previous file with comments | « chrome/common/utility_messages_internal.h ('k') | chrome/gpu/gpu_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698