Home | History | Annotate | Download | only in src

Lines Matching refs:GrGpu

17 #include "GrGpu.h"
36 GrGpu::GrGpu()
60 GrGpu::~GrGpu() {
64 void GrGpu::abandonResources() {
81 void GrGpu::releaseResources() {
98 void GrGpu::insertResource(GrResource* resource) {
112 void GrGpu::removeResource(GrResource* resource) {
131 void GrGpu::unimpl(const char msg[]) {
133 GrPrintf("--- GrGpu unimplemented(\"%s\")\n", msg);
139 GrTexture* GrGpu::createTexture(const GrTextureDesc& desc,
145 GrRenderTarget* GrGpu::createRenderTargetFrom3DApiState() {
150 GrResource* GrGpu::createPlatformSurface(const GrPlatformSurfaceDesc& desc) {
155 GrVertexBuffer* GrGpu::createVertexBuffer(uint32_t size, bool dynamic) {
160 GrIndexBuffer* GrGpu::createIndexBuffer(uint32_t size, bool dynamic) {
165 void GrGpu::clear(const GrIRect* rect, GrColor color) {
170 void GrGpu::forceRenderTargetFlush() {
175 bool GrGpu::readPixels(GrRenderTarget* target,
200 const GrIndexBuffer* GrGpu::getQuadIndexBuffer() const {
203 GrGpu* me = const_cast<GrGpu*>(this);
226 const GrVertexBuffer* GrGpu::getUnitSquareVertexBuffer() const {
243 GrGpu* me = const_cast<GrGpu*>(this);
259 void GrGpu::clipWillBeSet(const GrClip& newClip) {
268 const GrStencilSettings GrGpu::gClipStencilSettings = {
312 GrStencilFunc GrGpu::ConvertStencilFunc(bool stencilInClip, GrStencilFunc func) {
322 void GrGpu::ConvertStencilFuncAndMask(GrStencilFunc func,
370 bool GrGpu::setupClipAndFlushState(GrPrimitiveType type) {
550 GrPathRenderer* GrGpu::getClipPathRenderer(const GrPath& path,
569 void GrGpu::drawIndexed(GrPrimitiveType type,
599 void GrGpu::drawNonIndexed(GrPrimitiveType type,
621 void GrGpu::finalizeReservedVertices() {
626 void GrGpu::finalizeReservedIndices() {
631 void GrGpu::prepareVertexPool() {
643 void GrGpu::prepareIndexPool() {
653 bool GrGpu::onAcquireGeometry(GrVertexLayout vertexLayout,
691 void GrGpu::onReleaseGeometry() {}
693 void GrGpu::onSetVertexSourceToArray(const void* vertexArray, int vertexCount) {
707 void GrGpu::onSetIndexSourceToArray(const void* indexArray, int indexCount) {
722 const GrGpuStats& GrGpu::getStats() const {
726 void GrGpu::resetStats() {
730 void GrGpu::printStats() const {