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

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

Issue 222333002: Plumb ScheduleOverlayPlane into the GPU process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 #endif 629 #endif
630 #endif /* GL_CHROMIUM_color_buffer_float_rgba */ 630 #endif /* GL_CHROMIUM_color_buffer_float_rgba */
631 631
632 #ifndef GL_CHROMIUM_color_buffer_float_rgb 632 #ifndef GL_CHROMIUM_color_buffer_float_rgb
633 #define GL_CHROMIUM_color_buffer_float_rgb 1 633 #define GL_CHROMIUM_color_buffer_float_rgb 1
634 #ifndef GL_RGB32F 634 #ifndef GL_RGB32F
635 #define GL_RGB32F 0x8815 635 #define GL_RGB32F 0x8815
636 #endif 636 #endif
637 #endif /* GL_CHROMIUM_color_buffer_float_rgb */ 637 #endif /* GL_CHROMIUM_color_buffer_float_rgb */
638 638
639 /* GL_CHROMIUM_schedule_overlay_plane */
640 #ifndef GL_CHROMIUM_schedule_overlay_plane
alexst (slow to review) 2014/04/08 19:46:27 I think this is another place that had to be added
piman 2014/04/08 21:30:54 Yes, ok.
641 #define GL_CHROMIUM_schedule_overlay_plane 1
642
643 #ifndef GL_OVERLAY_TRANSFORM_NONE_CHROMIUM
644 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245
645 #endif
646
647 #ifndef GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM
648 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246
649 #endif
650
651 #ifndef GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM
652 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247
653 #endif
654
655 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM
656 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248
657 #endif
658
659 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM
660 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249
661 #endif
662
663 #ifndef GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM
664 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A
665 #endif
666
667 #ifdef GL_GLEXT_PROTOTYPES
668 GL_APICALL void GL_APIENTRY glScheduleOverlayPlaneCHROMIUM(
669 GLint plane_z_order, GLenum plane_transform, GLuint overlay_texture_id,
670 GLint bounds_x, GLint bounds_y, GLint bounds_width, GLint bounds_height,
671 GLfloat uv_x, GLfloat uv_y, GLfloat uv_width, GLfloat uv_height);
672 #endif
673 typedef void (GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC) (
674 GLint plane_z_order, GLenum plane_transform, GLuint overlay_texture_id,
675 GLint bounds_x, GLint bounds_y, GLint bounds_width, GLint bounds_height,
676 GLfloat uv_x, GLfloat uv_y, GLfloat uv_width, GLfloat uv_height);
677 #endif /* GL_CHROMIUM_schedule_overlay_plane */
678
639 #ifdef __cplusplus 679 #ifdef __cplusplus
640 } 680 }
641 #endif 681 #endif
642 682
643 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 683 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698