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

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

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch 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 virtual void copyTextureCHROMIUM(WGC3Denum target, WebGLId source_id, 454 // TODO(dshwang): Remove |level| in Blink and then remove it.
455 WebGLId dest_id, WGC3Dint level, 455 void copyTextureCHROMIUM(WGC3Denum target,
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,
456 WGC3Denum internal_format, 472 WGC3Denum internal_format,
457 WGC3Denum dest_type); 473 WGC3Denum dest_type);
458 474
475 virtual void copySubTextureCHROMIUM(WGC3Denum target,
476 WebGLId sourceId,
477 WebGLId destId,
478 WGC3Dint xoffset,
479 WGC3Dint yoffset);
480
459 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, 481 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
460 const WGC3Dchar* uniform); 482 const WGC3Dchar* uniform);
461 483
462 virtual void shallowFlushCHROMIUM(); 484 virtual void shallowFlushCHROMIUM();
463 virtual void shallowFinishCHROMIUM(); 485 virtual void shallowFinishCHROMIUM();
464 486
465 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 487 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
466 virtual void produceTextureCHROMIUM(WGC3Denum target, 488 virtual void produceTextureCHROMIUM(WGC3Denum target,
467 const WGC3Dbyte* mailbox); 489 const WGC3Dbyte* mailbox);
468 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target, 490 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target,
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 std::vector<WGC3Denum> synthetic_errors_; 759 std::vector<WGC3Denum> synthetic_errors_;
738 760
739 ::gpu::gles2::GLES2Interface* gl_; 761 ::gpu::gles2::GLES2Interface* gl_;
740 bool lose_context_when_out_of_memory_; 762 bool lose_context_when_out_of_memory_;
741 uint32_t flush_id_; 763 uint32_t flush_id_;
742 }; 764 };
743 765
744 } // namespace gpu_blink 766 } // namespace gpu_blink
745 767
746 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ 768 #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