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

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: tsepez@ review 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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, 405 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext,
406 GURL /* url */) 406 GURL /* url */)
407 407
408 // Tells the browser about GPU memory usage statistics for UMA logging. 408 // Tells the browser about GPU memory usage statistics for UMA logging.
409 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, 409 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats,
410 content::GPUMemoryUmaStats /* GPU memory UMA stats */) 410 content::GPUMemoryUmaStats /* GPU memory UMA stats */)
411 411
412 // Response to GpuMsg_RelinquishResources. 412 // Response to GpuMsg_RelinquishResources.
413 IPC_MESSAGE_CONTROL0(GpuHostMsg_ResourcesRelinquished) 413 IPC_MESSAGE_CONTROL0(GpuHostMsg_ResourcesRelinquished)
414 414
415 // Tells the browser that a context has subscribed to a new target and
416 // the browser should start sending the corresponding information
417 IPC_MESSAGE_CONTROL1(GpuHostMsg_AddSubscription,
418 unsigned int /* target */);
419
420 // Tells the browser that no contexts are subscribed to the target anymore
421 // so the browser should stop sending the corresponding information
422 IPC_MESSAGE_CONTROL1(GpuHostMsg_RemoveSubscription,
423 unsigned int /* target */);
424
415 //------------------------------------------------------------------------------ 425 //------------------------------------------------------------------------------
416 // GPU Channel Messages 426 // GPU Channel Messages
417 // These are messages from a renderer process to the GPU process. 427 // These are messages from a renderer process to the GPU process.
418 428
419 // Tells the GPU process to create a new command buffer that renders to an 429 // Tells the GPU process to create a new command buffer that renders to an
420 // offscreen frame buffer. 430 // offscreen frame buffer.
421 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer, 431 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer,
422 gfx::Size, /* size */ 432 gfx::Size, /* size */
423 GPUCreateCommandBufferConfig, /* init_params */ 433 GPUCreateCommandBufferConfig, /* init_params */
424 int32, /* route_id */ 434 int32, /* route_id */
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 int32 /* bitstream_buffer_id */, 742 int32 /* bitstream_buffer_id */,
733 uint32 /* payload_size */, 743 uint32 /* payload_size */,
734 bool /* key_frame */) 744 bool /* key_frame */)
735 745
736 // Report error condition. 746 // Report error condition.
737 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 747 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
738 media::VideoEncodeAccelerator::Error /* error */) 748 media::VideoEncodeAccelerator::Error /* error */)
739 749
740 // Send destroy request to the encoder. 750 // Send destroy request to the encoder.
741 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 751 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698