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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc

Issue 2302393002: Support swap damage rect using eglSwapBuffersWithDamageKHR (Closed)
Patch Set: Update GLSurfaceAdapter Created 4 years, 3 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 (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h"
6 6
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 8
9 namespace gpu { 9 namespace gpu {
10 namespace gles2 { 10 namespace gles2 {
(...skipping 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1700 std::vector<uint8_t>* data) { 1700 std::vector<uint8_t>* data) {
1701 return error::kNoError; 1701 return error::kNoError;
1702 } 1702 }
1703 1703
1704 error::Error GLES2DecoderPassthroughImpl::DoGetTranslatedShaderSourceANGLE( 1704 error::Error GLES2DecoderPassthroughImpl::DoGetTranslatedShaderSourceANGLE(
1705 GLuint shader, 1705 GLuint shader,
1706 std::string* source) { 1706 std::string* source) {
1707 return error::kNoError; 1707 return error::kNoError;
1708 } 1708 }
1709 1709
1710 error::Error GLES2DecoderPassthroughImpl::DoSwapBuffersWithDamageCHROMIUM(
1711 GLint x,
1712 GLint y,
1713 GLint width,
1714 GLint height) {
1715 return error::kNoError;
1716 }
1717
1710 error::Error GLES2DecoderPassthroughImpl::DoPostSubBufferCHROMIUM( 1718 error::Error GLES2DecoderPassthroughImpl::DoPostSubBufferCHROMIUM(
1711 GLint x, 1719 GLint x,
1712 GLint y, 1720 GLint y,
1713 GLint width, 1721 GLint width,
1714 GLint height) { 1722 GLint height) {
1715 return error::kNoError; 1723 return error::kNoError;
1716 } 1724 }
1717 1725
1718 error::Error GLES2DecoderPassthroughImpl::DoCopyTextureCHROMIUM( 1726 error::Error GLES2DecoderPassthroughImpl::DoCopyTextureCHROMIUM(
1719 GLenum source_id, 1727 GLenum source_id,
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
2156 error::Error 2164 error::Error
2157 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM( 2165 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM(
2158 GLint location, 2166 GLint location,
2159 GLboolean transpose, 2167 GLboolean transpose,
2160 const volatile GLfloat* defaultValue) { 2168 const volatile GLfloat* defaultValue) {
2161 return error::kNoError; 2169 return error::kNoError;
2162 } 2170 }
2163 2171
2164 } // namespace gles2 2172 } // namespace gles2
2165 } // namespace gpu 2173 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698