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

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

Issue 267283003: Cleanup change to the createImageCHROMIUM api to follow up https://codereview.chromium.org/25571300… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 | « 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 virtual void asyncTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3D enum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3D enum format, WGC3Denum type, const void* pixels) { } 448 virtual void asyncTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3D enum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3D enum format, WGC3Denum type, const void* pixels) { }
449 virtual void asyncTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WG C3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, const void* pixels) { } 449 virtual void asyncTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WG C3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, const void* pixels) { }
450 virtual void waitAsyncTexImage2DCHROMIUM(WGC3Denum) { } 450 virtual void waitAsyncTexImage2DCHROMIUM(WGC3Denum) { }
451 451
452 // GL_EXT_draw_buffers 452 // GL_EXT_draw_buffers
453 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs) { } 453 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs) { }
454 454
455 virtual GrGLInterface* createGrGLInterface() { return 0; } 455 virtual GrGLInterface* createGrGLInterface() { return 0; }
456 456
457 // GL_CHROMIUM_map_image 457 // GL_CHROMIUM_map_image
458 virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width, WGC3Dsizei height, W GC3Denum internalformat) { return 0; } 458 virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width, WGC3Dsizei height, W GC3Denum internalformat, WGC3Denum usage) { return 0; }
459 virtual void destroyImageCHROMIUM(WGC3Duint imageId) { } 459 virtual void destroyImageCHROMIUM(WGC3Duint imageId) { }
460 virtual void getImageParameterivCHROMIUM(WGC3Duint imageId, WGC3Denum pname, WGC3Dint* params) { } 460 virtual void getImageParameterivCHROMIUM(WGC3Duint imageId, WGC3Denum pname, WGC3Dint* params) { }
461 virtual void* mapImageCHROMIUM(WGC3Duint imageId, WGC3Denum access) { return 0; } 461 virtual void* mapImageCHROMIUM(WGC3Duint imageId) { return 0; }
462 virtual void unmapImageCHROMIUM(WGC3Duint imageId) { } 462 virtual void unmapImageCHROMIUM(WGC3Duint imageId) { }
463 463
464 // GL_ANGLE_instanced_arrays 464 // GL_ANGLE_instanced_arrays
465 virtual void drawArraysInstancedANGLE(WGC3Denum mode, WGC3Dint first, WGC3Ds izei count, WGC3Dsizei primcount) { } 465 virtual void drawArraysInstancedANGLE(WGC3Denum mode, WGC3Dint first, WGC3Ds izei count, WGC3Dsizei primcount) { }
466 virtual void drawElementsInstancedANGLE(WGC3Denum mode, WGC3Dsizei count, WG C3Denum type, WGC3Dintptr offset, WGC3Dsizei primcount) { } 466 virtual void drawElementsInstancedANGLE(WGC3Denum mode, WGC3Dsizei count, WG C3Denum type, WGC3Dintptr offset, WGC3Dsizei primcount) { }
467 virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor) { } 467 virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor) { }
468 468
469 // GL_EXT_multisampled_render_to_texture 469 // GL_EXT_multisampled_render_to_texture
470 virtual void framebufferTexture2DMultisampleEXT(WGC3Denum target, WGC3Denum attachment, WGC3Denum textarget, WebGLId texture, WGC3Dint level, WGC3Dsizei sam ples) { } 470 virtual void framebufferTexture2DMultisampleEXT(WGC3Denum target, WGC3Denum attachment, WGC3Denum textarget, WebGLId texture, WGC3Dint level, WGC3Dsizei sam ples) { }
471 virtual void renderbufferStorageMultisampleEXT(WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { }; 471 virtual void renderbufferStorageMultisampleEXT(WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { };
472 }; 472 };
473 473
474 } // namespace blink 474 } // namespace blink
475 475
476 #endif 476 #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