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

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

Issue 1160863007: DCHECK if shader compilation fails that it's due to context loss. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: glhelperlost: better?better! Created 5 years, 6 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 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 GLfloat uv_y, 1380 GLfloat uv_y,
1381 GLfloat uv_width, 1381 GLfloat uv_width,
1382 GLfloat uv_height) { 1382 GLfloat uv_height) {
1383 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( 1383 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM(
1384 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, 1384 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
1385 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); 1385 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
1386 } 1386 }
1387 void GLES2SwapInterval(GLint interval) { 1387 void GLES2SwapInterval(GLint interval) {
1388 gles2::GetGLContext()->SwapInterval(interval); 1388 gles2::GetGLContext()->SwapInterval(interval);
1389 } 1389 }
1390 GLenum GLES2GetGraphicsResetStatusKHR() {
1391 return gles2::GetGLContext()->GetGraphicsResetStatusKHR();
1392 }
1390 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { 1393 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
1391 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); 1394 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
1392 } 1395 }
1393 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 1396 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
1394 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); 1397 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode);
1395 } 1398 }
1396 void GLES2BlendBarrierKHR() { 1399 void GLES2BlendBarrierKHR() {
1397 gles2::GetGLContext()->BlendBarrierKHR(); 1400 gles2::GetGLContext()->BlendBarrierKHR();
1398 } 1401 }
1399 1402
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
2605 }, 2608 },
2606 { 2609 {
2607 "glScheduleOverlayPlaneCHROMIUM", 2610 "glScheduleOverlayPlaneCHROMIUM",
2608 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), 2611 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
2609 }, 2612 },
2610 { 2613 {
2611 "glSwapInterval", 2614 "glSwapInterval",
2612 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval), 2615 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval),
2613 }, 2616 },
2614 { 2617 {
2618 "glGetGraphicsResetStatusKHR",
2619 reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR),
2620 },
2621 {
2615 "glMatrixLoadfCHROMIUM", 2622 "glMatrixLoadfCHROMIUM",
2616 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), 2623 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM),
2617 }, 2624 },
2618 { 2625 {
2619 "glMatrixLoadIdentityCHROMIUM", 2626 "glMatrixLoadIdentityCHROMIUM",
2620 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), 2627 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM),
2621 }, 2628 },
2622 { 2629 {
2623 "glBlendBarrierKHR", 2630 "glBlendBarrierKHR",
2624 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2631 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2625 }, 2632 },
2626 { 2633 {
2627 NULL, 2634 NULL,
2628 NULL, 2635 NULL,
2629 }, 2636 },
2630 }; 2637 };
2631 2638
2632 } // namespace gles2 2639 } // namespace gles2
2633 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2640 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698