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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_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_COMMAND_BUFFER_IMPL_H_ 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
7 7
8 #if defined(ENABLE_GPU) 8 #if defined(ENABLE_GPU)
9 9
10 #include <vector> 10 #include <vector>
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 virtual void consumeTextureCHROMIUM(WGC3Denum target, 496 virtual void consumeTextureCHROMIUM(WGC3Denum target,
497 const WGC3Dbyte* mailbox); 497 const WGC3Dbyte* mailbox);
498 498
499 virtual void insertEventMarkerEXT(const WGC3Dchar* marker); 499 virtual void insertEventMarkerEXT(const WGC3Dchar* marker);
500 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); 500 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker);
501 virtual void popGroupMarkerEXT(); 501 virtual void popGroupMarkerEXT();
502 502
503 virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access); 503 virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access);
504 virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target); 504 virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target);
505 505
506 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs);
507
506 protected: 508 protected:
507 virtual GrGLInterface* onCreateGrGLInterface(); 509 virtual GrGLInterface* onCreateGrGLInterface();
508 510
509 private: 511 private:
510 // SwapBuffers callback. 512 // SwapBuffers callback.
511 void OnSwapBuffersComplete(); 513 void OnSwapBuffersComplete();
512 virtual void OnContextLost(); 514 virtual void OnContextLost();
513 515
514 // Used to try to find bugs in code that calls gl directly through the gl api 516 // Used to try to find bugs in code that calls gl directly through the gl api
515 // instead of going through WebGraphicsContext3D. 517 // instead of going through WebGraphicsContext3D.
(...skipping 22 matching lines...) Expand all
538 unsigned int width, 540 unsigned int width,
539 unsigned int height); 541 unsigned int height);
540 #endif 542 #endif
541 }; 543 };
542 544
543 } // namespace gpu 545 } // namespace gpu
544 } // namespace webkit 546 } // namespace webkit
545 547
546 #endif // defined(ENABLE_GPU) 548 #endif // defined(ENABLE_GPU)
547 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 549 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698