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

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

Issue 12545014: Implement EXT_draw_buffers WebGL extention support in command buffer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 | 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_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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 const WGC3Dbyte* mailbox); 492 const WGC3Dbyte* mailbox);
493 virtual void consumeTextureCHROMIUM(WGC3Denum target, 493 virtual void consumeTextureCHROMIUM(WGC3Denum target,
494 const WGC3Dbyte* mailbox); 494 const WGC3Dbyte* mailbox);
495 495
496 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId); 496 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId);
497 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId); 497 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId);
498 498
499 virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access); 499 virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access);
500 virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target); 500 virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target);
501 501
502 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs);
503
502 protected: 504 protected:
503 virtual GrGLInterface* onCreateGrGLInterface(); 505 virtual GrGLInterface* onCreateGrGLInterface();
504 506
505 private: 507 private:
506 bool Initialize(Attributes attributes); 508 bool Initialize(Attributes attributes);
507 509
508 // ANGLE related. 510 // ANGLE related.
509 struct ShaderSourceEntry; 511 struct ShaderSourceEntry;
510 512
511 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap; 513 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 ShaderSourceMap shader_source_map_; 574 ShaderSourceMap shader_source_map_;
573 575
574 ShHandle fragment_compiler_; 576 ShHandle fragment_compiler_;
575 ShHandle vertex_compiler_; 577 ShHandle vertex_compiler_;
576 }; 578 };
577 579
578 } // namespace gpu 580 } // namespace gpu
579 } // namespace webkit 581 } // namespace webkit
580 582
581 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 583 #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