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

Side by Side Diff: content/browser/renderer_host/image_transport_factory_android.cc

Issue 11090075: Expose the WebGraphicsContext3D for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 2 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
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/browser/renderer_host/image_transport_factory_android.h" 5 #include "content/browser/renderer_host/image_transport_factory_android.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" 8 #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
9 #include "content/common/gpu/gpu_process_launch_causes.h" 9 #include "content/common/gpu/gpu_process_launch_causes.h"
10 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 10 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 context_->deleteTexture(handle.parent_texture_id[0]); 67 context_->deleteTexture(handle.parent_texture_id[0]);
68 context_->deleteTexture(handle.parent_texture_id[1]); 68 context_->deleteTexture(handle.parent_texture_id[1]);
69 context_->finish(); 69 context_->finish();
70 } 70 }
71 71
72 uint32_t ImageTransportFactoryAndroid::InsertSyncPoint() { 72 uint32_t ImageTransportFactoryAndroid::InsertSyncPoint() {
73 return context_->insertSyncPoint(); 73 return context_->insertSyncPoint();
74 } 74 }
75 75
76 WebGraphicsContext3DCommandBufferImpl*
77 ImageTransportFactoryAndroid::GetContext3D() {
78 return context_.get();
79 }
80
76 } // namespace content 81 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/image_transport_factory_android.h ('k') | content/public/browser/android/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698