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

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: nits 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
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
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
669 glScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
670 GLenum plane_transform,
671 GLuint overlay_texture_id,
672 GLint bounds_x,
673 GLint bounds_y,
674 GLint bounds_width,
675 GLint bounds_height,
676 GLfloat uv_x,
677 GLfloat uv_y,
678 GLfloat uv_width,
679 GLfloat uv_height);
680 #endif
681 typedef void(GL_APIENTRYP PFNGLSCHEDULEOVERLAYPLANECHROMIUMPROC)(
682 GLint plane_z_order,
683 GLenum plane_transform,
684 GLuint overlay_texture_id,
685 GLint bounds_x,
686 GLint bounds_y,
687 GLint bounds_width,
688 GLint bounds_height,
689 GLfloat uv_x,
690 GLfloat uv_y,
691 GLfloat uv_width,
692 GLfloat uv_height);
693 #endif /* GL_CHROMIUM_schedule_overlay_plane */
694
639 #ifdef __cplusplus 695 #ifdef __cplusplus
640 } 696 }
641 #endif 697 #endif
642 698
643 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 699 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698