Lines Matching refs:gpu
8 #include "src/gpu/gl/GrGLBuffer.h"
12 #include "src/gpu/GrGpuResourcePriv.h"
13 #include "src/gpu/gl/GrGLCaps.h"
14 #include "src/gpu/gl/GrGLGpu.h"
37 sk_sp<GrGLBuffer> GrGLBuffer::Make(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType,
39 if (gpu->glCaps().transferBufferType() == GrGLCaps::TransferBufferType::kNone &&
45 sk_sp<GrGLBuffer> buffer(new GrGLBuffer(gpu, size, intendedType, accessPattern, data));
106 GrGLBuffer::GrGLBuffer(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType,
108 : INHERITED(gpu, size, intendedType, accessPattern)
111 , fUsage(gr_to_gl_access_pattern(intendedType, accessPattern, gpu->glCaps()))
116 GrGLenum target = gpu->bindBuffer(fIntendedType, this);
142 TRACE_EVENT0("skia.gpu", TRACE_FUNC);
290 // flushing the gpu past draws consuming the old contents.