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

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

Issue 14972017: Remove old APIs for copyTextureCHROMIUM(...) and copyVideoTextureToPlatformTexture(...). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase the patch Created 7 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 | « Source/WebKit/chromium/public/WebMediaPlayer.h ('k') | 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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 virtual void beginQueryEXT(WGC3Denum target, WebGLId query) { } 445 virtual void beginQueryEXT(WGC3Denum target, WebGLId query) { }
446 virtual void endQueryEXT(WGC3Denum target) { } 446 virtual void endQueryEXT(WGC3Denum target) { }
447 virtual void getQueryivEXT(WGC3Denum target, WGC3Denum pname, WGC3Dint* para ms) { } 447 virtual void getQueryivEXT(WGC3Denum target, WGC3Denum pname, WGC3Dint* para ms) { }
448 virtual void getQueryObjectuivEXT(WebGLId query, WGC3Denum pname, WGC3Duint* params) { } 448 virtual void getQueryObjectuivEXT(WebGLId query, WGC3Denum pname, WGC3Duint* params) { }
449 449
450 // GL_CHROMIUM_bind_uniform_location 450 // GL_CHROMIUM_bind_uniform_location
451 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, const WGC3Dchar* uniform) { } 451 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, const WGC3Dchar* uniform) { }
452 452
453 // GL_CHROMIUM_copy_texture 453 // GL_CHROMIUM_copy_texture
454 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId, 454 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId,
455 WGC3Duint destId, WGC3Dint level, WGC3Denum internalFormat) { }
456 // This function adds one more parameter(destType) than the above one to def ine the destination texture if needed.
457 // TODO(jun.a.jiang@intel.com): once all clients switch to call this newer f unction with six parameters, the older
458 // one with five parameters would be removed.
459 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId,
460 WGC3Duint destId, WGC3Dint level, WGC3Denum internalFormat, WGC3Denum de stType) { } 455 WGC3Duint destId, WGC3Dint level, WGC3Denum internalFormat, WGC3Denum de stType) { }
461 456
462 // GL_CHROMIUM_shallow_flush 457 // GL_CHROMIUM_shallow_flush
463 virtual void shallowFlushCHROMIUM() { } 458 virtual void shallowFlushCHROMIUM() { }
464 459
465 // GL_CHROMIUM_texture_mailbox 460 // GL_CHROMIUM_texture_mailbox
466 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox) { } 461 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox) { }
467 virtual void produceTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb ox) { } 462 virtual void produceTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb ox) { }
468 virtual void consumeTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb ox) { } 463 virtual void consumeTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb ox) { }
469 464
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 virtual void unmapImageCHROMIUM(WGC3Duint imageId) { } 500 virtual void unmapImageCHROMIUM(WGC3Duint imageId) { }
506 501
507 protected: 502 protected:
508 virtual GrGLInterface* onCreateGrGLInterface() { return 0; } 503 virtual GrGLInterface* onCreateGrGLInterface() { return 0; }
509 504
510 }; 505 };
511 506
512 } // namespace WebKit 507 } // namespace WebKit
513 508
514 #endif 509 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/public/WebMediaPlayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698