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

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 65702)
+++ chrome/gpu/gpu_command_buffer_stub.h (working copy)
@@ -51,6 +51,11 @@
int32 route_id() const { return route_id_; }
+#if defined(OS_WIN)
+ public:
apatrick_chromium 2010/11/11 22:32:15 I would be safer to move "public:" out of the prep
nduca 2010/11/11 23:53:33 Done.
+ void OnCompositorWindowPainted();
+#endif
+
private:
// Message handlers:
void OnInitialize(int32 size, base::SharedMemoryHandle* ring_buffer);
@@ -70,6 +75,9 @@
#if defined(OS_MACOSX)
void OnSetWindowSize(const gfx::Size& size);
void SwapBuffersCallback();
+#elif defined(OS_WIN)
+ void CreateCompositorWindow();
+ HWND compositor_window_;
apatrick_chromium 2010/11/11 22:32:15 If HWND was gfx::NativeView, would it be easier to
nduca 2010/11/11 23:53:33 The linux version does not create a child window a
#endif
// The lifetime of objects of this class is managed by a GpuChannel. The

Powered by Google App Engine
This is Rietveld 408576698