| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |