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

Side by Side Diff: cc/trees/thread_proxy.h

Issue 14772021: cc::OutputSurfaceClient::InitializeForGL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win compile by including ContextProvider from output_surface_client.h Created 7 years, 6 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
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 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 CC_TREES_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual void Start(scoped_ptr<OutputSurface> first_output_surface) OVERRIDE; 54 virtual void Start(scoped_ptr<OutputSurface> first_output_surface) OVERRIDE;
55 virtual void Stop() OVERRIDE; 55 virtual void Stop() OVERRIDE;
56 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; 56 virtual size_t MaxPartialTextureUpdates() const OVERRIDE;
57 virtual void AcquireLayerTextures() OVERRIDE; 57 virtual void AcquireLayerTextures() OVERRIDE;
58 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; 58 virtual void ForceSerializeOnSwapBuffers() OVERRIDE;
59 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE; 59 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE;
60 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; 60 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE;
61 virtual bool CommitPendingForTesting() OVERRIDE; 61 virtual bool CommitPendingForTesting() OVERRIDE;
62 62
63 // LayerTreeHostImplClient implementation 63 // LayerTreeHostImplClient implementation
64 virtual void DidTryInitializeRendererOnImplThread(
65 bool success,
66 scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE;
64 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; 67 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE;
65 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE; 68 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE;
66 virtual void OnVSyncParametersChanged(base::TimeTicks timebase, 69 virtual void OnVSyncParametersChanged(base::TimeTicks timebase,
67 base::TimeDelta interval) OVERRIDE; 70 base::TimeDelta interval) OVERRIDE;
68 virtual void BeginFrameOnImplThread(base::TimeTicks frame_time) 71 virtual void BeginFrameOnImplThread(base::TimeTicks frame_time)
69 OVERRIDE; 72 OVERRIDE;
70 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; 73 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE;
71 virtual void OnHasPendingTreeStateChanged(bool has_pending_tree) OVERRIDE; 74 virtual void OnHasPendingTreeStateChanged(bool has_pending_tree) OVERRIDE;
72 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; 75 virtual void SetNeedsRedrawOnImplThread() OVERRIDE;
73 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE; 76 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 261
259 base::TimeTicks smoothness_takes_priority_expiration_time_; 262 base::TimeTicks smoothness_takes_priority_expiration_time_;
260 bool renew_tree_priority_on_impl_thread_pending_; 263 bool renew_tree_priority_on_impl_thread_pending_;
261 264
262 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 265 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
263 }; 266 };
264 267
265 } // namespace cc 268 } // namespace cc
266 269
267 #endif // CC_TREES_THREAD_PROXY_H_ 270 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698