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

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

Issue 1143373004: gpu: Extend CopyTextureCHROMIUM with support for copying part of source texture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep TODO for now Created 5 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 | « 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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 void copyTextureCHROMIUM(blink::WGC3Denum target, 521 void copyTextureCHROMIUM(blink::WGC3Denum target,
522 blink::WebGLId source_id, 522 blink::WebGLId source_id,
523 blink::WebGLId dest_id, 523 blink::WebGLId dest_id,
524 blink::WGC3Denum internal_format, 524 blink::WGC3Denum internal_format,
525 blink::WGC3Denum dest_type) override; 525 blink::WGC3Denum dest_type) override;
526 526
527 void copySubTextureCHROMIUM(blink::WGC3Denum target, 527 void copySubTextureCHROMIUM(blink::WGC3Denum target,
528 blink::WebGLId source_id, 528 blink::WebGLId source_id,
529 blink::WebGLId dest_id, 529 blink::WebGLId dest_id,
530 blink::WGC3Dint xoffset, 530 blink::WGC3Dint xoffset,
531 blink::WGC3Dint yoffset) override; 531 blink::WGC3Dint yoffset,
532 blink::WGC3Dint x,
533 blink::WGC3Dint y,
534 blink::WGC3Dsizei width,
535 blink::WGC3Dsizei height) override;
532 536
533 virtual void bindUniformLocationCHROMIUM(blink::WebGLId program, 537 virtual void bindUniformLocationCHROMIUM(blink::WebGLId program,
534 blink::WGC3Dint location, 538 blink::WGC3Dint location,
535 const blink::WGC3Dchar* uniform); 539 const blink::WGC3Dchar* uniform);
536 540
537 virtual void shallowFlushCHROMIUM(); 541 virtual void shallowFlushCHROMIUM();
538 virtual void shallowFinishCHROMIUM(); 542 virtual void shallowFinishCHROMIUM();
539 543
540 virtual void genMailboxCHROMIUM(blink::WGC3Dbyte* mailbox); 544 virtual void genMailboxCHROMIUM(blink::WGC3Dbyte* mailbox);
541 virtual void produceTextureCHROMIUM(blink::WGC3Denum target, 545 virtual void produceTextureCHROMIUM(blink::WGC3Denum target,
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 std::vector<blink::WGC3Denum> synthetic_errors_; 961 std::vector<blink::WGC3Denum> synthetic_errors_;
958 962
959 ::gpu::gles2::GLES2Interface* gl_; 963 ::gpu::gles2::GLES2Interface* gl_;
960 bool lose_context_when_out_of_memory_; 964 bool lose_context_when_out_of_memory_;
961 uint32_t flush_id_; 965 uint32_t flush_id_;
962 }; 966 };
963 967
964 } // namespace gpu_blink 968 } // namespace gpu_blink
965 969
966 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 970 #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