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

Side by Side Diff: include/gpu/gl/GrGLInterface.h

Issue 2384463003: Add fence support for TransferBuffers (Closed)
Patch Set: Add test code Created 4 years, 2 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
« no previous file with comments | « include/gpu/gl/GrGLFunctions.h ('k') | include/gpu/gl/GrGLTypes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrGLInterface_DEFINED 8 #ifndef GrGLInterface_DEFINED
9 #define GrGLInterface_DEFINED 9 #define GrGLInterface_DEFINED
10 10
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 GrGLFunction<GrGLDisableVertexArrayAttribProc> fDisableVertexArrayAttrib ; 445 GrGLFunction<GrGLDisableVertexArrayAttribProc> fDisableVertexArrayAttrib ;
446 GrGLFunction<GrGLGetVertexArrayIntegervProc> fGetVertexArrayIntegerv; 446 GrGLFunction<GrGLGetVertexArrayIntegervProc> fGetVertexArrayIntegerv;
447 GrGLFunction<GrGLGetVertexArrayPointervProc> fGetVertexArrayPointerv; 447 GrGLFunction<GrGLGetVertexArrayPointervProc> fGetVertexArrayPointerv;
448 GrGLFunction<GrGLGetVertexArrayIntegeri_vProc> fGetVertexArrayIntegeri_v ; 448 GrGLFunction<GrGLGetVertexArrayIntegeri_vProc> fGetVertexArrayIntegeri_v ;
449 GrGLFunction<GrGLGetVertexArrayPointeri_vProc> fGetVertexArrayPointeri_v ; 449 GrGLFunction<GrGLGetVertexArrayPointeri_vProc> fGetVertexArrayPointeri_v ;
450 GrGLFunction<GrGLMapNamedBufferRangeProc> fMapNamedBufferRange; 450 GrGLFunction<GrGLMapNamedBufferRangeProc> fMapNamedBufferRange;
451 GrGLFunction<GrGLFlushMappedNamedBufferRangeProc> fFlushMappedNamedBuffe rRange; 451 GrGLFunction<GrGLFlushMappedNamedBufferRangeProc> fFlushMappedNamedBuffe rRange;
452 // OpenGL 3.1 452 // OpenGL 3.1
453 GrGLFunction<GrGLTextureBufferProc> fTextureBuffer; 453 GrGLFunction<GrGLTextureBufferProc> fTextureBuffer;
454 454
455 /* ARB_sync */
456 GrGLFunction<GrGLFenceSyncProc> fFenceSync;
457 GrGLFunction<GrGLClientWaitSyncProc> fClientWaitSync;
458 GrGLFunction<GrGLDeleteSyncProc> fDeleteSync;
459
455 /* KHR_debug */ 460 /* KHR_debug */
456 GrGLFunction<GrGLDebugMessageControlProc> fDebugMessageControl; 461 GrGLFunction<GrGLDebugMessageControlProc> fDebugMessageControl;
457 GrGLFunction<GrGLDebugMessageInsertProc> fDebugMessageInsert; 462 GrGLFunction<GrGLDebugMessageInsertProc> fDebugMessageInsert;
458 GrGLFunction<GrGLDebugMessageCallbackProc> fDebugMessageCallback; 463 GrGLFunction<GrGLDebugMessageCallbackProc> fDebugMessageCallback;
459 GrGLFunction<GrGLGetDebugMessageLogProc> fGetDebugMessageLog; 464 GrGLFunction<GrGLGetDebugMessageLogProc> fGetDebugMessageLog;
460 GrGLFunction<GrGLPushDebugGroupProc> fPushDebugGroup; 465 GrGLFunction<GrGLPushDebugGroupProc> fPushDebugGroup;
461 GrGLFunction<GrGLPopDebugGroupProc> fPopDebugGroup; 466 GrGLFunction<GrGLPopDebugGroupProc> fPopDebugGroup;
462 GrGLFunction<GrGLObjectLabelProc> fObjectLabel; 467 GrGLFunction<GrGLObjectLabelProc> fObjectLabel;
463 468
464 /* EXT_window_rectangles */ 469 /* EXT_window_rectangles */
465 GrGLFunction<GrGLWindowRectanglesProc> fWindowRectangles; 470 GrGLFunction<GrGLWindowRectanglesProc> fWindowRectangles;
466 471
467 /* EGL functions */ 472 /* EGL functions */
468 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage; 473 GrGLFunction<GrEGLCreateImageProc> fEGLCreateImage;
469 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage; 474 GrGLFunction<GrEGLDestroyImageProc> fEGLDestroyImage;
470 } fFunctions; 475 } fFunctions;
471 476
472 // This exists for internal testing. 477 // This exists for internal testing.
473 virtual void abandon() const {} 478 virtual void abandon() const {}
474 }; 479 };
475 480
476 #endif 481 #endif
OLDNEW
« no previous file with comments | « include/gpu/gl/GrGLFunctions.h ('k') | include/gpu/gl/GrGLTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698