This source file includes following definitions.
- context3d
- grContext
#include "content/renderer/webgraphicscontext3d_provider_impl.h"
#include "webkit/common/gpu/context_provider_web_context.h"
namespace content {
WebGraphicsContext3DProviderImpl::WebGraphicsContext3DProviderImpl(
scoped_refptr<webkit::gpu::ContextProviderWebContext> provider)
: provider_(provider) {}
WebGraphicsContext3DProviderImpl::~WebGraphicsContext3DProviderImpl() {}
blink::WebGraphicsContext3D* WebGraphicsContext3DProviderImpl::context3d() {
return provider_->WebContext3D();
}
GrContext* WebGraphicsContext3DProviderImpl::grContext() {
return provider_->GrContext();
}
}