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

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

Issue 600693002: content: Cleanup GpuMemoryBufferImpl destruction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove scoped_refptr<> from sender param of DeletedGpuMemoryBuffer Created 6 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
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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 size_t size) OVERRIDE; 414 size_t size) OVERRIDE;
415 virtual CreateCommandBufferResult CreateViewCommandBuffer( 415 virtual CreateCommandBufferResult CreateViewCommandBuffer(
416 int32 surface_id, 416 int32 surface_id,
417 const GPUCreateCommandBufferConfig& init_params, 417 const GPUCreateCommandBufferConfig& init_params,
418 int32 route_id) OVERRIDE; 418 int32 route_id) OVERRIDE;
419 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( 419 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
420 size_t width, 420 size_t width,
421 size_t height, 421 size_t height,
422 unsigned internalformat, 422 unsigned internalformat,
423 unsigned usage) OVERRIDE; 423 unsigned usage) OVERRIDE;
424 virtual void DeleteGpuMemoryBuffer(
425 scoped_ptr<gfx::GpuMemoryBuffer> buffer) OVERRIDE;
426 424
427 void Init(); 425 void Init();
428 426
429 void OnCreateNewFrame(int routing_id, int parent_routing_id); 427 void OnCreateNewFrame(int routing_id, int parent_routing_id);
430 void OnCreateNewFrameProxy(int routing_id, 428 void OnCreateNewFrameProxy(int routing_id,
431 int parent_routing_id, 429 int parent_routing_id,
432 int render_view_routing_id); 430 int render_view_routing_id);
433 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 431 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
434 const std::string& host, 432 const std::string& host,
435 double zoom_level); 433 double zoom_level);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 bool is_one_copy_enabled_; 584 bool is_one_copy_enabled_;
587 585
588 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; 586 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_;
589 587
590 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 588 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
591 }; 589 };
592 590
593 } // namespace content 591 } // namespace content
594 592
595 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 593 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/client/gpu_memory_buffer_impl_win.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698