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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_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_COMMAND_BUFFER_IMPL_H_ 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
7 7
8 #if defined(ENABLE_GPU) 8 #if defined(ENABLE_GPU)
9 9
10 #include <vector> 10 #include <vector>
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 virtual void endQueryEXT(WGC3Denum target); 472 virtual void endQueryEXT(WGC3Denum target);
473 virtual void getQueryivEXT( 473 virtual void getQueryivEXT(
474 WGC3Denum target, WGC3Denum pname, WGC3Dint* params); 474 WGC3Denum target, WGC3Denum pname, WGC3Dint* params);
475 virtual void getQueryObjectuivEXT( 475 virtual void getQueryObjectuivEXT(
476 WebGLId query, WGC3Denum pname, WGC3Duint* params); 476 WebGLId query, WGC3Denum pname, WGC3Duint* params);
477 477
478 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint source_id, 478 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint source_id,
479 WGC3Duint dest_id, WGC3Dint level, 479 WGC3Duint dest_id, WGC3Dint level,
480 WGC3Denum internal_format); 480 WGC3Denum internal_format);
481 481
482 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint source_id,
483 WGC3Duint dest_id, WGC3Dint level,
484 WGC3Denum internal_format,
485 WGC3Denum dest_type);
486
482 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, 487 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
483 const WGC3Dchar* uniform); 488 const WGC3Dchar* uniform);
484 489
485 virtual void shallowFlushCHROMIUM(); 490 virtual void shallowFlushCHROMIUM();
486 491
487 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 492 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
488 virtual void produceTextureCHROMIUM(WGC3Denum target, 493 virtual void produceTextureCHROMIUM(WGC3Denum target,
489 const WGC3Dbyte* mailbox); 494 const WGC3Dbyte* mailbox);
490 virtual void consumeTextureCHROMIUM(WGC3Denum target, 495 virtual void consumeTextureCHROMIUM(WGC3Denum target,
491 const WGC3Dbyte* mailbox); 496 const WGC3Dbyte* mailbox);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 void FlipVertically(uint8* framebuffer, 565 void FlipVertically(uint8* framebuffer,
561 unsigned int width, 566 unsigned int width,
562 unsigned int height); 567 unsigned int height);
563 }; 568 };
564 569
565 } // namespace gpu 570 } // namespace gpu
566 } // namespace webkit 571 } // namespace webkit
567 572
568 #endif // defined(ENABLE_GPU) 573 #endif // defined(ENABLE_GPU)
569 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 574 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698