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

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

Issue 782583003: List sync points to wait on in AsyncFlush message Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 2626 matching lines...) Expand 10 before | Expand all | Expand 10 after
2637 2637
2638 void GLES2Implementation::LoseContextCHROMIUM(GLenum current, GLenum other) { 2638 void GLES2Implementation::LoseContextCHROMIUM(GLenum current, GLenum other) {
2639 GPU_CLIENT_SINGLE_THREAD_CHECK(); 2639 GPU_CLIENT_SINGLE_THREAD_CHECK();
2640 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glLoseContextCHROMIUM(" 2640 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glLoseContextCHROMIUM("
2641 << GLES2Util::GetStringResetStatus(current) << ", " 2641 << GLES2Util::GetStringResetStatus(current) << ", "
2642 << GLES2Util::GetStringResetStatus(other) << ")"); 2642 << GLES2Util::GetStringResetStatus(other) << ")");
2643 helper_->LoseContextCHROMIUM(current, other); 2643 helper_->LoseContextCHROMIUM(current, other);
2644 CheckGLError(); 2644 CheckGLError();
2645 } 2645 }
2646 2646
2647 void GLES2Implementation::WaitSyncPointCHROMIUM(GLuint sync_point) {
2648 GPU_CLIENT_SINGLE_THREAD_CHECK();
2649 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glWaitSyncPointCHROMIUM("
2650 << sync_point << ")");
2651 helper_->WaitSyncPointCHROMIUM(sync_point);
2652 CheckGLError();
2653 }
2654
2655 void GLES2Implementation::DrawBuffersEXT(GLsizei count, const GLenum* bufs) { 2647 void GLES2Implementation::DrawBuffersEXT(GLsizei count, const GLenum* bufs) {
2656 GPU_CLIENT_SINGLE_THREAD_CHECK(); 2648 GPU_CLIENT_SINGLE_THREAD_CHECK();
2657 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDrawBuffersEXT(" << count << ", " 2649 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDrawBuffersEXT(" << count << ", "
2658 << static_cast<const void*>(bufs) << ")"); 2650 << static_cast<const void*>(bufs) << ")");
2659 GPU_CLIENT_LOG_CODE_BLOCK({ 2651 GPU_CLIENT_LOG_CODE_BLOCK({
2660 for (GLsizei i = 0; i < count; ++i) { 2652 for (GLsizei i = 0; i < count; ++i) {
2661 GPU_CLIENT_LOG(" " << i << ": " << bufs[0 + i * 1]); 2653 GPU_CLIENT_LOG(" " << i << ": " << bufs[0 + i * 1]);
2662 } 2654 }
2663 }); 2655 });
2664 if (count < 0) { 2656 if (count < 0) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
2728 2720
2729 void GLES2Implementation::BlendBarrierKHR() { 2721 void GLES2Implementation::BlendBarrierKHR() {
2730 GPU_CLIENT_SINGLE_THREAD_CHECK(); 2722 GPU_CLIENT_SINGLE_THREAD_CHECK();
2731 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBlendBarrierKHR(" 2723 GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBlendBarrierKHR("
2732 << ")"); 2724 << ")");
2733 helper_->BlendBarrierKHR(); 2725 helper_->BlendBarrierKHR();
2734 CheckGLError(); 2726 CheckGLError();
2735 } 2727 }
2736 2728
2737 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ 2729 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.cc ('k') | gpu/command_buffer/client/gles2_implementation_unittest_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698