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

Unified Diff: chrome/gpu/gpu_command_buffer_stub.h

Issue 4815001: Use inner HWND for accelerated rendering on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/gpu/gpu_command_buffer_stub.h
===================================================================
--- chrome/gpu/gpu_command_buffer_stub.h (revision 66779)
+++ chrome/gpu/gpu_command_buffer_stub.h (working copy)
@@ -51,6 +51,10 @@
int32 route_id() const { return route_id_; }
+#if defined(OS_WIN)
+ void OnCompositorWindowPainted();
+#endif
+
private:
// Message handlers:
void OnInitialize(int32 size, base::SharedMemoryHandle* ring_buffer);
@@ -70,6 +74,9 @@
#if defined(OS_MACOSX)
void OnSetWindowSize(const gfx::Size& size);
void SwapBuffersCallback();
+#elif defined(OS_WIN)
+ void CreateCompositorWindow();
+ HWND compositor_window_;
#endif
// The lifetime of objects of this class is managed by a GpuChannel. The

Powered by Google App Engine
This is Rietveld 408576698