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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 8060045: Use shared D3D9 texture to transport the compositor's backing buffer to the browser... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « content/common/gpu/gpu_channel_manager.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_command_buffer_stub.h
===================================================================
--- content/common/gpu/gpu_command_buffer_stub.h (revision 108480)
+++ content/common/gpu/gpu_command_buffer_stub.h (working copy)
@@ -66,6 +66,9 @@
// Whether this command buffer can currently handle IPC messages.
bool IsScheduled();
+ // Set the swap interval according to the command line.
+ void SetSwapInterval();
+
gpu::gles2::GLES2Decoder* decoder() const { return decoder_.get(); }
gpu::GpuScheduler* scheduler() const { return scheduler_.get(); }
@@ -79,8 +82,6 @@
// to the same renderer process.
int32 route_id() const { return route_id_; }
- void ViewResized();
-
gfx::GpuPreference gpu_preference() { return gpu_preference_; }
private:
@@ -118,22 +119,11 @@
void OnSetSurfaceVisible(bool visible);
-#if defined(OS_MACOSX)
- void OnSwapBuffers();
-
- // Returns the id of the current surface that is being rendered to
- // (or 0 if no such surface has been created).
- uint64 GetSurfaceId();
-#endif
-
void OnCommandProcessed();
void OnParseError();
- void OnResize(gfx::Size size);
void ReportState();
- void SetSwapInterval();
-
// The lifetime of objects of this class is managed by a GpuChannel. The
// GpuChannels destroy all the GpuCommandBufferStubs that they own when they
// are destroyed. So a raw pointer is safe.
« no previous file with comments | « content/common/gpu/gpu_channel_manager.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