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

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

Issue 2221173002: Implementing FlushMappedBufferRange in GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: working Created 4 years, 4 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 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 } 1239 }
1240 void* GL_APIENTRY GLES2MapBufferRange(GLenum target, 1240 void* GL_APIENTRY GLES2MapBufferRange(GLenum target,
1241 GLintptr offset, 1241 GLintptr offset,
1242 GLsizeiptr size, 1242 GLsizeiptr size,
1243 GLbitfield access) { 1243 GLbitfield access) {
1244 return gles2::GetGLContext()->MapBufferRange(target, offset, size, access); 1244 return gles2::GetGLContext()->MapBufferRange(target, offset, size, access);
1245 } 1245 }
1246 GLboolean GL_APIENTRY GLES2UnmapBuffer(GLenum target) { 1246 GLboolean GL_APIENTRY GLES2UnmapBuffer(GLenum target) {
1247 return gles2::GetGLContext()->UnmapBuffer(target); 1247 return gles2::GetGLContext()->UnmapBuffer(target);
1248 } 1248 }
1249 void GL_APIENTRY GLES2FlushMappedBufferRange(GLenum target,
1250 GLintptr offset,
1251 GLsizeiptr size) {
1252 gles2::GetGLContext()->FlushMappedBufferRange(target, offset, size);
1253 }
1249 void* GL_APIENTRY GLES2MapTexSubImage2DCHROMIUM(GLenum target, 1254 void* GL_APIENTRY GLES2MapTexSubImage2DCHROMIUM(GLenum target,
1250 GLint level, 1255 GLint level,
1251 GLint xoffset, 1256 GLint xoffset,
1252 GLint yoffset, 1257 GLint yoffset,
1253 GLsizei width, 1258 GLsizei width,
1254 GLsizei height, 1259 GLsizei height,
1255 GLenum format, 1260 GLenum format,
1256 GLenum type, 1261 GLenum type,
1257 GLenum access) { 1262 GLenum access) {
1258 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM( 1263 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM(
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
2645 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM), 2650 reinterpret_cast<GLES2FunctionPointer>(glUnmapBufferSubDataCHROMIUM),
2646 }, 2651 },
2647 { 2652 {
2648 "glMapBufferRange", 2653 "glMapBufferRange",
2649 reinterpret_cast<GLES2FunctionPointer>(glMapBufferRange), 2654 reinterpret_cast<GLES2FunctionPointer>(glMapBufferRange),
2650 }, 2655 },
2651 { 2656 {
2652 "glUnmapBuffer", reinterpret_cast<GLES2FunctionPointer>(glUnmapBuffer), 2657 "glUnmapBuffer", reinterpret_cast<GLES2FunctionPointer>(glUnmapBuffer),
2653 }, 2658 },
2654 { 2659 {
2660 "glFlushMappedBufferRange",
2661 reinterpret_cast<GLES2FunctionPointer>(glFlushMappedBufferRange),
2662 },
2663 {
2655 "glMapTexSubImage2DCHROMIUM", 2664 "glMapTexSubImage2DCHROMIUM",
2656 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM), 2665 reinterpret_cast<GLES2FunctionPointer>(glMapTexSubImage2DCHROMIUM),
2657 }, 2666 },
2658 { 2667 {
2659 "glUnmapTexSubImage2DCHROMIUM", 2668 "glUnmapTexSubImage2DCHROMIUM",
2660 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM), 2669 reinterpret_cast<GLES2FunctionPointer>(glUnmapTexSubImage2DCHROMIUM),
2661 }, 2670 },
2662 { 2671 {
2663 "glResizeCHROMIUM", 2672 "glResizeCHROMIUM",
2664 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM), 2673 reinterpret_cast<GLES2FunctionPointer>(glResizeCHROMIUM),
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
2989 reinterpret_cast<GLES2FunctionPointer>( 2998 reinterpret_cast<GLES2FunctionPointer>(
2990 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), 2999 glUniformMatrix4fvStreamTextureMatrixCHROMIUM),
2991 }, 3000 },
2992 { 3001 {
2993 NULL, NULL, 3002 NULL, NULL,
2994 }, 3003 },
2995 }; 3004 };
2996 3005
2997 } // namespace gles2 3006 } // namespace gles2
2998 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3007 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698