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

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

Issue 2109803003: Add support for EXT_image_flush_external extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add support for EXT_image_flush_external extension Created 4 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 3011 matching lines...) Expand 10 before | Expand all | Expand 10 after
3022 bool(unsigned, const gfx::Point&, const gfx::Rect&)); 3022 bool(unsigned, const gfx::Point&, const gfx::Rect&));
3023 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget, 3023 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget,
3024 int, 3024 int,
3025 gfx::OverlayTransform, 3025 gfx::OverlayTransform,
3026 const gfx::Rect&, 3026 const gfx::Rect&,
3027 const gfx::RectF&)); 3027 const gfx::RectF&));
3028 MOCK_METHOD3(OnMemoryDump, 3028 MOCK_METHOD3(OnMemoryDump,
3029 void(base::trace_event::ProcessMemoryDump*, 3029 void(base::trace_event::ProcessMemoryDump*,
3030 uint64_t, 3030 uint64_t,
3031 const std::string&)); 3031 const std::string&));
3032 void Flush() override {}
3032 3033
3033 protected: 3034 protected:
3034 virtual ~MockGLImage() {} 3035 virtual ~MockGLImage() {}
3035 }; 3036 };
3036 3037
3037 TEST_P(GLES2DecoderWithShaderTest, CopyTexImage) { 3038 TEST_P(GLES2DecoderWithShaderTest, CopyTexImage) {
3038 DoBindTexture(GL_TEXTURE_2D, client_texture_id_, kServiceTextureId); 3039 DoBindTexture(GL_TEXTURE_2D, client_texture_id_, kServiceTextureId);
3039 DoTexImage2D(GL_TEXTURE_2D, 3040 DoTexImage2D(GL_TEXTURE_2D,
3040 0, 3041 0,
3041 GL_RGBA, 3042 GL_RGBA,
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
3891 // TODO(gman): CompressedTexSubImage2DImmediate 3892 // TODO(gman): CompressedTexSubImage2DImmediate
3892 3893
3893 // TODO(gman): TexImage2D 3894 // TODO(gman): TexImage2D
3894 3895
3895 // TODO(gman): TexImage2DImmediate 3896 // TODO(gman): TexImage2DImmediate
3896 3897
3897 // TODO(gman): TexSubImage2DImmediate 3898 // TODO(gman): TexSubImage2DImmediate
3898 3899
3899 } // namespace gles2 3900 } // namespace gles2
3900 } // namespace gpu 3901 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gl_stream_texture_image.h ('k') | gpu/command_buffer/service/texture_definition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698