OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GpuObjectType
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/libs/hwui/
GpuMemoryTracker.h
33
enum class
GpuObjectType
{
43
GpuObjectType
objectType() { return mType; }
50
static int getInstanceCount(
GpuObjectType
type);
51
static int getTotalSize(
GpuObjectType
type);
55
GpuMemoryTracker(
GpuObjectType
type) : mType(type) {
72
GpuObjectType
mType;
GpuMemoryTracker.cpp
33
#define NUM_TYPES static_cast<int>(
GpuObjectType
::TypeCount)
102
int GpuMemoryTracker::getInstanceCount(
GpuObjectType
type) {
106
int GpuMemoryTracker::getTotalSize(
GpuObjectType
type) {
124
if (obj->objectType() ==
GpuObjectType
::Texture) {
Texture.h
38
: GpuMemoryTracker(
GpuObjectType
::Texture)
Layer.cpp
39
: GpuMemoryTracker(
GpuObjectType
::Layer)
/frameworks/base/libs/hwui/tests/unit/
GpuMemoryTrackerTests.cpp
33
TestGPUObject() : GpuMemoryTracker(
GpuObjectType
::Texture) {}
55
ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(
GpuObjectType
::Texture));
56
ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(
GpuObjectType
::Texture));
59
ASSERT_EQ(1, GpuMemoryTracker::getInstanceCount(
GpuObjectType
::Texture));
61
ASSERT_EQ(500, GpuMemoryTracker::getTotalSize(
GpuObjectType
::Texture));
63
ASSERT_EQ(1000, GpuMemoryTracker::getTotalSize(
GpuObjectType
::Texture));
65
ASSERT_EQ(300, GpuMemoryTracker::getTotalSize(
GpuObjectType
::Texture));
67
ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(
GpuObjectType
::Texture));
68
ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(
GpuObjectType
::Texture));
OffscreenBufferPoolTests.cpp
137
EXPECT_EQ(0, GpuMemoryTracker::getInstanceCount(
GpuObjectType
::OffscreenBuffer));
150
EXPECT_EQ(40, GpuMemoryTracker::getInstanceCount(
GpuObjectType
::OffscreenBuffer));
154
EXPECT_EQ(0, GpuMemoryTracker::getInstanceCount(
GpuObjectType
::OffscreenBuffer));
/frameworks/base/libs/hwui/renderstate/
OffscreenBufferPool.cpp
38
: GpuMemoryTracker(
GpuObjectType
::OffscreenBuffer)
Completed in 390 milliseconds