to top
Android APIs
public static class

RenderScriptGL.SurfaceConfig

extends Object
java.lang.Object
   ↳ android.renderscript.RenderScriptGL.SurfaceConfig

This class is deprecated.
in API 16 Class which is used to describe a pixel format for a graphical buffer. This is used to describe the intended format of the display surface. The configuration is described by pairs of minimum and preferred bit depths for each component within the config and additional structural information.

Summary

Public Constructors
RenderScriptGL.SurfaceConfig()
This constructor is deprecated. in API 16
RenderScriptGL.SurfaceConfig(RenderScriptGL.SurfaceConfig sc)
This constructor is deprecated. in API 16
Public Methods
void setAlpha(int minimum, int preferred)
This method is deprecated. in API 16 Set the bit depth for alpha. This configures the surface for an unsigned integer buffer type.
void setColor(int minimum, int preferred)
This method is deprecated. in API 16 Set the per-component bit depth for color (red, green, blue). This configures the surface for an unsigned integer buffer type.
void setDepth(int minimum, int preferred)
This method is deprecated. in API 16 Set the bit depth for the depth buffer. This configures the surface for an unsigned integer buffer type. If a minimum of 0 is specified then its possible no depth buffer will be allocated.
void setSamples(int minimum, int preferred, float Q)
This method is deprecated. in API 16 Configure the multisample rendering.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RenderScriptGL.SurfaceConfig ()

Since: API Level 11

This constructor is deprecated.
in API 16

public RenderScriptGL.SurfaceConfig (RenderScriptGL.SurfaceConfig sc)

Since: API Level 11

This constructor is deprecated.
in API 16

Public Methods

public void setAlpha (int minimum, int preferred)

Since: API Level 11

This method is deprecated.
in API 16 Set the bit depth for alpha. This configures the surface for an unsigned integer buffer type.

public void setColor (int minimum, int preferred)

Since: API Level 11

This method is deprecated.
in API 16 Set the per-component bit depth for color (red, green, blue). This configures the surface for an unsigned integer buffer type.

public void setDepth (int minimum, int preferred)

Since: API Level 11

This method is deprecated.
in API 16 Set the bit depth for the depth buffer. This configures the surface for an unsigned integer buffer type. If a minimum of 0 is specified then its possible no depth buffer will be allocated.

public void setSamples (int minimum, int preferred, float Q)

Since: API Level 11

This method is deprecated.
in API 16 Configure the multisample rendering.

Parameters
minimum The required number of samples, must be at least 1.
preferred The targe number of samples, must be at least minimum
Q The quality of samples, range 0-1. Used to decide between different formats which have the same number of samples but different rendering quality.