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

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: Addressed feedback 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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 467
468 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location, 468 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
469 const WGC3Dchar* uniform); 469 const WGC3Dchar* uniform);
470 470
471 virtual void shallowFlushCHROMIUM(); 471 virtual void shallowFlushCHROMIUM();
472 virtual void shallowFinishCHROMIUM(); 472 virtual void shallowFinishCHROMIUM();
473 473
474 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 474 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
475 virtual void produceTextureCHROMIUM(WGC3Denum target, 475 virtual void produceTextureCHROMIUM(WGC3Denum target,
476 const WGC3Dbyte* mailbox); 476 const WGC3Dbyte* mailbox);
477 virtual void produceTextureDirectCHROMIUM(WebGLId texture, WGC3Denum target,
478 const WGC3Dbyte* mailbox);
477 virtual void consumeTextureCHROMIUM(WGC3Denum target, 479 virtual void consumeTextureCHROMIUM(WGC3Denum target,
478 const WGC3Dbyte* mailbox); 480 const WGC3Dbyte* mailbox);
481 virtual WebGLId createAndConsumeTextureCHROMIUM(WGC3Denum target,
482 const WGC3Dbyte* mailbox);
479 483
480 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); 484 virtual void insertEventMarkerEXT(const WGC3Dchar* marker);
481 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); 485 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker);
482 virtual void popGroupMarkerEXT(); 486 virtual void popGroupMarkerEXT();
483 487
484 // GL_OES_vertex_array_object 488 // GL_OES_vertex_array_object
485 virtual WebGLId createVertexArrayOES(); 489 virtual WebGLId createVertexArrayOES();
486 virtual void deleteVertexArrayOES(WebGLId array); 490 virtual void deleteVertexArrayOES(WebGLId array);
487 virtual WGC3Dboolean isVertexArrayOES(WebGLId array); 491 virtual WGC3Dboolean isVertexArrayOES(WebGLId array);
488 virtual void bindVertexArrayOES(WebGLId array); 492 virtual void bindVertexArrayOES(WebGLId array);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 std::vector<WGC3Denum> synthetic_errors_; 593 std::vector<WGC3Denum> synthetic_errors_;
590 594
591 gpu::gles2::GLES2Interface* gl_; 595 gpu::gles2::GLES2Interface* gl_;
592 bool lose_context_when_out_of_memory_; 596 bool lose_context_when_out_of_memory_;
593 uint32_t flush_id_; 597 uint32_t flush_id_;
594 }; 598 };
595 599
596 } // namespace content 600 } // namespace content
597 601
598 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_ 602 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698