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

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 2849743002: Allow binding multiple textures to one DC Layer overlay. (Closed)
Patch Set: improve test Created 3 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 } 1516 }
1517 void GL_APIENTRY 1517 void GL_APIENTRY
1518 GLES2ScheduleDCLayerSharedStateCHROMIUM(GLfloat opacity, 1518 GLES2ScheduleDCLayerSharedStateCHROMIUM(GLfloat opacity,
1519 GLboolean is_clipped, 1519 GLboolean is_clipped,
1520 const GLfloat* clip_rect, 1520 const GLfloat* clip_rect,
1521 GLint z_order, 1521 GLint z_order,
1522 const GLfloat* transform) { 1522 const GLfloat* transform) {
1523 gles2::GetGLContext()->ScheduleDCLayerSharedStateCHROMIUM( 1523 gles2::GetGLContext()->ScheduleDCLayerSharedStateCHROMIUM(
1524 opacity, is_clipped, clip_rect, z_order, transform); 1524 opacity, is_clipped, clip_rect, z_order, transform);
1525 } 1525 }
1526 void GL_APIENTRY GLES2ScheduleDCLayerCHROMIUM(GLuint contents_texture_id, 1526 void GL_APIENTRY GLES2SetDCLayerTextureCHROMIUM(GLuint index,
1527 const GLfloat* contents_rect, 1527 GLuint contents_texture_id) {
1528 gles2::GetGLContext()->SetDCLayerTextureCHROMIUM(index, contents_texture_id);
1529 }
1530 void GL_APIENTRY GLES2ScheduleDCLayerCHROMIUM(const GLfloat* contents_rect,
1528 GLuint background_color, 1531 GLuint background_color,
1529 GLuint edge_aa_mask, 1532 GLuint edge_aa_mask,
1530 const GLfloat* bounds_rect, 1533 const GLfloat* bounds_rect,
1531 GLuint filter) { 1534 GLuint filter) {
1532 gles2::GetGLContext()->ScheduleDCLayerCHROMIUM( 1535 gles2::GetGLContext()->ScheduleDCLayerCHROMIUM(
1533 contents_texture_id, contents_rect, background_color, edge_aa_mask, 1536 contents_rect, background_color, edge_aa_mask, bounds_rect, filter);
1534 bounds_rect, filter);
1535 } 1537 }
1536 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { 1538 void GL_APIENTRY GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
1537 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); 1539 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
1538 } 1540 }
1539 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 1541 void GL_APIENTRY GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
1540 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); 1542 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode);
1541 } 1543 }
1542 GLuint GL_APIENTRY GLES2GenPathsCHROMIUM(GLsizei range) { 1544 GLuint GL_APIENTRY GLES2GenPathsCHROMIUM(GLsizei range) {
1543 return gles2::GetGLContext()->GenPathsCHROMIUM(range); 1545 return gles2::GetGLContext()->GenPathsCHROMIUM(range);
1544 } 1546 }
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
2912 { 2914 {
2913 "glGetLastFlushIdCHROMIUM", 2915 "glGetLastFlushIdCHROMIUM",
2914 reinterpret_cast<GLES2FunctionPointer>(glGetLastFlushIdCHROMIUM), 2916 reinterpret_cast<GLES2FunctionPointer>(glGetLastFlushIdCHROMIUM),
2915 }, 2917 },
2916 { 2918 {
2917 "glScheduleDCLayerSharedStateCHROMIUM", 2919 "glScheduleDCLayerSharedStateCHROMIUM",
2918 reinterpret_cast<GLES2FunctionPointer>( 2920 reinterpret_cast<GLES2FunctionPointer>(
2919 glScheduleDCLayerSharedStateCHROMIUM), 2921 glScheduleDCLayerSharedStateCHROMIUM),
2920 }, 2922 },
2921 { 2923 {
2924 "glSetDCLayerTextureCHROMIUM",
2925 reinterpret_cast<GLES2FunctionPointer>(glSetDCLayerTextureCHROMIUM),
2926 },
2927 {
2922 "glScheduleDCLayerCHROMIUM", 2928 "glScheduleDCLayerCHROMIUM",
2923 reinterpret_cast<GLES2FunctionPointer>(glScheduleDCLayerCHROMIUM), 2929 reinterpret_cast<GLES2FunctionPointer>(glScheduleDCLayerCHROMIUM),
2924 }, 2930 },
2925 { 2931 {
2926 "glMatrixLoadfCHROMIUM", 2932 "glMatrixLoadfCHROMIUM",
2927 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), 2933 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM),
2928 }, 2934 },
2929 { 2935 {
2930 "glMatrixLoadIdentityCHROMIUM", 2936 "glMatrixLoadIdentityCHROMIUM",
2931 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), 2937 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM),
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
3079 "glSetEnableDCLayersCHROMIUM", 3085 "glSetEnableDCLayersCHROMIUM",
3080 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM), 3086 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM),
3081 }, 3087 },
3082 { 3088 {
3083 NULL, NULL, 3089 NULL, NULL,
3084 }, 3090 },
3085 }; 3091 };
3086 3092
3087 } // namespace gles2 3093 } // namespace gles2
3088 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3094 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698