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

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

Issue 780653007: Added GL_CHROMIUM_trace_marker feature as well as gpu_toplevel markers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 virtual WebGLId createValuebufferCHROMIUM(); 486 virtual WebGLId createValuebufferCHROMIUM();
487 virtual void deleteValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids); 487 virtual void deleteValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids);
488 virtual void deleteValuebufferCHROMIUM(WebGLId); 488 virtual void deleteValuebufferCHROMIUM(WebGLId);
489 virtual void bindValuebufferCHROMIUM(WGC3Denum target, WebGLId valuebuffer); 489 virtual void bindValuebufferCHROMIUM(WGC3Denum target, WebGLId valuebuffer);
490 virtual WGC3Dboolean isValuebufferCHROMIUM(WebGLId renderbuffer); 490 virtual WGC3Dboolean isValuebufferCHROMIUM(WebGLId renderbuffer);
491 virtual void subscribeValueCHROMIUM(WGC3Denum target, WGC3Denum subscription); 491 virtual void subscribeValueCHROMIUM(WGC3Denum target, WGC3Denum subscription);
492 virtual void populateSubscribedValuesCHROMIUM(WGC3Denum target); 492 virtual void populateSubscribedValuesCHROMIUM(WGC3Denum target);
493 virtual void uniformValuebufferCHROMIUM(WGC3Dint location, 493 virtual void uniformValuebufferCHROMIUM(WGC3Dint location,
494 WGC3Denum target, 494 WGC3Denum target,
495 WGC3Denum subscription); 495 WGC3Denum subscription);
496 virtual void traceBeginCHROMIUM(const WGC3Dchar* category_name,
497 const WGC3Dchar* trace_name);
498 virtual void traceEndCHROMIUM();
496 499
497 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); 500 virtual void insertEventMarkerEXT(const WGC3Dchar* marker);
498 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); 501 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker);
499 virtual void popGroupMarkerEXT(); 502 virtual void popGroupMarkerEXT();
500 503
501 // GL_OES_vertex_array_object 504 // GL_OES_vertex_array_object
502 virtual WebGLId createVertexArrayOES(); 505 virtual WebGLId createVertexArrayOES();
503 virtual void deleteVertexArrayOES(WebGLId array); 506 virtual void deleteVertexArrayOES(WebGLId array);
504 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); 507 virtual WGC3Dboolean isVertexArrayOES(WebGLId array);
505 virtual void bindVertexArrayOES(WebGLId array); 508 virtual void bindVertexArrayOES(WebGLId array);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 std::vector<WGC3Denum> synthetic_errors_; 606 std::vector<WGC3Denum> synthetic_errors_;
604 607
605 ::gpu::gles2::GLES2Interface* gl_; 608 ::gpu::gles2::GLES2Interface* gl_;
606 bool lose_context_when_out_of_memory_; 609 bool lose_context_when_out_of_memory_;
607 uint32_t flush_id_; 610 uint32_t flush_id_;
608 }; 611 };
609 612
610 } // namespace gpu_blink 613 } // namespace gpu_blink
611 614
612 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 615 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_trace_marker.txt ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698