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

Side by Side Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1385883002: Leave CreateStreamTexture route id out of the GL interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing TOT! Created 5 years, 1 month 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 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 GLsizei* size, 1440 GLsizei* size,
1441 void* info) { 1441 void* info) {
1442 NOTREACHED() << "Unimplemented GetTransformFeedbackVaryingsCHROMIUM."; 1442 NOTREACHED() << "Unimplemented GetTransformFeedbackVaryingsCHROMIUM.";
1443 } 1443 }
1444 void MojoGLES2Impl::GetUniformsES3CHROMIUM(GLuint program, 1444 void MojoGLES2Impl::GetUniformsES3CHROMIUM(GLuint program,
1445 GLsizei bufsize, 1445 GLsizei bufsize,
1446 GLsizei* size, 1446 GLsizei* size,
1447 void* info) { 1447 void* info) {
1448 NOTREACHED() << "Unimplemented GetUniformsES3CHROMIUM."; 1448 NOTREACHED() << "Unimplemented GetUniformsES3CHROMIUM.";
1449 } 1449 }
1450 GLuint MojoGLES2Impl::CreateStreamTextureCHROMIUM(GLuint texture) {
1451 MojoGLES2MakeCurrent(context_);
1452 return glCreateStreamTextureCHROMIUM(texture);
1453 }
1454 GLuint MojoGLES2Impl::CreateImageCHROMIUM(ClientBuffer buffer, 1450 GLuint MojoGLES2Impl::CreateImageCHROMIUM(ClientBuffer buffer,
1455 GLsizei width, 1451 GLsizei width,
1456 GLsizei height, 1452 GLsizei height,
1457 GLenum internalformat) { 1453 GLenum internalformat) {
1458 MojoGLES2MakeCurrent(context_); 1454 MojoGLES2MakeCurrent(context_);
1459 return glCreateImageCHROMIUM(buffer, width, height, internalformat); 1455 return glCreateImageCHROMIUM(buffer, width, height, internalformat);
1460 } 1456 }
1461 void MojoGLES2Impl::DestroyImageCHROMIUM(GLuint image_id) { 1457 void MojoGLES2Impl::DestroyImageCHROMIUM(GLuint image_id) {
1462 MojoGLES2MakeCurrent(context_); 1458 MojoGLES2MakeCurrent(context_);
1463 glDestroyImageCHROMIUM(image_id); 1459 glDestroyImageCHROMIUM(image_id);
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1903 void MojoGLES2Impl::BlendBarrierKHR() { 1899 void MojoGLES2Impl::BlendBarrierKHR() {
1904 MojoGLES2MakeCurrent(context_); 1900 MojoGLES2MakeCurrent(context_);
1905 glBlendBarrierKHR(); 1901 glBlendBarrierKHR();
1906 } 1902 }
1907 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { 1903 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() {
1908 MojoGLES2MakeCurrent(context_); 1904 MojoGLES2MakeCurrent(context_);
1909 glApplyScreenSpaceAntialiasingCHROMIUM(); 1905 glApplyScreenSpaceAntialiasingCHROMIUM();
1910 } 1906 }
1911 1907
1912 } // namespace mojo 1908 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698