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

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

Issue 2627323007: Migrate WebGL contexts on backgrounded tabs to the integrated GPU.
Patch Set: Created 3 years, 11 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 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 #ifndef GL_CHROMIUM_framebuffer_mixed_samples 1204 #ifndef GL_CHROMIUM_framebuffer_mixed_samples
1205 #define GL_CHROMIUM_framebuffer_mixed_samples 1 1205 #define GL_CHROMIUM_framebuffer_mixed_samples 1
1206 typedef void(GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC)( 1206 typedef void(GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC)(
1207 GLenum components); 1207 GLenum components);
1208 #ifdef GL_GLEXT_PROTOTYPES 1208 #ifdef GL_GLEXT_PROTOTYPES
1209 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1209 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1210 #endif 1210 #endif
1211 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1211 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1212 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1212 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1213 1213
1214 #ifndef GL_DEFAULT_POWER_CHROMIUM
1215 #define GL_DEFAULT_POWER_CHROMIUM 0x924B
1216 #endif
1217 #ifndef GL_LOW_POWER_CHROMIUM
1218 #define GL_LOW_POWER_CHROMIUM 0x924C
1219 #endif
1220 #ifndef GL_HIGH_PERFORMANCE_CHROMIUM
1221 #define GL_HIGH_PERFORMANCE_CHROMIUM 0x924D
1222 #endif
1223
1214 #ifdef __cplusplus 1224 #ifdef __cplusplus
1215 } 1225 }
1216 #endif 1226 #endif
1217 1227
1218 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1228 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698