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

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

Issue 1409193007: gpu: Add CHROMIUM_schedule_ca_layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback 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 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 GLint bounds_height, 1692 GLint bounds_height,
1693 GLfloat uv_x, 1693 GLfloat uv_x,
1694 GLfloat uv_y, 1694 GLfloat uv_y,
1695 GLfloat uv_width, 1695 GLfloat uv_width,
1696 GLfloat uv_height) { 1696 GLfloat uv_height) {
1697 MojoGLES2MakeCurrent(context_); 1697 MojoGLES2MakeCurrent(context_);
1698 glScheduleOverlayPlaneCHROMIUM( 1698 glScheduleOverlayPlaneCHROMIUM(
1699 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, 1699 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
1700 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); 1700 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
1701 } 1701 }
1702 void MojoGLES2Impl::ScheduleCALayerCHROMIUM(GLuint contents_texture_id,
1703 const GLfloat* contents_rect,
1704 GLfloat opacity,
1705 const GLuint background_color,
1706 const GLfloat* bounds_size,
1707 const GLfloat* transform) {
1708 MojoGLES2MakeCurrent(context_);
1709 glScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity,
1710 background_color, bounds_size, transform);
1711 }
1702 void MojoGLES2Impl::SwapInterval(GLint interval) { 1712 void MojoGLES2Impl::SwapInterval(GLint interval) {
1703 MojoGLES2MakeCurrent(context_); 1713 MojoGLES2MakeCurrent(context_);
1704 glSwapInterval(interval); 1714 glSwapInterval(interval);
1705 } 1715 }
1706 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() { 1716 void MojoGLES2Impl::FlushDriverCachesCHROMIUM() {
1707 MojoGLES2MakeCurrent(context_); 1717 MojoGLES2MakeCurrent(context_);
1708 glFlushDriverCachesCHROMIUM(); 1718 glFlushDriverCachesCHROMIUM();
1709 } 1719 }
1710 void MojoGLES2Impl::MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { 1720 void MojoGLES2Impl::MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
1711 MojoGLES2MakeCurrent(context_); 1721 MojoGLES2MakeCurrent(context_);
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 void MojoGLES2Impl::BlendBarrierKHR() { 1903 void MojoGLES2Impl::BlendBarrierKHR() {
1894 MojoGLES2MakeCurrent(context_); 1904 MojoGLES2MakeCurrent(context_);
1895 glBlendBarrierKHR(); 1905 glBlendBarrierKHR();
1896 } 1906 }
1897 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { 1907 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() {
1898 MojoGLES2MakeCurrent(context_); 1908 MojoGLES2MakeCurrent(context_);
1899 glApplyScreenSpaceAntialiasingCHROMIUM(); 1909 glApplyScreenSpaceAntialiasingCHROMIUM();
1900 } 1910 }
1901 1911
1902 } // namespace mojo 1912 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698