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

Side by Side Diff: gpu/ipc/service/pass_through_image_transport_surface.h

Issue 2673473002: Rename SwapBuffersWithDamage to SwapBuffersWithBounds (Closed)
Patch Set: fix windows compile warning Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 GPU_IPC_SERVICE_PASS_THROUGH_IMAGE_TRANSPORT_SURFACE_H_ 5 #ifndef GPU_IPC_SERVICE_PASS_THROUGH_IMAGE_TRANSPORT_SURFACE_H_
6 #define GPU_IPC_SERVICE_PASS_THROUGH_IMAGE_TRANSPORT_SURFACE_H_ 6 #define GPU_IPC_SERVICE_PASS_THROUGH_IMAGE_TRANSPORT_SURFACE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 14 matching lines...) Expand all
25 public: 25 public:
26 PassThroughImageTransportSurface( 26 PassThroughImageTransportSurface(
27 base::WeakPtr<ImageTransportSurfaceDelegate> delegate, 27 base::WeakPtr<ImageTransportSurfaceDelegate> delegate,
28 gl::GLSurface* surface); 28 gl::GLSurface* surface);
29 29
30 // GLSurface implementation. 30 // GLSurface implementation.
31 bool Initialize(gl::GLSurfaceFormat format) override; 31 bool Initialize(gl::GLSurfaceFormat format) override;
32 void Destroy() override; 32 void Destroy() override;
33 gfx::SwapResult SwapBuffers() override; 33 gfx::SwapResult SwapBuffers() override;
34 void SwapBuffersAsync(const SwapCompletionCallback& callback) override; 34 void SwapBuffersAsync(const SwapCompletionCallback& callback) override;
35 gfx::SwapResult SwapBuffersWithDamage(int x, 35 gfx::SwapResult SwapBuffersWithBounds(
36 int y, 36 const std::vector<gfx::Rect>& rects) override;
37 int width,
38 int height) override;
39 gfx::SwapResult PostSubBuffer(int x, int y, int width, int height) override; 37 gfx::SwapResult PostSubBuffer(int x, int y, int width, int height) override;
40 void PostSubBufferAsync(int x, 38 void PostSubBufferAsync(int x,
41 int y, 39 int y,
42 int width, 40 int width,
43 int height, 41 int height,
44 const SwapCompletionCallback& callback) override; 42 const SwapCompletionCallback& callback) override;
45 gfx::SwapResult CommitOverlayPlanes() override; 43 gfx::SwapResult CommitOverlayPlanes() override;
46 void CommitOverlayPlanesAsync( 44 void CommitOverlayPlanesAsync(
47 const SwapCompletionCallback& callback) override; 45 const SwapCompletionCallback& callback) override;
48 bool OnMakeCurrent(gl::GLContext* context) override; 46 bool OnMakeCurrent(gl::GLContext* context) override;
(...skipping 19 matching lines...) Expand all
68 bool did_set_swap_interval_; 66 bool did_set_swap_interval_;
69 std::vector<ui::LatencyInfo> latency_info_; 67 std::vector<ui::LatencyInfo> latency_info_;
70 base::WeakPtrFactory<PassThroughImageTransportSurface> weak_ptr_factory_; 68 base::WeakPtrFactory<PassThroughImageTransportSurface> weak_ptr_factory_;
71 69
72 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface); 70 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface);
73 }; 71 };
74 72
75 } // namespace gpu 73 } // namespace gpu
76 74
77 #endif // GPU_IPC_SERVICE_PASS_THROUGH_IMAGE_TRANSPORT_SURFACE_H_ 75 #endif // GPU_IPC_SERVICE_PASS_THROUGH_IMAGE_TRANSPORT_SURFACE_H_
OLDNEW
« no previous file with comments | « gpu/ipc/common/gpu_command_buffer_traits_multi.h ('k') | gpu/ipc/service/pass_through_image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698