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

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

Issue 256713002: Remove 'transport' paths from PassThroughImageTransportSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove ResizeView/ResizeViewAck Created 6 years, 7 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 int32, /* image_id */ 282 int32, /* image_id */
283 int32 /* sync_point */) 283 int32 /* sync_point */)
284 284
285 // Tells the GPU process to create a context for collecting graphics card 285 // Tells the GPU process to create a context for collecting graphics card
286 // information. 286 // information.
287 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) 287 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo)
288 288
289 // Tells the GPU process to report video_memory information for the task manager 289 // Tells the GPU process to report video_memory information for the task manager
290 IPC_MESSAGE_CONTROL0(GpuMsg_GetVideoMemoryUsageStats) 290 IPC_MESSAGE_CONTROL0(GpuMsg_GetVideoMemoryUsageStats)
291 291
292 // Tells the GPU process that the browser process has finished resizing the
293 // view.
294 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK)
295
296 // Tells the GPU process that the browser process has handled the swap 292 // Tells the GPU process that the browser process has handled the swap
297 // buffers or post sub-buffer request. A non-zero sync point means 293 // buffers or post sub-buffer request. A non-zero sync point means
298 // that we should wait for the sync point. The surface_handle identifies 294 // that we should wait for the sync point. The surface_handle identifies
299 // that buffer that has finished presented, i.e. the buffer being returned. 295 // that buffer that has finished presented, i.e. the buffer being returned.
300 IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_BufferPresented, 296 IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_BufferPresented,
301 AcceleratedSurfaceMsg_BufferPresented_Params) 297 AcceleratedSurfaceMsg_BufferPresented_Params)
302 298
303 // Tells the GPU process to wake up the GPU because we're about to draw. 299 // Tells the GPU process to wake up the GPU because we're about to draw.
304 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_WakeUpGpu) 300 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_WakeUpGpu)
305 301
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // Response from GPU to a GpuMsg_GetVideoMemory. 375 // Response from GPU to a GpuMsg_GetVideoMemory.
380 IPC_MESSAGE_CONTROL1(GpuHostMsg_VideoMemoryUsageStats, 376 IPC_MESSAGE_CONTROL1(GpuHostMsg_VideoMemoryUsageStats,
381 content::GPUVideoMemoryUsageStats /* GPU memory stats */) 377 content::GPUVideoMemoryUsageStats /* GPU memory stats */)
382 378
383 // Message from GPU to add a GPU log message to the about:gpu page. 379 // Message from GPU to add a GPU log message to the about:gpu page.
384 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, 380 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage,
385 int /*severity*/, 381 int /*severity*/,
386 std::string /* header */, 382 std::string /* header */,
387 std::string /* message */) 383 std::string /* message */)
388 384
389 // Resize the window that is being drawn into. It's important that this
390 // resize be synchronized with the swapping of the front and back buffers.
391 IPC_MESSAGE_CONTROL3(GpuHostMsg_ResizeView,
392 int32 /* surface_id */,
393 int32 /* route_id */,
394 gfx::Size /* size */)
395
396 // Tells the browser that a new accelerated surface was initialized. 385 // Tells the browser that a new accelerated surface was initialized.
397 IPC_MESSAGE_CONTROL2(GpuHostMsg_AcceleratedSurfaceInitialized, 386 IPC_MESSAGE_CONTROL2(GpuHostMsg_AcceleratedSurfaceInitialized,
398 int32 /* surface_id */, 387 int32 /* surface_id */,
399 int32 /* route_id */) 388 int32 /* route_id */)
400 389
401 // Tells the browser that a frame with the specific latency info was drawn to 390 // Tells the browser that a frame with the specific latency info was drawn to
402 // the screen 391 // the screen
403 IPC_MESSAGE_CONTROL1(GpuHostMsg_FrameDrawn, 392 IPC_MESSAGE_CONTROL1(GpuHostMsg_FrameDrawn,
404 std::vector<ui::LatencyInfo> /* latency_info */) 393 std::vector<ui::LatencyInfo> /* latency_info */)
405 394
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 int32 /* bitstream_buffer_id */, 768 int32 /* bitstream_buffer_id */,
780 uint32 /* payload_size */, 769 uint32 /* payload_size */,
781 bool /* key_frame */) 770 bool /* key_frame */)
782 771
783 // Report error condition. 772 // Report error condition.
784 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 773 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
785 media::VideoEncodeAccelerator::Error /* error */) 774 media::VideoEncodeAccelerator::Error /* error */)
786 775
787 // Send destroy request to the encoder. 776 // Send destroy request to the encoder.
788 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 777 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698