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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.h

Issue 13613006: Add a new parameter dest_type to the GL_CHROMIUM_copy_texture extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase the patch and solve the merge conflict issue Created 7 years, 8 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
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 WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 10
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 virtual void beginQueryEXT(WGC3Denum target, WebGLId query); 470 virtual void beginQueryEXT(WGC3Denum target, WebGLId query);
471 virtual void endQueryEXT(WGC3Denum target); 471 virtual void endQueryEXT(WGC3Denum target);
472 virtual void getQueryivEXT( 472 virtual void getQueryivEXT(
473 WGC3Denum target, WGC3Denum pname, WGC3Dint* params); 473 WGC3Denum target, WGC3Denum pname, WGC3Dint* params);
474 virtual void getQueryObjectuivEXT( 474 virtual void getQueryObjectuivEXT(
475 WebGLId query, WGC3Denum pname, WGC3Duint* params); 475 WebGLId query, WGC3Denum pname, WGC3Duint* params);
476 476
477 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint source_id, 477 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint source_id,
478 WGC3Duint dest_id, WGC3Dint level, 478 WGC3Duint dest_id, WGC3Dint level,
479 WGC3Denum internal_format); 479 WGC3Denum internal_format);
480
481 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint source_id,
482 WGC3Duint dest_id, WGC3Dint level,
483 WGC3Denum internal_format,
484 WGC3Denum dest_type);
485
480 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, 486 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
481 const WGC3Dchar* uniform); 487 const WGC3Dchar* uniform);
482 488
483 // CHROMIUM_shallow_flush 489 // CHROMIUM_shallow_flush
484 // Only applies to contexts that use the command buffer. 490 // Only applies to contexts that use the command buffer.
485 virtual void shallowFlushCHROMIUM() { } 491 virtual void shallowFlushCHROMIUM() { }
486 492
487 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 493 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
488 virtual void produceTextureCHROMIUM(WGC3Denum target, 494 virtual void produceTextureCHROMIUM(WGC3Denum target,
489 const WGC3Dbyte* mailbox); 495 const WGC3Dbyte* mailbox);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 ShaderSourceMap shader_source_map_; 573 ShaderSourceMap shader_source_map_;
568 574
569 ShHandle fragment_compiler_; 575 ShHandle fragment_compiler_;
570 ShHandle vertex_compiler_; 576 ShHandle vertex_compiler_;
571 }; 577 };
572 578
573 } // namespace gpu 579 } // namespace gpu
574 } // namespace webkit 580 } // namespace webkit
575 581
576 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 582 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698