| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 bool BindTexImage(unsigned target, gl::GLFence* fence) override { | 153 bool BindTexImage(unsigned target, gl::GLFence* fence) override { |
| 154 return false; | 154 return false; |
| 155 } | 155 } |
| 156 void ReleaseTexImage(unsigned target) override {} | 156 void ReleaseTexImage(unsigned target) override {} |
| 157 bool CopyTexImage(unsigned target) override { return false; } | 157 bool CopyTexImage(unsigned target) override { return false; } |
| 158 bool CopyTexSubImage(unsigned target, | 158 bool CopyTexSubImage(unsigned target, |
| 159 const gfx::Point& offset, | 159 const gfx::Point& offset, |
| 160 const gfx::Rect& rect) override { | 160 const gfx::Rect& rect) override { |
| 161 return false; | 161 return false; |
| 162 } | 162 } |
| 163 bool CopySubImageData(unsigned texture_id, |
| 164 const gfx::Point& offset, |
| 165 const gfx::Rect& rect, |
| 166 gl::GLFence* in_fence, |
| 167 gl::GLFence* out_fence) override { |
| 168 return false; |
| 169 } |
| 163 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 170 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
| 164 int z_order, | 171 int z_order, |
| 165 gfx::OverlayTransform transform, | 172 gfx::OverlayTransform transform, |
| 166 const gfx::Rect& bounds_rect, | 173 const gfx::Rect& bounds_rect, |
| 167 const gfx::RectF& crop_rect) override { | 174 const gfx::RectF& crop_rect) override { |
| 168 return false; | 175 return false; |
| 169 } | 176 } |
| 170 void Flush() override {} | 177 void Flush() override {} |
| 171 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, | 178 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, |
| 172 uint64_t process_tracing_id, | 179 uint64_t process_tracing_id, |
| (...skipping 2523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2696 ExpectValid( | 2703 ExpectValid( |
| 2697 true, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, GL_DEPTH24_STENCIL8); | 2704 true, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, GL_DEPTH24_STENCIL8); |
| 2698 ExpectValid(true, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, | 2705 ExpectValid(true, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, |
| 2699 GL_DEPTH32F_STENCIL8); | 2706 GL_DEPTH32F_STENCIL8); |
| 2700 | 2707 |
| 2701 ExpectInvalid(true, GL_RGB_INTEGER, GL_INT, GL_RGBA8); | 2708 ExpectInvalid(true, GL_RGB_INTEGER, GL_INT, GL_RGBA8); |
| 2702 } | 2709 } |
| 2703 | 2710 |
| 2704 } // namespace gles2 | 2711 } // namespace gles2 |
| 2705 } // namespace gpu | 2712 } // namespace gpu |
| OLD | NEW |