diff options
author | Alex Sakhartchouk <alexst@google.com> | 2012-03-22 10:50:55 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2012-03-22 10:50:55 -0700 |
commit | 043f5ced1bf82d8cf2df82a92a655afd26534df4 (patch) | |
tree | 37380b95f9da620f6502675898a9a24402cc731e /libs/rs | |
parent | b09aaeca0841fa053e0f70b7a6ff45ad475d32e1 (diff) | |
download | frameworks_base-043f5ced1bf82d8cf2df82a92a655afd26534df4.zip frameworks_base-043f5ced1bf82d8cf2df82a92a655afd26534df4.tar.gz frameworks_base-043f5ced1bf82d8cf2df82a92a655afd26534df4.tar.bz2 |
More rearrangement and renaming.
Change-Id: Ia922c5bff1734a29b786ba95065f81c8dedf90cd
Diffstat (limited to 'libs/rs')
-rw-r--r-- | libs/rs/scriptc/rs_core.rsh | 6 | ||||
-rw-r--r-- | libs/rs/scriptc/rs_graphics.rsh | 5 | ||||
-rw-r--r-- | libs/rs/scriptc/rs_mesh.rsh | 10 | ||||
-rw-r--r-- | libs/rs/scriptc/rs_program.rsh | 22 |
4 files changed, 21 insertions, 22 deletions
diff --git a/libs/rs/scriptc/rs_core.rsh b/libs/rs/scriptc/rs_core.rsh index 5b99976..5072e18 100644 --- a/libs/rs/scriptc/rs_core.rsh +++ b/libs/rs/scriptc/rs_core.rsh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 The Android Open Source Project + * Copyright (C) 2011-2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,16 +33,12 @@ #include "rs_debug.rsh" #include "rs_element.rsh" #include "rs_math.rsh" -#include "rs_mesh.rsh" #include "rs_matrix.rsh" #include "rs_object.rsh" -#include "rs_program.rsh" #include "rs_quaternion.rsh" #include "rs_sampler.rsh" #include "rs_time.rsh" - - /** * Send a message back to the client. Will not block and returns true * if the message was sendable and false if the fifo was full. diff --git a/libs/rs/scriptc/rs_graphics.rsh b/libs/rs/scriptc/rs_graphics.rsh index 80491ee..44ee99f 100644 --- a/libs/rs/scriptc/rs_graphics.rsh +++ b/libs/rs/scriptc/rs_graphics.rsh @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 The Android Open Source Project + * Copyright (C) 2011-2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,9 @@ #ifndef __RS_GRAPHICS_RSH__ #define __RS_GRAPHICS_RSH__ +#include "rs_mesh.rsh" +#include "rs_program.rsh" + #if (defined(RS_VERSION) && (RS_VERSION >= 14)) /** * Set the color target used for all subsequent rendering calls diff --git a/libs/rs/scriptc/rs_mesh.rsh b/libs/rs/scriptc/rs_mesh.rsh index 88f229b..b606c1c 100644 --- a/libs/rs/scriptc/rs_mesh.rsh +++ b/libs/rs/scriptc/rs_mesh.rsh @@ -54,7 +54,7 @@ * data */ extern uint32_t __attribute__((overloadable)) - rsMeshGetVertexAllocationCount(rs_mesh m); + rsgMeshGetVertexAllocationCount(rs_mesh m); /** * @param m mesh to get data from @@ -63,7 +63,7 @@ extern uint32_t __attribute__((overloadable)) * containing index data */ extern uint32_t __attribute__((overloadable)) - rsMeshGetPrimitiveCount(rs_mesh m); + rsgMeshGetPrimitiveCount(rs_mesh m); /** * @param m mesh to get data from @@ -71,7 +71,7 @@ extern uint32_t __attribute__((overloadable)) * @return allocation containing vertex data */ extern rs_allocation __attribute__((overloadable)) - rsMeshGetVertexAllocation(rs_mesh m, uint32_t index); + rsgMeshGetVertexAllocation(rs_mesh m, uint32_t index); /** * @param m mesh to get data from @@ -79,7 +79,7 @@ extern rs_allocation __attribute__((overloadable)) * @return allocation containing index data */ extern rs_allocation __attribute__((overloadable)) - rsMeshGetIndexAllocation(rs_mesh m, uint32_t index); + rsgMeshGetIndexAllocation(rs_mesh m, uint32_t index); /** * @param m mesh to get data from @@ -87,7 +87,7 @@ extern rs_allocation __attribute__((overloadable)) * @return primitive describing how the mesh is rendered */ extern rs_primitive __attribute__((overloadable)) - rsMeshGetPrimitive(rs_mesh m, uint32_t index); + rsgMeshGetPrimitive(rs_mesh m, uint32_t index); #endif // __RS_MESH_RSH__ diff --git a/libs/rs/scriptc/rs_program.rsh b/libs/rs/scriptc/rs_program.rsh index 8c52680..7434a77 100644 --- a/libs/rs/scriptc/rs_program.rsh +++ b/libs/rs/scriptc/rs_program.rsh @@ -55,7 +55,7 @@ * @param ps */ extern rs_depth_func __attribute__((overloadable)) - rsProgramStoreGetDepthFunc(rs_program_store ps); + rsgProgramStoreGetDepthFunc(rs_program_store ps); /** * @hide @@ -64,7 +64,7 @@ extern rs_depth_func __attribute__((overloadable)) * @param ps */ extern bool __attribute__((overloadable)) - rsProgramStoreGetDepthMask(rs_program_store ps); + rsgProgramStoreGetDepthMask(rs_program_store ps); /** * @hide * Get program store red component color mask @@ -72,7 +72,7 @@ extern bool __attribute__((overloadable)) * @param ps */ extern bool __attribute__((overloadable)) - rsProgramStoreGetColorMaskR(rs_program_store ps); + rsgProgramStoreGetColorMaskR(rs_program_store ps); /** * @hide @@ -81,7 +81,7 @@ extern bool __attribute__((overloadable)) * @param ps */ extern bool __attribute__((overloadable)) - rsProgramStoreGetColorMaskG(rs_program_store ps); + rsgProgramStoreGetColorMaskG(rs_program_store ps); /** * @hide @@ -90,7 +90,7 @@ extern bool __attribute__((overloadable)) * @param ps */ extern bool __attribute__((overloadable)) - rsProgramStoreGetColorMaskB(rs_program_store ps); + rsgProgramStoreGetColorMaskB(rs_program_store ps); /** * @hide @@ -99,7 +99,7 @@ extern bool __attribute__((overloadable)) * @param ps */ extern bool __attribute__((overloadable)) - rsProgramStoreGetColorMaskA(rs_program_store ps); + rsgProgramStoreGetColorMaskA(rs_program_store ps); /** * @hide @@ -108,7 +108,7 @@ extern bool __attribute__((overloadable)) * @param ps */ extern rs_blend_src_func __attribute__((overloadable)) - rsProgramStoreGetBlendSrcFunc(rs_program_store ps); + rsgProgramStoreGetBlendSrcFunc(rs_program_store ps); /** * @hide @@ -117,7 +117,7 @@ extern rs_blend_src_func __attribute__((overloadable)) * @param ps */ extern rs_blend_dst_func __attribute__((overloadable)) - rsProgramStoreGetBlendDstFunc(rs_program_store ps); + rsgProgramStoreGetBlendDstFunc(rs_program_store ps); /** * @hide @@ -126,7 +126,7 @@ extern rs_blend_dst_func __attribute__((overloadable)) * @param ps */ extern bool __attribute__((overloadable)) - rsProgramStoreGetDitherEnabled(rs_program_store ps); + rsgProgramStoreGetDitherEnabled(rs_program_store ps); /** * @hide @@ -135,7 +135,7 @@ extern bool __attribute__((overloadable)) * @param pr */ extern bool __attribute__((overloadable)) - rsProgramRasterGetPointSpriteEnabled(rs_program_raster pr); + rsgProgramRasterGetPointSpriteEnabled(rs_program_raster pr); /** * @hide @@ -144,7 +144,7 @@ extern bool __attribute__((overloadable)) * @param pr */ extern rs_cull_mode __attribute__((overloadable)) - rsProgramRasterGetCullMode(rs_program_raster pr); + rsgProgramRasterGetCullMode(rs_program_raster pr); |