diff options
author | 2011-05-26 16:33:01 -0700 | |
---|---|---|
committer | 2011-05-26 16:33:01 -0700 | |
commit | 7e8aae7f76f221905fba7ccbcb3442c6f96dfad2 (patch) | |
tree | 6b1437303a2f5a54f16e99abc5a04500d6a98265 /libs/rs/rsProgramVertex.cpp | |
parent | 3a9e712aca65ac49e7155e98e5d6b815da76f94b (diff) |
Start splitting allocation into hal and core.
Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
Diffstat (limited to 'libs/rs/rsProgramVertex.cpp')
-rw-r--r-- | libs/rs/rsProgramVertex.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/rs/rsProgramVertex.cpp b/libs/rs/rsProgramVertex.cpp index 534e8a607bf5..e6790cb3aee4 100644 --- a/libs/rs/rsProgramVertex.cpp +++ b/libs/rs/rsProgramVertex.cpp @@ -189,7 +189,8 @@ void ProgramVertexState::init(Context *rsc) { ProgramVertex *pv = new ProgramVertex(rsc, shaderString.string(), shaderString.length(), tmp, 4); - Allocation *alloc = new Allocation(rsc, inputType, RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS); + Allocation *alloc = Allocation::createAllocation(rsc, inputType, + RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS); pv->bindAllocation(rsc, alloc, 0); mDefaultAlloc.set(alloc); |