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

Side by Side Diff: gpu/blink/webgraphicscontext3d_impl.h

Issue 1602313002: Removed client side support for old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed DrawingBufferTest reference Created 4 years, 11 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
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/blink/webgraphicscontext3d_impl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 5 #ifndef GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
6 #define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 6 #define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 21 matching lines...) Expand all
32 class GPU_BLINK_EXPORT WebGraphicsContext3DImpl 32 class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
33 : public NON_EXPORTED_BASE(blink::WebGraphicsContext3D) { 33 : public NON_EXPORTED_BASE(blink::WebGraphicsContext3D) {
34 public: 34 public:
35 ~WebGraphicsContext3DImpl() override; 35 ~WebGraphicsContext3DImpl() override;
36 36
37 //---------------------------------------------------------------------- 37 //----------------------------------------------------------------------
38 // WebGraphicsContext3D methods 38 // WebGraphicsContext3D methods
39 39
40 uint32_t lastFlushID() override; 40 uint32_t lastFlushID() override;
41 41
42 bool insertSyncPoint(blink::WGC3Dbyte* sync_token) override;
43 blink::WGC3Duint64 insertFenceSyncCHROMIUM() override; 42 blink::WGC3Duint64 insertFenceSyncCHROMIUM() override;
44 bool genSyncTokenCHROMIUM(blink::WGC3Duint64 fenceSync, 43 bool genSyncTokenCHROMIUM(blink::WGC3Duint64 fenceSync,
45 blink::WGC3Dbyte* syncToken) override; 44 blink::WGC3Dbyte* syncToken) override;
46 void waitSyncTokenCHROMIUM(const blink::WGC3Dbyte* syncToken) override; 45 void waitSyncTokenCHROMIUM(const blink::WGC3Dbyte* syncToken) override;
47 46
48 void loseContextCHROMIUM(blink::WGC3Denum current, 47 void loseContextCHROMIUM(blink::WGC3Denum current,
49 blink::WGC3Denum other) override; 48 blink::WGC3Denum other) override;
50 49
51 void reshapeWithScaleFactor( 50 void reshapeWithScaleFactor(
52 int width, int height, float scale_factor) override; 51 int width, int height, float scale_factor) override;
(...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 std::vector<blink::WGC3Denum> synthetic_errors_; 977 std::vector<blink::WGC3Denum> synthetic_errors_;
979 978
980 ::gpu::gles2::GLES2Interface* gl_; 979 ::gpu::gles2::GLES2Interface* gl_;
981 bool lose_context_when_out_of_memory_; 980 bool lose_context_when_out_of_memory_;
982 uint32_t flush_id_; 981 uint32_t flush_id_;
983 }; 982 };
984 983
985 } // namespace gpu_blink 984 } // namespace gpu_blink
986 985
987 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 986 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698