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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h

Issue 139013008: Implement support for rendering to 32-bit float textures on ES3 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Check that framebuffers really are supported and add tests Created 6 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
7 7
8 #include "gpu/command_buffer/common/gles2_cmd_format.h" 8 #include "gpu/command_buffer/common/gles2_cmd_format.h"
9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 9 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
10 #include "gpu/command_buffer/service/buffer_manager.h" 10 #include "gpu/command_buffer/service/buffer_manager.h"
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 void DoCompressedTexImage2D( 244 void DoCompressedTexImage2D(
245 GLenum target, GLint level, GLenum format, 245 GLenum target, GLint level, GLenum format,
246 GLsizei width, GLsizei height, GLint border, 246 GLsizei width, GLsizei height, GLint border,
247 GLsizei size, uint32 bucket_id); 247 GLsizei size, uint32 bucket_id);
248 void DoTexImage2D( 248 void DoTexImage2D(
249 GLenum target, GLint level, GLenum internal_format, 249 GLenum target, GLint level, GLenum internal_format,
250 GLsizei width, GLsizei height, GLint border, 250 GLsizei width, GLsizei height, GLint border,
251 GLenum format, GLenum type, 251 GLenum format, GLenum type,
252 uint32 shared_memory_id, uint32 shared_memory_offset); 252 uint32 shared_memory_id, uint32 shared_memory_offset);
253 void DoTexImage2DConvertInternalFormat(
254 GLenum target, GLint level, GLenum call_internal_format,
255 GLsizei width, GLsizei height, GLint border,
256 GLenum format, GLenum type,
257 uint32 shared_memory_id, uint32 shared_memory_offset,
258 GLenum expected_internal_format);
253 void DoRenderbufferStorage( 259 void DoRenderbufferStorage(
254 GLenum target, GLenum internal_format, GLenum actual_format, 260 GLenum target, GLenum internal_format, GLenum actual_format,
255 GLsizei width, GLsizei height, GLenum error); 261 GLsizei width, GLsizei height, GLenum error);
256 void DoFramebufferRenderbuffer( 262 void DoFramebufferRenderbuffer(
257 GLenum target, 263 GLenum target,
258 GLenum attachment, 264 GLenum attachment,
259 GLenum renderbuffer_target, 265 GLenum renderbuffer_target,
260 GLuint renderbuffer_client_id, 266 GLuint renderbuffer_client_id,
261 GLuint renderbuffer_service_id, 267 GLuint renderbuffer_service_id,
262 GLenum error); 268 GLenum error);
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 protected: 557 protected:
552 virtual void SetUp() OVERRIDE; 558 virtual void SetUp() OVERRIDE;
553 virtual void TearDown() OVERRIDE; 559 virtual void TearDown() OVERRIDE;
554 560
555 }; 561 };
556 562
557 } // namespace gles2 563 } // namespace gles2
558 } // namespace gpu 564 } // namespace gpu
559 565
560 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 566 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698