Home
last modified time | relevance | path

Searched refs:GrGLBuffer (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/gpu/gl/
DGrGLBuffer.cpp37 sk_sp<GrGLBuffer> GrGLBuffer::Make(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType, in Make()
45 sk_sp<GrGLBuffer> buffer(new GrGLBuffer(gpu, size, intendedType, accessPattern, data)); in Make()
106 GrGLBuffer::GrGLBuffer(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType, in GrGLBuffer() function in GrGLBuffer
132 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu()
137 inline const GrGLCaps& GrGLBuffer::glCaps() const { in glCaps()
141 void GrGLBuffer::onRelease() { in onRelease()
159 void GrGLBuffer::onAbandon() { in onAbandon()
167 void GrGLBuffer::onMap() { in onMap()
235 void GrGLBuffer::onUnmap() { in onUnmap()
262 bool GrGLBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData()
[all …]
DGrGLBuffer.h17 class GrGLBuffer : public GrGpuBuffer {
19 static sk_sp<GrGLBuffer> Make(GrGLGpu*, size_t size, GrGpuBufferType intendedType,
22 ~GrGLBuffer() override { in ~GrGLBuffer()
39 GrGLBuffer(GrGLGpu*, size_t size, GrGpuBufferType intendedType, GrAccessPattern,
DGrGLVertexArray.cpp203 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(ibuff); in bindWithIndexBuffer()
DGrGLGpu.h28 class GrGLBuffer; variable
764 sk_sp<GrGLBuffer> fCopyProgramArrayBuffer;
772 sk_sp<GrGLBuffer> fMipmapProgramArrayBuffer;
DGrGLGpu.cpp889 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(transferBuffer.get()); in onTransferPixelsTo()
940 auto* glBuffer = static_cast<GrGLBuffer*>(transferBuffer.get()); in onTransferPixelsFrom()
1788 return GrGLBuffer::Make(this, size, intendedType, accessPattern, data); in onCreateBuffer()
1955 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(buffer); in bindBuffer()
3070 fCopyProgramArrayBuffer = GrGLBuffer::Make(this, sizeof(vdata), GrGpuBufferType::kVertex, in createCopyProgram()
3505 fMipmapProgramArrayBuffer = GrGLBuffer::Make(this, sizeof(vdata), GrGpuBufferType::kVertex, in onRegenerateMipMapLevels()
/third_party/skia/tests/
DTraceMemoryDumpTest.cpp83 sk_sp<GrGLBuffer> buffer = in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
84 GrGLBuffer::Make(gpu, kMemorySize, GrGpuBufferType::kVertex, kDynamic_GrAccessPattern); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/
DBUILD.bazel445 "gl/GrGLBuffer.cpp",
446 "gl/GrGLBuffer.h",
/third_party/skia/tools/gpu/gl/interface/
Dinterface.json5469 // don't permit it. Note that in GrGLBuffer, we choose which API to use based on version and
/third_party/skia/gn/
Dgpu.gni436 "$_src/gpu/gl/GrGLBuffer.cpp",
437 "$_src/gpu/gl/GrGLBuffer.h",