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...]
/frameworks/base/core/java/android/view/
H A DSurfaceHolder.java205 * must be written. The only exception to this rule is when a dirty
206 * rectangle is specified, in which case, non-dirty pixels will be
228 * Just like {@link #lockCanvas()} but allows specification of a dirty rectangle.
231 * the dirty rectangle will be preserved by the next call to lockCanvas().
235 * @param dirty Area of the Surface that will be modified.
238 public Canvas lockCanvas(Rect dirty); argument
H A DGraphicBuffer.java148 * Just like {@link #lockCanvas()} but allows specification of a dirty
154 * @param dirty Area of the buffer that may be modified.
162 public Canvas lockCanvas(Rect dirty) { argument
171 if (nLockCanvas(mNativeObject, mCanvas, dirty)) {
290 private static native boolean nLockCanvas(long nativeObject, Canvas canvas, Rect dirty); argument
H A DViewOverlay.java263 public void invalidate(Rect dirty) { argument
264 super.invalidate(dirty);
266 mHostView.invalidate(dirty);
322 public void damageChild(View child, final Rect dirty) { argument
325 // using DisplayList properties and a dirty rect instead of causing a real
330 child.transformRect(dirty);
332 dirty.offset(left, top);
333 mHostView.invalidate(dirty);
341 protected ViewParent damageChildInParent(int left, int top, Rect dirty) { argument
343 return ((ViewGroup) mHostView).damageChildInParent(left, top, dirty);
349 invalidateChildInParent(int[] location, Rect dirty) argument
[all...]
H A DSurface.java44 private static native long nativeLockCanvas(long nativeObject, Canvas canvas, Rect dirty) argument
271 * @param inOutDirty A rectangle that represents the dirty region that the caller wants
272 * to redraw. This function may choose to expand the dirty rectangle if for example
274 * not available. The caller must redraw the entire dirty region as represented
H A DTextureView.java631 * must be written. The only exception to this rule is when a dirty
632 * rectangle is specified, in which case, non-dirty pixels will be
649 * Just like {@link #lockCanvas()} but allows specification of a dirty
651 * pixels outside the dirty rectangle will be preserved by the next call
659 * @param dirty Area of the surface that will be modified.
667 public Canvas lockCanvas(Rect dirty) { argument
675 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) {
840 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 DDisplayList.h105 ReplayStateStruct(OpenGLRenderer& renderer, Rect& dirty, int replayFlags) argument
107 mDirty(dirty) {}
H A DFrameInfoVisualizer.cpp85 void FrameInfoVisualizer::unionDirty(SkRect* dirty) { argument
87 // Not worth worrying about minimizing the dirty region for debugging, so just
88 // dirty the entire viewport.
89 if (dirty) {
90 mDirtyRegion = *dirty;
91 dirty->setEmpty();
H A DDeferredDisplayList.cpp57 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) = 0;
96 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
108 op->applyDraw(renderer, dirty);
255 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
260 DrawBatch::replay(renderer, dirty, -1);
272 op->multiDraw(renderer, dirty, mOps, mBounds);
295 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
316 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) override {
338 virtual void replay(OpenGLRenderer& renderer, Rect& dirty, int index) { argument
634 OpenGLRenderer& renderer, Rect& dirty) {
633 replayBatchList(const std::vector<Batch*>& batchList, OpenGLRenderer& renderer, Rect& dirty) argument
644 flush(OpenGLRenderer& renderer, Rect& dirty) argument
[all...]
H A DLayer.h240 return dirty;
243 inline void setDirty(bool dirty) { argument
244 this->dirty = dirty;
384 * When set to true, this layer is dirty and should be cleared
387 bool dirty = false; member in class:android::uirenderer::Layer
H A DRenderNode.cpp251 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight());
255 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX);
341 SkRect dirty; local
342 info.damageAccumulator->peekAtDirty(&dirty);
369 info.layerUpdateQueue->enqueueLayerWithDamage(this, dirty);
371 if (dirty.intersect(0, 0, getWidth(), getHeight())) {
372 dirty.roundOut(&dirty);
373 mLayer->updateDeferred(this, dirty.fLeft, dirty
[all...]
H A DDisplayListOp.h135 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) = 0;
144 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty, argument
148 ops[i].op->applyDraw(renderer, dirty);
611 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override {
632 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty,
718 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override {
747 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) override {
803 virtual void multiDraw(OpenGLRenderer& renderer, Rect& dirty,
852 // dirty rect to the object's bounds.
877 virtual void applyDraw(OpenGLRenderer& renderer, Rect& dirty) overrid
[all...]
H A DVectorDrawable.h68 * staging properties will then be marked dirty and will be pushed over to render thread properties
69 * at sync point. If staging properties are not dirty at sync point, we sync backwards by updating
76 PropertyChangedListener(bool* dirty, bool* stagingDirty) argument
77 : mDirty(dirty), mStagingDirty(stagingDirty) {}
712 bool dirty = true; member in struct:android::uirenderer::VectorDrawable::Tree::Cache
719 = PropertyChangedListener(&mCache.dirty, &mStagingCache.dirty);
H A DOpenGLRenderer.cpp224 void OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { argument
230 // Since we don't know what the functor will draw, let's dirty
256 // Scissor may have been modified, reset dirty clip
759 // drawing only the dirty region
1006 void OpenGLRenderer::drawRegionRects(const SkRegion& region, const SkPaint& paint, bool dirty) { argument
1019 drawColorRects(rects.array(), rects.size(), &paint, true, dirty, false);
1043 android::Rect dirty(bounds.left, bounds.top, bounds.right, bounds.bottom);
1044 if (!dirty.isEmpty()) {
1045 region->orSelf(dirty);
1076 // We must clear the list of dirty rect
1427 drawRenderNode(RenderNode* renderNode, Rect& dirty, int32_t replayFlags) argument
2383 drawColorRects(const float* rects, int count, const SkPaint* paint, bool ignoreTransform, bool dirty, bool clip) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java160 public Canvas lockCanvas(Rect dirty) { argument
161 return internalLockCanvas(dirty);
164 private final Canvas internalLockCanvas(Rect dirty) { argument
175 if (dirty == null) {
180 dirty = mTmpDirty;
184 c = mSurface.lockCanvas(dirty);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp208 void CacheTexture::setDirty(bool dirty) { argument
209 mDirty = dirty;
210 if (!dirty) {
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp59 void OffscreenBuffer::dirty(Rect dirtyArea) { function in class:android::uirenderer::OffscreenBuffer
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp168 // Try again without dirty regions enabled
314 void EglManager::damageFrame(const Frame& frame, const SkRect& dirty) { argument
318 frame.map(dirty, rects);
H A DCanvasContext.cpp298 SkRect dirty; local
299 mDamageAccumulator.finish(&dirty);
302 // if (dirty.isEmpty() && Properties::skipEmptyFrames) {
313 dirty.setEmpty();
318 dirty.setEmpty();
320 if (!dirty.isEmpty() && !dirty.intersect(0, 0, frame.width(), frame.height())) {
322 SK_RECT_ARGS(dirty), frame.width(), frame.height());
323 dirty.setEmpty();
325 profiler().unionDirty(&dirty);
[all...]
/frameworks/base/libs/input/
H A DSpriteController.cpp198 if ((update.state.dirty & DIRTY_BITMAP) && update.state.surfaceDrawn) {
254 || (wantSurfaceVisibleAndDrawn && (update.state.dirty & (DIRTY_ALPHA
264 && (becomingVisible || (update.state.dirty & DIRTY_ALPHA))) {
272 && (becomingVisible || (update.state.dirty & (DIRTY_POSITION
284 || (update.state.dirty & DIRTY_TRANSFORMATION_MATRIX))) {
297 && (becomingVisible || (update.state.dirty & DIRTY_LAYER))) {
407 uint32_t dirty; local
416 dirty = DIRTY_BITMAP | DIRTY_HOTSPOT;
418 dirty = DIRTY_BITMAP;
422 dirty
477 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/native/services/surfaceflinger/
H A DDisplayDevice.cpp230 void DisplayDevice::flip(const Region& dirty) const
236 const Region newDirty(dirty.intersect(bounds()));
384 Region dirty; local
386 dirty.set(getBounds());
389 dirty = planeTransform.transform(this->dirtyRegion);
390 dirty.andSelf(getBounds());
392 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 1548 milliseconds

12