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

Side by Side Diff: content/browser/compositor/gpu_process_transport_factory.h

Issue 2728173004: HDR: Do nonlinear blending in the compositor (Closed)
Patch Set: Roll in sRGB-extended Created 3 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // ui::ContextFactoryPrivate implementation. 58 // ui::ContextFactoryPrivate implementation.
59 std::unique_ptr<ui::Reflector> CreateReflector(ui::Compositor* source, 59 std::unique_ptr<ui::Reflector> CreateReflector(ui::Compositor* source,
60 ui::Layer* target) override; 60 ui::Layer* target) override;
61 void RemoveReflector(ui::Reflector* reflector) override; 61 void RemoveReflector(ui::Reflector* reflector) override;
62 void RemoveCompositor(ui::Compositor* compositor) override; 62 void RemoveCompositor(ui::Compositor* compositor) override;
63 cc::FrameSinkId AllocateFrameSinkId() override; 63 cc::FrameSinkId AllocateFrameSinkId() override;
64 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override; 64 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override;
65 void ResizeDisplay(ui::Compositor* compositor, 65 void ResizeDisplay(ui::Compositor* compositor,
66 const gfx::Size& size) override; 66 const gfx::Size& size) override;
67 void SetDisplayColorSpace(ui::Compositor* compositor, 67 void SetDisplayColorSpace(ui::Compositor* compositor,
68 const gfx::ColorSpace& color_space) override; 68 const gfx::ColorSpace& blending_color_space,
69 const gfx::ColorSpace& output_color_space) override;
69 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, 70 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor,
70 base::TimeDelta interval) override; 71 base::TimeDelta interval) override;
71 void SetDisplayVSyncParameters(ui::Compositor* compositor, 72 void SetDisplayVSyncParameters(ui::Compositor* compositor,
72 base::TimeTicks timebase, 73 base::TimeTicks timebase,
73 base::TimeDelta interval) override; 74 base::TimeDelta interval) override;
74 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override; 75 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override;
75 76
76 // ImageTransportFactory implementation. 77 // ImageTransportFactory implementation.
77 ui::ContextFactory* GetContextFactory() override; 78 ui::ContextFactory* GetContextFactory() override;
78 ui::ContextFactoryPrivate* GetContextFactoryPrivate() override; 79 ui::ContextFactoryPrivate* GetContextFactoryPrivate() override;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr; 131 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr;
131 132
132 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; 133 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_;
133 134
134 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); 135 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory);
135 }; 136 };
136 137
137 } // namespace content 138 } // namespace content
138 139
139 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 140 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698