File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
graphics/java/android/renderscript Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (C) 2008 The Android Open Source Project
2+ * Copyright (C) 2008-2012 The Android Open Source Project
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -131,7 +131,7 @@ public class Allocation extends BaseObj {
131131 public static final int USAGE_GRAPHICS_RENDER_TARGET = 0x0010 ;
132132
133133 /**
134- * USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT The allcation will be
134+ * USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT The allocation will be
135135 * used with a SurfaceTexture object. This usage will cause the
136136 * allocation to be created read only.
137137 *
@@ -140,18 +140,18 @@ public class Allocation extends BaseObj {
140140 public static final int USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT_OPAQUE = 0x0020 ;
141141
142142 /**
143- * USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT The allcation will be
143+ * USAGE_IO_INPUT The allocation will be
144144 * used with a SurfaceTexture object. This usage will cause the
145145 * allocation to be created read only.
146146 *
147147 * @hide
148148 */
149-
150149 public static final int USAGE_IO_INPUT = 0x0040 ;
150+
151151 /**
152- * USAGE_GRAPHICS_SURFACE_TEXTURE_INPUT The allcation will be
152+ * USAGE_IO_OUTPUT The allocation will be
153153 * used with a SurfaceTexture object. This usage will cause the
154- * allocation to be created read only.
154+ * allocation to be created write only.
155155 *
156156 * @hide
157157 */
You can’t perform that action at this time.
0 commit comments