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

Side by Side Diff: content/common/gpu/client/gl_helper.cc

Issue 15822010: Update refernces to Blink's Platform API (content) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « content/common/gamepad_user_gesture.cc ('k') | content/common/gpu/client/gl_helper_scaling.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/common/gpu/client/gl_helper.h" 5 #include "content/common/gpu/client/gl_helper.h"
6 6
7 #include <queue> 7 #include <queue>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/message_loop.h" 15 #include "base/message_loop.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "cc/resources/sync_point_helper.h" 17 #include "cc/resources/sync_point_helper.h"
18 #include "content/common/gpu/client/gl_helper_scaling.h" 18 #include "content/common/gpu/client/gl_helper_scaling.h"
19 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" 19 #include "third_party/WebKit/public/platform/WebCString.h"
20 #include "third_party/skia/include/core/SkRegion.h" 20 #include "third_party/skia/include/core/SkRegion.h"
21 #include "ui/gfx/rect.h" 21 #include "ui/gfx/rect.h"
22 #include "ui/gfx/size.h" 22 #include "ui/gfx/size.h"
23 #include "ui/gl/gl_bindings.h" 23 #include "ui/gl/gl_bindings.h"
24 24
25 using WebKit::WebGLId; 25 using WebKit::WebGLId;
26 using WebKit::WebGraphicsContext3D; 26 using WebKit::WebGraphicsContext3D;
27 27
28 namespace content { 28 namespace content {
29 29
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 context_->copyTexSubImage2D(GL_TEXTURE_2D, 0, 417 context_->copyTexSubImage2D(GL_TEXTURE_2D, 0,
418 rect.x(), rect.y(), 418 rect.x(), rect.y(),
419 rect.x(), rect.y(), 419 rect.x(), rect.y(),
420 rect.width(), rect.height()); 420 rect.width(), rect.height());
421 } 421 }
422 context_->flush(); 422 context_->flush();
423 } 423 }
424 } 424 }
425 425
426 } // namespace content 426 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gamepad_user_gesture.cc ('k') | content/common/gpu/client/gl_helper_scaling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698