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

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, 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) 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 void DoDeleteTexture(GLuint client_id, GLuint service_id); 288 void DoDeleteTexture(GLuint client_id, GLuint service_id);
289 289
290 void DoCompressedTexImage2D(GLenum target, 290 void DoCompressedTexImage2D(GLenum target,
291 GLint level, 291 GLint level,
292 GLenum format, 292 GLenum format,
293 GLsizei width, 293 GLsizei width,
294 GLsizei height, 294 GLsizei height,
295 GLint border, 295 GLint border,
296 GLsizei size, 296 GLsizei size,
297 uint32_t bucket_id); 297 uint32_t bucket_id);
298 void DoBindTexImage2DCHROMIUM(GLenum target, GLint image_id); 298 void DoBindTexImage2DCHROMIUM(GLenum target, GLint image_id, GLint fence_id);
299 void DoTexImage2D(GLenum target, 299 void DoTexImage2D(GLenum target,
300 GLint level, 300 GLint level,
301 GLenum internal_format, 301 GLenum internal_format,
302 GLsizei width, 302 GLsizei width,
303 GLsizei height, 303 GLsizei height,
304 GLint border, 304 GLint border,
305 GLenum format, 305 GLenum format,
306 GLenum type, 306 GLenum type,
307 uint32_t shared_memory_id, 307 uint32_t shared_memory_id,
308 uint32_t shared_memory_offset); 308 uint32_t shared_memory_offset);
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 if (arg[i] != array[i]) 776 if (arg[i] != array[i])
777 return false; 777 return false;
778 } 778 }
779 return true; 779 return true;
780 } 780 }
781 781
782 } // namespace gles2 782 } // namespace gles2
783 } // namespace gpu 783 } // namespace gpu
784 784
785 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ 785 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698