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

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

Issue 1812363002: Remove genSyncTokenCHROMIUM from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simples-tplus
Patch Set: gensynctoken: rebase Created 4 years, 9 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 | « components/test_runner/test_plugin.cc ('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 19 matching lines...) Expand all
30 class WebGraphicsContext3DErrorMessageCallback; 30 class WebGraphicsContext3DErrorMessageCallback;
31 31
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 bool genSyncTokenCHROMIUM(blink::WGC3Duint64 fenceSync,
41 blink::WGC3Dbyte* syncToken) override;
42
43 void drawElements(blink::WGC3Denum mode, 40 void drawElements(blink::WGC3Denum mode,
44 blink::WGC3Dsizei count, 41 blink::WGC3Dsizei count,
45 blink::WGC3Denum type, 42 blink::WGC3Denum type,
46 blink::WGC3Dintptr offset) override; 43 blink::WGC3Dintptr offset) override;
47 44
48 bool getActiveAttrib(blink::WebGLId program, 45 bool getActiveAttrib(blink::WebGLId program,
49 blink::WGC3Duint index, 46 blink::WGC3Duint index,
50 ActiveInfo&) override; 47 ActiveInfo&) override;
51 bool getActiveUniform(blink::WebGLId program, 48 bool getActiveUniform(blink::WebGLId program,
52 blink::WGC3Duint index, 49 blink::WGC3Duint index,
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 // Errors raised by synthesizeGLError(). 327 // Errors raised by synthesizeGLError().
331 std::vector<blink::WGC3Denum> synthetic_errors_; 328 std::vector<blink::WGC3Denum> synthetic_errors_;
332 329
333 ::gpu::gles2::GLES2Interface* gl_; 330 ::gpu::gles2::GLES2Interface* gl_;
334 bool lose_context_when_out_of_memory_; 331 bool lose_context_when_out_of_memory_;
335 }; 332 };
336 333
337 } // namespace gpu_blink 334 } // namespace gpu_blink
338 335
339 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 336 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW
« no previous file with comments | « components/test_runner/test_plugin.cc ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698