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

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

Issue 1547793004: Make gpu black list work again on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Execute todo, send IPC directly from gpu_benchmarking_extension.cc and fixes variable names. Created 4 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 (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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 405
406 // A renderer sends this when it wants to create a connection to the GPU 406 // A renderer sends this when it wants to create a connection to the GPU
407 // process. The browser will create the GPU process if necessary, and will 407 // process. The browser will create the GPU process if necessary, and will
408 // return a handle to the channel via a GpuChannelEstablished message. 408 // return a handle to the channel via a GpuChannelEstablished message.
409 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, 409 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel,
410 content::CauseForGpuLaunch, 410 content::CauseForGpuLaunch,
411 int /* client id */, 411 int /* client id */,
412 IPC::ChannelHandle /* handle to channel */, 412 IPC::ChannelHandle /* handle to channel */,
413 gpu::GPUInfo /* stats about GPU process*/) 413 gpu::GPUInfo /* stats about GPU process*/)
414 414
415 // A renderer sends this when it wants to know whether a gpu process exists.
416 IPC_SYNC_MESSAGE_CONTROL0_1(GpuHostMsg_HasGpuProcess, bool /* result */)
417
415 // Response from GPU to a GputMsg_Initialize message. 418 // Response from GPU to a GputMsg_Initialize message.
416 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, 419 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized,
417 bool /* result */, 420 bool /* result */,
418 ::gpu::GPUInfo /* gpu_info */) 421 ::gpu::GPUInfo /* gpu_info */)
419 422
420 // Response from GPU to a GpuHostMsg_EstablishChannel message. 423 // Response from GPU to a GpuHostMsg_EstablishChannel message.
421 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, 424 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished,
422 IPC::ChannelHandle /* channel_handle */) 425 IPC::ChannelHandle /* channel_handle */)
423 426
424 // Message from GPU to notify to destroy the channel. 427 // Message from GPU to notify to destroy the channel.
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 823 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
821 824
822 //------------------------------------------------------------------------------ 825 //------------------------------------------------------------------------------
823 // Accelerated JPEG Decoder Host Messages 826 // Accelerated JPEG Decoder Host Messages
824 // These messages are sent from the GPU process to Browser process. 827 // These messages are sent from the GPU process to Browser process.
825 // 828 //
826 // Report decode status. 829 // Report decode status.
827 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 830 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
828 int32_t, /* bitstream_buffer_id */ 831 int32_t, /* bitstream_buffer_id */
829 media::JpegDecodeAccelerator::Error /* error */) 832 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/gpu_message_filter.cc ('k') | content/renderer/gpu/gpu_benchmarking_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698