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

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: 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 }
2827 2835
2828 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 2836 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
2829 gles2::cmds::MatrixLoadIdentityCHROMIUM* c = 2837 gles2::cmds::MatrixLoadIdentityCHROMIUM* c =
2830 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>(); 2838 GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>();
2831 if (c) { 2839 if (c) {
2832 c->Init(matrixMode); 2840 c->Init(matrixMode);
2833 } 2841 }
2834 } 2842 }
2835 2843
2836 void BlendBarrierKHR() { 2844 void BlendBarrierKHR() {
2837 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>(); 2845 gles2::cmds::BlendBarrierKHR* c = GetCmdSpace<gles2::cmds::BlendBarrierKHR>();
2838 if (c) { 2846 if (c) {
2839 c->Init(); 2847 c->Init();
2840 } 2848 }
2841 } 2849 }
2842 2850
2843 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2851 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698