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

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

Issue 1513283002: Add support to send optimal format as part of ScheduleOverlayPlane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after
1494 gles2::GetGLContext()->WaitSyncTokenCHROMIUM(sync_token); 1494 gles2::GetGLContext()->WaitSyncTokenCHROMIUM(sync_token);
1495 } 1495 }
1496 void GL_APIENTRY GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) { 1496 void GL_APIENTRY GLES2DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
1497 gles2::GetGLContext()->DrawBuffersEXT(count, bufs); 1497 gles2::GetGLContext()->DrawBuffersEXT(count, bufs);
1498 } 1498 }
1499 void GL_APIENTRY GLES2DiscardBackbufferCHROMIUM() { 1499 void GL_APIENTRY GLES2DiscardBackbufferCHROMIUM() {
1500 gles2::GetGLContext()->DiscardBackbufferCHROMIUM(); 1500 gles2::GetGLContext()->DiscardBackbufferCHROMIUM();
1501 } 1501 }
1502 void GL_APIENTRY GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order, 1502 void GL_APIENTRY GLES2ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1503 GLenum plane_transform, 1503 GLenum plane_transform,
1504 GLuint storage_format,
1504 GLuint overlay_texture_id, 1505 GLuint overlay_texture_id,
1505 GLint bounds_x, 1506 GLint bounds_x,
1506 GLint bounds_y, 1507 GLint bounds_y,
1507 GLint bounds_width, 1508 GLint bounds_width,
1508 GLint bounds_height, 1509 GLint bounds_height,
1509 GLfloat uv_x, 1510 GLfloat uv_x,
1510 GLfloat uv_y, 1511 GLfloat uv_y,
1511 GLfloat uv_width, 1512 GLfloat uv_width,
1512 GLfloat uv_height) { 1513 GLfloat uv_height,
1514 GLboolean handle_scaling) {
1513 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( 1515 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM(
1514 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, 1516 plane_z_order, plane_transform, storage_format,overlay_texture_id,
1515 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); 1517 bounds_x, bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width,
1518 uv_height, handle_scaling);
1516 } 1519 }
1517 void GL_APIENTRY GLES2ScheduleCALayerCHROMIUM(GLuint contents_texture_id, 1520 void GL_APIENTRY GLES2ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
1518 const GLfloat* contents_rect, 1521 const GLfloat* contents_rect,
1519 GLfloat opacity, 1522 GLfloat opacity,
1520 const GLuint background_color, 1523 const GLuint background_color,
1521 const GLfloat* bounds_size, 1524 const GLfloat* bounds_size,
1522 const GLfloat* transform) { 1525 const GLfloat* transform) {
1523 gles2::GetGLContext()->ScheduleCALayerCHROMIUM( 1526 gles2::GetGLContext()->ScheduleCALayerCHROMIUM(
1524 contents_texture_id, contents_rect, opacity, background_color, 1527 contents_texture_id, contents_rect, opacity, background_color,
1525 bounds_size, transform); 1528 bounds_size, transform);
(...skipping 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after
3021 "glGetFragDataIndexEXT", 3024 "glGetFragDataIndexEXT",
3022 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT), 3025 reinterpret_cast<GLES2FunctionPointer>(glGetFragDataIndexEXT),
3023 }, 3026 },
3024 { 3027 {
3025 NULL, NULL, 3028 NULL, NULL,
3026 }, 3029 },
3027 }; 3030 };
3028 3031
3029 } // namespace gles2 3032 } // namespace gles2
3030 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3033 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698