/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_scene.c | 50 * Create a new scene object. 56 struct lp_scene *scene = CALLOC_STRUCT(lp_scene); local 57 if (!scene) 60 scene->pipe = pipe; 62 scene->data.head = 65 pipe_mutex_init(scene->mutex); 67 return scene; 72 * Free all data associated with the given scene, and the scene itself. 75 lp_scene_destroy(struct lp_scene *scene) [all...] |
lp_scene.h | 56 /* Scene temporary storage is clamped to this size: 60 /* The maximum amount of texture storage referenced by a scene is 106 * within a scene. 112 * initiate a scene without relying on malloc succeeding. 142 /** the framebuffer to render the scene into */ 145 /** list of resources referenced by the scene commands */ 148 /** Total memory used by the scene (in bytes). This sums all the 150 * other random allocations within the scene. 154 /** Sum of sizes of all resources referenced by the scene. Sums 155 * all the textures read by the scene [all...] |
lp_scene_queue.h | 48 lp_scene_enqueue(struct lp_scene_queue *queue, struct lp_scene *scene);
|
lp_scene_queue.c | 30 * Scene queue. We'll use two queues. One contains "full" scenes which 32 * which are produced by the "rast" code when it finishes rendering a scene. 45 struct lp_scene *scene; member in struct:scene_packet 58 /** Allocate a new scene queue */ 79 /** Delete a scene queue */ 95 packet.scene = NULL; 104 return packet.scene; 110 lp_scene_enqueue(struct lp_scene_queue *queue, struct lp_scene *scene) 116 packet.scene = scene; [all...] |
lp_rast_priv.h | 85 struct lp_scene *scene; member in struct:lp_rasterizer_task 119 /** The scene currently being rasterized by the threads */ 152 const struct lp_scene *scene = task->scene; local 155 assert(x < scene->tiles_x * TILE_SIZE); 156 assert(y < scene->tiles_y * TILE_SIZE); 160 if (!scene->zsbuf.map) { 169 depth = (scene->zsbuf.map + 170 scene->zsbuf.stride * y + 171 scene->zsbuf.blocksize * x * TILE_VECTOR_HEIGHT) 185 const struct lp_scene *scene = task->scene; local 257 const struct lp_scene *scene = task->scene; local [all...] |
lp_rast.c | 56 * Begin rasterizing a scene. 57 * Called once per scene by one thread. 61 struct lp_scene *scene ) 64 rast->curr_scene = scene; 68 lp_scene_begin_rasterization( scene ); 69 lp_scene_bin_iter_begin( scene ); 82 debug_printf("Post render scene: tile unswizzle: %u tile swizzle: %u\n", 97 const struct lp_scene *scene = task->scene; local 111 struct pipe_surface *zsbuf = task->scene->fb.zsbuf 153 const struct lp_scene *scene = task->scene; local 215 const struct lp_scene *scene = task->scene; local 305 const struct lp_scene *scene = task->scene; local 336 const struct lp_scene *scene = task->scene; local 399 const struct lp_scene *scene = task->scene; local 432 const struct lp_scene *scene = task->scene; local 581 const struct lp_scene *scene = task->scene; local [all...] |
lp_setup.c | 68 assert(setup->scene == NULL); 73 setup->scene = setup->scenes[setup->scene_idx]; 75 if (setup->scene->fence) { 77 debug_printf("%s: wait for scene %d\n", 78 __FUNCTION__, setup->scene->fence->id); 80 lp_fence_wait(setup->scene->fence); 83 lp_scene_begin_binning(setup->scene, &setup->fb); 129 setup->scene = NULL; 144 /** Rasterize all scene's bins */ 148 struct lp_scene *scene = setup->scene local 174 struct lp_scene *scene = setup->scene; local 413 struct lp_scene *scene = setup->scene; local 779 struct lp_scene *scene = setup->scene; local 990 struct lp_scene *scene = setup->scenes[i]; local [all...] |
/cts/apps/CameraITS/tools/ |
load_scene.py | 25 scene = None 27 if s[:6] == 'scene=' and len(s) > 6: 28 scene = s[6:] 36 if not scene: 37 print 'Error: need to specify which scene to load' 44 remote_scene_file = '/sdcard/Download/%s.pdf' % scene 46 scene, scene+'.pdf')
|
run_all_tests.py | 29 SKIP_RET_CODE = 101 # note this must be same as tests/scene*/test_* 53 scenes: the test scene(s) to be executed. Use comma to separate multiple 57 display. When this argument presents, change of test scene will 97 "scene1": "A grey card covering at least the middle 30% of the scene", 101 "middle 50% of the scene. See CameraITS.pdf section 2.3.4 " 141 # Validate user input scene names 150 scene_str = "scene" + s 160 print "Unknown scene specifiied:", s 206 print "Running ITS on camera: %s, scene %s" % (camera_ids, scenes) 222 # Loop capturing images until user confirm test scene is correc [all...] |
/frameworks/support/transition/tests/src/android/support/transition/ |
SceneTest.java | 39 Scene scene = new Scene(root); local 40 assertThat(scene.getSceneRoot(), is(sameInstance(root))); 49 Scene scene = new Scene(root, layout); local 52 scene.setEnterAction(enterAction); 53 scene.setExitAction(exitAction); 54 scene.enter() 69 Scene scene = new Scene(root, view); local 87 Scene scene = new Scene(root); local 98 Scene scene = new Scene(root); local 110 Scene scene = new Scene(root); local 121 Scene scene = Scene.getSceneForLayout(root, R.layout.support_scene0, activity); local [all...] |
BaseTransitionTest.java | 66 Scene loadScene(final int layoutId) throws Throwable { 67 final Scene[] scene = new Scene[1]; local 71 scene[0] = Scene.getSceneForLayout(mRoot, layoutId, rule.getActivity()); 75 return scene[0]; 82 private void startTransition(final Scene scene) throws Throwable { 86 TransitionManager.go(scene, mTransition) [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
SceneTest.java | 29 import android.transition.Scene; 41 * Test Scene(ViewGroup) with enterAction and exitAction 45 Scene scene = new Scene(mSceneRoot); local 46 assertEquals(mSceneRoot, scene.getSceneRoot()); 50 scene.setEnterAction(enterCheck); 52 scene.setExitAction(exitCheck); 53 enterScene(scene); 61 exitScene(scene); 92 Scene scene = loadScene(R.layout.scene1); local [all...] |
BaseTransitionTest.java | 30 import android.transition.Scene; 101 protected Scene loadScene(final View layout) throws Throwable { 102 final Scene[] scene = new Scene[1]; local 103 mActivityRule.runOnUiThread(() -> scene[0] = new Scene(mSceneRoot, layout)); 105 return scene[0]; 108 protected Scene loadScene(final int layoutId) throws Throwable { 109 final Scene scene[] = new Scene[1] local [all...] |
/external/deqp/framework/common/ |
tcuRasterizationVerifier.hpp | 65 bool sharedEdge[3]; // !< is the edge i -> i+1 shared with another scene triangle 122 bool verifyTriangleGroupRasterization (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log, VerificationMode mode = VERIFICATIONMODE_STRICT); 133 bool verifyLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 146 bool verifyClippedTriangulatedLineGroupRasterization (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 157 bool verifyPointGroupRasterization (const tcu::Surface& surface, const PointSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 168 bool verifyTriangleGroupInterpolation (const tcu::Surface& surface, const TriangleSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 179 LineInterpolationMethod verifyLineGroupInterpolation (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log); 191 bool verifyTriangulatedLineGroupInterpolation (const tcu::Surface& surface, const LineSceneSpec& scene, const RasterizationArguments& args, tcu::TestLog& log);
|
/frameworks/base/core/java/android/transition/ |
Scene.java | 26 * A scene represents the collection of values that various properties in the 27 * View hierarchy will have when the scene is applied. A Scene can be 30 * scene change. 32 public final class Scene { 41 * Returns a Scene described by the resource file associated with the given 42 * <code>layoutId</code> parameter. If such a Scene has already been created for 43 * the given <code>sceneRoot</code>, that same Scene will be returned. 48 * @param sceneRoot The root of the hierarchy in which scene changes 53 * @return The scene for the given root and layout i 62 Scene scene = scenes.get(layoutId); local [all...] |
TransitionManager.java | 32 * change of {@link Scene}. To use the manager, add scenes along with 33 * transition objects with calls to {@link #setTransition(Scene, Transition)} 34 * or {@link #setTransition(Scene, Scene, Transition)}. Setting specific 35 * transitions for scene changes is not required; by default, a Scene change 37 * situations. Specifying other transitions for particular scene changes is 45 * that transition to the from/to scene information in that tag. 46 * For example, here is a resource file that declares several scene 53 * creating a scene from a layout in code by callin [all...] |
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
SceneUsage.java | 21 import android.support.transition.Scene; 26 * This demonstrates basic usage of the Transition Scene. 31 Scene[] setUpScenes(ViewGroup root) { 32 return new Scene[]{ 33 Scene.getSceneForLayout(root, R.layout.scene0, this), 34 Scene.getSceneForLayout(root, R.layout.scene1, this), 39 void go(Scene scene) { 40 TransitionManager.go(scene);
|
CustomUsage.java | 22 import android.support.transition.Scene; 42 Scene[] setUpScenes(ViewGroup root) { 43 return new Scene[]{ 44 Scene.getSceneForLayout(root, R.layout.custom0, this), 45 Scene.getSceneForLayout(root, R.layout.custom1, this), 46 Scene.getSceneForLayout(root, R.layout.custom2, this), 51 void go(Scene scene) { 52 TransitionManager.go(scene, mTransition);
|
/frameworks/support/transition/src/android/support/transition/ |
Scene.java | 29 * A scene represents the collection of values that various properties in the 30 * View hierarchy will have when the scene is applied. A Scene can be 33 * scene change. 35 public class Scene { 44 * Returns a Scene described by the resource file associated with the given 45 * <code>layoutId</code> parameter. If such a Scene has already been created for 46 * the given <code>sceneRoot</code>, that same Scene will be returned. 51 * @param sceneRoot The root of the hierarchy in which scene changes 56 * @return The scene for the given root and layout i 68 Scene scene = scenes.get(layoutId); local [all...] |
TransitionManager.java | 34 * change of {@link Scene}. To use the manager, add scenes along with 35 * transition objects with calls to {@link #setTransition(Scene, Transition)} 36 * or {@link #setTransition(Scene, Scene, Transition)}. Setting specific 37 * transitions for scene changes is not required; by default, a Scene change 39 * situations. Specifying other transitions for particular scene changes is 47 * that transition to the from/to scene information in that tag. 48 * For example, here is a resource file that declares several scene 72 * creating a scene from a layout in code by callin [all...] |
/cts/apps/CameraITS/pymodules/its/ |
cv2image.py | 112 xnorm: float; [0, 1] left loc of chart in scene 113 ynorm: float; [0, 1] top loc of chart in scene 114 wnorm: float; [0, 1] width of chart in scene 115 hnorm: float; [0, 1] height of chart in scene 117 chart, scene, s_factor = self._calc_scale_factors(cam, props, fmt, 124 if numpy.amax(scene) <= 1.0: 125 scene = (scene * 255.0).astype(numpy.uint8) 126 if len(scene.shape) == 2: 127 scene_gray = scene.copy( [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
AndroidCameraCapabilities.java | 131 for (String scene : supportedSceneModes) { 132 if (Camera.Parameters.SCENE_MODE_AUTO.equals(scene)) { 134 } else if (Camera.Parameters.SCENE_MODE_ACTION.equals(scene)) { 136 } else if (Camera.Parameters.SCENE_MODE_BARCODE.equals(scene)) { 138 } else if (Camera.Parameters.SCENE_MODE_BEACH.equals(scene)) { 140 } else if (Camera.Parameters.SCENE_MODE_CANDLELIGHT.equals(scene)) { 142 } else if (Camera.Parameters.SCENE_MODE_FIREWORKS.equals(scene)) { 144 } else if (Camera.Parameters.SCENE_MODE_HDR.equals(scene)) { 146 } else if (Camera.Parameters.SCENE_MODE_LANDSCAPE.equals(scene)) { 148 } else if (Camera.Parameters.SCENE_MODE_NIGHT.equals(scene)) { [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
TvSettingsActivity.java | 23 import android.transition.Scene; 49 final Scene scene = new Scene(root); 50 scene.setEnterAction(() -> { 69 TransitionManager.go(scene, slide); 83 final Scene scene = new Scene(root); local 84 scene.setEnterAction(() -> getFragmentManager().beginTransaction( [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
PlayAnimationThread.java | 30 public PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, 32 super(scene, animName, listener);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
ResourceLoadingTest.java | 22 import android.transition.Scene; 57 Scene loadedScene = new Scene(mSceneRoot); 62 System.out.println("Problem loading scene resource: " + e); 66 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.search_screen, this); local 67 mTransitionManager.transitionTo(scene); 70 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.results_screen, this) local [all...] |