Home
last modified time | relevance | path

Searched refs:accessPattern (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/src/gpu/d3d/
DGrD3DBuffer.cpp22 GrAccessPattern accessPattern, in make_d3d_buffer() argument
26 if (accessPattern == kStatic_GrAccessPattern) { in make_d3d_buffer()
65 GrAccessPattern accessPattern) { in Make() argument
66 SkASSERT(!gpu->protectedContext() || (accessPattern != kStatic_GrAccessPattern)); in Make()
70 gr_cp<ID3D12Resource> resource = make_d3d_buffer(gpu, size, intendedType, accessPattern, in Make()
76 return sk_sp<GrD3DBuffer>(new GrD3DBuffer(gpu, size, intendedType, accessPattern, in Make()
82 GrAccessPattern accessPattern, gr_cp<ID3D12Resource> bufferResource, in GrD3DBuffer() argument
84 : INHERITED(gpu, size, intendedType, accessPattern) in GrD3DBuffer()
162 if (this->accessPattern() == kStatic_GrAccessPattern) { in onUpdateData()
184 if (this->accessPattern() == kStatic_GrAccessPattern) { in internalMap()
[all …]
DGrD3DGpu.cpp1253 GrAccessPattern accessPattern, const void* data) { in onCreateBuffer() argument
1254 sk_sp<GrD3DBuffer> buffer = GrD3DBuffer::Make(this, sizeInBytes, type, accessPattern); in onCreateBuffer()
/third_party/skia/src/gpu/gl/
DGrGLBuffer.cpp38 GrAccessPattern accessPattern, const void* data) { in Make() argument
45 sk_sp<GrGLBuffer> buffer(new GrGLBuffer(gpu, size, intendedType, accessPattern, data)); in Make()
57 GrAccessPattern accessPattern, in gr_to_gl_access_pattern() argument
103 return usageType(bufferType, accessPattern); in gr_to_gl_access_pattern()
107 GrAccessPattern accessPattern, const void* data) in GrGLBuffer() argument
108 : INHERITED(gpu, size, intendedType, accessPattern) in GrGLBuffer()
111 , fUsage(gr_to_gl_access_pattern(intendedType, accessPattern, gpu->glCaps())) in GrGLBuffer()
DGrGLGpu.cpp1787 GrAccessPattern accessPattern, const void* data) { in onCreateBuffer() argument
1788 return GrGLBuffer::Make(this, size, intendedType, accessPattern, data); in onCreateBuffer()
/third_party/skia/src/gpu/vk/
DGrVkBuffer.cpp23 GrAccessPattern accessPattern, in GrVkBuffer() argument
27 : GrGpuBuffer(gpu, sizeInBytes, bufferType, accessPattern) in GrVkBuffer()
32 SkASSERT(accessPattern != kDynamic_GrAccessPattern || this->isVkMappable()); in GrVkBuffer()
70 GrAccessPattern accessPattern) { in Make() argument
78 accessPattern == kDynamic_GrAccessPattern || in Make()
79 accessPattern == kStream_GrAccessPattern || in Make()
151 return sk_sp<GrVkBuffer>(new GrVkBuffer(gpu, size, bufferType, accessPattern, buffer, alloc, in Make()
DGrVkBuffer.h22 GrAccessPattern accessPattern);
40 GrAccessPattern accessPattern,
DGrVkGpu.cpp453 GrAccessPattern accessPattern, const void* data) { in onCreateBuffer() argument
459 SkASSERT(accessPattern == kDynamic_GrAccessPattern || in onCreateBuffer()
460 accessPattern == kStatic_GrAccessPattern); in onCreateBuffer()
463 SkASSERT(accessPattern == kDynamic_GrAccessPattern); in onCreateBuffer()
466 SkASSERT(accessPattern == kDynamic_GrAccessPattern || in onCreateBuffer()
467 accessPattern == kStream_GrAccessPattern); in onCreateBuffer()
470 SkASSERT(accessPattern == kDynamic_GrAccessPattern); in onCreateBuffer()
474 sk_sp<GrGpuBuffer> buff = GrVkBuffer::Make(this, size, type, accessPattern); in onCreateBuffer()
/third_party/skia/src/gpu/mtl/
DGrMtlBuffer.mm39 GrAccessPattern accessPattern, const void* data) {
40 sk_sp<GrMtlBuffer> buffer(new GrMtlBuffer(gpu, size, intendedType, accessPattern));
48 GrAccessPattern accessPattern)
49 : INHERITED(gpu, size, intendedType, accessPattern)
50 , fIsDynamic(accessPattern != kStatic_GrAccessPattern) {
DGrMtlGpu.mm296 GrAccessPattern accessPattern, const void* data) {
297 return GrMtlBuffer::Make(this, size, type, accessPattern, data);
/third_party/skia/src/gpu/mock/
DGrMockBuffer.h18 GrAccessPattern accessPattern) in GrMockBuffer() argument
19 : INHERITED(gpu, sizeInBytes, type, accessPattern) { in GrMockBuffer()
DGrMockGpu.cpp209 GrAccessPattern accessPattern, const void*) { in onCreateBuffer() argument
210 return sk_sp<GrGpuBuffer>(new GrMockBuffer(this, sizeInBytes, type, accessPattern)); in onCreateBuffer()
/third_party/skia/src/gpu/
DGrGpuBuffer.h24 GrAccessPattern accessPattern() const { return fAccessPattern; } in accessPattern() function
DGrResourceProvider.cpp550 GrAccessPattern accessPattern, in createBuffer() argument
555 if (kDynamic_GrAccessPattern != accessPattern) { in createBuffer()
556 return this->gpu()->createBuffer(size, intendedType, accessPattern, data); in createBuffer()
DGrGpu.cpp384 GrAccessPattern accessPattern, const void* data) { in createBuffer() argument
387 sk_sp<GrGpuBuffer> buffer = this->onCreateBuffer(size, intendedType, accessPattern, data); in createBuffer()
DGrGpu.h219 GrAccessPattern accessPattern, const void* data = nullptr);
/third_party/mesa3d/src/gallium/drivers/svga/include/
DVGPU10ShaderTokens.h520 unsigned int accessPattern : 1; member
/third_party/skia/src/gpu/dawn/
DGrDawnGpu.cpp172 GrAccessPattern accessPattern, const void* data) { in onCreateBuffer() argument
173 sk_sp<GrGpuBuffer> b(new GrDawnBuffer(this, size, type, accessPattern)); in onCreateBuffer()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c5869 opcode0.accessPattern = VGPU10_CB_IMMEDIATE_INDEXED; in emit_constant_declaration()