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

Side by Side Diff: public/platform/WebGraphicsContext3D.h

Issue 797273003: Added GL_CHROMIUM_trace_marker functions to WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target, const WGC3Dbyte* mailbox) { } 425 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target, const WGC3Dbyte* mailbox) { }
426 426
427 virtual void consumeTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb ox) { } 427 virtual void consumeTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb ox) { }
428 virtual WebGLId createAndConsumeTextureCHROMIUM(WGC3Denum target, const WGC3 Dbyte* mailbox) { return 0; } 428 virtual WebGLId createAndConsumeTextureCHROMIUM(WGC3Denum target, const WGC3 Dbyte* mailbox) { return 0; }
429 429
430 // GL_EXT_debug_marker 430 // GL_EXT_debug_marker
431 virtual void insertEventMarkerEXT(const WGC3Dchar* marker) { } 431 virtual void insertEventMarkerEXT(const WGC3Dchar* marker) { }
432 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker) { } 432 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker) { }
433 virtual void popGroupMarkerEXT(void) { } 433 virtual void popGroupMarkerEXT(void) { }
434 434
435 // GL_CHROMIUM_trace_marker
436 virtual void traceBeginCHROMIUM(const WGC3Dchar* category, const WGC3Dchar* trace) { }
437 virtual void traceEndCHROMIUM() { }
438
435 // GL_OES_vertex_array_object 439 // GL_OES_vertex_array_object
436 virtual WebGLId createVertexArrayOES() { return 0; } 440 virtual WebGLId createVertexArrayOES() { return 0; }
437 virtual void deleteVertexArrayOES(WebGLId array) { } 441 virtual void deleteVertexArrayOES(WebGLId array) { }
438 virtual WGC3Dboolean isVertexArrayOES(WebGLId array) { return false; } 442 virtual WGC3Dboolean isVertexArrayOES(WebGLId array) { return false; }
439 virtual void bindVertexArrayOES(WebGLId array) { } 443 virtual void bindVertexArrayOES(WebGLId array) { }
440 444
441 // GL_CHROMIUM_texture_from_image 445 // GL_CHROMIUM_texture_from_image
442 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { } 446 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { }
443 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { } 447 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { }
444 448
(...skipping 23 matching lines...) Expand all
468 virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor) { } 472 virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor) { }
469 473
470 // GL_EXT_multisampled_render_to_texture 474 // GL_EXT_multisampled_render_to_texture
471 virtual void framebufferTexture2DMultisampleEXT(WGC3Denum target, WGC3Denum attachment, WGC3Denum textarget, WebGLId texture, WGC3Dint level, WGC3Dsizei sam ples) { } 475 virtual void framebufferTexture2DMultisampleEXT(WGC3Denum target, WGC3Denum attachment, WGC3Denum textarget, WebGLId texture, WGC3Dint level, WGC3Dsizei sam ples) { }
472 virtual void renderbufferStorageMultisampleEXT(WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { }; 476 virtual void renderbufferStorageMultisampleEXT(WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { };
473 }; 477 };
474 478
475 } // namespace blink 479 } // namespace blink
476 480
477 #endif 481 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698