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

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

Issue 10440019: Add support for GL_CHROMIUM_pixel_transfer_buffer_object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 485
486 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 486 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
487 virtual void produceTextureCHROMIUM(WGC3Denum target, 487 virtual void produceTextureCHROMIUM(WGC3Denum target,
488 const WGC3Dbyte* mailbox); 488 const WGC3Dbyte* mailbox);
489 virtual void consumeTextureCHROMIUM(WGC3Denum target, 489 virtual void consumeTextureCHROMIUM(WGC3Denum target,
490 const WGC3Dbyte* mailbox); 490 const WGC3Dbyte* mailbox);
491 491
492 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId); 492 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId);
493 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId); 493 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId);
494 494
495 virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access);
496 virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target);
497
495 protected: 498 protected:
496 virtual GrGLInterface* onCreateGrGLInterface(); 499 virtual GrGLInterface* onCreateGrGLInterface();
497 500
498 private: 501 private:
499 bool Initialize(Attributes attributes); 502 bool Initialize(Attributes attributes);
500 503
501 // ANGLE related. 504 // ANGLE related.
502 struct ShaderSourceEntry; 505 struct ShaderSourceEntry;
503 506
504 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap; 507 typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 ShaderSourceMap shader_source_map_; 568 ShaderSourceMap shader_source_map_;
566 569
567 ShHandle fragment_compiler_; 570 ShHandle fragment_compiler_;
568 ShHandle vertex_compiler_; 571 ShHandle vertex_compiler_;
569 }; 572 };
570 573
571 } // namespace gpu 574 } // namespace gpu
572 } // namespace webkit 575 } // namespace webkit
573 576
574 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ 577 #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