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

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

Issue 2610853005: Modify Copy{Sub}TextureCHROMIUM entry point to add level argument (Closed)
Patch Set: autogen code 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 355
356 /* GL_CHROMIUM_copy_texture */ 356 /* GL_CHROMIUM_copy_texture */
357 #ifndef GL_CHROMIUM_copy_texture 357 #ifndef GL_CHROMIUM_copy_texture
358 #define GL_CHROMIUM_copy_texture 1 358 #define GL_CHROMIUM_copy_texture 1
359 359
360 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 360 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
361 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 361 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
362 #endif 362 #endif
363 363
364 #ifdef GL_GLEXT_PROTOTYPES 364 #ifdef GL_GLEXT_PROTOTYPES
365 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM( 365 GL_APICALL void GL_APIENTRY
366 GLenum source_id, 366 glCopyTextureCHROMIUM(GLenum source_id,
367 GLenum dest_id, 367 GLint source_level,
368 GLint internalformat, 368 GLenum dest_id,
369 GLenum dest_type, 369 GLint dest_level,
370 GLboolean unpack_flip_y, 370 GLint internalformat,
371 GLboolean unpack_premultiply_alpha, 371 GLenum dest_type,
372 GLboolean unpack_unmultiply_alpha); 372 GLboolean unpack_flip_y,
373 GLboolean unpack_premultiply_alpha,
374 GLboolean unpack_unmultiply_alpha);
373 375
374 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM( 376 GL_APICALL void GL_APIENTRY
375 GLenum source_id, 377 glCopySubTextureCHROMIUM(GLenum source_id,
376 GLenum dest_id, 378 GLint source_level,
377 GLint xoffset, 379 GLenum dest_id,
378 GLint yoffset, 380 GLint dest_level,
379 GLint x, 381 GLint xoffset,
380 GLint y, 382 GLint yoffset,
381 GLsizei width, 383 GLint x,
382 GLsizei height, 384 GLint y,
383 GLboolean unpack_flip_y, 385 GLsizei width,
384 GLboolean unpack_premultiply_alpha, 386 GLsizei height,
385 GLboolean unpack_unmultiply_alpha); 387 GLboolean unpack_flip_y,
388 GLboolean unpack_premultiply_alpha,
389 GLboolean unpack_unmultiply_alpha);
386 #endif 390 #endif
387 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)( 391 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(
388 GLenum source_id, 392 GLenum source_id,
Zhenyao Mo 2017/01/05 21:30:14 You also need to update here.
qiankun 2017/01/09 08:16:27 Done.
389 GLenum dest_id, 393 GLenum dest_id,
390 GLint internalformat, 394 GLint internalformat,
391 GLenum dest_type, 395 GLenum dest_type,
392 GLboolean unpack_flip_y, 396 GLboolean unpack_flip_y,
393 GLboolean unpack_premultiply_alpha, 397 GLboolean unpack_premultiply_alpha,
394 GLboolean unpack_unmultiply_alpha); 398 GLboolean unpack_unmultiply_alpha);
395 399
396 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)( 400 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(
397 GLenum source_id, 401 GLenum source_id,
Zhenyao Mo 2017/01/05 21:30:14 and here.
qiankun 2017/01/09 08:16:27 Done.
398 GLenum dest_id, 402 GLenum dest_id,
399 GLint xoffset, 403 GLint xoffset,
400 GLint yoffset, 404 GLint yoffset,
401 GLint x, 405 GLint x,
402 GLint y, 406 GLint y,
403 GLsizei width, 407 GLsizei width,
404 GLsizei height, 408 GLsizei height,
405 GLboolean unpack_flip_y, 409 GLboolean unpack_flip_y,
406 GLboolean unpack_premultiply_alpha, 410 GLboolean unpack_premultiply_alpha,
407 GLboolean unpack_unmultiply_alpha); 411 GLboolean unpack_unmultiply_alpha);
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1205 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1202 #endif 1206 #endif
1203 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1207 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1204 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1208 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1205 1209
1206 #ifdef __cplusplus 1210 #ifdef __cplusplus
1207 } 1211 }
1208 #endif 1212 #endif
1209 1213
1210 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1214 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.cc ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698