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

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

Issue 470233003: Restrict ETC1 power-of-two rounding to old IMG drivers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass capabilities by value Created 6 years, 4 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 #if defined(OS_WIN) 187 #if defined(OS_WIN)
188 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) 188 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics)
189 #endif 189 #endif
190 IPC_STRUCT_TRAITS_END() 190 IPC_STRUCT_TRAITS_END()
191 191
192 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities) 192 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities)
193 IPC_STRUCT_TRAITS_MEMBER(post_sub_buffer) 193 IPC_STRUCT_TRAITS_MEMBER(post_sub_buffer)
194 IPC_STRUCT_TRAITS_MEMBER(egl_image_external) 194 IPC_STRUCT_TRAITS_MEMBER(egl_image_external)
195 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888) 195 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888)
196 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1) 196 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1)
197 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot)
197 IPC_STRUCT_TRAITS_MEMBER(texture_rectangle) 198 IPC_STRUCT_TRAITS_MEMBER(texture_rectangle)
198 IPC_STRUCT_TRAITS_MEMBER(iosurface) 199 IPC_STRUCT_TRAITS_MEMBER(iosurface)
199 IPC_STRUCT_TRAITS_MEMBER(texture_usage) 200 IPC_STRUCT_TRAITS_MEMBER(texture_usage)
200 IPC_STRUCT_TRAITS_MEMBER(texture_storage) 201 IPC_STRUCT_TRAITS_MEMBER(texture_storage)
201 IPC_STRUCT_TRAITS_MEMBER(discard_framebuffer) 202 IPC_STRUCT_TRAITS_MEMBER(discard_framebuffer)
202 IPC_STRUCT_TRAITS_MEMBER(sync_query) 203 IPC_STRUCT_TRAITS_MEMBER(sync_query)
203 IPC_STRUCT_TRAITS_MEMBER(map_image) 204 IPC_STRUCT_TRAITS_MEMBER(map_image)
204 IPC_STRUCT_TRAITS_END() 205 IPC_STRUCT_TRAITS_END()
205 206
206 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats) 207 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats)
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 int32 /* bitstream_buffer_id */, 757 int32 /* bitstream_buffer_id */,
757 uint32 /* payload_size */, 758 uint32 /* payload_size */,
758 bool /* key_frame */) 759 bool /* key_frame */)
759 760
760 // Report error condition. 761 // Report error condition.
761 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 762 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
762 media::VideoEncodeAccelerator::Error /* error */) 763 media::VideoEncodeAccelerator::Error /* error */)
763 764
764 // Send destroy request to the encoder. 765 // Send destroy request to the encoder.
765 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 766 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698