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

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: Move CreateGLImage below virtual methods. 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/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 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 955
956 // Allow calling this from the compositor thread. 956 // Allow calling this from the compositor thread.
957 if (MessageLoop::current() == message_loop()) 957 if (MessageLoop::current() == message_loop())
958 ChildThread::Send(message); 958 ChildThread::Send(message);
959 else 959 else
960 sync_message_filter()->Send(message); 960 sync_message_filter()->Send(message);
961 961
962 return route_id; 962 return route_id;
963 } 963 }
964 964
965 void RenderThreadImpl::CreateImage(
966 gfx::PluginWindowHandle window,
967 int32 image_id,
968 const CreateImageCallback& callback) {
piman 2012/10/12 22:05:11 NOTREACHED() ?
reveman 2012/10/13 05:25:53 Done.
969 callback.Run(gfx::Size());
970 }
971
972 void RenderThreadImpl::DeleteImage(int32 image_id) {
piman 2012/10/12 22:05:11 NOTREACHED() ?
reveman 2012/10/13 05:25:53 Done.
973 }
974
965 void RenderThreadImpl::DoNotSuspendWebKitSharedTimer() { 975 void RenderThreadImpl::DoNotSuspendWebKitSharedTimer() {
966 suspend_webkit_shared_timer_ = false; 976 suspend_webkit_shared_timer_ = false;
967 } 977 }
968 978
969 void RenderThreadImpl::DoNotNotifyWebKitOfModalLoop() { 979 void RenderThreadImpl::DoNotNotifyWebKitOfModalLoop() {
970 notify_webkit_of_modal_loop_ = false; 980 notify_webkit_of_modal_loop_ = false;
971 } 981 }
972 982
973 void RenderThreadImpl::OnSetZoomLevelForCurrentURL(const std::string& host, 983 void RenderThreadImpl::OnSetZoomLevelForCurrentURL(const std::string& host,
974 double zoom_level) { 984 double zoom_level) {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 1160
1151 scoped_refptr<base::MessageLoopProxy> 1161 scoped_refptr<base::MessageLoopProxy>
1152 RenderThreadImpl::GetFileThreadMessageLoopProxy() { 1162 RenderThreadImpl::GetFileThreadMessageLoopProxy() {
1153 DCHECK(message_loop() == MessageLoop::current()); 1163 DCHECK(message_loop() == MessageLoop::current());
1154 if (!file_thread_.get()) { 1164 if (!file_thread_.get()) {
1155 file_thread_.reset(new base::Thread("Renderer::FILE")); 1165 file_thread_.reset(new base::Thread("Renderer::FILE"));
1156 file_thread_->Start(); 1166 file_thread_->Start();
1157 } 1167 }
1158 return file_thread_->message_loop_proxy(); 1168 return file_thread_->message_loop_proxy();
1159 } 1169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698