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

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

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 years, 2 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 void DoDeleteTexture(GLuint client_id, GLuint service_id); 289 void DoDeleteTexture(GLuint client_id, GLuint service_id);
290 290
291 void DoCompressedTexImage2D(GLenum target, 291 void DoCompressedTexImage2D(GLenum target,
292 GLint level, 292 GLint level,
293 GLenum format, 293 GLenum format,
294 GLsizei width, 294 GLsizei width,
295 GLsizei height, 295 GLsizei height,
296 GLint border, 296 GLint border,
297 GLsizei size, 297 GLsizei size,
298 uint32_t bucket_id); 298 uint32_t bucket_id);
299 void DoBindTexImage2DCHROMIUM(GLenum target, GLint image_id); 299 void DoBindTexImage2DCHROMIUM(GLenum target, GLint image_id, GLint fence_id);
300 void DoTexImage2D(GLenum target, 300 void DoTexImage2D(GLenum target,
301 GLint level, 301 GLint level,
302 GLenum internal_format, 302 GLenum internal_format,
303 GLsizei width, 303 GLsizei width,
304 GLsizei height, 304 GLsizei height,
305 GLint border, 305 GLint border,
306 GLenum format, 306 GLenum format,
307 GLenum type, 307 GLenum type,
308 uint32_t shared_memory_id, 308 uint32_t shared_memory_id,
309 uint32_t shared_memory_offset); 309 uint32_t shared_memory_offset);
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 if (arg[i] != array[i]) 777 if (arg[i] != array[i])
778 return false; 778 return false;
779 } 779 }
780 return true; 780 return true;
781 } 781 }
782 782
783 } // namespace gles2 783 } // namespace gles2
784 } // namespace gpu 784 } // namespace gpu
785 785
786 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 786 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698