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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_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_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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 490 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
491 virtual void produceTextureCHROMIUM(WGC3Denum target, 491 virtual void produceTextureCHROMIUM(WGC3Denum target,
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 insertEventMarkerEXT(const WGC3Dchar* marker); 496 virtual void insertEventMarkerEXT(const WGC3Dchar* marker);
497 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker); 497 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker);
498 virtual void popGroupMarkerEXT(); 498 virtual void popGroupMarkerEXT();
499 499
500 virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access);
501 virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target);
502
500 protected: 503 protected:
501 virtual GrGLInterface* onCreateGrGLInterface(); 504 virtual GrGLInterface* onCreateGrGLInterface();
502 505
503 private: 506 private:
504 // SwapBuffers callback. 507 // SwapBuffers callback.
505 void OnSwapBuffersComplete(); 508 void OnSwapBuffersComplete();
506 virtual void OnContextLost(); 509 virtual void OnContextLost();
507 510
508 // Used to try to find bugs in code that calls gl directly through the gl api 511 // Used to try to find bugs in code that calls gl directly through the gl api
509 // instead of going through WebGraphicsContext3D. 512 // instead of going through WebGraphicsContext3D.
(...skipping 22 matching lines...) Expand all
532 unsigned int width, 535 unsigned int width,
533 unsigned int height); 536 unsigned int height);
534 #endif 537 #endif
535 }; 538 };
536 539
537 } // namespace gpu 540 } // namespace gpu
538 } // namespace webkit 541 } // namespace webkit
539 542
540 #endif // defined(ENABLE_GPU) 543 #endif // defined(ENABLE_GPU)
541 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 544 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « third_party/khronos/README.chromium ('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