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

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

Issue 1830453002: WebGL: GL_RGB emulation for IOSurface backed textures. [For reference only] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile error. Created 4 years, 9 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 2943 matching lines...) Expand 10 before | Expand all | Expand 10 after
2954 bool(unsigned, const gfx::Point&, const gfx::Rect&)); 2954 bool(unsigned, const gfx::Point&, const gfx::Rect&));
2955 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget, 2955 MOCK_METHOD5(ScheduleOverlayPlane, bool(gfx::AcceleratedWidget,
2956 int, 2956 int,
2957 gfx::OverlayTransform, 2957 gfx::OverlayTransform,
2958 const gfx::Rect&, 2958 const gfx::Rect&,
2959 const gfx::RectF&)); 2959 const gfx::RectF&));
2960 MOCK_METHOD3(OnMemoryDump, 2960 MOCK_METHOD3(OnMemoryDump,
2961 void(base::trace_event::ProcessMemoryDump*, 2961 void(base::trace_event::ProcessMemoryDump*,
2962 uint64_t, 2962 uint64_t,
2963 const std::string&)); 2963 const std::string&));
2964 MOCK_CONST_METHOD0(EmulatingRGB, bool());
2964 2965
2965 protected: 2966 protected:
2966 virtual ~MockGLImage() {} 2967 virtual ~MockGLImage() {}
2967 }; 2968 };
2968 2969
2969 TEST_P(GLES2DecoderWithShaderTest, CopyTexImage) { 2970 TEST_P(GLES2DecoderWithShaderTest, CopyTexImage) {
2970 DoBindTexture(GL_TEXTURE_2D, client_texture_id_, kServiceTextureId); 2971 DoBindTexture(GL_TEXTURE_2D, client_texture_id_, kServiceTextureId);
2971 DoTexImage2D(GL_TEXTURE_2D, 2972 DoTexImage2D(GL_TEXTURE_2D,
2972 0, 2973 0,
2973 GL_RGBA, 2974 GL_RGBA,
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
3691 // TODO(gman): CompressedTexSubImage2DImmediate 3692 // TODO(gman): CompressedTexSubImage2DImmediate
3692 3693
3693 // TODO(gman): TexImage2D 3694 // TODO(gman): TexImage2D
3694 3695
3695 // TODO(gman): TexImage2DImmediate 3696 // TODO(gman): TexImage2DImmediate
3696 3697
3697 // TODO(gman): TexSubImage2DImmediate 3698 // TODO(gman): TexSubImage2DImmediate
3698 3699
3699 } // namespace gles2 3700 } // namespace gles2
3700 } // namespace gpu 3701 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/image_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698