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

Side by Side Diff: webkit/common/gpu/context_provider_in_process.h

Issue 51653008: Remove WGC3D::isContextLost references from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android build Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/compositor/layer.cc ('k') | webkit/common/gpu/context_provider_in_process.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ 5 #ifndef WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_
6 #define WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ 6 #define WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 17 matching lines...) Expand all
28 28
29 // Calls Create() with a default factory method for creating an offscreen 29 // Calls Create() with a default factory method for creating an offscreen
30 // context. 30 // context.
31 static scoped_refptr<ContextProviderInProcess> CreateOffscreen(); 31 static scoped_refptr<ContextProviderInProcess> CreateOffscreen();
32 32
33 virtual bool BindToCurrentThread() OVERRIDE; 33 virtual bool BindToCurrentThread() OVERRIDE;
34 virtual Capabilities ContextCapabilities() OVERRIDE; 34 virtual Capabilities ContextCapabilities() OVERRIDE;
35 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; 35 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE;
36 virtual ::gpu::ContextSupport* ContextSupport() OVERRIDE; 36 virtual ::gpu::ContextSupport* ContextSupport() OVERRIDE;
37 virtual class GrContext* GrContext() OVERRIDE; 37 virtual class GrContext* GrContext() OVERRIDE;
38 virtual bool IsContextLost() OVERRIDE;
38 virtual void VerifyContexts() OVERRIDE; 39 virtual void VerifyContexts() OVERRIDE;
39 virtual bool DestroyedOnMainThread() OVERRIDE; 40 virtual bool DestroyedOnMainThread() OVERRIDE;
40 virtual void SetLostContextCallback( 41 virtual void SetLostContextCallback(
41 const LostContextCallback& lost_context_callback) OVERRIDE; 42 const LostContextCallback& lost_context_callback) OVERRIDE;
42 virtual void SetSwapBuffersCompleteCallback( 43 virtual void SetSwapBuffersCompleteCallback(
43 const SwapBuffersCompleteCallback& swap_buffers_complete_callback) 44 const SwapBuffersCompleteCallback& swap_buffers_complete_callback)
44 OVERRIDE; 45 OVERRIDE;
45 virtual void SetMemoryPolicyChangedCallback( 46 virtual void SetMemoryPolicyChangedCallback(
46 const MemoryPolicyChangedCallback& memory_policy_changed_callback) 47 const MemoryPolicyChangedCallback& memory_policy_changed_callback)
47 OVERRIDE; 48 OVERRIDE;
(...skipping 29 matching lines...) Expand all
77 scoped_ptr<SwapBuffersCompleteCallbackProxy> 78 scoped_ptr<SwapBuffersCompleteCallbackProxy>
78 swap_buffers_complete_callback_proxy_; 79 swap_buffers_complete_callback_proxy_;
79 80
80 DISALLOW_COPY_AND_ASSIGN(ContextProviderInProcess); 81 DISALLOW_COPY_AND_ASSIGN(ContextProviderInProcess);
81 }; 82 };
82 83
83 } // namespace gpu 84 } // namespace gpu
84 } // namespace webkit 85 } // namespace webkit
85 86
86 #endif // WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_ 87 #endif // WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_IN_PROCESS_H_
OLDNEW
« no previous file with comments | « ui/compositor/layer.cc ('k') | webkit/common/gpu/context_provider_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698