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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.cc

Issue 9160012: Change PluginWindowHandle to AcceleratedWidget in ui/gfx/gl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops mac Created 8 years, 10 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 | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | 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 "webkit/gpu/webgraphicscontext3d_in_process_impl.h" 5 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <string> 10 #include <string>
(...skipping 26 matching lines...) Expand all
37 } 37 }
38 38
39 WGC3Denum type; 39 WGC3Denum type;
40 scoped_array<char> source; 40 scoped_array<char> source;
41 scoped_array<char> log; 41 scoped_array<char> log;
42 scoped_array<char> translated_source; 42 scoped_array<char> translated_source;
43 bool is_valid; 43 bool is_valid;
44 }; 44 };
45 45
46 WebGraphicsContext3DInProcessImpl::WebGraphicsContext3DInProcessImpl( 46 WebGraphicsContext3DInProcessImpl::WebGraphicsContext3DInProcessImpl(
47 gfx::PluginWindowHandle window, 47 gfx::AcceleratedWidget window,
48 gfx::GLShareGroup* share_group) 48 gfx::GLShareGroup* share_group)
49 : initialized_(false), 49 : initialized_(false),
50 render_directly_to_web_view_(false), 50 render_directly_to_web_view_(false),
51 is_gles2_(false), 51 is_gles2_(false),
52 have_ext_framebuffer_object_(false), 52 have_ext_framebuffer_object_(false),
53 have_ext_framebuffer_multisample_(false), 53 have_ext_framebuffer_multisample_(false),
54 have_angle_framebuffer_multisample_(false), 54 have_angle_framebuffer_multisample_(false),
55 texture_(0), 55 texture_(0),
56 fbo_(0), 56 fbo_(0),
57 depth_stencil_buffer_(0), 57 depth_stencil_buffer_(0),
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 if (length > 1) { 1702 if (length > 1) {
1703 entry->translated_source.reset(new char[length]); 1703 entry->translated_source.reset(new char[length]);
1704 ShGetObjectCode(compiler, entry->translated_source.get()); 1704 ShGetObjectCode(compiler, entry->translated_source.get());
1705 } 1705 }
1706 entry->is_valid = true; 1706 entry->is_valid = true;
1707 return true; 1707 return true;
1708 } 1708 }
1709 1709
1710 } // namespace gpu 1710 } // namespace gpu
1711 } // namespace webkit 1711 } // namespace webkit
OLDNEW
« 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