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

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

Issue 780133002: Add optimization for CHROMIUM_subscribe_uniform extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: piman@ review 3 Created 6 years 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, 410 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext,
411 GURL /* url */) 411 GURL /* url */)
412 412
413 // Tells the browser about GPU memory usage statistics for UMA logging. 413 // Tells the browser about GPU memory usage statistics for UMA logging.
414 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, 414 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats,
415 content::GPUMemoryUmaStats /* GPU memory UMA stats */) 415 content::GPUMemoryUmaStats /* GPU memory UMA stats */)
416 416
417 // Response to GpuMsg_RelinquishResources. 417 // Response to GpuMsg_RelinquishResources.
418 IPC_MESSAGE_CONTROL0(GpuHostMsg_ResourcesRelinquished) 418 IPC_MESSAGE_CONTROL0(GpuHostMsg_ResourcesRelinquished)
419 419
420 // Tells the browser that a context has subscribed to a new target and
421 // the browser should start sending the corresponding information
422 IPC_MESSAGE_CONTROL2(GpuHostMsg_AddSubscription,
423 int32 /* client_id */,
424 unsigned int /* target */);
425
426 // Tells the browser that no contexts are subscribed to the target anymore
427 // so the browser should stop sending the corresponding information
428 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription,
429 int32 /* client_id */,
430 unsigned int /* target */);
431
420 //------------------------------------------------------------------------------ 432 //------------------------------------------------------------------------------
421 // GPU Channel Messages 433 // GPU Channel Messages
422 // These are messages from a renderer process to the GPU process. 434 // These are messages from a renderer process to the GPU process.
423 435
424 // Tells the GPU process to create a new command buffer that renders to an 436 // Tells the GPU process to create a new command buffer that renders to an
425 // offscreen frame buffer. 437 // offscreen frame buffer.
426 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer, 438 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer,
427 gfx::Size, /* size */ 439 gfx::Size, /* size */
428 GPUCreateCommandBufferConfig, /* init_params */ 440 GPUCreateCommandBufferConfig, /* init_params */
429 int32, /* route_id */ 441 int32, /* route_id */
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 int32 /* bitstream_buffer_id */, 749 int32 /* bitstream_buffer_id */,
738 uint32 /* payload_size */, 750 uint32 /* payload_size */,
739 bool /* key_frame */) 751 bool /* key_frame */)
740 752
741 // Report error condition. 753 // Report error condition.
742 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 754 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
743 media::VideoEncodeAccelerator::Error /* error */) 755 media::VideoEncodeAccelerator::Error /* error */)
744 756
745 // Send destroy request to the encoder. 757 // Send destroy request to the encoder.
746 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 758 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698