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

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

Issue 2456213002: WebVR: implement SetSurfaceHandleCHROMIUM extension for gvr_device.
Patch Set: Created 4 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 (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 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1498 } 1498 }
1499 1499
1500 error::Error GLES2DecoderPassthroughImpl::DoScissor(GLint x, 1500 error::Error GLES2DecoderPassthroughImpl::DoScissor(GLint x,
1501 GLint y, 1501 GLint y,
1502 GLsizei width, 1502 GLsizei width,
1503 GLsizei height) { 1503 GLsizei height) {
1504 glScissor(x, y, width, height); 1504 glScissor(x, y, width, height);
1505 return error::kNoError; 1505 return error::kNoError;
1506 } 1506 }
1507 1507
1508 error::Error GLES2DecoderPassthroughImpl::DoSetSurfaceHandleCHROMIUM(
1509 GLint surface_handle) {
1510 return error::kNoError;
1511 }
1512
1508 error::Error GLES2DecoderPassthroughImpl::DoShaderBinary(GLsizei n, 1513 error::Error GLES2DecoderPassthroughImpl::DoShaderBinary(GLsizei n,
1509 const GLuint* shaders, 1514 const GLuint* shaders,
1510 GLenum binaryformat, 1515 GLenum binaryformat,
1511 const void* binary, 1516 const void* binary,
1512 GLsizei length) { 1517 GLsizei length) {
1513 NOTIMPLEMENTED(); 1518 NOTIMPLEMENTED();
1514 return error::kNoError; 1519 return error::kNoError;
1515 } 1520 }
1516 1521
1517 error::Error GLES2DecoderPassthroughImpl::DoShaderSource(GLuint shader, 1522 error::Error GLES2DecoderPassthroughImpl::DoShaderSource(GLuint shader,
(...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after
3065 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM( 3070 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM(
3066 GLint location, 3071 GLint location,
3067 GLboolean transpose, 3072 GLboolean transpose,
3068 const volatile GLfloat* defaultValue) { 3073 const volatile GLfloat* defaultValue) {
3069 NOTIMPLEMENTED(); 3074 NOTIMPLEMENTED();
3070 return error::kNoError; 3075 return error::kNoError;
3071 } 3076 }
3072 3077
3073 } // namespace gles2 3078 } // namespace gles2
3074 } // namespace gpu 3079 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698