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

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

Issue 213493002: content: Add multi-proc surface texture support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/gpu/gpu_messages.h ('k') | content/renderer/render_thread_impl.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 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 const GPUCreateCommandBufferConfig& init_params) OVERRIDE; 392 const GPUCreateCommandBufferConfig& init_params) OVERRIDE;
393 virtual void CreateImage( 393 virtual void CreateImage(
394 gfx::PluginWindowHandle window, 394 gfx::PluginWindowHandle window,
395 int32 image_id, 395 int32 image_id,
396 const CreateImageCallback& callback) OVERRIDE; 396 const CreateImageCallback& callback) OVERRIDE;
397 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; 397 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE;
398 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( 398 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
399 size_t width, 399 size_t width,
400 size_t height, 400 size_t height,
401 unsigned internalformat) OVERRIDE; 401 unsigned internalformat) OVERRIDE;
402 virtual void CreateSurfaceTexture(
403 int32 surface_texture_id,
404 base::ProcessHandle process_handle,
405 const CreateSurfaceTextureCallback& callback) OVERRIDE;
402 406
403 void Init(); 407 void Init();
404 408
405 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 409 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
406 const std::string& host, 410 const std::string& host,
407 double zoom_level); 411 double zoom_level);
408 void OnCreateNewView(const ViewMsg_New_Params& params); 412 void OnCreateNewView(const ViewMsg_New_Params& params);
409 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 413 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
410 void OnPurgePluginListCache(bool reload_pages); 414 void OnPurgePluginListCache(bool reload_pages);
411 void OnNetworkStateChanged(bool online); 415 void OnNetworkStateChanged(bool online);
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 bool is_low_res_tiling_enabled_; 544 bool is_low_res_tiling_enabled_;
541 bool is_lcd_text_enabled_; 545 bool is_lcd_text_enabled_;
542 bool is_map_image_enabled_; 546 bool is_map_image_enabled_;
543 547
544 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 548 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
545 }; 549 };
546 550
547 } // namespace content 551 } // namespace content
548 552
549 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 553 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698