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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view.h

Issue 8241012: Enable accelerated WebKit compositor for Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments. Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_MACOSX) 9 #if defined(OS_MACOSX)
10 #include <OpenGL/OpenGL.h> 10 #include <OpenGL/OpenGL.h>
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // this case is currently used for accelerated plugins. 249 // this case is currently used for accelerated plugins.
250 virtual void AcceleratedSurfaceBuffersSwapped( 250 virtual void AcceleratedSurfaceBuffersSwapped(
251 gfx::PluginWindowHandle window, 251 gfx::PluginWindowHandle window,
252 uint64 surface_id, 252 uint64 surface_id,
253 int renderer_id, 253 int renderer_id,
254 int32 route_id, 254 int32 route_id,
255 int gpu_host_id) = 0; 255 int gpu_host_id) = 0;
256 virtual void GpuRenderingStateDidChange() = 0; 256 virtual void GpuRenderingStateDidChange() = 0;
257 #endif 257 #endif
258 258
259 #if defined(TOUCH_UI) 259 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
260 virtual void AcceleratedSurfaceNew( 260 virtual void AcceleratedSurfaceNew(
261 int32 width, 261 int32 width,
262 int32 height, 262 int32 height,
263 uint64* surface_id, 263 uint64* surface_id,
264 TransportDIB::Handle* surface_handle) = 0; 264 TransportDIB::Handle* surface_handle) = 0;
265 virtual void AcceleratedSurfaceBuffersSwapped( 265 virtual void AcceleratedSurfaceBuffersSwapped(
266 uint64 surface_id, 266 uint64 surface_id,
267 int32 route_id, 267 int32 route_id,
268 int gpu_host_id) = 0; 268 int gpu_host_id) = 0;
269 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0; 269 virtual void AcceleratedSurfaceRelease(uint64 surface_id) = 0;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // mouse position just as mouse lock was entered; the movement they report 350 // mouse position just as mouse lock was entered; the movement they report
351 // indicates what the change in position of the mouse would be had it not been 351 // indicates what the change in position of the mouse would be had it not been
352 // locked. 352 // locked.
353 bool mouse_locked_; 353 bool mouse_locked_;
354 354
355 private: 355 private:
356 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 356 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
357 }; 357 };
358 358
359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698