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

Side by Side Diff: gpu/command_buffer/service/texture_manager_unittest.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 (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 #include "gpu/command_buffer/service/texture_manager.h" 5 #include "gpu/command_buffer/service/texture_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 const gfx::Rect& rect) override { 160 const gfx::Rect& rect) override {
161 return false; 161 return false;
162 } 162 }
163 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 163 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
164 int z_order, 164 int z_order,
165 gfx::OverlayTransform transform, 165 gfx::OverlayTransform transform,
166 const gfx::Rect& bounds_rect, 166 const gfx::Rect& bounds_rect,
167 const gfx::RectF& crop_rect) override { 167 const gfx::RectF& crop_rect) override {
168 return false; 168 return false;
169 } 169 }
170 void Flush() override {}
170 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, 171 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
171 uint64_t process_tracing_id, 172 uint64_t process_tracing_id,
172 const std::string& dump_name) override {} 173 const std::string& dump_name) override {}
173 bool EmulatingRGB() const override { return false; } 174 bool EmulatingRGB() const override { return false; }
174 void GetTextureMatrix(float matrix[16]) override {} 175 void GetTextureMatrix(float matrix[16]) override {}
175 176
176 protected: 177 protected:
177 ~GLStreamTextureImageStub() override {} 178 ~GLStreamTextureImageStub() override {}
178 }; 179 };
179 180
(...skipping 2565 matching lines...) Expand 10 before | Expand all | Expand 10 after
2745 ExpectValid( 2746 ExpectValid(
2746 true, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, GL_DEPTH24_STENCIL8); 2747 true, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, GL_DEPTH24_STENCIL8);
2747 ExpectValid(true, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, 2748 ExpectValid(true, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV,
2748 GL_DEPTH32F_STENCIL8); 2749 GL_DEPTH32F_STENCIL8);
2749 2750
2750 ExpectInvalid(true, GL_RGB_INTEGER, GL_INT, GL_RGBA8); 2751 ExpectInvalid(true, GL_RGB_INTEGER, GL_INT, GL_RGBA8);
2751 } 2752 }
2752 2753
2753 } // namespace gles2 2754 } // namespace gles2
2754 } // namespace gpu 2755 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/texture_definition.cc ('k') | gpu/command_buffer/tests/texture_image_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698