Home
last modified time | relevance | path

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

/external/skqp/src/gpu/gl/
DGrGLBuffer.cpp32 sk_sp<GrGLBuffer> GrGLBuffer::Make(GrGLGpu* gpu, size_t size, GrBufferType intendedType, in Make()
40 sk_sp<GrGLBuffer> buffer(new GrGLBuffer(gpu, size, intendedType, accessPattern, data)); in Make()
94 GrGLBuffer::GrGLBuffer(GrGLGpu* gpu, size_t size, GrBufferType intendedType, in GrGLBuffer() function in GrGLBuffer
125 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu()
130 inline const GrGLCaps& GrGLBuffer::glCaps() const { in glCaps()
134 void GrGLBuffer::onRelease() { in onRelease()
150 void GrGLBuffer::onAbandon() { in onAbandon()
158 void GrGLBuffer::onMap() { in onMap()
213 void GrGLBuffer::onUnmap() { in onUnmap()
244 bool GrGLBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData()
[all …]
DGrGLBuffer.h17 class GrGLBuffer : public GrBuffer {
19 static sk_sp<GrGLBuffer> Make(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern,
22 ~GrGLBuffer() override { in ~GrGLBuffer()
39 GrGLBuffer(GrGLGpu*, size_t size, GrBufferType intendedType, GrAccessPattern, const void* data);
DGrGLVertexArray.cpp186 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(ibuff); in bindWithIndexBuffer()
DGrGLGpu.h27 class GrGLBuffer; variable
606 sk_sp<GrGLBuffer> fCopyProgramArrayBuffer;
614 sk_sp<GrGLBuffer> fMipmapProgramArrayBuffer;
DGrGLGpu.cpp872 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(transferBuffer); in onTransferPixels()
1861 return GrGLBuffer::Make(this, size, intendedType, accessPattern, data); in onCreateBuffer()
2127 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(buffer); in bindBuffer()
3330 fCopyProgramArrayBuffer = GrGLBuffer::Make(this, sizeof(vdata), kVertex_GrBufferType, in createCopyProgram()
3818 fMipmapProgramArrayBuffer = GrGLBuffer::Make(this, sizeof(vdata), kVertex_GrBufferType, in onRegenerateMipMapLevels()
/external/skia/src/gpu/gl/
DGrGLBuffer.cpp35 sk_sp<GrGLBuffer> GrGLBuffer::Make(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType, in Make()
43 sk_sp<GrGLBuffer> buffer(new GrGLBuffer(gpu, size, intendedType, accessPattern, data)); in Make()
104 GrGLBuffer::GrGLBuffer(GrGLGpu* gpu, size_t size, GrGpuBufferType intendedType, in GrGLBuffer() function in GrGLBuffer
130 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu()
135 inline const GrGLCaps& GrGLBuffer::glCaps() const { in glCaps()
139 void GrGLBuffer::onRelease() { in onRelease()
157 void GrGLBuffer::onAbandon() { in onAbandon()
165 void GrGLBuffer::onMap() { in onMap()
233 void GrGLBuffer::onUnmap() { in onUnmap()
260 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()
205 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(ibuff); in bindWithIndexBuffer()
DGrGLGpu.h28 class GrGLBuffer; variable
741 sk_sp<GrGLBuffer> fCopyProgramArrayBuffer;
749 sk_sp<GrGLBuffer> fMipmapProgramArrayBuffer;
DGrGLGpu.cpp876 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(transferBuffer.get()); in onTransferPixelsTo()
929 auto* glBuffer = static_cast<GrGLBuffer*>(transferBuffer.get()); in onTransferPixelsFrom()
1754 return GrGLBuffer::Make(this, size, intendedType, accessPattern, data); in onCreateBuffer()
1922 const GrGLBuffer* glBuffer = static_cast<const GrGLBuffer*>(buffer); in bindBuffer()
3039 fCopyProgramArrayBuffer = GrGLBuffer::Make(this, sizeof(vdata), GrGpuBufferType::kVertex, in createCopyProgram()
3473 fMipmapProgramArrayBuffer = GrGLBuffer::Make(this, sizeof(vdata), GrGpuBufferType::kVertex, in onRegenerateMipMapLevels()
/external/skqp/tests/
DTraceMemoryDumpTest.cpp78 sk_sp<GrGLBuffer> buffer = in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
79 GrGLBuffer::Make(gpu, kMemorySize, kVertex_GrBufferType, kDynamic_GrAccessPattern); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/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()
/external/skia/tools/gpu/gl/interface/
Dinterface.json5466 // don't permit it. Note that in GrGLBuffer, we choose which API to use based on version and
/external/skqp/gn/
Dgpu.gni415 "$_src/gpu/gl/GrGLBuffer.cpp",
416 "$_src/gpu/gl/GrGLBuffer.h",
/external/skia/gn/
Dgpu.gni574 "$_src/gpu/gl/GrGLBuffer.cpp",
575 "$_src/gpu/gl/GrGLBuffer.h",
/external/skqp/
DAndroid.bp967 "src/gpu/gl/GrGLBuffer.cpp",
/external/skia/
DAndroid.bp588 "src/gpu/gl/GrGLBuffer.cpp",
1572 "src/gpu/gl/GrGLBuffer.cpp",