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

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

Issue 1459043003: Revert "Replaced blink sync points with new sync tokens." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 19 matching lines...) Expand all
30 class GPU_BLINK_EXPORT WebGraphicsContext3DImpl 30 class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
31 : public NON_EXPORTED_BASE(blink::WebGraphicsContext3D) { 31 : public NON_EXPORTED_BASE(blink::WebGraphicsContext3D) {
32 public: 32 public:
33 ~WebGraphicsContext3DImpl() override; 33 ~WebGraphicsContext3DImpl() override;
34 34
35 //---------------------------------------------------------------------- 35 //----------------------------------------------------------------------
36 // WebGraphicsContext3D methods 36 // WebGraphicsContext3D methods
37 37
38 uint32_t lastFlushID() override; 38 uint32_t lastFlushID() override;
39 39
40 blink::WGC3Duint64 insertFenceSyncCHROMIUM() override; 40 bool insertSyncPoint(blink::WGC3Dbyte* sync_token) override;
41 bool genSyncTokenCHROMIUM(blink::WGC3Duint64 fenceSync, 41 void waitSyncToken(const blink::WGC3Dbyte* sync_token) override;
42 blink::WGC3Dbyte* syncToken) override;
43 void waitSyncTokenCHROMIUM(const blink::WGC3Dbyte* syncToken) override;
44 42
45 void loseContextCHROMIUM(blink::WGC3Denum current, 43 void loseContextCHROMIUM(blink::WGC3Denum current,
46 blink::WGC3Denum other) override; 44 blink::WGC3Denum other) override;
47 45
48 void reshapeWithScaleFactor( 46 void reshapeWithScaleFactor(
49 int width, int height, float scale_factor) override; 47 int width, int height, float scale_factor) override;
50 48
51 void prepareTexture() override; 49 void prepareTexture() override;
52 void postSubBufferCHROMIUM(int x, int y, int width, int height) override; 50 void postSubBufferCHROMIUM(int x, int y, int width, int height) override;
53 51
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 std::vector<blink::WGC3Denum> synthetic_errors_; 969 std::vector<blink::WGC3Denum> synthetic_errors_;
972 970
973 ::gpu::gles2::GLES2Interface* gl_; 971 ::gpu::gles2::GLES2Interface* gl_;
974 bool lose_context_when_out_of_memory_; 972 bool lose_context_when_out_of_memory_;
975 uint32_t flush_id_; 973 uint32_t flush_id_;
976 }; 974 };
977 975
978 } // namespace gpu_blink 976 } // namespace gpu_blink
979 977
980 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 978 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.cc ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698