OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrVkBuffer
(Results
1 - 16
of
16
) sorted by null
/external/skia/src/gpu/vk/
GrVkIndexBuffer.h
12
#include "
GrVkBuffer
.h"
16
class GrVkIndexBuffer : public GrBuffer, public
GrVkBuffer
{
26
GrVkIndexBuffer(GrVkGpu* gpu, const
GrVkBuffer
::Desc& desc,
27
const
GrVkBuffer
::Resource* resource);
GrVkVertexBuffer.h
12
#include "
GrVkBuffer
.h"
16
class GrVkVertexBuffer : public GrBuffer, public
GrVkBuffer
{
25
GrVkVertexBuffer(GrVkGpu* gpu, const
GrVkBuffer
::Desc& desc,
26
const
GrVkBuffer
::Resource* resource);
GrVkTransferBuffer.cpp
13
GrVkTransferBuffer* GrVkTransferBuffer::Create(GrVkGpu* gpu, size_t size,
GrVkBuffer
::Type type) {
14
GrVkBuffer
::Desc desc;
16
SkASSERT(
GrVkBuffer
::kCopyRead_Type == type ||
GrVkBuffer
::kCopyWrite_Type == type);
20
const
GrVkBuffer
::Resource* bufferResource =
GrVkBuffer
::Create(gpu, desc);
32
GrVkTransferBuffer::GrVkTransferBuffer(GrVkGpu* gpu, const
GrVkBuffer
::Desc& desc,
33
const
GrVkBuffer
::Resource* bufferResource)
38
,
GrVkBuffer
(desc, bufferResource) {
GrVkIndexBuffer.cpp
11
GrVkIndexBuffer::GrVkIndexBuffer(GrVkGpu* gpu, const
GrVkBuffer
::Desc& desc,
12
const
GrVkBuffer
::Resource* bufferResource)
15
,
GrVkBuffer
(desc, bufferResource) {
20
GrVkBuffer
::Desc desc;
22
desc.fType =
GrVkBuffer
::kIndex_Type;
25
const
GrVkBuffer
::Resource* bufferResource =
GrVkBuffer
::Create(gpu, desc);
GrVkUniformBuffer.h
11
#include "
GrVkBuffer
.h"
15
class GrVkUniformBuffer : public
GrVkBuffer
{
38
class Resource : public
GrVkBuffer
::Resource {
45
typedef
GrVkBuffer
::Resource INHERITED;
48
const
GrVkBuffer
::Resource* createResource(GrVkGpu* gpu,
49
const
GrVkBuffer
::Desc& descriptor) override;
51
GrVkUniformBuffer(GrVkGpu* gpu, const
GrVkBuffer
::Desc& desc,
55
typedef
GrVkBuffer
INHERITED;
GrVkVertexBuffer.cpp
11
GrVkVertexBuffer::GrVkVertexBuffer(GrVkGpu* gpu, const
GrVkBuffer
::Desc& desc,
12
const
GrVkBuffer
::Resource* bufferResource)
15
,
GrVkBuffer
(desc, bufferResource) {
20
GrVkBuffer
::Desc desc;
22
desc.fType =
GrVkBuffer
::kVertex_Type;
25
const
GrVkBuffer
::Resource* bufferResource =
GrVkBuffer
::Create(gpu, desc);
GrVkTransferBuffer.h
12
#include "
GrVkBuffer
.h"
16
class GrVkTransferBuffer : public GrBuffer, public
GrVkBuffer
{
19
static GrVkTransferBuffer* Create(GrVkGpu* gpu, size_t size,
GrVkBuffer
::Type type);
26
GrVkTransferBuffer(GrVkGpu* gpu, const
GrVkBuffer
::Desc& desc,
27
const
GrVkBuffer
::Resource* resource);
GrVkBuffer.cpp
8
#include "
GrVkBuffer
.h"
21
const
GrVkBuffer
::Resource*
GrVkBuffer
::Create(const GrVkGpu* gpu, const Desc& desc) {
70
const
GrVkBuffer
::Resource* resource = new
GrVkBuffer
::Resource(buffer, alloc, desc.fType);
80
void
GrVkBuffer
::addMemoryBarrier(const GrVkGpu* gpu,
102
void
GrVkBuffer
::Resource::freeGPUData(const GrVkGpu* gpu) const {
109
void
GrVkBuffer
::vkRelease(const GrVkGpu* gpu) {
120
void
GrVkBuffer
::vkAbandon() {
130
VkAccessFlags buffer_type_to_access_flags(
GrVkBuffer
::Type type)
[
all
...]
GrVkUniformBuffer.cpp
27
GrVkBuffer
::Desc desc;
29
desc.fType =
GrVkBuffer
::kUniform_Type;
85
const
GrVkBuffer
::Resource* GrVkUniformBuffer::createResource(GrVkGpu* gpu,
86
const
GrVkBuffer
::Desc& descriptor) {
94
return (const
GrVkBuffer
::Resource*) vkResource;
GrVkBuffer.h
21
class
GrVkBuffer
: public SkNoncopyable {
23
virtual ~
GrVkBuffer
() {
64
SkDebugf("
GrVkBuffer
: %d (%d refs)\n", fBuffer, this->getRefCnt());
83
GrVkBuffer
(const Desc& desc, const
GrVkBuffer
::Resource* resource)
GrVkMemory.cpp
38
static GrVkGpu::Heap buffer_type_to_heap(
GrVkBuffer
::Type type) {
46
GR_STATIC_ASSERT(0 ==
GrVkBuffer
::kVertex_Type);
47
GR_STATIC_ASSERT(1 ==
GrVkBuffer
::kIndex_Type);
48
GR_STATIC_ASSERT(2 ==
GrVkBuffer
::kUniform_Type);
49
GR_STATIC_ASSERT(3 ==
GrVkBuffer
::kCopyRead_Type);
50
GR_STATIC_ASSERT(4 ==
GrVkBuffer
::kCopyWrite_Type);
57
GrVkBuffer
::Type type,
122
void GrVkMemory::FreeBufferMemory(const GrVkGpu* gpu,
GrVkBuffer
::Type type,
GrVkMemory.h
11
#include "
GrVkBuffer
.h"
26
GrVkBuffer
::Type type,
29
void FreeBufferMemory(const GrVkGpu* gpu,
GrVkBuffer
::Type type, const GrVkAlloc& alloc);
GrVkGpu.cpp
254
buff = GrVkTransferBuffer::Create(this, size,
GrVkBuffer
::kCopyRead_Type);
258
buff = GrVkTransferBuffer::Create(this, size,
GrVkBuffer
::kCopyWrite_Type);
582
GrVkTransferBuffer::Create(this, combinedBufferSize,
GrVkBuffer
::kCopyRead_Type);
739
bool GrVkGpu::updateBuffer(
GrVkBuffer
* buffer, const void* src,
[
all
...]
GrVkCommandBuffer.h
291
GrVkBuffer
* dstBuffer,
GrVkGpu.h
143
bool updateBuffer(
GrVkBuffer
* buffer, const void* src, VkDeviceSize offset, VkDeviceSize size);
GrVkCommandBuffer.cpp
578
GrVkBuffer
* dstBuffer,
Completed in 875 milliseconds