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

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

Issue 972833004: Revert of gpu: introduce glCopySubTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « gpu/GLES2/gl2extchromium.h ('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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 virtual WebGLId createQueryEXT(); 444 virtual WebGLId createQueryEXT();
445 virtual void deleteQueryEXT(WebGLId query); 445 virtual void deleteQueryEXT(WebGLId query);
446 virtual WGC3Dboolean isQueryEXT(WGC3Duint query); 446 virtual WGC3Dboolean isQueryEXT(WGC3Duint query);
447 virtual void beginQueryEXT(WGC3Denum target, WebGLId query); 447 virtual void beginQueryEXT(WGC3Denum target, WebGLId query);
448 virtual void endQueryEXT(WGC3Denum target); 448 virtual void endQueryEXT(WGC3Denum target);
449 virtual void getQueryivEXT( 449 virtual void getQueryivEXT(
450 WGC3Denum target, WGC3Denum pname, WGC3Dint* params); 450 WGC3Denum target, WGC3Denum pname, WGC3Dint* params);
451 virtual void getQueryObjectuivEXT( 451 virtual void getQueryObjectuivEXT(
452 WebGLId query, WGC3Denum pname, WGC3Duint* params); 452 WebGLId query, WGC3Denum pname, WGC3Duint* params);
453 453
454 // TODO(dshwang): Remove |level| in Blink and then remove it. 454 virtual void copyTextureCHROMIUM(WGC3Denum target, WebGLId source_id,
455 void copyTextureCHROMIUM(WGC3Denum target, 455 WebGLId dest_id, WGC3Dint level,
456 WebGLId source_id,
457 WebGLId dest_id,
458 WGC3Dint level,
459 WGC3Denum internal_format,
460 WGC3Denum dest_type) override;
461
462 void copySubTextureCHROMIUM(WGC3Denum target,
463 WebGLId source_id,
464 WebGLId dest_id,
465 WGC3Dint level,
466 WGC3Dint xoffset,
467 WGC3Dint yoffset) override;
468
469 virtual void copyTextureCHROMIUM(WGC3Denum target,
470 WebGLId source_id,
471 WebGLId dest_id,
472 WGC3Denum internal_format, 456 WGC3Denum internal_format,
473 WGC3Denum dest_type); 457 WGC3Denum dest_type);
474 458
475 virtual void copySubTextureCHROMIUM(WGC3Denum target,
476 WebGLId sourceId,
477 WebGLId destId,
478 WGC3Dint xoffset,
479 WGC3Dint yoffset);
480
481 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, 459 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
482 const WGC3Dchar* uniform); 460 const WGC3Dchar* uniform);
483 461
484 virtual void shallowFlushCHROMIUM(); 462 virtual void shallowFlushCHROMIUM();
485 virtual void shallowFinishCHROMIUM(); 463 virtual void shallowFinishCHROMIUM();
486 464
487 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 465 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
488 virtual void produceTextureCHROMIUM(WGC3Denum target, 466 virtual void produceTextureCHROMIUM(WGC3Denum target,
489 const WGC3Dbyte* mailbox); 467 const WGC3Dbyte* mailbox);
490 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target, 468 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target,
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 std::vector<WGC3Denum> synthetic_errors_; 737 std::vector<WGC3Denum> synthetic_errors_;
760 738
761 ::gpu::gles2::GLES2Interface* gl_; 739 ::gpu::gles2::GLES2Interface* gl_;
762 bool lose_context_when_out_of_memory_; 740 bool lose_context_when_out_of_memory_;
763 uint32_t flush_id_; 741 uint32_t flush_id_;
764 }; 742 };
765 743
766 } // namespace gpu_blink 744 } // namespace gpu_blink
767 745
768 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 746 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698