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

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 614953002: Accelerate the lighten blendmode if GL_EXT_blend_minmax is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add IsDefaultBlendMode 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 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888) 181 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888)
182 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1) 182 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1)
183 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot) 183 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot)
184 IPC_STRUCT_TRAITS_MEMBER(texture_rectangle) 184 IPC_STRUCT_TRAITS_MEMBER(texture_rectangle)
185 IPC_STRUCT_TRAITS_MEMBER(iosurface) 185 IPC_STRUCT_TRAITS_MEMBER(iosurface)
186 IPC_STRUCT_TRAITS_MEMBER(texture_usage) 186 IPC_STRUCT_TRAITS_MEMBER(texture_usage)
187 IPC_STRUCT_TRAITS_MEMBER(texture_storage) 187 IPC_STRUCT_TRAITS_MEMBER(texture_storage)
188 IPC_STRUCT_TRAITS_MEMBER(discard_framebuffer) 188 IPC_STRUCT_TRAITS_MEMBER(discard_framebuffer)
189 IPC_STRUCT_TRAITS_MEMBER(sync_query) 189 IPC_STRUCT_TRAITS_MEMBER(sync_query)
190 IPC_STRUCT_TRAITS_MEMBER(image) 190 IPC_STRUCT_TRAITS_MEMBER(image)
191 IPC_STRUCT_TRAITS_MEMBER(blend_minmax)
191 IPC_STRUCT_TRAITS_END() 192 IPC_STRUCT_TRAITS_END()
192 193
193 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats) 194 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats)
194 IPC_STRUCT_TRAITS_MEMBER(video_memory) 195 IPC_STRUCT_TRAITS_MEMBER(video_memory)
195 IPC_STRUCT_TRAITS_MEMBER(has_duplicates) 196 IPC_STRUCT_TRAITS_MEMBER(has_duplicates)
196 IPC_STRUCT_TRAITS_END() 197 IPC_STRUCT_TRAITS_END()
197 198
198 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) 199 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats)
199 IPC_STRUCT_TRAITS_MEMBER(process_map) 200 IPC_STRUCT_TRAITS_MEMBER(process_map)
200 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) 201 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated)
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 int32 /* bitstream_buffer_id */, 717 int32 /* bitstream_buffer_id */,
717 uint32 /* payload_size */, 718 uint32 /* payload_size */,
718 bool /* key_frame */) 719 bool /* key_frame */)
719 720
720 // Report error condition. 721 // Report error condition.
721 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 722 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
722 media::VideoEncodeAccelerator::Error /* error */) 723 media::VideoEncodeAccelerator::Error /* error */)
723 724
724 // Send destroy request to the encoder. 725 // Send destroy request to the encoder.
725 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 726 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698