Searched defs:dirty (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/libs/hwui/tests/unit/
H A DDamageAccumulatorTests.cpp29 // Test that push & pop are propegating the dirty rect
30 // There is no transformation of the dirty rect, the input is the same
36 da.dirty(50, 50, 100, 100);
58 da.dirty(50, 50, 100, 100);
66 // Test that dirty rectangles are being unioned across "siblings
73 da.dirty(50, 50, 100, 100);
76 da.dirty(150, 50, 200, 125);
95 da.dirty(0, 0, 25, 25);
99 SkRect dirty; local
100 da.finish(&dirty);
126 SkRect dirty; local
[all...]
H A DSkiaPipelineTests.cpp45 SkRect dirty = SkRect::MakeLargest(); local
54 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface);
67 SkRect dirty = SkRect::MakeLargest(); local
75 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface);
78 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, false, contentDrawBounds, surface);
89 SkRect dirty = SkRect::MakeXYWH(0, 1, 2, 1); local
97 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, true, contentDrawBounds, surface);
115 //make the layer's dirty area one half of the layer and verify only the dirty half is updated.
127 SkRect dirty local
155 SkRect dirty = SkRect::MakeXYWH(0, 0, 1, 1); local
278 SkRect dirty = SkRect::MakeWH(800, 600); local
308 SkRect dirty = SkRect::MakeLTRB(10, 20, 30, 40); local
339 SkRect dirty = SkRect::MakeLTRB(10, 10, 40, 40); local
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceHolder.java230 * must be written. The only exception to this rule is when a dirty
231 * rectangle is specified, in which case, non-dirty pixels will be
253 * Just like {@link #lockCanvas()} but allows specification of a dirty rectangle.
256 * the dirty rectangle will be preserved by the next call to lockCanvas().
260 * @param dirty Area of the Surface that will be modified.
263 public Canvas lockCanvas(Rect dirty); argument
H A DViewOverlay.java275 public void invalidate(Rect dirty) { argument
276 super.invalidate(dirty);
278 mHostView.invalidate(dirty);
339 // propagate the calls to update display lists if dirty
350 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument
352 dirty.offset(location[0], location[1]);
356 super.invalidateChildInParent(location, dirty);
357 return ((ViewGroup) mHostView).invalidateChildInParent(location, dirty);
359 invalidate(dirty);
H A DSurface.java59 private static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) argument
291 * @param inOutDirty A rectangle that represents the dirty region that the caller wants
292 * to redraw. This function may choose to expand the dirty rectangle if for example
294 * not available. The caller must redraw the entire dirty region as represented
H A DTextureView.java634 * must be written. The only exception to this rule is when a dirty
635 * rectangle is specified, in which case, non-dirty pixels will be
652 * Just like {@link #lockCanvas()} but allows specification of a dirty
654 * pixels outside the dirty rectangle will be preserved by the next call
662 * @param dirty Area of the surface that will be modified.
670 public Canvas lockCanvas(Rect dirty) { argument
678 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) {
845 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument
/frameworks/base/libs/hwui/
H A DAnimatorManager.cpp132 uint32_t dirty = animateCommon(info); local
137 return dirty;
H A DDamageAccumulator.cpp227 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { function in class:android::uirenderer::DamageAccumulator
237 // Root node never has a transform, so this is the fully mapped dirty rect
H A DFrameInfoVisualizer.cpp82 void FrameInfoVisualizer::unionDirty(SkRect* dirty) { argument
84 // Not worth worrying about minimizing the dirty region for debugging, so just
85 // dirty the entire viewport.
86 if (dirty) {
87 mDirtyRegion = *dirty;
88 dirty->setEmpty();
H A DRenderNode.cpp213 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight());
217 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX);
272 SkRect dirty; local
273 info.damageAccumulator->peekAtDirty(&dirty);
274 info.layerUpdateQueue->enqueueLayerWithDamage(this, dirty);
H A DVectorDrawable.h76 * staging properties will then be marked dirty and will be pushed over to render thread properties
77 * at sync point. If staging properties are not dirty at sync point, we sync backwards by updating
84 PropertyChangedListener(bool* dirty, bool* stagingDirty) argument
85 : mDirty(dirty), mStagingDirty(stagingDirty) {}
681 void markDirty() { mCache.dirty = true; }
682 bool isDirty() const { return mCache.dirty; }
689 bool dirty = true; member in struct:android::uirenderer::VectorDrawable::Tree::Cache
713 = PropertyChangedListener(&mCache.dirty, &mStagingCache.dirty);
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java162 public Canvas lockCanvas(Rect dirty) { argument
163 return internalLockCanvas(dirty, false);
171 private final Canvas internalLockCanvas(Rect dirty, boolean hardware) { argument
182 if (dirty == null) {
187 dirty = mTmpDirty;
194 c = mSurface.lockCanvas(dirty);
/frameworks/base/graphics/java/android/graphics/
H A DGraphicBuffer.java158 * Just like {@link #lockCanvas()} but allows specification of a dirty
164 * @param dirty Area of the buffer that may be modified.
172 public Canvas lockCanvas(Rect dirty) { argument
181 if (nLockCanvas(mNativeObject, mCanvas, dirty)) {
300 private static native boolean nLockCanvas(long nativeObject, Canvas canvas, Rect dirty); argument
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp219 void CacheTexture::setDirty(bool dirty) { argument
220 mDirty = dirty;
221 if (!dirty) {
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp60 const SkRect& dirty,
68 mEglManager.damageFrame(frame, dirty);
87 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface);
59 draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, const FrameBuilder::LightGeometry& lightGeometry, LayerUpdateQueue* layerUpdateQueue, const Rect& contentDrawBounds, bool opaque, const BakedOpRenderer::LightInfo& lightInfo, const std::vector<sp<RenderNode>>& renderNodes, FrameInfoVisualizer* profiler) argument
H A DSkiaVulkanPipeline.cpp66 const SkRect& dirty,
79 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, backBuffer);
65 draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, const FrameBuilder::LightGeometry& lightGeometry, LayerUpdateQueue* layerUpdateQueue, const Rect& contentDrawBounds, bool opaque, const BakedOpRenderer::LightInfo& lightInfo, const std::vector<sp<RenderNode>>& renderNodes, FrameInfoVisualizer* profiler) argument
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp60 void OffscreenBuffer::dirty(Rect dirtyArea) { function in class:android::uirenderer::OffscreenBuffer
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp182 // Try again without dirty regions enabled
315 void EglManager::damageFrame(const Frame& frame, const SkRect& dirty) { argument
319 frame.map(dirty, rects);
H A DOpenGLPipeline.cpp58 bool OpenGLPipeline::draw(const Frame& frame, const SkRect& screenDirty, const SkRect& dirty, argument
66 mEglManager.damageFrame(frame, dirty);
72 FrameBuilder frameBuilder(dirty, frame.width(), frame.height(), lightGeometry, caches);
H A DCanvasContext.cpp403 SkRect dirty; local
404 mDamageAccumulator.finish(&dirty);
407 // if (dirty.isEmpty() && Properties::skipEmptyFrames) {
416 SkRect windowDirty = computeDirtyRect(frame, &dirty);
418 bool drew = mRenderPipeline->draw(frame, windowDirty, dirty, mLightGeometry, &mLayerUpdateQueue,
557 // Tickle the GENERIC property on node to mark it as dirty for damaging
704 SkRect CanvasContext::computeDirtyRect(const Frame& frame, SkRect* dirty) { argument
707 dirty->setEmpty();
712 dirty->setEmpty();
714 if (!dirty
[all...]
/frameworks/base/libs/input/
H A DSpriteController.cpp197 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) {
253 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA
263 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) {
271 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION
283 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) {
296 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) {
406 uint32_t dirty; local
415 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT;
417 dirty = DIRTY_BITMAP;
421 dirty
476 invalidateLocked(uint32_t dirty) argument
[all...]
H A DSpriteController.h179 dirty(0), visible(false),
184 uint32_t dirty; member in struct:android::SpriteController::SpriteState
231 mLocked.state.dirty = 0;
250 void invalidateLocked(uint32_t dirty);
/frameworks/support/transition/api14/android/support/transition/
H A DViewOverlayApi14.java291 public void invalidateChildFast(View child, final Rect dirty) { argument
294 // using DisplayList properties and a dirty rect instead of causing a real
302 // child.transformRect(dirty);
304 dirty.offset(left + offset[0], top + offset[1]);
305 mHostView.invalidate(dirty);
313 protected ViewParent invalidateChildInParentFast(int left, int top, Rect dirty) { argument
318 sInvalidateChildInParentFastMethod.invoke(mHostView, left, top, dirty);
330 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument
332 dirty.offset(location[0], location[1]);
338 dirty
[all...]
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp249 void DisplayDevice::flip(const Region& dirty) const
255 const Region newDirty(dirty.intersect(bounds()));
403 Region dirty; local
405 dirty.set(getBounds());
408 dirty = planeTransform.transform(this->dirtyRegion);
409 dirty.andSelf(getBounds());
411 return dirty;
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp75 c->transforms.dirty = transform_state_t::VIEWPORT |
120 int dirty = c->transforms.dirty & want; local
123 if (dirty & transform_state_t::MODELVIEW) {
128 if (dirty & transform_state_t::PROJECTION) {
133 if (dirty & transform_state_t::VIEWPORT) {
140 if (dirty & transform_state_t::MVP) {
147 if (dirty & transform_state_t::MVUI) {
153 if (dirty & transform_state_t::TEXTURE) {
159 if (dirty
[all...]

Completed in 688 milliseconds

12