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

Side by Side Diff: gpu/GLES2/gl2extchromium.h

Issue 2067503003: Add a new command buffer function glScheduleCALayerInUseQueryCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fix. Created 4 years, 6 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
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 // This file contains Chromium-specific GLES2 extensions declarations. 5 // This file contains Chromium-specific GLES2 extensions declarations.
6 6
7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ 7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_
8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ 8 #define GPU_GLES2_GL2EXTCHROMIUM_H_
9 9
10 #include <GLES2/gl2.h> 10 #include <GLES2/gl2.h>
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 const GLfloat* contents_rect, 785 const GLfloat* contents_rect,
786 GLfloat opacity, 786 GLfloat opacity,
787 GLuint background_color, 787 GLuint background_color,
788 GLuint edge_aa_mask, 788 GLuint edge_aa_mask,
789 const GLfloat* bounds_rect, 789 const GLfloat* bounds_rect,
790 GLboolean is_clipped, 790 GLboolean is_clipped,
791 const GLfloat* clip_rect, 791 const GLfloat* clip_rect,
792 GLint sorting_context_id, 792 GLint sorting_context_id,
793 const GLfloat* transform, 793 const GLfloat* transform,
794 GLuint filter); 794 GLuint filter);
795 GL_APICALL void GL_APIENTRY
796 glScheduleCALayerInUseQueryCHROMIUM(GLuint n, const GLuint* textures);
795 #endif 797 #endif
796 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)( 798 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERCHROMIUMPROC)(
797 GLuint contents_texture_id, 799 GLuint contents_texture_id,
798 const GLfloat* contents_rect, 800 const GLfloat* contents_rect,
799 GLfloat opacity, 801 GLfloat opacity,
800 GLuint background_color, 802 GLuint background_color,
801 GLuint edge_aa_mask, 803 GLuint edge_aa_mask,
802 const GLfloat* bounds_rect, 804 const GLfloat* bounds_rect,
803 GLboolean is_clipped, 805 GLboolean is_clipped,
804 const GLfloat* clip_rect, 806 const GLfloat* clip_rect,
805 GLint sorting_context_id, 807 GLint sorting_context_id,
806 const GLfloat* transform, 808 const GLfloat* transform,
807 GLuint filter); 809 GLuint filter);
810 typedef void(GL_APIENTRYP PFNGLSCHEDULECALAYERINUSEQUERYCHROMIUMPROC)(
811 GLuint n,
812 const GLuint* textures);
808 #endif /* GL_CHROMIUM_schedule_ca_layer */ 813 #endif /* GL_CHROMIUM_schedule_ca_layer */
809 814
810 /* GL_CHROMIUM_sync_query */ 815 /* GL_CHROMIUM_sync_query */
811 #ifndef GL_CHROMIUM_sync_query 816 #ifndef GL_CHROMIUM_sync_query
812 #define GL_CHROMIUM_sync_query 1 817 #define GL_CHROMIUM_sync_query 1
813 818
814 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM 819 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM
815 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 820 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
816 #endif 821 #endif
817 #endif /* GL_CHROMIUM_sync_query */ 822 #endif /* GL_CHROMIUM_sync_query */
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1211 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1207 #endif 1212 #endif
1208 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1213 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1209 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1214 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1210 1215
1211 #ifdef __cplusplus 1216 #ifdef __cplusplus
1212 } 1217 }
1213 #endif 1218 #endif
1214 1219
1215 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1220 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698