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

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: Added new SwapBuffersWithDamage entry point 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 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1681 std::vector<uint8_t>* data) { 1681 std::vector<uint8_t>* data) {
1682 return error::kNoError; 1682 return error::kNoError;
1683 } 1683 }
1684 1684
1685 error::Error GLES2DecoderPassthroughImpl::DoGetTranslatedShaderSourceANGLE( 1685 error::Error GLES2DecoderPassthroughImpl::DoGetTranslatedShaderSourceANGLE(
1686 GLuint shader, 1686 GLuint shader,
1687 std::string* source) { 1687 std::string* source) {
1688 return error::kNoError; 1688 return error::kNoError;
1689 } 1689 }
1690 1690
1691 error::Error GLES2DecoderPassthroughImpl::DoSwapBuffersWithDamageCHROMIUM(
1692 GLint x,
1693 GLint y,
1694 GLint width,
1695 GLint height) {
1696 return error::kNoError;
1697 }
1698
1691 error::Error GLES2DecoderPassthroughImpl::DoPostSubBufferCHROMIUM( 1699 error::Error GLES2DecoderPassthroughImpl::DoPostSubBufferCHROMIUM(
1692 GLint x, 1700 GLint x,
1693 GLint y, 1701 GLint y,
1694 GLint width, 1702 GLint width,
1695 GLint height) { 1703 GLint height) {
1696 return error::kNoError; 1704 return error::kNoError;
1697 } 1705 }
1698 1706
1699 error::Error GLES2DecoderPassthroughImpl::DoCopyTextureCHROMIUM( 1707 error::Error GLES2DecoderPassthroughImpl::DoCopyTextureCHROMIUM(
1700 GLenum source_id, 1708 GLenum source_id,
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
2136 error::Error 2144 error::Error
2137 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM( 2145 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM(
2138 GLint location, 2146 GLint location,
2139 GLboolean transpose, 2147 GLboolean transpose,
2140 const GLfloat* defaultValue) { 2148 const GLfloat* defaultValue) {
2141 return error::kNoError; 2149 return error::kNoError;
2142 } 2150 }
2143 2151
2144 } // namespace gles2 2152 } // namespace gles2
2145 } // namespace gpu 2153 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698