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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 10543125: gpu: Add support for GLX_EXT_texture_from_pixmap extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add kGLImplementationMockGL case to gl_image_android.cc. 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
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('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/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 956
957 // Allow calling this from the compositor thread. 957 // Allow calling this from the compositor thread.
958 if (MessageLoop::current() == message_loop()) 958 if (MessageLoop::current() == message_loop())
959 ChildThread::Send(message); 959 ChildThread::Send(message);
960 else 960 else
961 sync_message_filter()->Send(message); 961 sync_message_filter()->Send(message);
962 962
963 return route_id; 963 return route_id;
964 } 964 }
965 965
966 void RenderThreadImpl::CreateImage(
967 gfx::PluginWindowHandle window,
968 int32 image_id,
969 const CreateImageCallback& callback) {
970 NOTREACHED();
971 }
972
973 void RenderThreadImpl::DeleteImage(int32 image_id, int32 sync_point) {
974 NOTREACHED();
975 }
976
966 void RenderThreadImpl::DoNotSuspendWebKitSharedTimer() { 977 void RenderThreadImpl::DoNotSuspendWebKitSharedTimer() {
967 suspend_webkit_shared_timer_ = false; 978 suspend_webkit_shared_timer_ = false;
968 } 979 }
969 980
970 void RenderThreadImpl::DoNotNotifyWebKitOfModalLoop() { 981 void RenderThreadImpl::DoNotNotifyWebKitOfModalLoop() {
971 notify_webkit_of_modal_loop_ = false; 982 notify_webkit_of_modal_loop_ = false;
972 } 983 }
973 984
974 void RenderThreadImpl::OnSetZoomLevelForCurrentURL(const std::string& host, 985 void RenderThreadImpl::OnSetZoomLevelForCurrentURL(const std::string& host,
975 double zoom_level) { 986 double zoom_level) {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1151 1162
1152 scoped_refptr<base::MessageLoopProxy> 1163 scoped_refptr<base::MessageLoopProxy>
1153 RenderThreadImpl::GetFileThreadMessageLoopProxy() { 1164 RenderThreadImpl::GetFileThreadMessageLoopProxy() {
1154 DCHECK(message_loop() == MessageLoop::current()); 1165 DCHECK(message_loop() == MessageLoop::current());
1155 if (!file_thread_.get()) { 1166 if (!file_thread_.get()) {
1156 file_thread_.reset(new base::Thread("Renderer::FILE")); 1167 file_thread_.reset(new base::Thread("Renderer::FILE"));
1157 file_thread_->Start(); 1168 file_thread_->Start();
1158 } 1169 }
1159 return file_thread_->message_loop_proxy(); 1170 return file_thread_->message_loop_proxy();
1160 } 1171 }
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698