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

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: put texture id array in ScheduleDCLayer 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
1527 const GLfloat* contents_rect, 1527 GLES2ScheduleDCLayerCHROMIUM(GLsizei num_textures,
1528 GLuint background_color, 1528 const GLuint* contents_texture_ids,
1529 GLuint edge_aa_mask, 1529 const GLfloat* contents_rect,
1530 const GLfloat* bounds_rect, 1530 GLuint background_color,
1531 GLuint filter) { 1531 GLuint edge_aa_mask,
1532 const GLfloat* bounds_rect,
1533 GLuint filter) {
1532 gles2::GetGLContext()->ScheduleDCLayerCHROMIUM( 1534 gles2::GetGLContext()->ScheduleDCLayerCHROMIUM(
1533 contents_texture_id, contents_rect, background_color, edge_aa_mask, 1535 num_textures, contents_texture_ids, contents_rect, background_color,
1534 bounds_rect, filter); 1536 edge_aa_mask, 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 1534 matching lines...) Expand 10 before | Expand all | Expand 10 after
3079 "glSetEnableDCLayersCHROMIUM", 3081 "glSetEnableDCLayersCHROMIUM",
3080 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM), 3082 reinterpret_cast<GLES2FunctionPointer>(glSetEnableDCLayersCHROMIUM),
3081 }, 3083 },
3082 { 3084 {
3083 NULL, NULL, 3085 NULL, NULL,
3084 }, 3086 },
3085 }; 3087 };
3086 3088
3087 } // namespace gles2 3089 } // namespace gles2
3088 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3090 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698