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

Side by Side Diff: webkit/common/gpu/webgraphicscontext3d_impl.h

Issue 299043003: Adding bindless variants mailbox produce/consume (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fix for windows Created 6 years, 6 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 | Annotate | Revision Log
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_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ 5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_
6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ 6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 466
467 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, 467 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
468 const WGC3Dchar* uniform); 468 const WGC3Dchar* uniform);
469 469
470 virtual void shallowFlushCHROMIUM(); 470 virtual void shallowFlushCHROMIUM();
471 virtual void shallowFinishCHROMIUM(); 471 virtual void shallowFinishCHROMIUM();
472 472
473 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 473 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
474 virtual void produceTextureCHROMIUM(WGC3Denum target, 474 virtual void produceTextureCHROMIUM(WGC3Denum target,
475 const WGC3Dbyte* mailbox); 475 const WGC3Dbyte* mailbox);
476 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target,
477 const WGC3Dbyte* mailbox);
476 virtual void consumeTextureCHROMIUM(WGC3Denum target, 478 virtual void consumeTextureCHROMIUM(WGC3Denum target,
477 const WGC3Dbyte* mailbox); 479 const WGC3Dbyte* mailbox);
480 virtual WebGLId createAndConsumeTextureCHROMIUM(WGC3Denum target,
481 const WGC3Dbyte* mailbox);
478 482
479 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); 483 virtual void insertEventMarkerEXT(const WGC3Dchar* marker);
480 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); 484 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker);
481 virtual void popGroupMarkerEXT(); 485 virtual void popGroupMarkerEXT();
482 486
483 // GL_OES_vertex_array_object 487 // GL_OES_vertex_array_object
484 virtual WebGLId createVertexArrayOES(); 488 virtual WebGLId createVertexArrayOES();
485 virtual void deleteVertexArrayOES(WebGLId array); 489 virtual void deleteVertexArrayOES(WebGLId array);
486 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); 490 virtual WGC3Dboolean isVertexArrayOES(WebGLId array);
487 virtual void bindVertexArrayOES(WebGLId array); 491 virtual void bindVertexArrayOES(WebGLId array);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 589
586 ::gpu::gles2::GLES2Interface* gl_; 590 ::gpu::gles2::GLES2Interface* gl_;
587 bool lose_context_when_out_of_memory_; 591 bool lose_context_when_out_of_memory_;
588 uint32_t flush_id_; 592 uint32_t flush_id_;
589 }; 593 };
590 594
591 } // namespace gpu 595 } // namespace gpu
592 } // namespace webkit 596 } // namespace webkit
593 597
594 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ 598 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/tests/gl_texture_mailbox_unittest.cc ('k') | webkit/common/gpu/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698