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

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

Issue 1887533002: Add plumbing to command buffer for CALayer min and mag filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix parameter ordering. Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ 5 #ifndef GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_
6 #define GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ 6 #define GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_
7 7
8 #include <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const gfx::RectF& crop_rect) override; 52 const gfx::RectF& crop_rect) override;
53 bool ScheduleCALayer(gl::GLImage* contents_image, 53 bool ScheduleCALayer(gl::GLImage* contents_image,
54 const gfx::RectF& contents_rect, 54 const gfx::RectF& contents_rect,
55 float opacity, 55 float opacity,
56 unsigned background_color, 56 unsigned background_color,
57 unsigned edge_aa_mask, 57 unsigned edge_aa_mask,
58 const gfx::RectF& rect, 58 const gfx::RectF& rect,
59 bool is_clipped, 59 bool is_clipped,
60 const gfx::RectF& clip_rect, 60 const gfx::RectF& clip_rect,
61 const gfx::Transform& transform, 61 const gfx::Transform& transform,
62 int sorting_context_id) override; 62 int sorting_context_id,
63 unsigned filter) override;
63 bool IsSurfaceless() const override; 64 bool IsSurfaceless() const override;
64 65
65 // ui::GpuSwitchingObserver implementation. 66 // ui::GpuSwitchingObserver implementation.
66 void OnGpuSwitched() override; 67 void OnGpuSwitched() override;
67 68
68 private: 69 private:
69 ~ImageTransportSurfaceOverlayMac() override; 70 ~ImageTransportSurfaceOverlayMac() override;
70 71
71 void SetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info); 72 void SetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);
72 void BufferPresented(int32_t surface_id, 73 void BufferPresented(int32_t surface_id,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 109
109 // The vsync information provided by the browser. 110 // The vsync information provided by the browser.
110 bool vsync_parameters_valid_; 111 bool vsync_parameters_valid_;
111 base::TimeTicks vsync_timebase_; 112 base::TimeTicks vsync_timebase_;
112 base::TimeDelta vsync_interval_; 113 base::TimeDelta vsync_interval_;
113 }; 114 };
114 115
115 } // namespace gpu 116 } // namespace gpu
116 117
117 #endif // GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_ 118 #endif // GPU_IPC_SERVICE_IMAGE_TRANSPORT_SURFACE_OVERLAY_MAC_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/ipc/service/image_transport_surface_overlay_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698