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

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

Issue 1241433003: Rebind EGL context to flush driver caches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 5 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 2796 matching lines...) Expand 10 before | Expand all | Expand 10 after
2807 } 2807 }
2808 } 2808 }
2809 2809
2810 void SwapInterval(GLint interval) { 2810 void SwapInterval(GLint interval) {
2811 gles2::cmds::SwapInterval* c = GetCmdSpace<gles2::cmds::SwapInterval>(); 2811 gles2::cmds::SwapInterval* c = GetCmdSpace<gles2::cmds::SwapInterval>();
2812 if (c) { 2812 if (c) {
2813 c->Init(interval); 2813 c->Init(interval);
2814 } 2814 }
2815 } 2815 }
2816 2816
2817 void FlushDriverCachesCHROMIUM() {
2818 gles2::cmds::FlushDriverCachesCHROMIUM* c =
2819 GetCmdSpace<gles2::cmds::FlushDriverCachesCHROMIUM>();
2820 if (c) {
2821 c->Init();
2822 }
2823 }
2824
2817 void MatrixLoadfCHROMIUMImmediate(GLenum matrixMode, const GLfloat* m) { 2825 void MatrixLoadfCHROMIUMImmediate(GLenum matrixMode, const GLfloat* m) {
2818 const uint32_t size = 2826 const uint32_t size =
2819 gles2::cmds::MatrixLoadfCHROMIUMImmediate::ComputeSize(); 2827 gles2::cmds::MatrixLoadfCHROMIUMImmediate::ComputeSize();
2820 gles2::cmds::MatrixLoadfCHROMIUMImmediate* c = 2828 gles2::cmds::MatrixLoadfCHROMIUMImmediate* c =
2821 GetImmediateCmdSpaceTotalSize<gles2::cmds::MatrixLoadfCHROMIUMImmediate>( 2829 GetImmediateCmdSpaceTotalSize<gles2::cmds::MatrixLoadfCHROMIUMImmediate>(
2822 size); 2830 size);
2823 if (c) { 2831 if (c) {
2824 c->Init(matrixMode, m); 2832 c->Init(matrixMode, m);
2825 } 2833 }
2826 } 2834 }
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
2953 } 2961 }
2954 2962
2955 void BlendBarrierKHR() { 2963 void BlendBarrierKHR() {
2956 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2964 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2957 if (c) { 2965 if (c) {
2958 c->Init(); 2966 c->Init();
2959 } 2967 }
2960 } 2968 }
2961 2969
2962 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2970 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698