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

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

Issue 409723003: content: Add DeletedGpuMemoryBuffer IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unused code Created 6 years, 5 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 | Annotate | Revision Log
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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 // Register an existing gpu memory buffer. The id that can be 626 // Register an existing gpu memory buffer. The id that can be
627 // used to identify the gpu memory buffer from a command buffer. 627 // used to identify the gpu memory buffer from a command buffer.
628 IPC_MESSAGE_ROUTED5(GpuCommandBufferMsg_RegisterGpuMemoryBuffer, 628 IPC_MESSAGE_ROUTED5(GpuCommandBufferMsg_RegisterGpuMemoryBuffer,
629 int32 /* id */, 629 int32 /* id */,
630 gfx::GpuMemoryBufferHandle /* gpu_memory_buffer */, 630 gfx::GpuMemoryBufferHandle /* gpu_memory_buffer */,
631 uint32 /* width */, 631 uint32 /* width */,
632 uint32 /* height */, 632 uint32 /* height */,
633 uint32 /* internalformat */) 633 uint32 /* internalformat */)
634 634
635 // Destroy a previously created gpu memory buffer. 635 // Unregister a previously registered gpu memory buffer.
636 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyGpuMemoryBuffer, 636 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_UnregisterGpuMemoryBuffer,
637 int32 /* id */) 637 int32 /* id */)
638 638
639 // Attaches an external image stream to the client texture. 639 // Attaches an external image stream to the client texture.
640 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, 640 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture,
641 uint32, /* client_texture_id */ 641 uint32, /* client_texture_id */
642 int32, /* stream_id */ 642 int32, /* stream_id */
643 bool /* succeeded */) 643 bool /* succeeded */)
644 644
645 //------------------------------------------------------------------------------ 645 //------------------------------------------------------------------------------
646 // Accelerated Video Decoder Messages 646 // Accelerated Video Decoder Messages
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 int32 /* bitstream_buffer_id */, 755 int32 /* bitstream_buffer_id */,
756 uint32 /* payload_size */, 756 uint32 /* payload_size */,
757 bool /* key_frame */) 757 bool /* key_frame */)
758 758
759 // Report error condition. 759 // Report error condition.
760 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 760 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
761 media::VideoEncodeAccelerator::Error /* error */) 761 media::VideoEncodeAccelerator::Error /* error */)
762 762
763 // Send destroy request to the encoder. 763 // Send destroy request to the encoder.
764 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 764 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_buffer_factory_x11_pixmap.cc ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698