#include "chrome/browser/vr/elements/textured_element.h"
#include "base/trace_event/trace_event.h"
#include "chrome/browser/vr/elements/ui_texture.h"
#include "chrome/browser/vr/skia_surface_provider.h"
#include "chrome/browser/vr/ui_element_renderer.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "ui/gfx/geometry/rect_f.h"
namespace vr {
TexturedElement::TexturedElement() = default;
TexturedElement::~TexturedElement() = default;
void TexturedElement::Initialize(SkiaSurfaceProvider* provider) { … }
bool TexturedElement::PrepareToDraw() { … }
bool TexturedElement::HasDirtyTexture() const { … }
void TexturedElement::UpdateTexture() { … }
void TexturedElement::SetForegroundColor(SkColor color) { … }
void TexturedElement::SetBackgroundColor(SkColor color) { … }
void TexturedElement::Render(UiElementRenderer* renderer,
const CameraModel& model) const { … }
}