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

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

Issue 1551143002: Remove the "target" argument from CopyTextureChromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error. Created 4 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 /* GL_CHROMIUM_copy_texture */ 360 /* GL_CHROMIUM_copy_texture */
361 #ifndef GL_CHROMIUM_copy_texture 361 #ifndef GL_CHROMIUM_copy_texture
362 #define GL_CHROMIUM_copy_texture 1 362 #define GL_CHROMIUM_copy_texture 1
363 363
364 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 364 #ifndef GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM
365 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243 365 #define GL_UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
366 #endif 366 #endif
367 367
368 #ifdef GL_GLEXT_PROTOTYPES 368 #ifdef GL_GLEXT_PROTOTYPES
369 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM( 369 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(
370 GLenum target,
371 GLenum source_id, 370 GLenum source_id,
372 GLenum dest_id, 371 GLenum dest_id,
373 GLint internalformat, 372 GLint internalformat,
374 GLenum dest_type, 373 GLenum dest_type,
375 GLboolean unpack_flip_y, 374 GLboolean unpack_flip_y,
376 GLboolean unpack_premultiply_alpha, 375 GLboolean unpack_premultiply_alpha,
377 GLboolean unpack_unmultiply_alpha); 376 GLboolean unpack_unmultiply_alpha);
378 377
379 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM( 378 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(
380 GLenum target,
381 GLenum source_id, 379 GLenum source_id,
382 GLenum dest_id, 380 GLenum dest_id,
383 GLint xoffset, 381 GLint xoffset,
384 GLint yoffset, 382 GLint yoffset,
385 GLint x, 383 GLint x,
386 GLint y, 384 GLint y,
387 GLsizei width, 385 GLsizei width,
388 GLsizei height, 386 GLsizei height,
389 GLboolean unpack_flip_y, 387 GLboolean unpack_flip_y,
390 GLboolean unpack_premultiply_alpha, 388 GLboolean unpack_premultiply_alpha,
391 GLboolean unpack_unmultiply_alpha); 389 GLboolean unpack_unmultiply_alpha);
392 #endif 390 #endif
393 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)( 391 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(
394 GLenum target,
395 GLenum source_id, 392 GLenum source_id,
396 GLenum dest_id, 393 GLenum dest_id,
397 GLint internalformat, 394 GLint internalformat,
398 GLenum dest_type, 395 GLenum dest_type,
399 GLboolean unpack_flip_y, 396 GLboolean unpack_flip_y,
400 GLboolean unpack_premultiply_alpha, 397 GLboolean unpack_premultiply_alpha,
401 GLboolean unpack_unmultiply_alpha); 398 GLboolean unpack_unmultiply_alpha);
402 399
403 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)( 400 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(
404 GLenum target,
405 GLenum source_id, 401 GLenum source_id,
406 GLenum dest_id, 402 GLenum dest_id,
407 GLint xoffset, 403 GLint xoffset,
408 GLint yoffset, 404 GLint yoffset,
409 GLint x, 405 GLint x,
410 GLint y, 406 GLint y,
411 GLsizei width, 407 GLsizei width,
412 GLsizei height, 408 GLsizei height,
413 GLboolean unpack_flip_y, 409 GLboolean unpack_flip_y,
414 GLboolean unpack_premultiply_alpha, 410 GLboolean unpack_premultiply_alpha,
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1247 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1252 #endif 1248 #endif
1253 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1249 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1254 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1250 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1255 1251
1256 #ifdef __cplusplus 1252 #ifdef __cplusplus
1257 } 1253 }
1258 #endif 1254 #endif
1259 1255
1260 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1256 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt ('k') | gpu/blink/webgraphicscontext3d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698