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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation_impl_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: Update cmd_buffer_functions 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 3446 matching lines...) Expand 10 before | Expand all | Expand 10 after
3457 GPU_CLIENT_SINGLE_THREAD_CHECK(); 3457 GPU_CLIENT_SINGLE_THREAD_CHECK();
3458 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDiscardBackbufferCHROMIUM(" 3458 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDiscardBackbufferCHROMIUM("
3459 << ")"); 3459 << ")");
3460 helper_->DiscardBackbufferCHROMIUM(); 3460 helper_->DiscardBackbufferCHROMIUM();
3461 CheckGLError(); 3461 CheckGLError();
3462 } 3462 }
3463 3463
3464 void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM( 3464 void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM(
3465 GLint plane_z_order, 3465 GLint plane_z_order,
3466 GLenum plane_transform, 3466 GLenum plane_transform,
3467 GLuint storage_format,
3467 GLuint overlay_texture_id, 3468 GLuint overlay_texture_id,
3468 GLint bounds_x, 3469 GLint bounds_x,
3469 GLint bounds_y, 3470 GLint bounds_y,
3470 GLint bounds_width, 3471 GLint bounds_width,
3471 GLint bounds_height, 3472 GLint bounds_height,
3472 GLfloat uv_x, 3473 GLfloat uv_x,
3473 GLfloat uv_y, 3474 GLfloat uv_y,
3474 GLfloat uv_width, 3475 GLfloat uv_width,
3475 GLfloat uv_height) { 3476 GLfloat uv_height,
3477 GLboolean handle_scaling) {
3476 GPU_CLIENT_SINGLE_THREAD_CHECK(); 3478 GPU_CLIENT_SINGLE_THREAD_CHECK();
3477 GPU_CLIENT_LOG( 3479 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glScheduleOverlayPlaneCHROMIUM("
3478 "[" << GetLogPrefix() << "] glScheduleOverlayPlaneCHROMIUM(" 3480 << plane_z_order << ", "
3479 << plane_z_order << ", " << GLES2Util::GetStringEnum(plane_transform) 3481 << GLES2Util::GetStringEnum(plane_transform) << ", "
3480 << ", " << overlay_texture_id << ", " << bounds_x << ", " << bounds_y 3482 << storage_format << ", " << overlay_texture_id << ", "
3481 << ", " << bounds_width << ", " << bounds_height << ", " << uv_x 3483 << bounds_x << ", " << bounds_y << ", " << bounds_width
3482 << ", " << uv_y << ", " << uv_width << ", " << uv_height << ")"); 3484 << ", " << bounds_height << ", " << uv_x << ", " << uv_y
3485 << ", " << uv_width << ", " << uv_height << ", "
3486 << GLES2Util::GetStringBool(handle_scaling) << ")");
3483 helper_->ScheduleOverlayPlaneCHROMIUM( 3487 helper_->ScheduleOverlayPlaneCHROMIUM(
3484 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, 3488 plane_z_order, plane_transform, storage_format, overlay_texture_id,
3485 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); 3489 bounds_x, bounds_y, bounds_width, bounds_height, uv_x, uv_y, uv_width,
3490 uv_height, handle_scaling);
3486 CheckGLError(); 3491 CheckGLError();
3487 } 3492 }
3488 3493
3489 void GLES2Implementation::FlushDriverCachesCHROMIUM() { 3494 void GLES2Implementation::FlushDriverCachesCHROMIUM() {
3490 GPU_CLIENT_SINGLE_THREAD_CHECK(); 3495 GPU_CLIENT_SINGLE_THREAD_CHECK();
3491 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glFlushDriverCachesCHROMIUM(" 3496 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glFlushDriverCachesCHROMIUM("
3492 << ")"); 3497 << ")");
3493 helper_->FlushDriverCachesCHROMIUM(); 3498 helper_->FlushDriverCachesCHROMIUM();
3494 CheckGLError(); 3499 CheckGLError();
3495 } 3500 }
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
3643 void GLES2Implementation::ApplyScreenSpaceAntialiasingCHROMIUM() { 3648 void GLES2Implementation::ApplyScreenSpaceAntialiasingCHROMIUM() {
3644 GPU_CLIENT_SINGLE_THREAD_CHECK(); 3649 GPU_CLIENT_SINGLE_THREAD_CHECK();
3645 GPU_CLIENT_LOG("[" << GetLogPrefix() 3650 GPU_CLIENT_LOG("[" << GetLogPrefix()
3646 << "] glApplyScreenSpaceAntialiasingCHROMIUM(" 3651 << "] glApplyScreenSpaceAntialiasingCHROMIUM("
3647 << ")"); 3652 << ")");
3648 helper_->ApplyScreenSpaceAntialiasingCHROMIUM(); 3653 helper_->ApplyScreenSpaceAntialiasingCHROMIUM();
3649 CheckGLError(); 3654 CheckGLError();
3650 } 3655 }
3651 3656
3652 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ 3657 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_autogen.h ('k') | gpu/command_buffer/client/gles2_interface_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698