summaryrefslogtreecommitdiffstats
path: root/graphics/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2012-04-11 14:04:23 -0700
committerAlex Sakhartchouk <alexst@google.com>2012-04-11 14:04:23 -0700
commit918e840628a0b40a95fd42618f604ea5a44aebae (patch)
treecbaffd8e29056a5a92decce2ca0982cf4315bcbf /graphics/java/android/renderscript/ProgramStore.java
parent5713c9cfa9a0ed7625c8a48925a5c33b2c070460 (diff)
downloadframeworks_base-918e840628a0b40a95fd42618f604ea5a44aebae.zip
frameworks_base-918e840628a0b40a95fd42618f604ea5a44aebae.tar.gz
frameworks_base-918e840628a0b40a95fd42618f604ea5a44aebae.tar.bz2
Unhiding J API's for Renderscript.
Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
Diffstat (limited to 'graphics/java/android/renderscript/ProgramStore.java')
-rw-r--r--graphics/java/android/renderscript/ProgramStore.java34
1 files changed, 18 insertions, 16 deletions
diff --git a/graphics/java/android/renderscript/ProgramStore.java b/graphics/java/android/renderscript/ProgramStore.java
index 677dadd..d0fd6e5 100644
--- a/graphics/java/android/renderscript/ProgramStore.java
+++ b/graphics/java/android/renderscript/ProgramStore.java
@@ -150,7 +150,8 @@ public class ProgramStore extends BaseObj {
}
/**
- * @hide
+ * Returns the function used to test writing into the depth
+ * buffer
* @return depth function
*/
public DepthFunc getDepthFunc() {
@@ -158,47 +159,47 @@ public class ProgramStore extends BaseObj {
}
/**
- * @hide
- * @return whether depth writes are enabled
+ * Queries whether writes are enabled into the depth buffer
+ * @return depth mask
*/
- public boolean getDepthMaskEnabled() {
+ public boolean isDepthMaskEnabled() {
return mDepthMask;
}
/**
- * @hide
+ * Queries whether red channel is written
* @return red color channel mask
*/
- public boolean getColorMaskREnabled() {
+ public boolean isColorMaskRedEnabled() {
return mColorMaskR;
}
/**
- * @hide
+ * Queries whether green channel is written
* @return green color channel mask
*/
- public boolean getColorMaskGEnabled() {
+ public boolean isColorMaskGreenEnabled() {
return mColorMaskG;
}
/**
- * @hide
+ * Queries whether blue channel is written
* @return blue color channel mask
*/
- public boolean getColorMaskBEnabled() {
+ public boolean isColorMaskBlueEnabled() {
return mColorMaskB;
}
/**
- * @hide
+ * Queries whether alpha channel is written
* @return alpha channel mask
*/
- public boolean getColorMaskAEnabled() {
+ public boolean isColorMaskAlphaEnabled() {
return mColorMaskA;
}
/**
- * @hide
+ * Specifies how the source blending factor is computed
* @return source blend function
*/
public BlendSrcFunc getBlendSrcFunc() {
@@ -206,7 +207,7 @@ public class ProgramStore extends BaseObj {
}
/**
- * @hide
+ * Specifies how the destination blending factor is computed
* @return destination blend function
*/
public BlendDstFunc getBlendDstFunc() {
@@ -214,10 +215,11 @@ public class ProgramStore extends BaseObj {
}
/**
- * @hide
+ * Specifies whether colors are dithered before writing into the
+ * framebuffer
* @return whether dither is enabled
*/
- public boolean getDitherEnabled() {
+ public boolean isDitherEnabled() {
return mDither;
}